.wpgs {
	position: relative;
	width: 100%;
	max-width: 560px;
	font-family: Arial, Helvetica, sans-serif;
	z-index: 1000;
	margin: 0 auto;
}
.wpgs__form {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	padding: 0 8px 0 18px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #dfe1e5;
	border-radius: 28px;
	box-shadow: 0 1px 3px rgba(32, 33, 36, .12);
	transition: box-shadow .18s ease;
}
.wpgs__form:hover,
.wpgs__form:focus-within {
	box-shadow: 0 2px 8px rgba(32, 33, 36, .22);
}
.wpgs__search-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: none;
	stroke: #70757a;
	stroke-width: 2;
	stroke-linecap: round;
}
.wpgs__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: #202124;
	font: 16px/1.4 Arial, Helvetica, sans-serif;
}
.wpgs__input::-webkit-search-cancel-button { cursor: pointer; }
.wpgs__submit {
	flex: 0 0 auto;
	padding: 9px 15px;
	border: 0;
	border-radius: 22px;
	background: #f8f9fa;
	color: #3c4043;
	font-size: 14px;
	cursor: pointer;
}
.wpgs__submit:hover { background: #f1f3f4; }
.wpgs__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: 420px;
	overflow-y: auto;
	padding: 8px 0;
	background: #fff;
	border: 1px solid #dadce0;
	border-radius: 14px;
	box-shadow: 0 5px 18px rgba(60, 64, 67, .22);
	z-index: 99999;
}
.wpgs__dropdown[hidden] { display: none !important; }
.wpgs__heading {
	padding: 10px 18px 6px;
	color: #70757a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.wpgs__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 18px;
	color: #202124 !important;
	text-decoration: none !important;
	font-size: 15px;
	line-height: 1.45;
}
.wpgs__item:hover,
.wpgs__item.is-active {
	background: #f1f3f4;
	text-decoration: none !important;
}
.wpgs__item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	flex: 0 0 20px;
	color: #70757a;
	font-size: 17px;
}
.wpgs__item-label {
	min-width: 0;
	overflow-wrap: anywhere;
}
.wpgs__empty {
	padding: 16px 18px;
	color: #5f6368;
	font-size: 14px;
}
.wpgs .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 600px) {
	.wpgs { max-width: 100%; }
	.wpgs__form { min-height: 44px; padding-left: 14px; gap: 9px; }
	.wpgs__input { height: 40px; font-size: 16px; }
	.wpgs__submit { padding: 8px 12px; }
}
