/**
 * WLOOKUPS Search Form 2
 * Brand baseline: Midnight Navy, Journey Blue, Signal Lime, Cloud White.
 */

.elementor_search_form_2.wlk-search-form-2 {
	--wlk-navy: #102033;
	--wlk-ink: #161a1d;
	--wlk-blue: #3d6bff;
	--wlk-link: #3864f2;
	--wlk-lime: #c8ff3d;
	--wlk-lime-hover: #b8ef2e;
	--wlk-cloud: #f7f8f4;
	--wlk-white: #ffffff;
	--wlk-border: rgba(16, 32, 51, 0.16);
	--wlk-muted: #5f6b78;
	--wlk-error: #b42318;
	--wlk-success: #256b2b;
	width: 100% !important;
	max-width: 1120px;
	font-family: "IBM Plex Sans Thai Looped", "IBM Plex Sans Thai", "IBM Plex Sans", sans-serif;
	color: var(--wlk-ink);
}

/*
 * Home discovery stack
 *
 * The two opt-in Elementor widgets must remain in normal document flow on
 * smaller screens. This prevents a taller responsive search form from covering
 * the category slider when an Elementor template carries desktop positioning.
 */
.wlk-home-search-v2,
.wlk-category-strip {
	width: 100%;
	max-width: 1120px;
	min-width: 0;
	margin-inline: auto;
}

/*
 * Search Form 2 surface reset
 *
 * Elementor and the vendor widget can both leave a background, border,
 * min-height or shadow on the widget/container/form wrappers. On the WLOOKUPS
 * hero those inherited values create the large pale rectangle below the real
 * controls. Keep only the actual search row, tools and an opened filter panel
 * in the layout.
 */
.wlk-home-search-v2 {
	position: relative;
	z-index: 2;
	min-height: 0 !important;
	height: auto !important;
	clear: both;
}

.wlk-home-search-v2 > .elementor-widget-container {
	display: block !important;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.wlk-home-search-v2 .elementor_search_form_2.wlk-search-form-2,
.wlk-home-search-v2 .elementor_search_form_2.wlk-search-form-2 .wrapper,
.wlk-home-search-v2 .elementor_search_form_2.wlk-search-form-2 .wlk-search-form,
.wlk-home-search-v2 .elementor_search_form_2.wlk-search-form-2 .wlk-search-box {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.elementor_search_form_2.wlk-search-form-2,
.elementor_search_form_2.wlk-search-form-2 *,
.elementor_search_form_2.wlk-search-form-2 *::before,
.elementor_search_form_2.wlk-search-form-2 *::after {
	box-sizing: border-box;
}

.wlk-discovery-stack,
.wlk-discovery-stack > .e-con-inner {
	min-height: 0 !important;
	height: auto !important;
	overflow: visible !important;
}

.wlk-discovery-stack {
	position: relative;
	isolation: isolate;
}

.wlk-home-search-v2 > .elementor-widget-container {
	position: relative;
}

/*
 * WLOOKUPS category shortcut strip. The vendor widget ships with a grey item
 * border; the earlier draft also added an outer grey border. Both are removed
 * here so the strip reads as one clean surface rather than nested grey frames.
 */
.wlk-category-strip {
	--wlk-navy: #102033;
	--wlk-link: #3864f2;
	--wlk-lime: #c8ff3d;
	--wlk-cloud: #f7f8f4;
	position: relative;
	clear: both;
	z-index: 1;
}

.wlk-category-strip > .elementor-widget-container {
	position: relative;
	width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	padding: 12px;
	overflow: hidden;
	background: #ffffff;
	border: 0 !important;
	border-radius: 22px;
	box-shadow: 0 12px 30px rgba(16, 32, 51, 0.07);
}

.wlk-category-strip .el-event-category-slider {
	position: relative;
	z-index: 1;
	width: 100%;
	min-width: 0;
	min-height: 0 !important;
	height: auto !important;
	padding: 0;
}

.wlk-category-strip .swiper-wrapper {
	align-items: stretch;
}

/* Keep a temporary one-item setup visually balanced while categories are added. */
.wlk-category-strip .swiper-wrapper:has(> .swiper-slide:only-child) {
	justify-content: center;
}

.wlk-category-strip .swiper-slide {
	height: auto !important;
	min-height: 0;
}

.wlk-category-strip .el-event-category-item {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 100%;
	min-height: 112px;
	padding: 14px 8px !important;
	color: var(--wlk-navy);
	background: transparent !important;
	border: 0 !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	transition: background-color 160ms ease, transform 160ms ease;
}

.wlk-category-strip .el-event-category-item .el-media {
	display: grid !important;
	place-items: center;
	flex: 0 0 48px;
	width: 48px !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--wlk-navy);
	background: var(--wlk-cloud);
	border-radius: 14px;
	transition: background-color 160ms ease;
}

.wlk-category-strip .el-event-category-item .content-cat {
	display: block;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
}

.wlk-category-strip .el-event-category-item .el-media i {
	font-size: 24px !important;
	line-height: 1;
	color: inherit !important;
}

.wlk-category-strip .el-event-category-item .el-media svg {
	width: 24px !important;
	height: 24px !important;
	fill: currentColor !important;
}

.wlk-category-strip .el-event-category-item .el-media svg path {
	fill: currentColor !important;
}

.wlk-category-strip .el-event-category-item .content-cat .cate-name {
	margin: 0 !important;
	color: var(--wlk-navy) !important;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.35 !important;
	text-align: center !important;
	white-space: normal;
	overflow-wrap: anywhere;
}

.wlk-category-strip .count-event {
	display: none !important;
}

.wlk-category-strip .el-event-category-item:hover {
	background: #eef3ff !important;
	transform: translateY(-2px);
}

.wlk-category-strip .el-event-category-item:hover .el-media {
	background: var(--wlk-lime);
}

.wlk-category-strip .el-event-category-item:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px var(--wlk-link) !important;
}

