/*
 Theme Name: Gearnix Child
 Theme URI: https://example.com/
 Description: Child theme for Gearnix
 Author: Your Name
 Author URI: https://example.com/
 Template: gearnix
 Version: 1.0
 Text Domain: gearnix-child
*/
@import url("../gearnix/style.css");

.adesso-header-brands {
	display: flex;
	align-items: center;
	gap: 22px;
	white-space: nowrap;
}

.adesso-header-brands a {
	color: #757575;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
}

.adesso-header-row .adesso-header-search {
	margin-right: 12px;
}

.adesso-header-search .adesso-search-direct {
	width: 192px;
}

.adesso-header-mobile-search .adesso-search-toggle {
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

.adesso-header-language {
	position: relative;
	align-self: center;
	margin-right: 10px;
}

@supports selector(:has(*)) {
	.adesso-header-language:not(:has(#google_language_translator select)) {
		display: none;
	}
}

.adesso-header-language-label {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #949494;
	border-radius: 6px;
	background: #fff;
	color: #656565;
	font-size: 14px;
	white-space: nowrap;
}

.adesso-header-language-label::after {
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	content: '';
	transform: rotate(45deg);
}

#rbb-default-header .adesso-header-language #google_language_translator select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	appearance: none;
	padding: 0 !important;
	border: 0 !important;
	background: transparent;
	color: transparent;
	cursor: pointer;
}

.adesso-header-language select option {
	background: #fff;
	color: #333;
}

.adesso-header-language:hover .adesso-header-language-label {
	border-color: #555;
	color: #333;
}

.adesso-header-language:focus-within .adesso-header-language-label {
	outline: 2px solid #333;
	outline-offset: 2px;
}

.adesso-header-search .adesso-search-wrap .adesso-search-toggle {
	justify-content: space-between;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #949494;
	border-radius: 6px;
	background: #fff;
	color: #656565;
	font-size: 14px;
	white-space: nowrap;
}

.adesso-header-search .adesso-search-toggle svg {
	flex: none;
	width: 18px;
	height: 18px;
}

.adesso-header-search .adesso-search-toggle:hover {
	border-color: #555;
	color: #333;
}

.adesso-header-search .adesso-search-toggle:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

@media (min-width: 1024px) {
	#rbb-default-header .adesso-header-row {
		display: flex;
	}

	.adesso-header-row #desktop_menu {
		flex: 1;
		min-width: 0;
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.adesso-header-row:has(.adesso-header-language select) #desktop_menu #menu-main > ul > li > a {
		margin-inline: 6px;
		font-size: 14px;
	}

	.adesso-header-row:has(.adesso-header-language select) .adesso-header-brands {
		flex-direction: column;
		gap: 2px;
	}
}
