/* Mobile + tablet portrait: homepage hero search (dropdown close button, field look). Loaded by mobile-home-search.php. */
html body #houzez-search-7806df6 .kr-dd-close { display: none; }
		@media (max-width: 767px), (max-width: 1024px) and (orientation: portrait), (max-width: 950px) and (orientation: landscape) and (max-height: 500px) {
		/* Search panel: no own background (the blue tint covers the whole first section), no outline */
		html body #houzez-search-7806df6 .houzez-search-builder-wrapper {
			background-color: transparent !important;
			border: 0 !important;
			border-radius: 0 !important;
			padding-top: 10px !important;
		}
		/* Vendndodhja moved up: no extra space at the top and bottom of the fields */
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper {
			padding-top: 0 !important;
			padding-bottom: 0 !important;
		}
		/* Price, "Më shumë filtra" and the two buttons moved up: same spacing as the other rows */
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-f206097,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .kk-more,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-type-submit {
			margin-top: 0 !important;
		}
		/* Location field: 16px text so iPhone does not zoom in on tap; placeholder keeps its small size */
		html body.page-id-18427 #houzez-search-7806df6:not(#m1):not(#m2):not(#m3):not(#m4) input.search_location_js {
			font-size: 16px !important;
		}
		html body.page-id-18427 #houzez-search-7806df6:not(#m1):not(#m2):not(#m3):not(#m4) input.search_location_js::placeholder {
			font-size: 11px !important;
		}
		/* Kategoria, Qyteti, Zona: only the custom list opens (the hidden native select can't be tapped), with readable navy text */
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper select {
			pointer-events: none !important;
		}
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper select option {
			color: #000A3C !important;
			background-color: #FFFFFF !important;
		}
		html body #houzez-search-7806df6 .kz-dd-list .kz-dd-opt:not(.is-sel),
		html body #houzez-search-7806df6 .kz-dd-list .kz-dd-opt:not(.is-sel) span {
			-webkit-text-fill-color: currentColor !important;
		}
		/* "Më shumë filtra": arrow right after the text, not at the end of the row */
		html body #houzez-search-7806df6 .kk-more-head {
			justify-content: flex-start !important;
			gap: 8px !important;
		}
		/* Dropdown lists: search box + brown round close button (white X) on the right */
		html body.page-id-18427 #houzez-search-7806df6:not(#m1):not(#m2):not(#m3):not(#m4) .kr-dd-head {
			position: sticky;
			top: -6px;
			z-index: 3;
			display: flex;
			align-items: center;
			gap: 8px;
			background: #FFFFFF;
		}
		html body.page-id-18427 #houzez-search-7806df6:not(#m1):not(#m2):not(#m3):not(#m4) .kr-dd-head .kz-dd-search {
			position: static !important;
			flex: 1 1 auto;
			min-width: 0;
			font-size: 16px !important;
		}
		html body.page-id-18427 #houzez-search-7806df6:not(#m1):not(#m2):not(#m3):not(#m4) .kr-dd-head .kz-dd-search::placeholder {
			font-size: 11.5px !important;
		}
		html body.page-id-18427 #houzez-search-7806df6:not(#m1):not(#m2):not(#m3):not(#m4) .kr-dd-close {
			display: flex !important;
			flex: 0 0 34px;
			width: 34px;
			height: 34px;
			padding: 0;
			border: 0;
			border-radius: 50%;
			background: #9A5B39;
			align-items: center;
			justify-content: center;
			cursor: pointer;
		}
		html body.page-id-18427 #houzez-search-7806df6:not(#m1):not(#m2):not(#m3):not(#m4) .kr-dd-close svg {
			width: 14px;
			height: 14px;
			stroke: #FFFFFF;
		}
		/* Same field layout on mobile and tablet portrait */
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-f347837,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-7b0e292,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-f206097,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .kk-more {
			flex: 0 0 100% !important;
			width: 100% !important;
			max-width: 100% !important;
		}
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-7e14ac6,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-c5a8e21,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-type-submit {
			flex: 0 0 50% !important;
			width: 50% !important;
			max-width: 50% !important;
		}
		/* Bedrooms, toilets and balcony hidden on mobile and tablet portrait */
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-aa0a25a,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-5446b97,
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-f41de52 {
			display: none !important;
		}
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .kk-more {
			order: 10 !important;
			padding-right: 5px !important;
		}
		html body #houzez-search-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-type-submit {
			order: 20 !important;
		}
			html body .houzez-search-builder-wrapper:not(#m1):not(#m2):not(#m3):not(#m4) .houzez-status-tabs,
			html body .houzez-search-builder-wrapper:not(#m1):not(#m2):not(#m3):not(#m4) .kz-mhide { display: none !important; }
			html body .houzez-search-builder-wrapper:not(#m1):not(#m2):not(#m3):not(#m4) .reset-search-btn {
				border-color: #9A5B39 !important;
				background: #9A5B39 !important;
				color: #FFFFFF !important;
			}
			html body .houzez-search-builder-wrapper:not(#m1):not(#m2):not(#m3):not(#m4) .houzez-search-button {
				border: 1px solid rgba(255, 255, 255, 0.45) !important;
				background: #000A3C !important;
				color: #FFFFFF !important;
			}
			html body .houzez-search-builder-wrapper:not(#m1):not(#m2):not(#m3):not(#m4) .reset-search-btn *,
			html body .houzez-search-builder-wrapper:not(#m1):not(#m2):not(#m3):not(#m4) .houzez-search-button * { color: #FFFFFF !important; }
		}

/* Hero search: buttons (clear filters / search) a little closer to "Më shumë filtra";
   open dropdown lists overlay the next section instead of stretching the first section */
@media (max-width: 767px), (max-width: 1024px) and (orientation: portrait), (max-width: 950px) and (orientation: landscape) and (max-height: 500px) {
	html body.page-id-18427 .elementor-element-6337de40 .elementor-element-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-type-submit:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8) {
		margin-top: -8px !important;
	}
	body.page-id-18427 .elementor-18427 .elementor-element.elementor-element-6337de40 {
		z-index: 5;
	}
	/* "Vendndodhja" (first field) 5px higher; the fields under it follow */
	html body.page-id-18427 .elementor-element-6337de40 .elementor-element-7806df6 .houzez-ele-search-form-wrapper > .elementor-field-group-f347837:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5):not(#a6):not(#a7):not(#a8) {
		margin-top: -5px !important;
	}
}
