.llc-global-search {
	--llc-search-bg: #DFE7EC;
	--llc-search-text: #49566F;
	--llc-search-muted: #6b7484;
	--llc-search-orange: #e94e1b;
	--llc-search-orange-dark: #c93f12;
	--llc-search-white: #ffffff;
	--llc-search-border: #DFE7EC;
	--llc-search-shadow: 0 18px 45px rgba(33, 43, 58, .18);

	position: relative;
	width: 100%;
}

.llc-global-search__form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0;
	background: var(--llc-search-bg);
	border-radius: 999px;
	overflow: hidden;
}

.llc-global-search__input {
	flex: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 76px 0 22px !important;
	border: 0 !important;
	outline: 0;
	background: transparent;
	color: var(--llc-search-text);
	font-size: 15px;
	line-height: 1;
	box-shadow: none;
	appearance: none;
}

.llc-global-search__input::placeholder {
	color: #52647b;
	opacity: 1;
}

.llc-global-search__input::-webkit-search-decoration,
.llc-global-search__input::-webkit-search-cancel-button,
.llc-global-search__input::-webkit-search-results-button,
.llc-global-search__input::-webkit-search-results-decoration {
	display: none;
}

.llc-global-search__submit {
	position: absolute;
	right: 6px;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--llc-search-orange);
	color: var(--llc-search-white);
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		background .16s ease,
		transform .16s ease;
}

.llc-global-search__submit:hover,
.llc-global-search__submit:focus {
	background: var(--llc-search-orange-dark);
	transform: translateY(-50%) scale(1.02);
}

.llc-global-search__icon {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.llc-global-search__icon::after {
	content: "";
	position: absolute;
	right: -6px;
	bottom: -5px;
	width: 9px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transform: rotate(45deg);
	transform-origin: center;
}

.llc-global-search__dropdown {
	position: absolute;
	z-index: 9999;
	left: 0;
	right: 0;
	top: calc(100% + 10px);
	overflow: hidden;
	background: var(--llc-search-white);
	border: 1px solid var(--llc-search-border);
	border-radius: 18px;
	box-shadow: var(--llc-search-shadow);
}

.llc-global-search__status {
	padding: 14px 18px;
	color: var(--llc-search-muted);
	font-size: 14px;
	line-height: 1.4;
}

.llc-global-search__status:empty {
	display: none;
}

.llc-global-search__results {
	display: grid;
	max-height: 420px;
	overflow: auto;
}

.llc-global-search__result {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 12px;
	align-items: center;
	padding: 12px 16px;
	color: var(--llc-search-text);
	text-decoration: none;
	border-bottom: 1px solid var(--llc-search-border);
	transition:
		background .14s ease,
		color .14s ease;
}

.llc-global-search__result:last-child {
	border-bottom: 0;
}

.llc-global-search__result:hover,
.llc-global-search__result.is-active {
	background: #f3f6f8;
	color: var(--llc-search-text);
	text-decoration: none;
}

.llc-global-search__thumb {
	display: block;
	width: 52px;
	height: 52px;
	overflow: hidden;
	background: #e7edf2;
	border-radius: 12px;
}

.llc-global-search__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.llc-global-search__thumb--empty::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(233, 78, 27, .18), rgba(52, 65, 88, .12));
}

.llc-global-search__result-content {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.llc-global-search__result-title {
	display: block;
	color: var(--llc-search-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.llc-global-search__result-excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--llc-search-muted);
	font-size: 13px;
	line-height: 1.35;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.llc-global-search__result-type {
	display: block;
	margin-top: 2px;
	color: var(--llc-search-orange);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

@media (max-width: 600px) {
	.llc-global-search__form {
		height: 48px;
	}

	.llc-global-search__input {
		padding-left: 18px;
		padding-right: 70px;
		font-size: 14px;
	}

	.llc-global-search__submit {
		width: 54px;
		height: 38px;
	}

	.llc-global-search__dropdown {
		border-radius: 14px;
	}

	.llc-global-search__result {
		grid-template-columns: 44px 1fr;
		padding: 11px 13px;
	}

	.llc-global-search__thumb {
		width: 44px;
		height: 44px;
	}
}