.zb-place-search,
.zb-place-search * {
	box-sizing: border-box;
}

.zb-place-search {
	--zb-search-forest: #173f30;
	--zb-search-gold: #bd8a36;
	--zb-search-ink: #20231f;
	--zb-search-muted: #666a65;
	--zb-search-border: #e6e1d8;
	--zb-search-surface: #ffffff;
	position: relative;
	z-index: 100;
	width: 100%;
	color: var(--zb-search-ink);
}

.et_pb_section.zb-place-search-layer {
	position: relative;
	z-index: 100 !important;
	overflow: visible !important;
}

.zb-place-search__form {
	position: relative;
	margin: 0;
}

.zb-place-search__controls {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(150px, 166px);
	gap: 20px;
	align-items: stretch;
}

.zb-place-search__primary {
	position: relative;
	min-width: 0;
}

.zb-place-search__search-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 100px;
	min-height: 58px;
	overflow: hidden;
	background: var(--zb-search-surface);
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 6px;
	box-shadow: 0 8px 25px rgba(31, 37, 32, 0.12);
}

.zb-place-search__search-box:focus-within {
	outline: 3px solid rgba(189, 138, 54, 0.45);
	outline-offset: 3px;
}

.zb-place-search__input-icon {
	position: absolute;
	top: 50%;
	left: 20px;
	width: 20px;
	height: 20px;
	color: #526158;
	font-size: 20px;
	line-height: 20px;
	transform: translateY(-50%);
	pointer-events: none;
}

.zb-place-search .zb-place-search__input {
	width: 100%;
	height: 58px;
	min-width: 0;
	margin: 0;
	padding: 0 18px 0 54px;
	color: var(--zb-search-ink);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	letter-spacing: 0;
	outline: 0;
}

.zb-place-search__input::placeholder {
	color: #8a8e89;
	opacity: 1;
}

.zb-place-search .zb-place-search__submit,
.zb-place-search .zb-place-search__map-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	margin: 0;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.zb-place-search .zb-place-search__submit {
	padding: 0 20px;
	color: #ffffff;
	background: var(--zb-search-forest);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 160ms ease;
}

.zb-place-search .zb-place-search__submit:hover {
	background: #0f3326;
}

.zb-place-search .zb-place-search__submit:focus-visible {
	outline: 3px solid var(--zb-search-gold);
	outline-offset: -4px;
}

.zb-place-search .zb-place-search__submit:disabled {
	cursor: wait;
	opacity: 0.76;
}

.zb-place-search .zb-place-search__map-button {
	gap: 8px;
	padding: 0 18px;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(23, 63, 48, 0.12);
	border: 2px solid rgba(255, 255, 255, 0.58);
	border-radius: 6px;
	cursor: not-allowed;
}

.zb-place-search a.zb-place-search__map-button.is-active {
	color: #ffffff;
	background: rgba(23, 63, 48, 0.28);
	border-color: rgba(255, 255, 255, 0.88);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.zb-place-search a.zb-place-search__map-button.is-active:hover {
	color: #ffffff;
	background: var(--zb-search-forest);
	border-color: #ffffff;
}

.zb-place-search a.zb-place-search__map-button.is-active:focus-visible {
	color: #ffffff;
	outline: 3px solid var(--zb-search-gold);
	outline-offset: 3px;
}

.zb-place-search__map-button .dashicons {
	width: 19px;
	height: 19px;
	font-size: 19px;
	line-height: 19px;
}

.zb-place-search__results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 1000;
	width: 100%;
	max-height: 360px;
	overflow-x: hidden;
	overflow-y: auto;
	margin: 0 !important;
	padding: 6px !important;
	list-style: none !important;
	background: var(--zb-search-surface);
	border: 1px solid var(--zb-search-border);
	border-radius: 6px;
	box-shadow: 0 16px 36px rgba(25, 34, 28, 0.18);
}

.zb-place-search .zb-place-search__results > li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.zb-place-search .zb-place-search__results > li::marker {
	content: "" !important;
	font-size: 0;
}

.zb-place-search__results[hidden] {
	display: none;
}

.zb-place-search__result + .zb-place-search__result {
	border-top: 1px solid #efebe4;
}

.zb-place-search .zb-place-search__result-link {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 68px;
	padding: 6px;
	color: inherit;
	border-radius: 4px;
	text-decoration: none;
}

.zb-place-search .zb-place-search__result-link:hover,
.zb-place-search .zb-place-search__result-link:focus-visible {
	color: inherit;
	background: #f4f6f2;
}

.zb-place-search .zb-place-search__result-link:focus-visible {
	outline: 2px solid rgba(189, 138, 54, 0.72);
	outline-offset: -2px;
}

.zb-place-search__result-image,
.zb-place-search__result-image-placeholder {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
	background: #edf0eb;
	border-radius: 4px;
}

.zb-place-search__result-content {
	display: block;
	min-width: 0;
}

.zb-place-search__result-title {
	display: block;
	overflow: hidden;
	color: var(--zb-search-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zb-place-search__result-city {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px;
	color: var(--zb-search-muted);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.zb-place-search__result-city .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
	line-height: 15px;
}

.zb-place-search__message {
	padding: 16px;
	color: var(--zb-search-muted);
	font-size: 0.875rem;
	line-height: 1.4;
	text-align: center;
}

@media (max-width: 700px) {
	.zb-place-search__controls {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.zb-place-search__results {
		position: relative;
		top: auto;
		max-height: 300px;
		margin-top: 8px;
	}

	.zb-place-search .zb-place-search__map-button {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.zb-place-search__search-box {
		grid-template-columns: minmax(0, 1fr) 88px;
	}

	.zb-place-search .zb-place-search__input {
		padding-right: 12px;
		padding-left: 46px;
		font-size: 0.9375rem;
	}

	.zb-place-search__input-icon {
		left: 16px;
	}

	.zb-place-search .zb-place-search__submit {
		padding: 0 12px;
		font-size: 0.875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zb-place-search .zb-place-search__submit {
		transition: none;
	}

	.zb-place-search a.zb-place-search__map-button.is-active {
		transition: none;
	}
}
