.search-page {
	padding: 0 0 64px;
}

.search-page__title {
	margin: 0 0 8px;
	color: #151515;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.search-page__form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 20px;
}

.search-page__input {
	width: 100%;
	box-sizing: border-box;
	padding: 16px 130px 16px 20px;
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	background: #f7f7f7;
	color: #151515;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.2;
	outline: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-page__input:focus {
	border-color: #2f66b6;
	background: #fff;
}

.search-page__submit {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	padding: 10px 22px;
	border: none;
	border-radius: 8px;
	background: #2f66b6;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.search-page__submit:hover {
	background: #24528f;
}

.search-page__query {
	margin-bottom: 24px;
	color: #5c5c5c;
	font-size: 16px;
	line-height: 1.4;
}

.search-page__facets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}

.search-page__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #eff5fd;
	color: #2f66b6;
	font-size: 12px;
	font-weight: 500;
	line-height: 12px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.search-page__chip-count {
	opacity: 0.7;
	font-variant-numeric: tabular-nums;
}

.search-page__chip.is-active .search-page__chip-count {
	opacity: 0.85;
}

.search-page__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
	padding: 12px 24px;
	border: 1px solid #d7e3f5;
	border-radius: 10px;
	background: #eff5fd;
	color: #2f66b6;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.search-page__more:hover {
	background: #e0ecfb;
	border-color: #c5d7f0;
}

.search-page__more:disabled,
.search-page__more.is-loading {
	opacity: 0.65;
	cursor: wait;
}

.search-page__chip:hover {
	background: #e0ecfb;
}

.search-page__chip.is-active {
	background: #2f66b6;
	color: #fff;
}

.search-page__chip-remove {
	position: relative;
	width: 12px;
	height: 12px;
}

.search-page__chip-remove::before,
.search-page__chip-remove::after {
	content: "";
	position: absolute;
	top: 5px;
	left: 1px;
	width: 10px;
	height: 1.4px;
	border-radius: 2px;
	background: currentColor;
}

.search-page__chip-remove::before {
	transform: rotate(45deg);
}

.search-page__chip-remove::after {
	transform: rotate(-45deg);
}

.search-page__empty {
	padding: 24px 0;
	color: #8a8a8a;
	font-size: 16px;
}

.search-page__results {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.search-page__group-title {
	margin-bottom: 16px;
	color: #5c5c5c;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.search-page__group-count {
	margin-left: 8px;
	color: #bebebe;
}

.search-page__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.search-page__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-decoration: none;
}

.search-page__item-bullet {
	flex: 0 0 auto;
	width: 5px;
	height: 5px;
	margin-top: 7px;
	border-radius: 50%;
	background: #689ae3;
}

.search-page__item-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.search-page__item-title {
	color: #151515;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.search-page__item:hover .search-page__item-title {
	color: #2f66b6;
}

.search-page__item-sub {
	color: #5c5c5c;
	font-size: 13px;
	line-height: 1.3;
}

.search-page__item-snippet {
	color: #5c5c5c;
	font-size: 13px;
	line-height: 1.45;
}

.search-page__item-snippet mark,
.header-search-new__mark,
.search-page__mark {
	background: #ffe27a;
	color: inherit;
	padding: 0 1px;
	border-radius: 2px;
}

@media (max-width: 768px) {
	.search-page {
		padding: 35px 0 24px;
		background: #f7f7f7;
	}

	.search-page__form {
		gap: 8px;
		margin-bottom: 22px;
	}

	.search-page__input {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		padding: 15px 16px;
		border: none;
		border-radius: 6px;
		background: #ffffff !important;
		color: #151515;
		font-size: 14px !important;
		line-height: 15px !important;
		-webkit-appearance: none;
		appearance: none;
    border: 1px solid #e3e3e3 !important;
    height: 46px !important;
	}

	.search-page__input::placeholder {
		color: #8a8a8a;
		opacity: 1;
	}

	.search-page__input:focus {
		border: none;
		background: #ffffff;
	}

	.search-page__input:-webkit-autofill,
	.search-page__input:-webkit-autofill:hover,
	.search-page__input:-webkit-autofill:focus {
		-webkit-box-shadow: 0 0 0 1000px #ffffff inset;
		box-shadow: 0 0 0 1000px #ffffff inset;
		-webkit-text-fill-color: #151515;
	}

	.search-page__submit {
		position: static;
		transform: none;
		flex: 0 0 auto;
		align-self: stretch;
		padding: 16px 32px 16px;
		border-radius: 6px;
		background: #689ae3;
		color: #ffffff;
		font-size: 14px;
		font-weight: 700;
		line-height: 14px;
	}

	.search-page__submit:hover {
		background: #689ae3;
	}

	.search-page__query {
		display: none;
	}

	.search-page__empty {
		margin-bottom: 12px;
		padding: 0;
		color: #5c5c5c;
		font-size: 12px;
		font-weight: 400;
		line-height: 20px;
	}

	.search-page__facets-scroll {
		overflow-x: auto;
		box-sizing: border-box;
		width: calc(100% + 30px);
		margin: 0 -15px 16px;
		padding: 0 15px 16px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: #bebebe #efefef;
	}

	.search-page__facets-scroll::-webkit-scrollbar {
		height: 2px;
	}

	.search-page__facets-scroll::-webkit-scrollbar-track {
		background: #efefef;
		border-radius: 100px;
	}

	.search-page__facets-scroll::-webkit-scrollbar-thumb {
		background: #bebebe;
		border-radius: 100px;
	}

	.search-page__facets {
		flex-wrap: wrap;
		width: max-content;
		max-width: 801px;
		margin-bottom: 0;
	}

	.search-page__chip {
		padding: 9px 16px 8px;
		background: #e2eeff;
		color: #2f66b6;
		font-size: 12px;
		font-weight: 500;
		line-height: 12px;
		white-space: nowrap;
	}

  .search-page__item-body {
    gap: 0px;
  }

	.search-page__chip:hover {
		background: #d6e6ff;
	}

	.search-page__chip.is-active {
		background: #689ae3;
		color: #fff;
	}

	.search-page__chip-remove {
		display: none;
	}

	.search-page__results {
		gap: 16px;
	}

	.search-page__group-title {
		display: flex;
		align-items: flex-start;
		gap: 6px;
		margin-bottom: 12px;
		font-size: 11px;
		font-weight: 700;
		line-height: 11px;
	}

	.search-page__group-count {
		margin-left: 0;
		color: #8a8a8a;
	}

	.search-page__list {
		gap: 12px;
	}

	.search-page__item {
		gap: 8px;
	}

	.search-page__item-body {
		min-width: 0;
	}

	.search-page__item-bullet {
		width: 6px;
		height: 6px;
		margin-top: 7px;
	}

	.search-page__item-title {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		font-size: 14px;
		line-height: 20px;
	}

	.search-page__item-sub,
	.search-page__item-snippet {
		overflow: hidden;
		color: #5c5c5c;
		font-size: 12px;
		line-height: 16px;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}
