/* Header search wrappers and the Popular searches panel */

.mo-fibo-wrap {
	position: relative;
}

.mo-header-search .dgwt-wcas-search-wrapp {
	max-width: 100%;
}

/* The whole white box focuses the field, so give it a clear focus ring */
.mo-header-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	min-height: 48px;
}

.mo-popular-searches {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 1001;
	min-width: 320px;
	max-width: 100%;
	background: var(--mo-white, #fff);
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 16px 20px 20px;
}

.mo-sticky-search .mo-popular-searches {
	left: auto;
	right: 0;
}

.mo-popular-searches__title {
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--mo-black, #1a1a1a);
}

.mo-popular-searches__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mo-popular-searches__chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 20px;
	border: 1px solid #c9c9c9;
	border-radius: 999px;
	color: var(--mo-black, #1a1a1a);
	text-decoration: none;
	background: var(--mo-white, #fff);
}

.mo-popular-searches__chip:hover,
.mo-popular-searches__chip:focus {
	border-color: var(--mo-primary, #218739);
	color: var(--mo-primary, #218739);
	background: #f2f9f4;
	text-decoration: none;
}
