.plan-search {
	background: #f8f7f5;
	border: 1px solid #e5e0d8;
	border-radius: 4px;
	padding: 1.25rem 1.5rem;
	margin: 0 0 1.35rem;
}

.plan-search__label {
	display: block;
	margin-bottom: 0.7rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #1a1a1a;
}

.plan-search__field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 32rem;
}

.plan-search__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid #d7d7d2;
	padding: 0.62rem 0.8rem;
	font-size: 0.8rem;
	letter-spacing: 0.03em;
}

.plan-search__input:focus {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.plan-search__submit {
	padding: 0.62rem 1.1rem;
	border: 1px solid currentColor;
	background: transparent;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.plan-search__clear {
	font-size: 0.7rem;
	text-decoration: underline;
	white-space: nowrap;
}

.plan-search__list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #d7d7d2;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	max-height: 18rem;
	overflow-y: auto;
}

.plan-search__list[hidden] {
	display: none;
}

.plan-search__option,
.plan-search__empty {
	padding: 0.55rem 0.8rem;
	font-size: 0.8rem;
}

.plan-search__option {
	cursor: pointer;
}

.plan-search__option:hover,
.plan-search__option.is-active {
	background: #f1f1ee;
}

.plan-search__empty {
	opacity: 0.6;
}

@media (max-width: 600px) {
	.plan-search__field {
		flex-wrap: wrap;
	}

	.plan-search__submit {
		flex: 1 1 100%;
	}
}
