/* GetAsset Search — подсказки в шапке */
.ga-search-results {
	display: none;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	max-height: min(52vh, 420px);
	overflow-y: auto;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.06);
}

.ga-search-results.is-visible {
	display: block;
}

.ga-search-results__label {
	color: #8b949e;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
}

.ga-search-results__empty,
.ga-search-results__hint {
	color: #8b949e;
	font-size: 13px;
	padding: 8px 2px;
}

.ga-search-results__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.ga-search-results__item:hover {
	background: rgba(255, 255, 255, 0.06);
}

.ga-search-results__img {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.05);
}

.ga-search-results__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ga-search-results__img--empty {
	background: rgba(255, 255, 255, 0.08);
}

.ga-search-results__body {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ga-search-results__title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ga-search-results__meta {
	display: block;
	margin-top: 0;
	font-size: 12px;
	color: #8b949e;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ga-search-results__more {
	display: block;
	margin-top: 8px;
	margin: 4px 8px;
	padding: 10px 12px;
	border-radius: 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent, #b5e853);
	background: rgba(181, 232, 83, 0.08);
	text-decoration: none;
}

.ga-search-results__more:hover {
	background: rgba(181, 232, 83, 0.14);
}

.ga-search-page__list {
	display: none;
}

.ga-search-page__empty {
	grid-column: 1 / -1;
	padding: 28px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	color: #8b949e;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
}

.sect--search-page {
	margin-top: 0;
}

.ga-search-page__lead {
	margin: 6px 0 0;
	font-size: 14px;
}

.ga-search-page__form {
	margin: 18px 0 14px;
}

.ga-search-page__form-inner {
	padding: 8px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.ga-search-page__field {
	position: relative;
	display: block;
}

.ga-search-page__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #8b949e;
	pointer-events: none;
}

.ga-search-page__field input[type="search"] {
	width: 100%;
	height: 44px;
	padding: 0 14px 0 40px;
	border: 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.22);
	color: inherit;
	font-size: 15px;
}

.ga-search-page__field input[type="search"]:focus {
	outline: 2px solid rgba(181, 232, 83, 0.35);
	outline-offset: 0;
}

.ga-search-page__submit {
	flex-shrink: 0;
	min-width: 108px;
}

.ga-search-page__scopes {
	margin-bottom: 18px;
	gap: 8px;
}

.ga-search-page__scope {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #c9d1d9;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ga-search-page__scope:hover {
	border-color: rgba(181, 232, 83, 0.35);
	color: #fff;
}

.ga-search-page__scope.is-active {
	background: rgba(181, 232, 83, 0.12);
	border-color: rgba(181, 232, 83, 0.45);
	color: var(--accent, #b5e853);
}

.ga-search-page__pages {
	margin-top: 18px;
	gap: 8px;
}

.ga-search-page__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: inherit;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.ga-search-page__page.is-active {
	background: rgba(181, 232, 83, 0.14);
	border-color: rgba(181, 232, 83, 0.45);
	color: var(--accent, #b5e853);
}

.ga-search-page__pages-gap {
	color: #8b949e;
	padding: 0 2px;
}

body.is-search-page .ga-filter__btn--all,
body.is-search-page #gaFilterSubcatCell {
	display: none !important;
}

body.is-search-page #modelsCatSection {
	display: none;
}

@media screen and (max-width: 1100px) {
	.ga-search-page__form-inner {
		flex-wrap: wrap;
	}

	.ga-search-page__submit {
		width: 100%;
	}
}

@media screen and (max-width: 760px) {
	.ga-search-results {
		max-height: 40vh;
	}

	.category-grid.is-hidden-by-search {
		display: none;
	}
}