.elementor_search_form_2.wlk-search-form-2 .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.elementor_search_form_2.wlk-search-form-2 .wrapper {
	padding: 0 !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-box {
	padding: 0 !important;
	background: transparent !important;
	color: var(--wlk-ink);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-row {
	display: grid;
	grid-template-columns: minmax(260px, 1.2fr) minmax(250px, 1fr) auto;
	align-items: stretch;
	gap: 0;
	min-height: 68px;
	padding: 6px !important;
	background: var(--wlk-white);
	border: 1px solid var(--wlk-border) !important;
	border-radius: 18px !important;
	box-shadow: 0 14px 34px rgba(16, 32, 51, 0.14);
	overflow: visible;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-row--no-location {
	grid-template-columns: minmax(260px, 1fr) auto;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-control {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 0 20px;
	background: var(--wlk-white);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-control + .wlk-control {
	border-left: 1px solid var(--wlk-border);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-control > i {
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1;
	color: var(--wlk-link);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-control input[type="search"] {
	width: 100%;
	min-width: 0;
	height: 54px;
	padding: 0;
	border: 0 !important;
	outline: 0;
	background: transparent !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	color: var(--wlk-ink) !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-control input[type="search"]::placeholder {
	color: #7b8490;
	opacity: 1;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-control input[type="search"]:focus-visible {
	border-radius: 6px;
	outline: 3px solid var(--wlk-link);
	outline-offset: 3px;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-location-widget {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-place-autocomplete {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	border: 0;
	border-radius: 8px;
	background-color: var(--wlk-white);
	color-scheme: light;
	font-size: 16px;
	--gmp-mat-font-family: "IBM Plex Sans Thai Looped", "IBM Plex Sans Thai", "IBM Plex Sans", sans-serif;
	--gmp-mat-color-surface: #ffffff;
	--gmp-mat-color-on-surface: #161a1d;
	--gmp-mat-color-on-surface-variant: #5f6b78;
	--gmp-mat-color-primary: #3864f2;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-location-fallback {
	width: 100%;
	min-height: 44px;
	padding: 6px 10px;
	border: 0;
	background: transparent;
	text-align: left;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--wlk-link);
	cursor: pointer;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-location-fallback[hidden] {
	display: none !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 132px;
	min-height: 56px;
	padding: 0 24px;
	border: 0;
	border-radius: 13px;
	background: var(--wlk-lime) !important;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: var(--wlk-navy) !important;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-submit:hover {
	background: var(--wlk-lime-hover) !important;
	transform: translateY(-1px);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-submit:focus-visible,
.elementor_search_form_2.wlk-search-form-2 .wlk-tool-button:focus-visible,
.elementor_search_form_2.wlk-search-form-2 .wlk-location-fallback:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 3px var(--wlk-white), 0 0 0 6px var(--wlk-link);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-submit i {
	font-size: 18px;
	line-height: 1;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 0;
	margin: 14px 0 0;
	padding: 0;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-tool-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 999px;
	background: rgba(16, 32, 51, 0.62);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: var(--wlk-white);
	text-decoration: none;
	cursor: pointer;
	backdrop-filter: blur(8px);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-tool-button__label {
	display: inline-block;
	margin: 0;
	font: inherit;
	line-height: inherit;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-tool-button:hover {
	background: var(--wlk-navy);
	color: var(--wlk-white);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-tool-button[aria-expanded="true"] {
	border-color: var(--wlk-lime);
	background: var(--wlk-navy);
	color: var(--wlk-lime);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-tool-button:disabled {
	opacity: 0.62;
	cursor: wait;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-privacy-note {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 11px;
	border: 1px solid rgba(16, 32, 51, 0.10);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	line-height: 1.45;
	color: var(--wlk-navy);
	backdrop-filter: blur(8px);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-status {
	width: fit-content;
	max-width: 100%;
	min-height: 0;
	margin: 8px 0 0;
	padding: 6px 10px;
	border: 1px solid rgba(16, 32, 51, 0.10);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--wlk-navy);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-status:empty {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	background: transparent !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-status.is-error {
	color: var(--wlk-error);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-search-status.is-success {
	color: var(--wlk-success);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter {
	position: relative !important;
	z-index: 8;
	width: 100%;
	margin-top: 12px !important;
	padding: 24px !important;
	border: 1px solid var(--wlk-border);
	border-radius: 16px !important;
	background: var(--wlk-white) !important;
	box-shadow: 0 18px 42px rgba(16, 32, 51, 0.16) !important;
	color: var(--wlk-ink);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter[hidden] {
	display: none !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter:not([hidden]) {
	display: block !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_title {
	display: block;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--wlk-navy);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields {
	display: grid;
	gap: 18px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.two_column {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.three_column {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.four_column {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.elementor_search_form_2.wlk-search-form-2 .wlk-field-label {
	display: grid;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wlk-navy);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-field-label input,
.elementor_search_form_2.wlk-search-form-2 .wlk-field-label select {
	width: 100%;
	min-height: 46px;
	padding: 9px 14px;
	border: 1px solid var(--wlk-border) !important;
	border-radius: 10px !important;
	background: var(--wlk-white);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--wlk-ink);
}

.elementor_search_form_2.wlk-search-form-2 .wlk-field-label input:focus-visible,
.elementor_search_form_2.wlk-search-form-2 .wlk-field-label select:focus-visible {
	outline: 3px solid var(--wlk-link);
	outline-offset: 2px;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .select2-container {
	width: 100% !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .select2-selection--single {
	height: 46px !important;
	border: 1px solid var(--wlk-border) !important;
	border-radius: 10px !important;
	background: var(--wlk-white) !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .select2-selection__rendered {
	padding: 0 38px 0 14px !important;
	line-height: 44px !important;
	font-size: 15px;
	font-weight: 500;
	color: var(--wlk-ink) !important;
}

.elementor_search_form_2.wlk-search-form-2 .wlk-filter .select2-selection__arrow {
	height: 44px !important;
}

@media (max-width: 1199px) {
	.wlk-home-search-v2,
	.wlk-category-strip {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		bottom: auto !important;
		left: auto !important;
		transform: none !important;
	}

	.wlk-home-search-v2 > .elementor-widget-container,
	.wlk-home-search-v2 .elementor_search_form_2.wlk-search-form-2,
	.wlk-home-search-v2 .elementor_search_form_2.wlk-search-form-2 .wrapper,
	.wlk-home-search-v2 .elementor_search_form_2.wlk-search-form-2 .wlk-search-form {
		max-width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		height: auto !important;
		transform: none !important;
	}

	.wlk-home-search-v2 {
		max-width: 100% !important;
		min-width: 0 !important;
		z-index: 2;
		margin-bottom: 24px !important;
	}

	.wlk-category-strip {
		z-index: 1;
		margin-top: 0 !important;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-search-row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-search-row--no-location {
		grid-template-columns: minmax(0, 1fr);
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-submit {
		grid-column: 1 / -1;
		width: 100%;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.three_column,
	.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.four_column {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.wlk-home-search-v2 {
		margin-bottom: 20px !important;
	}

	.wlk-category-strip > .elementor-widget-container {
		padding: 8px;
		border-radius: 18px;
	}

	.wlk-category-strip .el-event-category-slider {
		padding: 0;
	}

	.wlk-category-strip .el-event-category-item {
		min-height: 96px;
		padding: 10px 4px !important;
	}

	.wlk-category-strip .el-event-category-item .el-media {
		flex-basis: 42px;
		width: 42px !important;
		height: 42px !important;
		border-radius: 13px;
	}

	.wlk-category-strip .el-event-category-item .content-cat .cate-name {
		font-size: 14px;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-search-row,
	.elementor_search_form_2.wlk-search-form-2 .wlk-search-row--no-location {
		grid-template-columns: minmax(0, 1fr);
		padding: 6px !important;
		border-radius: 16px !important;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-control {
		min-height: 58px;
		padding: 0 14px;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-control + .wlk-control {
		border-top: 1px solid var(--wlk-border);
		border-left: 0;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-submit {
		min-height: 52px;
		border-radius: 11px;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-search-tools {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-privacy-note {
		width: fit-content;
		max-width: 100%;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-search-actions {
		width: 100%;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-tool-button {
		flex: 1 1 auto;
		justify-content: center;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-filter {
		padding: 18px !important;
	}

	.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.two_column,
	.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.three_column,
	.elementor_search_form_2.wlk-search-form-2 .wlk-filter .filter_fields.four_column {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.elementor_search_form_2.wlk-search-form-2 *,
	.elementor_search_form_2.wlk-search-form-2 *::before,
	.elementor_search_form_2.wlk-search-form-2 *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
