/* 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(--plk-text, var(--accent, #eff3f7));
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
}

.ga-search-results__more:hover {
	background: rgba(255, 255, 255, 0.1);
}

.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(255, 255, 255, 0.2);
	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(255, 255, 255, 0.22);
	color: #fff;
}

.ga-search-page__scope.is-active {
	background: #fff;
	border-color: #fff;
	color: #18191b;
}

.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(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.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;
	}
}

/* PLK-style search page — full width like categories */
.plk-search-page {
	width: 100%;
}

.plk-search-page__head {
	margin-bottom: 22px;
}

.plk-search-page__title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.plk-search-page__lead {
	margin: 8px 0 0;
	font-size: 14px;
}

.plk-search-page__form {
	margin-bottom: 18px;
}

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

.plk-search-page__icon {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 17px;
	color: rgba(255, 255, 255, 0.45);
	pointer-events: none;
}

.plk-search-page__field input[type="search"] {
	width: 100%;
	height: 52px;
	padding: 0 20px 0 52px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
	font-size: 15px;
	box-sizing: border-box;
}

.plk-search-page__field input[type="search"]:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.09);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.plk-search-page__scopes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	margin-top: 20px;
}

.plk-search-page__scope {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.15s, color 0.15s;
}

.plk-search-page__scope:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.plk-search-page__scope.is-active {
	background: #fff;
	color: #18191b;
}

.plk-search-page__cats {
	margin-bottom: 28px;
}

.plk-search-page__cats-label {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 14px;
}

.plk-search-page__cats-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.plk-search-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 14px 8px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	color: inherit;
	text-decoration: none;
	transition: background 0.15s, transform 0.15s;
}

.plk-search-cat:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.plk-search-cat__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.08);
	font-size: 20px;
}

.plk-search-cat__label {
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	line-height: 1.25;
}

.plk-search-page__results {
	margin-bottom: 28px;
}

.plk-search-page__results-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
}

.plk-search-page__results-meta {
	margin: 0 0 16px;
	font-size: 14px;
}

.plk-search-page__section-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
}

.plk-search-page__recent-grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.is-search-page .search-page,
body.is-search-page .searchtable,
body.is-search-page .serv.search-page {
	display: none !important;
}

body.is-search-page .plk-search-page__results .models-cat-layout {
	display: block;
}

body.plk-ui .plk-search-page .ga-search-page__form,
body.plk-ui .plk-search-page .ga-search-page__scopes,
body.plk-ui .plk-search-page .ga-search-page__lead:not(.plk-search-page__lead) {
	display: none;
}

@media screen and (max-width: 900px) {
	.plk-search-page__cats-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.plk-search-page__recent-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 590px) {
	.plk-search-page__cats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.plk-search-page__recent-grid {
		grid-template-columns: 1fr;
	}
}
