{"id":869,"date":"2026-06-19T10:36:16","date_gmt":"2026-06-19T10:36:16","guid":{"rendered":"https:\/\/demo.mediatrenz.dev\/effortless\/?page_id=869"},"modified":"2026-07-15T11:36:55","modified_gmt":"2026-07-15T11:36:55","slug":"all-properties","status":"publish","type":"page","link":"https:\/\/demo.mediatrenz.dev\/effortless\/all-properties\/","title":{"rendered":"All Properties"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"869\" class=\"elementor elementor-869\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1d2a5be5 elementor-section-height-min-height elementor-section-items-bottom elementor-section-boxed elementor-section-height-default\" data-id=\"1d2a5be5\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48878400\" data-id=\"48878400\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8c25bca elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8c25bca\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0546440\" data-id=\"0546440\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-027b71e elementor-widget elementor-widget-shortcode\" data-id=\"027b71e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\t<style>\n\t\t.mtz-search-container {\n\t\t\tfont-family: 'Poppins', sans-serif;\n\t\t\tbackground: #ffffff;\n\t\t\tborder-radius: 100px;\n\t\t\tpadding: 10px 15px 10px 25px;\n\t\t\tbox-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: space-between;\n\t\t\tgap: 15px;\n\t\t\tmax-width: 1000px;\n\t\t\tmargin: 20px auto;\n\t\t\tborder: 1px solid #eef0f6;\n\t\t\tposition: relative;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.mtz-search-group {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tflex: 1;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.mtz-date-inputs {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tbackground: #ffffff;\n\t\t\tborder: 1px solid #e2e8f0;\n\t\t\tborder-radius: 12px;\n\t\t\tpadding: 0;\n\t\t\tflex: 1.2;\n\t\t\theight: 56px;\n\t\t\tbox-sizing: border-box;\n\t\t\toverflow: hidden;\n\t\t}\n\n\t\t.mtz-date-input-wrap {\n\t\t\tflex: 1;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\tpadding: 0 16px;\n\t\t\theight: 100%;\n\t\t\tcursor: pointer;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.mtz-date-input-wrap:first-child {\n\t\t\tborder-right: 1px solid #e2e8f0;\n\t\t}\n\n\t\t.mtz-search-label {\n\t\t\tfont-size: 11px;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #4f6ef5;\n\t\t\ttext-transform: uppercase;\n\t\t\tletter-spacing: 0.5px;\n\t\t\tmargin-bottom: 2px;\n\t\t\tpointer-events: none;\n\t\t}\n\n\t\t.mtz-search-container input[type=\"text\"].mtz-search-input {\n\t\t\tborder: none !important;\n\t\t\tpadding: 0 !important;\n\t\t\tmargin: 0 !important;\n\t\t\tbackground: transparent !important;\n\t\t\tfont-size: 14px !important;\n\t\t\tcolor: #1a202c !important;\n\t\t\tfont-weight: 500 !important;\n\t\t\twidth: 100% !important;\n\t\t\theight: auto !important;\n\t\t\tbox-shadow: none !important;\n\t\t\toutline: none !important;\n\t\t\tcursor: pointer !important;\n\t\t}\n\n\t\t.mtz-search-container input[type=\"text\"].mtz-search-input::placeholder {\n\t\t\tcolor: #a0aec0;\n\t\t\topacity: 1;\n\t\t}\n\n\t\t.mtz-guest-selector-wrap {\n\t\t\tflex: 1;\n\t\t\tbackground: #ffffff;\n\t\t\tborder: 1px solid #e2e8f0;\n\t\t\tborder-radius: 12px;\n\t\t\tpadding: 0 16px;\n\t\t\theight: 56px;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\tcursor: pointer;\n\t\t\tposition: relative;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.mtz-guest-display {\n\t\t\tfont-size: 14px;\n\t\t\tcolor: #1a202c;\n\t\t\tfont-weight: 500;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t.mtz-guest-arrow {\n\t\t\tposition: absolute;\n\t\t\tright: 16px;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t\twidth: 12px;\n\t\t\theight: 12px;\n\t\t\tbackground-image: url(\"data:image\/svg+xml,%3Csvg xmlns='http:\/\/www.w3.org\/2000\/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'\/%3E%3C\/svg%3E\");\n\t\t\tbackground-size: contain;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tpointer-events: none;\n\t\t\ttransition: transform 0.2s ease;\n\t\t}\n\n\t\t.mtz-guest-selector-wrap.active .mtz-guest-arrow {\n\t\t\ttransform: translateY(-50%) rotate(180deg);\n\t\t}\n\n\t\t\/* Guest Popover *\/\n\t\t.mtz-guest-popover {\n\t\t\tposition: absolute;\n\t\t\ttop: calc(100% + 8px);\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\tmin-width: 280px;\n\t\t\tbackground: #ffffff;\n\t\t\tborder-radius: 12px;\n\t\t\tbox-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);\n\t\t\tborder: 1px solid #e2e8f0;\n\t\t\tpadding: 20px;\n\t\t\tz-index: 999;\n\t\t\tdisplay: none;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.mtz-guest-popover.active {\n\t\t\tdisplay: block;\n\t\t}\n\n\t\t.mtz-popover-row {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 12px 0;\n\t\t\tborder-bottom: 1px solid #f7fafc;\n\t\t}\n\n\t\t.mtz-popover-row:last-of-type {\n\t\t\tborder-bottom: none;\n\t\t\tmargin-bottom: 15px;\n\t\t}\n\n\t\t.mtz-popover-info {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t}\n\n\t\t.mtz-popover-title {\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #1a202c;\n\t\t\ttext-transform: capitalize;\n\t\t}\n\n\t\t.mtz-popover-desc {\n\t\t\tfont-size: 11px;\n\t\t\tcolor: #718096;\n\t\t\tmargin-top: 2px;\n\t\t}\n\n\t\t.mtz-counter-ctrl {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 12px;\n\t\t}\n\n\t\t.mtz-btn-counter {\n\t\t\twidth: 32px !important;\n\t\t\theight: 32px !important;\n\t\t\tborder-radius: 50% !important;\n\t\t\tborder: 1px solid #cbd5e0 !important;\n\t\t\tbackground: #ffffff !important;\n\t\t\tcolor: #4a5568 !important;\n\t\t\tfont-size: 16px !important;\n\t\t\tfont-weight: 500 !important;\n\t\t\tdisplay: flex !important;\n\t\t\talign-items: center !important;\n\t\t\tjustify-content: center !important;\n\t\t\tcursor: pointer !important;\n\t\t\tuser-select: none !important;\n\t\t\ttransition: all 0.2s ease !important;\n\t\t\tpadding: 0 !important;\n\t\t\toutline: none !important;\n\t\t\tbox-shadow: none !important;\n\t\t}\n\n\t\t.mtz-btn-counter:hover:not(:disabled),\n\t\t.mtz-btn-counter:focus:not(:disabled),\n\t\t.mtz-btn-counter:active:not(:disabled) {\n\t\t\tborder-color: #4f6ef5 !important;\n\t\t\tcolor: #4f6ef5 !important;\n\t\t\tbackground: #f0f4ff !important;\n\t\t}\n\n\t\t.mtz-btn-counter:disabled {\n\t\t\topacity: 0.3 !important;\n\t\t\tcursor: not-allowed !important;\n\t\t\tbackground: #ffffff !important;\n\t\t\tborder-color: #cbd5e0 !important;\n\t\t\tcolor: #cbd5e0 !important;\n\t\t}\n\n\t\t.mtz-counter-val {\n\t\t\tfont-size: 14px !important;\n\t\t\tfont-weight: 600 !important;\n\t\t\tcolor: #1a202c !important;\n\t\t\tmin-width: 20px !important;\n\t\t\ttext-align: center !important;\n\t\t}\n\n\t\t.mtz-popover-done {\n\t\t\twidth: 100% !important;\n\t\t\tbackground: #ffffff !important;\n\t\t\tborder: 1px solid #e2e8f0 !important;\n\t\t\tpadding: 10px !important;\n\t\t\tborder-radius: 8px !important;\n\t\t\tfont-size: 13px !important;\n\t\t\tfont-weight: 600 !important;\n\t\t\tcolor: #1a202c !important;\n\t\t\tcursor: pointer !important;\n\t\t\ttext-align: center !important;\n\t\t\ttransition: all 0.2s ease !important;\n\t\t\tbox-sizing: border-box !important;\n\t\t\tbox-shadow: none !important;\n\t\t\toutline: none !important;\n\t\t}\n\n\t\t.mtz-popover-done:hover,\n\t\t.mtz-popover-done:focus,\n\t\t.mtz-popover-done:active {\n\t\t\tbackground: #f7fafc !important;\n\t\t\tborder-color: #cbd5e0 !important;\n\t\t\tcolor: #1a202c !important;\n\t\t}\n\n\t\t\/* Search Button *\/\n\t\t.mtz-search-btn {\n\t\t\tbackground: #4f6ef5 !important;\n\t\t\tcolor: #ffffff !important;\n\t\t\tborder: none !important;\n\t\t\tborder-radius: 100px !important;\n\t\t\theight: 56px !important;\n\t\t\tpadding: 0 35px !important;\n\t\t\tfont-size: 15px !important;\n\t\t\tfont-weight: 600 !important;\n\t\t\tcursor: pointer !important;\n\t\t\tdisplay: flex !important;\n\t\t\talign-items: center !important;\n\t\t\tjustify-content: center !important;\n\t\t\tgap: 8px !important;\n\t\t\ttransition: background 0.2s ease !important;\n\t\t\tbox-sizing: border-box !important;\n\t\t\tbox-shadow: none !important;\n\t\t\toutline: none !important;\n\t\t}\n\n\t\t.mtz-search-btn:hover,\n\t\t.mtz-search-btn:focus,\n\t\t.mtz-search-btn:active {\n\t\t\tbackground: #3d5de8 !important;\n\t\t\tcolor: #ffffff !important;\n\t\t}\n\n\t\t.mtz-search-btn svg {\n\t\t\twidth: 18px;\n\t\t\theight: 18px;\n\t\t\tfill: none;\n\t\t\tstroke: currentColor;\n\t\t\tstroke-width: 2.5;\n\t\t}\n\n\t\t\/* Responsive Design *\/\n\t\t@media (max-width: 768px) {\n\t\t\t.mtz-search-container {\n\t\t\t\tflex-direction: column;\n\t\t\t\tborder-radius: 16px;\n\t\t\t\tpadding: 16px;\n\t\t\t\tgap: 12px;\n\t\t\t}\n\n\t\t\t.mtz-date-inputs {\n\t\t\t\twidth: 100%;\n\t\t\t\tflex: none;\n\t\t\t}\n\n\t\t\t.mtz-guest-selector-wrap {\n\t\t\t\twidth: 100%;\n\t\t\t\tflex: none;\n\t\t\t}\n\n\t\t\t.mtz-search-btn {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t<\/style>\n\n\t<form id=\"mtz-search-form\" class=\"mtz-search-container\" action=\"https:\/\/demo.mediatrenz.dev\/effortless\/all-properties\/\" method=\"GET\">\n\t\t\n\t\t<!-- Dates Group -->\n\t\t<div class=\"mtz-date-inputs\">\n\t\t\t<div class=\"mtz-date-input-wrap mtz-checkin-trigger\" id=\"mtz-checkin-trigger\">\n\t\t\t\t<span class=\"mtz-search-label\">Check-in<\/span>\n\t\t\t\t<input type=\"text\" id=\"mtz-checkin\" name=\"checkin\" class=\"mtz-search-input mtz-checkin\" placeholder=\"Add date\" value=\"\" readonly>\n\t\t\t<\/div>\n\t\t\t<div class=\"mtz-date-input-wrap mtz-checkout-trigger\" id=\"mtz-checkout-trigger\">\n\t\t\t\t<span class=\"mtz-search-label\">Check-out<\/span>\n\t\t\t\t<input type=\"text\" id=\"mtz-checkout\" name=\"checkout\" class=\"mtz-search-input mtz-checkout\" placeholder=\"Add date\" value=\"\" readonly>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t<!-- Guest Selector -->\n\t\t<div class=\"mtz-guest-selector-wrap\" id=\"mtz-guest-trigger\">\n\t\t\t<span class=\"mtz-search-label\">Guests<\/span>\n\t\t\t<div class=\"mtz-guest-display\" id=\"mtz-guest-display-val\">1 guest<\/div>\n\t\t\t<div class=\"mtz-guest-arrow\"><\/div>\n\n\t\t\t<!-- Popover -->\n\t\t\t<div class=\"mtz-guest-popover\" id=\"mtz-guest-popover-elem\">\n\t\t\t\t\n\t\t\t\t<!-- Adults -->\n\t\t\t\t<div class=\"mtz-popover-row\">\n\t\t\t\t\t<div class=\"mtz-popover-info\">\n\t\t\t\t\t\t<span class=\"mtz-popover-title\">Adults<\/span>\n\t\t\t\t\t\t<span class=\"mtz-popover-desc\">Ages 13 or above<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mtz-counter-ctrl\">\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"adults\" data-dir=\"down\">-<\/button>\n\t\t\t\t\t\t<span class=\"mtz-counter-val\" id=\"mtz-val-adults\">1<\/span>\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"adults\" data-dir=\"up\">+<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Children -->\n\t\t\t\t<div class=\"mtz-popover-row\">\n\t\t\t\t\t<div class=\"mtz-popover-info\">\n\t\t\t\t\t\t<span class=\"mtz-popover-title\">Children<\/span>\n\t\t\t\t\t\t<span class=\"mtz-popover-desc\">Ages 2\u201312<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mtz-counter-ctrl\">\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"children\" data-dir=\"down\">-<\/button>\n\t\t\t\t\t\t<span class=\"mtz-counter-val\" id=\"mtz-val-children\">0<\/span>\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"children\" data-dir=\"up\">+<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Infants -->\n\t\t\t\t<div class=\"mtz-popover-row\">\n\t\t\t\t\t<div class=\"mtz-popover-info\">\n\t\t\t\t\t\t<span class=\"mtz-popover-title\">Infants<\/span>\n\t\t\t\t\t\t<span class=\"mtz-popover-desc\">Under 2<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mtz-counter-ctrl\">\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"infants\" data-dir=\"down\">-<\/button>\n\t\t\t\t\t\t<span class=\"mtz-counter-val\" id=\"mtz-val-infants\">0<\/span>\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"infants\" data-dir=\"up\">+<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Pets -->\n\t\t\t\t<div class=\"mtz-popover-row\">\n\t\t\t\t\t<div class=\"mtz-popover-info\">\n\t\t\t\t\t\t<span class=\"mtz-popover-title\">Pets<\/span>\n\t\t\t\t\t\t<span class=\"mtz-popover-desc\">Service animals allowed<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mtz-counter-ctrl\">\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"pets\" data-dir=\"down\">-<\/button>\n\t\t\t\t\t\t<span class=\"mtz-counter-val\" id=\"mtz-val-pets\">0<\/span>\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-btn-counter\" data-type=\"pets\" data-dir=\"up\">+<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Hidden Inputs to submit the actual values -->\n\t\t\t\t<input type=\"hidden\" name=\"adults\" id=\"mtz-input-adults\" value=\"1\">\n\t\t\t\t<input type=\"hidden\" name=\"children\" id=\"mtz-input-children\" value=\"0\">\n\t\t\t\t<input type=\"hidden\" name=\"infants\" id=\"mtz-input-infants\" value=\"0\">\n\t\t\t\t<input type=\"hidden\" name=\"pets\" id=\"mtz-input-pets\" value=\"0\">\n\n\t\t\t\t<button type=\"button\" class=\"mtz-popover-done\" id=\"mtz-guest-done\">Done<\/button>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t<!-- Submit Button -->\n\t\t<button type=\"submit\" class=\"mtz-search-btn\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg>\n\t\t\tSearch\n\t\t<\/button>\n\t<\/form>\n\n\t<script>\n\t\t(function() {\n\t\t\tfunction mtzInitSearchWidget() {\n\t\t\t\tconst searchForms = document.querySelectorAll('.mtz-search-container');\n\t\t\t\tsearchForms.forEach(function(form) {\n\t\t\t\t\tif (form.classList.contains('mtz-initialized')) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tform.classList.add('mtz-initialized');\n\n\t\t\t\t\tconst checkinInput = form.querySelector('.mtz-checkin');\n\t\t\t\t\tconst checkoutInput = form.querySelector('.mtz-checkout');\n\t\t\t\t\tconst checkinTrigger = form.querySelector('.mtz-checkin-trigger');\n\t\t\t\t\tconst checkoutTrigger = form.querySelector('.mtz-checkout-trigger');\n\n\t\t\t\t\t\/\/ Flatpickr initialization\n\t\t\t\t\tif (typeof flatpickr !== 'undefined' && checkinInput && checkoutInput) {\n\t\t\t\t\t\tconst maxBookingDate = new Date();\n\t\t\t\t\t\tmaxBookingDate.setDate(maxBookingDate.getDate() + 365);\n\n\t\t\t\t\t\tconst checkinPicker = flatpickr(checkinInput, {\n\t\t\t\t\t\t\tdateFormat: 'Y-m-d',\n\t\t\t\t\t\t\tminDate: 'today',\n\t\t\t\t\t\t\tmaxDate: maxBookingDate,\n\t\t\t\t\t\t\tonChange: function(selectedDates, dateStr, instance) {\n\t\t\t\t\t\t\t\tcheckoutPicker.set('minDate', dateStr);\n\t\t\t\t\t\t\t\tif (checkoutInput.value && new Date(checkoutInput.value) <= new Date(dateStr)) {\n\t\t\t\t\t\t\t\t\tsetTimeout(() => checkoutPicker.open(), 50);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tconst checkoutPicker = flatpickr(checkoutInput, {\n\t\t\t\t\t\t\tdateFormat: 'Y-m-d',\n\t\t\t\t\t\t\tminDate: 'today',\n\t\t\t\t\t\t\tmaxDate: maxBookingDate,\n\t\t\t\t\t\t\tonChange: function(selectedDates, dateStr, instance) {\n\t\t\t\t\t\t\t\tif (checkinInput.value && new Date(checkinInput.value) >= new Date(dateStr)) {\n\t\t\t\t\t\t\t\t\tcheckinPicker.clear();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tif (checkinTrigger) {\n\t\t\t\t\t\t\tcheckinTrigger.addEventListener('click', function(e) {\n\t\t\t\t\t\t\t\tif (e.target !== checkinInput) {\n\t\t\t\t\t\t\t\t\tcheckinPicker.open();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (checkoutTrigger) {\n\t\t\t\t\t\t\tcheckoutTrigger.addEventListener('click', function(e) {\n\t\t\t\t\t\t\t\tif (e.target !== checkoutInput) {\n\t\t\t\t\t\t\t\t\tcheckoutPicker.open();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Guest Popover\n\t\t\t\t\tconst guestTrigger = form.querySelector('.mtz-guest-selector-wrap');\n\t\t\t\t\tconst guestPopover = form.querySelector('.mtz-guest-popover');\n\t\t\t\t\tconst guestDone = form.querySelector('.mtz-popover-done');\n\t\t\t\t\tconst guestDisplay = form.querySelector('.mtz-guest-display');\n\n\t\t\t\t\tif (guestTrigger && guestPopover) {\n\t\t\t\t\t\tguestTrigger.addEventListener('click', function(e) {\n\t\t\t\t\t\t\tif (guestPopover.contains(e.target)) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tguestTrigger.classList.toggle('active');\n\t\t\t\t\t\t\tguestPopover.classList.toggle('active');\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tif (guestDone) {\n\t\t\t\t\t\t\tguestDone.addEventListener('click', function(e) {\n\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t\tguestTrigger.classList.remove('active');\n\t\t\t\t\t\t\t\tguestPopover.classList.remove('active');\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Close popover when clicking outside\n\t\t\t\t\t\tdocument.addEventListener('click', function(e) {\n\t\t\t\t\t\t\tif (!guestTrigger.contains(e.target)) {\n\t\t\t\t\t\t\t\tguestTrigger.classList.remove('active');\n\t\t\t\t\t\t\t\tguestPopover.classList.remove('active');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\/\/ Counters logic\n\t\t\t\t\t\tconst hiddenAdults = form.querySelector('input[name=\"adults\"]');\n\t\t\t\t\t\tconst hiddenChildren = form.querySelector('input[name=\"children\"]');\n\t\t\t\t\t\tconst hiddenInfants = form.querySelector('input[name=\"infants\"]');\n\t\t\t\t\t\tconst hiddenPets = form.querySelector('input[name=\"pets\"]');\n\n\t\t\t\t\t\tconst counters = {\n\t\t\t\t\t\t\tadults: parseInt(hiddenAdults.value) || 1,\n\t\t\t\t\t\t\tchildren: parseInt(hiddenChildren.value) || 0,\n\t\t\t\t\t\t\tinfants: parseInt(hiddenInfants.value) || 0,\n\t\t\t\t\t\t\tpets: parseInt(hiddenPets.value) || 0\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tconst minLimits = { adults: 1, children: 0, infants: 0, pets: 0 };\n\t\t\t\t\t\tconst maxLimits = { adults: 30, children: 30, infants: 10, pets: 5 };\n\n\t\t\t\t\t\tfunction updateCounterUI(type) {\n\t\t\t\t\t\t\tconst valSpan = form.querySelector('#mtz-val-' + type);\n\t\t\t\t\t\t\tconst hiddenInput = form.querySelector('input[name=\"' + type + '\"]');\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (valSpan) valSpan.textContent = counters[type];\n\t\t\t\t\t\t\tif (hiddenInput) hiddenInput.value = counters[type];\n\n\t\t\t\t\t\t\t\/\/ Update button states\n\t\t\t\t\t\t\tconst downBtn = form.querySelector(`.mtz-btn-counter[data-type=\"${type}\"][data-dir=\"down\"]`);\n\t\t\t\t\t\t\tconst upBtn = form.querySelector(`.mtz-btn-counter[data-type=\"${type}\"][data-dir=\"up\"]`);\n\n\t\t\t\t\t\t\tif (downBtn) downBtn.disabled = (counters[type] <= minLimits[type]);\n\t\t\t\t\t\t\tif (upBtn) upBtn.disabled = (counters[type] >= maxLimits[type]);\n\n\t\t\t\t\t\t\tupdateDisplayLabel();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfunction updateDisplayLabel() {\n\t\t\t\t\t\t\tconst totalGuests = counters.adults + counters.children;\n\t\t\t\t\t\t\tlet label = totalGuests + ' ' + (totalGuests === 1 ? 'guest' : 'guests');\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (counters.pets > 0) {\n\t\t\t\t\t\t\t\tlabel += ', ' + counters.pets + ' ' + (counters.pets === 1 ? 'pet' : 'pets');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (guestDisplay) {\n\t\t\t\t\t\t\t\tguestDisplay.textContent = label;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Bind events to buttons\n\t\t\t\t\t\tform.querySelectorAll('.mtz-btn-counter').forEach(button => {\n\t\t\t\t\t\t\tconst type = button.getAttribute('data-type');\n\t\t\t\t\t\t\tconst dir = button.getAttribute('data-dir');\n\n\t\t\t\t\t\t\tbutton.addEventListener('click', function(e) {\n\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t\tif (dir === 'up') {\n\t\t\t\t\t\t\t\t\tif (counters[type] < maxLimits[type]) {\n\t\t\t\t\t\t\t\t\t\tcounters[type]++;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (counters[type] > minLimits[type]) {\n\t\t\t\t\t\t\t\t\t\tcounters[type]--;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tupdateCounterUI(type);\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\/\/ Trigger initial state update\n\t\t\t\t\t\t\tupdateCounterUI(type);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t\/\/ Ensure initialization runs whether DOMContentLoaded fired or not\n\t\t\tif (document.readyState === 'loading') {\n\t\t\t\tdocument.addEventListener('DOMContentLoaded', mtzInitSearchWidget);\n\t\t\t} else {\n\t\t\t\tmtzInitSearchWidget();\n\t\t\t}\n\t\t})();\n\t<\/script>\n\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3bc1d66 elementor-widget elementor-widget-shortcode\" data-id=\"3bc1d66\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n\t<style>\n\t\t.mtz-property-archive-wrapper {\n\t\t\tdisplay: flex;\n\t\t\tgap: 30px;\n\t\t\talign-items: flex-start;\n\t\t\tfont-family: 'Poppins', sans-serif;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.mtz-property-listing {\n\t\t\tflex: 0 0 65%;\n\t\t\tmax-width: 65%;\n\t\t}\n\n\t\t.mtz-property-map-sidebar {\n\t\t\tflex: 0 0 35%;\n\t\t\tmax-width: 35%;\n\t\t\tposition: sticky;\n\t\t\ttop: 30px;\n\t\t\theight: calc(100vh - 60px);\n\t\t}\n\n\t\t#mtz-property-map {\n\t\t\theight: 100%;\n\t\t\tborder-radius: 16px;\n\t\t\toverflow: hidden;\n\t\t\tborder: 1px solid #e2e8f0;\n\t\t\tbox-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);\n\t\t}\n\n\t\t\/* Filters Bar *\/\n\t\t.mtz-archive-filters {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 20px;\n\t\t\tmargin-bottom: 25px;\n\t\t\tflex-wrap: wrap;\n\t\t\tbackground: #f7fafc;\n\t\t\tpadding: 15px 20px;\n\t\t\tborder-radius: 12px;\n\t\t\tborder: 1px solid #edf2f7;\n\t\t}\n\n\t\t.mtz-filter-item {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.mtz-filter-item label {\n\t\t\tfont-size: 11px;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #718096;\n\t\t\ttext-transform: uppercase;\n\t\t\tmargin-bottom: 4px;\n\t\t\tletter-spacing: 0.5px;\n\t\t}\n\n\t\t.mtz-filter-input-wrap {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 8px;\n\t\t}\n\n\t\t.mtz-filter-item select,\n\t\t.mtz-filter-trigger {\n\t\t\tbackground: #ffffff !important;\n\t\t\tborder: 1px solid #cbd5e0 !important;\n\t\t\tborder-radius: 8px !important;\n\t\t\tpadding: 8px 16px !important;\n\t\t\tfont-size: 13px !important;\n\t\t\tfont-weight: 500 !important;\n\t\t\tcolor: #2d3748 !important;\n\t\t\toutline: none !important;\n\t\t\theight: 38px !important;\n\t\t\tcursor: pointer !important;\n\t\t\ttransition: all 0.2s ease !important;\n\t\t\tbox-sizing: border-box !important;\n\t\t\tbox-shadow: none !important;\n\t\t}\n\n\t\t.mtz-filter-item select:hover,\n\t\t.mtz-filter-item select:focus,\n\t\t.mtz-filter-item select:active,\n\t\t.mtz-filter-trigger:hover,\n\t\t.mtz-filter-trigger:focus,\n\t\t.mtz-filter-trigger:active,\n\t\t.mtz-dropdown-checklist.active .mtz-filter-trigger {\n\t\t\tborder-color: #4f6ef5 !important;\n\t\t\tbackground: #f0f4ff !important;\n\t\t\tcolor: #4f6ef5 !important;\n\t\t}\n\n\t\t.mtz-dropdown-checklist {\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.mtz-filter-trigger {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: space-between;\n\t\t\tgap: 8px;\n\t\t\tmin-width: 140px;\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t.mtz-trigger-arrow {\n\t\t\twidth: 10px;\n\t\t\theight: 10px;\n\t\t\tbackground-image: url(\"data:image\/svg+xml,%3Csvg xmlns='http:\/\/www.w3.org\/2000\/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'\/%3E%3C\/svg%3E\");\n\t\t\tbackground-size: contain;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\ttransition: transform 0.2s ease;\n\t\t}\n\n\t\t.mtz-dropdown-checklist.active .mtz-trigger-arrow {\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\n\t\t.mtz-checklist-popover {\n\t\t\tposition: absolute;\n\t\t\ttop: calc(100% + 5px);\n\t\t\tleft: 0;\n\t\t\tbackground: #ffffff;\n\t\t\tborder: 1px solid #cbd5e0;\n\t\t\tborder-radius: 8px;\n\t\t\tbox-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);\n\t\t\tpadding: 12px 16px;\n\t\t\tz-index: 100;\n\t\t\tdisplay: none;\n\t\t\tmin-width: 180px;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.mtz-dropdown-checklist.active .mtz-checklist-popover {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tgap: 8px;\n\t\t}\n\n\t\t.mtz-checklist-popover label {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 8px;\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #2d3748;\n\t\t\tcursor: pointer;\n\t\t\ttext-transform: none;\n\t\t\tmargin: 0;\n\t\t}\n\n\t\t.mtz-checklist-popover input[type=\"checkbox\"] {\n\t\t\twidth: 16px;\n\t\t\theight: 16px;\n\t\t\tborder-radius: 4px;\n\t\t\tborder: 1px solid #cbd5e0;\n\t\t\tcursor: pointer;\n\t\t\tmargin: 0;\n\t\t}\n\n\t\t\/* Price Popover Styling *\/\n\t\t.mtz-price-popover {\n\t\t\tposition: absolute;\n\t\t\ttop: calc(100% + 5px);\n\t\t\tleft: 0;\n\t\t\tbackground: #ffffff;\n\t\t\tborder: 1px solid #cbd5e0;\n\t\t\tborder-radius: 8px;\n\t\t\tbox-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);\n\t\t\tpadding: 20px 24px;\n\t\t\tz-index: 100;\n\t\t\tdisplay: none;\n\t\t\tmin-width: 280px;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.mtz-dropdown-checklist.active .mtz-price-popover {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t}\n\n\t\t.mtz-price-popover-title {\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #2d3748;\n\t\t\tmargin-bottom: 12px;\n\t\t}\n\n\t\t\/* Dual Range Slider Track & Inputs *\/\n\t\t.mtz-slider-container-wrap {\n\t\t\tposition: relative;\n\t\t\twidth: 100%;\n\t\t\theight: 6px;\n\t\t\tmargin: 15px 0 10px;\n\t\t\tbackground: #edf2f7;\n\t\t\tborder-radius: 5px;\n\t\t}\n\n\t\t.mtz-slider-track-bar {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t\tbackground: #4f6ef5;\n\t\t\tborder-radius: 5px;\n\t\t\tleft: 0%;\n\t\t\tright: 0%;\n\t\t}\n\n\t\t.mtz-range-input {\n\t\t\tposition: absolute;\n\t\t\twidth: 100%;\n\t\t\theight: 6px;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tbackground: none;\n\t\t\tpointer-events: none;\n\t\t\t-webkit-appearance: none;\n\t\t\tappearance: none;\n\t\t\tmargin: 0;\n\t\t}\n\n\t\t.mtz-range-input::-webkit-slider-thumb {\n\t\t\theight: 18px;\n\t\t\twidth: 18px;\n\t\t\tborder-radius: 50%;\n\t\t\tbackground: #4f6ef5;\n\t\t\tborder: 2px solid #ffffff;\n\t\t\tbox-shadow: 0 1px 4px rgba(0,0,0,0.2);\n\t\t\tcursor: pointer;\n\t\t\tpointer-events: auto;\n\t\t\t-webkit-appearance: none;\n\t\t}\n\n\t\t.mtz-range-input::-moz-range-thumb {\n\t\t\theight: 18px;\n\t\t\twidth: 18px;\n\t\t\tborder-radius: 50%;\n\t\t\tbackground: #4f6ef5;\n\t\t\tborder: 2px solid #ffffff;\n\t\t\tbox-shadow: 0 1px 4px rgba(0,0,0,0.2);\n\t\t\tcursor: pointer;\n\t\t\tpointer-events: auto;\n\t\t\t-moz-appearance: none;\n\t\t}\n\n\t\t.mtz-price-range-labels {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tfont-size: 12px;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #4a5568;\n\t\t\tmargin-top: 15px;\n\t\t}\n\n\t\t\/* Clear Filter Buttons *\/\n\t\t.mtz-filter-clear {\n\t\t\twidth: 22px;\n\t\t\theight: 22px;\n\t\t\tborder-radius: 50%;\n\t\t\tborder: 1px solid #e2e8f0;\n\t\t\tbackground: #ffffff;\n\t\t\tcolor: #718096;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tcursor: pointer;\n\t\t\tfont-size: 9px;\n\t\t\tpadding: 0;\n\t\t\ttransition: all 0.2s ease;\n\t\t\toutline: none;\n\t\t}\n\n\t\t.mtz-filter-clear:hover {\n\t\t\tbackground: #fff5f5;\n\t\t\tcolor: #e53e3e;\n\t\t\tborder-color: #feb2b2;\n\t\t}\n\n\t\t\/* Grid & Cards *\/\n\t\t.mtz-property-grid {\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: repeat(2, minmax(0, 1fr));\n\t\t\tgap: 30px;\n\t\t\ttransition: opacity 0.25s ease;\n\t\t}\n\n\t\t.mtz-property-grid.mtz-loading {\n\t\t\topacity: 0.45;\n\t\t\tpointer-events: none;\n\t\t}\n\n\t\t.mtz-no-properties {\n\t\t\tgrid-column: span 2;\n\t\t\tbackground: #f7fafc;\n\t\t\tborder: 1px dashed #cbd5e0;\n\t\t\tborder-radius: 12px;\n\t\t\tpadding: 40px;\n\t\t\ttext-align: center;\n\t\t\tcolor: #718096;\n\t\t\tfont-size: 15px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t\t.mtz-property-card {\n\t\t\tbackground: #ffffff;\n\t\t\tborder-radius: 12px;\n\t\t\toverflow: hidden;\n\t\t\tbox-shadow: 0 2px 12px rgba(0,0,0,.06);\n\t\t\tborder: 1px solid #edf2f7;\n\t\t\ttransition: all .3s ease;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t}\n\n\t\t.mtz-property-card:hover {\n\t\t\ttransform: translateY(-4px);\n\t\t\tbox-shadow: 0 12px 24px rgba(0,0,0,.1);\n\t\t}\n\n\t\t.mtz-property-card a {\n\t\t\ttext-decoration: none;\n\t\t\tcolor: inherit;\n\t\t}\n\n\t\t.mtz-property-card-image {\n\t\t\taspect-ratio: 16\/10;\n\t\t\toverflow: hidden;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.mtz-property-card-image img {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tobject-fit: cover;\n\t\t\tdisplay: block;\n\t\t\ttransition: transform 0.4s ease;\n\t\t}\n\n\t\t.mtz-property-card:hover .mtz-property-card-image img {\n\t\t\ttransform: scale(1.03);\n\t\t}\n\n\t\t.mtz-property-card-content {\n\t\t\tpadding: 20px;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tflex-grow: 1;\n\t\t}\n\n\t\t.mtz-property-title {\n\t\t\tfont-size: 17px;\n\t\t\tline-height: 1.3;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #1a202c;\n\t\t\tmargin: 0 0 8px;\n\t\t}\n\n\t\t.mtz-property-title a:hover {\n\t\t\tcolor: #4f6ef5;\n\t\t}\n\n\t\t.mtz-property-meta {\n\t\t\tfont-size: 13px;\n\t\t\tcolor: #718096;\n\t\t\tmargin-bottom: 4px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t\t.mtz-property-amenities {\n\t\t\tfont-size: 13px;\n\t\t\tcolor: #4a5568;\n\t\t\tmargin-bottom: 12px;\n\t\t}\n\n\t\t.mtz-property-price {\n\t\t\tfont-size: 15px;\n\t\t\tfont-weight: 600;\n\t\t\tcolor: #1a202c;\n\t\t\tmargin-bottom: 15px;\n\t\t\tmargin-top: auto;\n\t\t}\n\n\t\t.mtz-property-price span {\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #718096;\n\t\t}\n\n\t\t.mtz-property-button {\n\t\t\tdisplay: inline-flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tgap: 8px;\n\t\t\tbackground: #4F6EF5;\n\t\t\tcolor: #ffffff !important;\n\t\t\tpadding: 10px 20px;\n\t\t\tborder-radius: 8px;\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 600;\n\t\t\ttext-decoration: none !important;\n\t\t\ttransition: all .2s ease;\n\t\t\twidth: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.mtz-property-button:hover {\n\t\t\tbackground: #3d5de8;\n\t\t}\n\n\t\t\/* Leaflet Custom Styles *\/\n\t\t.mtz-map-price-marker {\n\t\t\tbackground: #ffffff;\n\t\t\tborder: 1px solid #cbd5e0;\n\t\t\tborder-radius: 20px;\n\t\t\tpadding: 4px 8px;\n\t\t\tfont-size: 12px;\n\t\t\tfont-weight: 700;\n\t\t\tcolor: #1a202c;\n\t\t\tbox-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);\n\t\t\twhite-space: nowrap;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\t@media (max-width: 1024px) {\n\t\t\t.mtz-property-archive-wrapper {\n\t\t\t\tflex-direction: column-reverse;\n\t\t\t}\n\n\t\t\t.mtz-property-listing,\n\t\t\t.mtz-property-map-sidebar {\n\t\t\t\tmax-width: 100%;\n\t\t\t\twidth: 100%;\n\t\t\t\tflex: 0 0 100%;\n\t\t\t}\n\n\t\t\t.mtz-property-map-sidebar {\n\t\t\t\tposition: relative;\n\t\t\t\ttop: auto;\n\t\t\t\theight: 400px;\n\t\t\t\tmargin-bottom: 25px;\n\t\t\t}\n\t\t}\n\n\t\t@media (max-width: 767px) {\n\t\t\t.mtz-property-grid {\n\t\t\t\tgrid-template-columns: 1fr;\n\t\t\t\tgap: 20px;\n\t\t\t}\n\t\t\t.mtz-no-properties {\n\t\t\t\tgrid-column: span 1;\n\t\t\t}\n\t\t}\n\t<\/style>\n\n\t<div class=\"mtz-property-archive-wrapper\" id=\"mtz-archive-context\">\n\n\t\t<div class=\"mtz-property-listing\">\n\n\t\t\t<!-- Filters Bar -->\n\t\t\t<div class=\"mtz-archive-filters\">\n\t\t\t\t<!-- Bedrooms Dropdown -->\n\t\t\t\t<div class=\"mtz-filter-item\" id=\"mtz-bedrooms-filter-wrap\">\n\t\t\t\t\t<label for=\"mtz-filter-bedrooms\">Bedrooms<\/label>\n\t\t\t\t\t<div class=\"mtz-filter-input-wrap\">\n\t\t\t\t\t\t<select id=\"mtz-filter-bedrooms\">\n\t\t\t\t\t\t\t<option value=\"any\"  selected='selected'>Any<\/option>\n\t\t\t\t\t\t\t<option value=\"1\" >1+ Bedrooms<\/option>\n\t\t\t\t\t\t\t<option value=\"2\" >2+ Bedrooms<\/option>\n\t\t\t\t\t\t\t<option value=\"3\" >3+ Bedrooms<\/option>\n\t\t\t\t\t\t\t<option value=\"4\" >4+ Bedrooms<\/option>\n\t\t\t\t\t\t\t<option value=\"5\" >5+ Bedrooms<\/option>\n\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-filter-clear\" id=\"mtz-clear-bedrooms\" style=\"display:none;\">\u2715<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Amenities Dropdown -->\n\t\t\t\t<div class=\"mtz-filter-item mtz-dropdown-checklist\" id=\"mtz-amenities-filter-wrap\">\n\t\t\t\t\t<label>Amenities<\/label>\n\t\t\t\t\t<div class=\"mtz-filter-input-wrap\">\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-filter-trigger\" id=\"mtz-amenities-trigger-btn\">\n\t\t\t\t\t\t\tFilter Amenities\n\t\t\t\t\t\t\t<span class=\"mtz-trigger-arrow\"><\/span>\n\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-filter-clear\" id=\"mtz-clear-amenities\" style=\"display:none;\">\u2715<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mtz-checklist-popover\" id=\"mtz-amenities-popover-elem\">\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"amenities[]\" value=\"wifi\" >\n\t\t\t\t\t\t\tWifi\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"amenities[]\" value=\"parking\" >\n\t\t\t\t\t\t\tParking\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"amenities[]\" value=\"kitchen\" >\n\t\t\t\t\t\t\tKitchen\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"amenities[]\" value=\"pool\" >\n\t\t\t\t\t\t\tPool\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"amenities[]\" value=\"air conditioning\" >\n\t\t\t\t\t\t\tAir Conditioning\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"amenities[]\" value=\"pets\" >\n\t\t\t\t\t\t\tPets Allowed\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Price Range Dropdown Slider -->\n\t\t\t\t<div class=\"mtz-filter-item mtz-dropdown-checklist\" id=\"mtz-price-filter-wrap\">\n\t\t\t\t\t<label>Price Range<\/label>\n\t\t\t\t\t<div class=\"mtz-filter-input-wrap\">\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-filter-trigger\" id=\"mtz-price-trigger-btn\">\n\t\t\t\t\t\t\tPrice Range\n\t\t\t\t\t\t\t<span class=\"mtz-trigger-arrow\"><\/span>\n\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<button type=\"button\" class=\"mtz-filter-clear\" id=\"mtz-clear-price\" style=\"display:none;\">\u2715<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mtz-price-popover\" id=\"mtz-price-popover-elem\">\n\t\t\t\t\t\t<div class=\"mtz-price-popover-title\">Price per night<\/div>\n\t\t\t\t\t\t<div class=\"mtz-slider-container-wrap\">\n\t\t\t\t\t\t\t<div class=\"mtz-slider-track-bar\" id=\"mtz-slider-track\"><\/div>\n\t\t\t\t\t\t\t<input type=\"range\" class=\"mtz-range-input mtz-range-min\" min=\"350\" max=\"500\" value=\"350\" step=\"10\">\n\t\t\t\t\t\t\t<input type=\"range\" class=\"mtz-range-input mtz-range-max\" min=\"350\" max=\"500\" value=\"500\" step=\"10\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"mtz-price-range-labels\">\n\t\t\t\t\t\t\t<span>Min: $<span class=\"mtz-price-val-min\">350<\/span><\/span>\n\t\t\t\t\t\t\t<span>Max: $<span class=\"mtz-price-val-max\">500<\/span><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t\t<!-- Grid -->\n\t\t\t<div class=\"mtz-property-grid\" id=\"mtz-property-grid-cards\">\n\t\t\t\t\n\t\t<div class=\"mtz-property-card\">\n\t\t\t\t\t\t\t<div class=\"mtz-property-card-image\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/2999-hidden-oak-dr\/\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/l.icdbcdn.com\/oh\/fb83e7f2-cc6b-4757-b02f-fdb7a5635db6.jpg?f=32\" alt=\"2999 Hidden Oak Dr\" loading=\"lazy\">\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"mtz-property-card-content\">\n\t\t\t\t<h3 class=\"mtz-property-title\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/2999-hidden-oak-dr\/\">\n\t\t\t\t\t\t2999 Hidden Oak Dr\t\t\t\t\t<\/a>\n\t\t\t\t<\/h3>\n\n\t\t\t\t<div class=\"mtz-property-meta\">\n\t\t\t\t\t10 Guests\n\t\t\t\t\t\u2022\n\t\t\t\t\t4 Bedrooms\n\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"mtz-property-amenities\">\n\t\t\t\t\t\tWifi \u2022 Washing Machine \u2022 Parking \u2022 Air Conditioning\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<div class=\"mtz-property-price\">\n\t\t\t\t\tFrom $375<span>\/night<\/span>\n\t\t\t\t<\/div>\n\n\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/2999-hidden-oak-dr\/\" class=\"mtz-property-button\">\n\t\t\t\t\tView Property \u2192\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t\n\t\t<div class=\"mtz-property-card\">\n\t\t\t\t\t\t\t<div class=\"mtz-property-card-image\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/3013-hidden-oak\/\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/l.icdbcdn.com\/oh\/90742b04-505b-4867-aca8-0b5fe3ec446c.jpg?f=32\" alt=\"3013 Hidden Oak\" loading=\"lazy\">\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"mtz-property-card-content\">\n\t\t\t\t<h3 class=\"mtz-property-title\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/3013-hidden-oak\/\">\n\t\t\t\t\t\t3013 Hidden Oak\t\t\t\t\t<\/a>\n\t\t\t\t<\/h3>\n\n\t\t\t\t<div class=\"mtz-property-meta\">\n\t\t\t\t\t8 Guests\n\t\t\t\t\t\u2022\n\t\t\t\t\t4 Bedrooms\n\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"mtz-property-amenities\">\n\t\t\t\t\t\tWifi \u2022 Washing Machine \u2022 Parking \u2022 Air Conditioning\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<div class=\"mtz-property-price\">\n\t\t\t\t\tFrom $400<span>\/night<\/span>\n\t\t\t\t<\/div>\n\n\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/3013-hidden-oak\/\" class=\"mtz-property-button\">\n\t\t\t\t\tView Property \u2192\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t\n\t\t<div class=\"mtz-property-card\">\n\t\t\t\t\t\t\t<div class=\"mtz-property-card-image\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/hidden-oak-hideaway\/\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/l.icdbcdn.com\/oh\/f9c56c86-cc4f-494c-ae52-11080b1af49b.jpg?f=32\" alt=\"Hidden Oak Hideaway\" loading=\"lazy\">\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"mtz-property-card-content\">\n\t\t\t\t<h3 class=\"mtz-property-title\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/hidden-oak-hideaway\/\">\n\t\t\t\t\t\tHidden Oak Hideaway\t\t\t\t\t<\/a>\n\t\t\t\t<\/h3>\n\n\t\t\t\t<div class=\"mtz-property-meta\">\n\t\t\t\t\t10 Guests\n\t\t\t\t\t\u2022\n\t\t\t\t\t4 Bedrooms\n\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"mtz-property-amenities\">\n\t\t\t\t\t\tWifi \u2022 Washing Machine \u2022 Parking \u2022 Air Conditioning\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<div class=\"mtz-property-price\">\n\t\t\t\t\tFrom $350<span>\/night<\/span>\n\t\t\t\t<\/div>\n\n\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/hidden-oak-hideaway\/\" class=\"mtz-property-button\">\n\t\t\t\t\tView Property \u2192\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t\n\t\t<div class=\"mtz-property-card\">\n\t\t\t\t\t\t\t<div class=\"mtz-property-card-image\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/seabrook-searenity\/\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/l.icdbcdn.com\/oh\/1eda7394-ebef-41f7-b873-887e6c603cb6.jpg?f=32\" alt=\"Seabrook SEArenity\" loading=\"lazy\">\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"mtz-property-card-content\">\n\t\t\t\t<h3 class=\"mtz-property-title\">\n\t\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/seabrook-searenity\/\">\n\t\t\t\t\t\tSeabrook SEArenity\t\t\t\t\t<\/a>\n\t\t\t\t<\/h3>\n\n\t\t\t\t<div class=\"mtz-property-meta\">\n\t\t\t\t\t12 Guests\n\t\t\t\t\t\u2022\n\t\t\t\t\t5 Bedrooms\n\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t<div class=\"mtz-property-amenities\">\n\t\t\t\t\t\tWifi \u2022 Washing Machine \u2022 Parking \u2022 Air Conditioning\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<div class=\"mtz-property-price\">\n\t\t\t\t\tFrom $495<span>\/night<\/span>\n\t\t\t\t<\/div>\n\n\t\t\t\t<a href=\"https:\/\/demo.mediatrenz.dev\/effortless\/properties\/seabrook-searenity\/\" class=\"mtz-property-button\">\n\t\t\t\t\tView Property \u2192\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t\t\t\t<\/div>\n\n\t\t<\/div>\n\n\t\t<div class=\"mtz-property-map-sidebar\">\n\t\t\t<div id=\"mtz-property-map\"><\/div>\n\t\t<\/div>\n\n\t<\/div>\n\n\t<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.css\" \/>\n\t<script src=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.js\"><\/script>\n\n\t<script>\n\t\t(function() {\n\t\t\tfunction mtzInitArchiveWidget() {\n\t\t\t\tconst mapContainer = document.getElementById('mtz-property-map');\n\t\t\t\tif (!mapContainer || mapContainer.classList.contains('mtz-initialized')) return;\n\t\t\t\tmapContainer.classList.add('mtz-initialized');\n\n\t\t\t\tlet leafletMap = null;\n\t\t\t\tlet activeMarkers = [];\n\n\t\t\t\t\/\/ Global map initialization & updates\n\t\t\t\twindow.mtzInitMap = function(locations) {\n\t\t\t\t\tif (!locations || !locations.length) {\n\t\t\t\t\t\t\/\/ Clear map if empty\n\t\t\t\t\t\tif (leafletMap) {\n\t\t\t\t\t\t\tactiveMarkers.forEach(m => leafletMap.removeLayer(m));\n\t\t\t\t\t\t\tactiveMarkers = [];\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!leafletMap) {\n\t\t\t\t\t\tleafletMap = L.map('mtz-property-map').setView([locations[0].lat, locations[0].lng], 12);\n\t\t\t\t\t\tL.tileLayer('https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png', {\n\t\t\t\t\t\t\tmaxZoom: 19,\n\t\t\t\t\t\t\tattribution: '\u00a9 OpenStreetMap'\n\t\t\t\t\t\t}).addTo(leafletMap);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t\/\/ Remove old markers\n\t\t\t\t\t\tactiveMarkers.forEach(m => leafletMap.removeLayer(m));\n\t\t\t\t\t\tactiveMarkers = [];\n\t\t\t\t\t}\n\n\t\t\t\t\tconst bounds = [];\n\t\t\t\t\tlocations.forEach(function(location) {\n\t\t\t\t\t\t\/\/ Custom price pin marker\n\t\t\t\t\t\tconst priceIcon = L.divIcon({\n\t\t\t\t\t\t\tclassName: 'mtz-map-price-pin',\n\t\t\t\t\t\t\thtml: '<div class=\"mtz-map-price-marker\">$' + location.price + '<\/div>',\n\t\t\t\t\t\t\ticonSize: [60, 26],\n\t\t\t\t\t\t\ticonAnchor: [30, 13]\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tconst marker = L.marker([location.lat, location.lng], { icon: priceIcon }).addTo(leafletMap);\n\t\t\t\t\t\tmarker.bindPopup(\n\t\t\t\t\t\t\t'<div style=\"font-family:\\'Poppins\\',sans-serif;padding:5px;\">' +\n\t\t\t\t\t\t\t'<h4 style=\"margin:0 0 5px;font-size:14px;font-weight:600;\">' + location.title + '<\/h4>' +\n\t\t\t\t\t\t\t'<a href=\"' + location.url + '\" style=\"font-size:12px;color:#4f6ef5;text-decoration:none;font-weight:600;\">View Property \u2192<\/a>' +\n\t\t\t\t\t\t\t'<\/div>'\n\t\t\t\t\t\t);\n\t\t\t\t\t\tactiveMarkers.push(marker);\n\t\t\t\t\t\tbounds.push([location.lat, location.lng]);\n\t\t\t\t\t});\n\n\t\t\t\t\tif (bounds.length > 1) {\n\t\t\t\t\t\tleafletMap.fitBounds(bounds, { padding: [40, 40] });\n\t\t\t\t\t} else if (bounds.length === 1) {\n\t\t\t\t\t\tleafletMap.setView(bounds[0], 13);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t\/\/ Initial Map load\n\t\t\t\tconst initialLocations = [{\"title\":\"2999 Hidden Oak Dr\",\"url\":\"https:\\\/\\\/demo.mediatrenz.dev\\\/effortless\\\/properties\\\/2999-hidden-oak-dr\\\/\",\"lat\":32.5690018,\"lng\":-80.1783984,\"price\":\"375\"},{\"title\":\"3013 Hidden Oak\",\"url\":\"https:\\\/\\\/demo.mediatrenz.dev\\\/effortless\\\/properties\\\/3013-hidden-oak\\\/\",\"lat\":32.5680117,\"lng\":-80.1784099,\"price\":\"400\"},{\"title\":\"Hidden Oak Hideaway\",\"url\":\"https:\\\/\\\/demo.mediatrenz.dev\\\/effortless\\\/properties\\\/hidden-oak-hideaway\\\/\",\"lat\":32.569236,\"lng\":-80.178693,\"price\":\"350\"},{\"title\":\"Seabrook SEArenity\",\"url\":\"https:\\\/\\\/demo.mediatrenz.dev\\\/effortless\\\/properties\\\/seabrook-searenity\\\/\",\"lat\":32.567817687988,\"lng\":-80.17845916748,\"price\":\"495\"}];\n\t\t\t\twindow.mtzInitMap(initialLocations);\n\n\t\t\t\t\/\/ Amenities Dropdown toggle\n\t\t\t\tconst amWrap = document.getElementById('mtz-amenities-filter-wrap');\n\t\t\t\tconst amBtn = document.getElementById('mtz-amenities-trigger-btn');\n\t\t\t\tconst amPopover = document.getElementById('mtz-amenities-popover-elem');\n\n\t\t\t\tamBtn.addEventListener('click', function(e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tcloseAllPopoversExcept(amWrap);\n\t\t\t\t\tamWrap.classList.toggle('active');\n\t\t\t\t});\n\n\t\t\t\t\/\/ Price Range Dropdown toggle\n\t\t\t\tconst prWrap = document.getElementById('mtz-price-filter-wrap');\n\t\t\t\tconst prBtn = document.getElementById('mtz-price-trigger-btn');\n\t\t\t\tconst prPopover = document.getElementById('mtz-price-popover-elem');\n\n\t\t\t\tprBtn.addEventListener('click', function(e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tcloseAllPopoversExcept(prWrap);\n\t\t\t\t\tprWrap.classList.toggle('active');\n\t\t\t\t});\n\n\t\t\t\t\/\/ Close popovers helpers\n\t\t\t\tfunction closeAllPopoversExcept(exceptWrap) {\n\t\t\t\t\tif (exceptWrap !== amWrap) amWrap.classList.remove('active');\n\t\t\t\t\tif (exceptWrap !== prWrap) prWrap.classList.remove('active');\n\t\t\t\t}\n\n\t\t\t\tdocument.addEventListener('click', function(e) {\n\t\t\t\t\tif (!amWrap.contains(e.target)) amWrap.classList.remove('active');\n\t\t\t\t\tif (!prWrap.contains(e.target)) prWrap.classList.remove('active');\n\t\t\t\t});\n\n\t\t\t\t\/\/ Price slider range logic\n\t\t\t\tconst minLimit = parseFloat(\"350\");\n\t\t\t\tconst maxLimit = parseFloat(\"500\");\n\t\t\t\tconst rangeMinInput = prPopover.querySelector('.mtz-range-min');\n\t\t\t\tconst rangeMaxInput = prPopover.querySelector('.mtz-range-max');\n\t\t\t\tconst priceValMin = prPopover.querySelector('.mtz-price-val-min');\n\t\t\t\tconst priceValMax = prPopover.querySelector('.mtz-price-val-max');\n\t\t\t\tconst sliderTrack = prPopover.querySelector('#mtz-slider-track');\n\t\t\t\tconst clearPriceBtn = document.getElementById('mtz-clear-price');\n\n\t\t\t\tfunction updateSliderTrack() {\n\t\t\t\t\tconst minVal = parseFloat(rangeMinInput.value);\n\t\t\t\t\tconst maxVal = parseFloat(rangeMaxInput.value);\n\n\t\t\t\t\tconst minPercent = ((minVal - minLimit) \/ (maxLimit - minLimit)) * 100;\n\t\t\t\t\tconst maxPercent = ((maxVal - minLimit) \/ (maxLimit - minLimit)) * 100;\n\n\t\t\t\t\tsliderTrack.style.left = minPercent + '%';\n\t\t\t\t\tsliderTrack.style.right = (100 - maxPercent) + '%';\n\n\t\t\t\t\tpriceValMin.textContent = minVal;\n\t\t\t\t\tpriceValMax.textContent = maxVal;\n\n\t\t\t\t\t\/\/ Toggle Clear button visibility\n\t\t\t\t\tif (minVal > minLimit || maxVal < maxLimit) {\n\t\t\t\t\t\tclearPriceBtn.style.display = 'flex';\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclearPriceBtn.style.display = 'none';\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\trangeMinInput.addEventListener('input', function() {\n\t\t\t\t\tlet minVal = parseFloat(rangeMinInput.value);\n\t\t\t\t\tlet maxVal = parseFloat(rangeMaxInput.value);\n\n\t\t\t\t\tif (minVal > maxVal - 10) {\n\t\t\t\t\t\trangeMinInput.value = maxVal - 10;\n\t\t\t\t\t}\n\t\t\t\t\tupdateSliderTrack();\n\t\t\t\t});\n\n\t\t\t\trangeMaxInput.addEventListener('input', function() {\n\t\t\t\t\tlet minVal = parseFloat(rangeMinInput.value);\n\t\t\t\t\tlet maxVal = parseFloat(rangeMaxInput.value);\n\n\t\t\t\t\tif (maxVal < minVal + 10) {\n\t\t\t\t\t\trangeMaxInput.value = minVal + 10;\n\t\t\t\t\t}\n\t\t\t\t\tupdateSliderTrack();\n\t\t\t\t});\n\n\t\t\t\t\/\/ Trigger update filtering when inputs are released (change event)\n\t\t\t\trangeMinInput.addEventListener('change', performLiveFiltering);\n\t\t\t\trangeMaxInput.addEventListener('change', performLiveFiltering);\n\n\t\t\t\t\/\/ Initialize track state\n\t\t\t\tupdateSliderTrack();\n\n\t\t\t\t\/\/ Filter actions trigger live AJAX update\n\t\t\t\tconst bedSelect = document.getElementById('mtz-filter-bedrooms');\n\t\t\t\tconst propertyGrid = document.getElementById('mtz-property-grid-cards');\n\t\t\t\tconst clearBedroomsBtn = document.getElementById('mtz-clear-bedrooms');\n\t\t\t\tconst clearAmenitiesBtn = document.getElementById('mtz-clear-amenities');\n\n\t\t\t\tfunction performLiveFiltering() {\n\t\t\t\t\tpropertyGrid.classList.add('mtz-loading');\n\n\t\t\t\t\t\/\/ Gathers values\n\t\t\t\t\tconst bedVal = bedSelect.value;\n\t\t\t\t\tconst checkedAmenities = [];\n\t\t\t\t\tamPopover.querySelectorAll('input[type=\"checkbox\"]:checked').forEach(cb => {\n\t\t\t\t\t\tcheckedAmenities.push(cb.value);\n\t\t\t\t\t});\n\n\t\t\t\t\tconst minVal = rangeMinInput.value;\n\t\t\t\t\tconst maxVal = rangeMaxInput.value;\n\n\t\t\t\t\t\/\/ Clear buttons displays toggling\n\t\t\t\t\tclearBedroomsBtn.style.display = (bedVal !== 'any') ? 'flex' : 'none';\n\t\t\t\t\tclearAmenitiesBtn.style.display = (checkedAmenities.length > 0) ? 'flex' : 'none';\n\t\t\t\t\tclearPriceBtn.style.display = (parseFloat(minVal) > minLimit || parseFloat(maxVal) < maxLimit) ? 'flex' : 'none';\n\n\t\t\t\t\t\/\/ Retrieve parent search bar values if present on page\n\t\t\t\t\tconst searchContainer = document.querySelector('.mtz-search-container');\n\t\t\t\t\tconst checkin = searchContainer ? (searchContainer.querySelector('.mtz-checkin')?.value || '') : '';\n\t\t\t\t\tconst checkout = searchContainer ? (searchContainer.querySelector('.mtz-checkout')?.value || '') : '';\n\t\t\t\t\tconst adults = searchContainer ? (searchContainer.querySelector('input[name=\"adults\"]')?.value || '1') : '1';\n\t\t\t\t\tconst children = searchContainer ? (searchContainer.querySelector('input[name=\"children\"]')?.value || '0') : '0';\n\t\t\t\t\tconst pets = searchContainer ? (searchContainer.querySelector('input[name=\"pets\"]')?.value || '0') : '0';\n\n\t\t\t\t\t\/\/ Construct search query string\n\t\t\t\t\tconst searchParams = new URLSearchParams();\n\t\t\t\t\tif (checkin) searchParams.set('checkin', checkin);\n\t\t\t\t\tif (checkout) searchParams.set('checkout', checkout);\n\t\t\t\t\tsearchParams.set('adults', adults);\n\t\t\t\t\tsearchParams.set('children', children);\n\t\t\t\t\tsearchParams.set('pets', pets);\n\t\t\t\t\tif (bedVal !== 'any') searchParams.set('bedrooms', bedVal);\n\t\t\t\t\tcheckedAmenities.forEach(am => searchParams.append('amenities[]', am));\n\n\t\t\t\t\t\/\/ Always send both price values so PHP filter always has full range context.\n\t\t\t\t\tsearchParams.set('min_price', minVal);\n\t\t\t\t\tsearchParams.set('max_price', maxVal);\n\n\t\t\t\t\t\/\/ Update browser history URL\n\t\t\t\t\tconst newUrl = window.location.pathname + '?' + searchParams.toString();\n\t\t\t\t\twindow.history.pushState({ path: newUrl }, '', newUrl);\n\n\t\t\t\t\t\/\/ Perform AJAX\n\t\t\t\t\tconst ajaxUrl = 'https:\/\/demo.mediatrenz.dev\/effortless\/wp-admin\/admin-ajax.php';\n\t\t\t\t\tconst queryUrl = ajaxUrl + '?action=mtz_filter_properties&' + searchParams.toString();\n\n\t\t\t\t\tfetch(queryUrl)\n\t\t\t\t\t\t.then(response => response.json())\n\t\t\t\t\t\t.then(res => {\n\t\t\t\t\t\t\tpropertyGrid.classList.remove('mtz-loading');\n\t\t\t\t\t\t\tif (res.success) {\n\t\t\t\t\t\t\t\tpropertyGrid.innerHTML = res.data.html;\n\t\t\t\t\t\t\t\twindow.mtzInitMap(res.data.map_locations);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch(err => {\n\t\t\t\t\t\t\tpropertyGrid.classList.remove('mtz-loading');\n\t\t\t\t\t\t\tconsole.error('Filtering failed:', err);\n\t\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/\/ Clear triggers event handlers\n\t\t\t\tclearBedroomsBtn.addEventListener('click', function(e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tbedSelect.value = 'any';\n\t\t\t\t\tperformLiveFiltering();\n\t\t\t\t});\n\n\t\t\t\tclearAmenitiesBtn.addEventListener('click', function(e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tamPopover.querySelectorAll('input[type=\"checkbox\"]:checked').forEach(cb => {\n\t\t\t\t\t\tcb.checked = false;\n\t\t\t\t\t});\n\t\t\t\t\tperformLiveFiltering();\n\t\t\t\t});\n\n\t\t\t\tclearPriceBtn.addEventListener('click', function(e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\trangeMinInput.value = minLimit;\n\t\t\t\t\trangeMaxInput.value = maxLimit;\n\t\t\t\t\tupdateSliderTrack();\n\t\t\t\t\tperformLiveFiltering();\n\t\t\t\t});\n\n\t\t\t\t\/\/ Listen to changes\n\t\t\t\tbedSelect.addEventListener('change', performLiveFiltering);\n\t\t\t\tamPopover.querySelectorAll('input[type=\"checkbox\"]').forEach(cb => {\n\t\t\t\t\tcb.addEventListener('change', performLiveFiltering);\n\t\t\t\t});\n\n\t\t\t\t\/\/ If search widget is on the same page, bind search submission to perform live filter instead of reload\n\t\t\t\tconst searchForm = document.querySelector('.mtz-search-container');\n\t\t\t\tif (searchForm) {\n\t\t\t\t\tsearchForm.addEventListener('submit', function(e) {\n\t\t\t\t\t\t\/\/ Only hijack if we are already on the archive results page (contains archive context)\n\t\t\t\t\t\tif (document.getElementById('mtz-archive-context')) {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\tperformLiveFiltering();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\/\/ Ensure initialization runs whether DOMContentLoaded fired or not\n\t\t\tif (document.readyState === 'loading') {\n\t\t\t\tdocument.addEventListener('DOMContentLoaded', mtzInitArchiveWidget);\n\t\t\t} else {\n\t\t\t\tmtzInitArchiveWidget();\n\t\t\t}\n\t\t})();\n\t<\/script>\n\n\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-869","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/pages\/869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/comments?post=869"}],"version-history":[{"count":13,"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/pages\/869\/revisions"}],"predecessor-version":[{"id":1158,"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/pages\/869\/revisions\/1158"}],"wp:attachment":[{"href":"https:\/\/demo.mediatrenz.dev\/effortless\/wp-json\/wp\/v2\/media?parent=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}