/* =========================
   HEADER: поиск справа вверху, меню+кнопки снизу
========================= */

/* Десктоп: скрываем мобильные кнопки в верхней строке */
.st-header__right--mobile {
	display: none;
}

/* Верхняя строка */
.st-header__row {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 70px;
}

/* Поиск — фиксированная ширина, прижат вправо */
.st-header__center {
	flex: 0 0 auto;
	width: 420px;
	margin-left: auto;
	display: flex;
	align-items: center;
}

.st-header__center .st-header__search {
	width: 100%;
}

/* Убираем старый .st-header__right на десктопе */
.st-header__right:not(.st-header__right--mobile) {
	display: none;
}

/* Кнопки справа в навбаре */
.st-nav__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

/* Навбар */
.st-nav__inner {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: nowrap;
}

/* =========================
   МОБИЛЬНЫЕ
========================= */
@media (max-width: 768px) {
	.st-header__right--mobile {
		display: flex;
		align-items: center;
		gap: 8px;
		margin-left: auto;
	}

	.st-nav__actions {
		display: none;
	}

	.st-header__row {
		flex-wrap: wrap;
		min-height: auto;
		padding: 10px 0;
		gap: 10px;
	}

	.st-header__center {
		order: 3;
		flex: 1 1 100%;
		width: 100%;
		margin-left: 0;
	}

.st-header__search {
  height: 52px;
  display: flex;
  align-items: center;
}

.st-header__search input {
  height: 100%;
  flex: 1;
}

.st-header__search button {
  height: 100%;
  flex-shrink: 0;
  border-radius: 12px;
}