/* AltCtrl header — Style 2 */
.site-header.header-v1 {
	--altctrl-blue: #0066cc;
	--altctrl-logo-cyan: #00bfff;
	--altctrl-header-nav-gap: clamp(0.75rem, 1.5vw, 1.75rem);
	background: #fff;
	border-top: 0;
	border-bottom: 1px solid #ececec;
	padding: 0;
}

.site-header.header-v1 .col-full.desktop-only {
	padding-top: 0;
	padding-bottom: 0;
}

.site-header.header-v1 .altctrl-header-style2 {
	width: 100%;
}

.site-header.header-v1 .altctrl-header-top,
.site-header.header-v1 .altctrl-header-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

.site-header.header-v1 .altctrl-header-top {
	min-height: clamp(4rem, 12vw, 6rem);
	padding: clamp(0.5rem, 1.5vw, 0.625rem) 0 clamp(0.375rem, 1.2vw, 0.5rem);
}

.site-header.header-v1 .altctrl-header-bottom {
	min-height: clamp(2.75rem, 8vw, 3.5rem);
	padding: clamp(0.375rem, 1.2vw, 0.5rem) 0 clamp(0.625rem, 1.8vw, 0.75rem);
	border-top: 0.0625rem solid #f0f0f0;
}

.site-header.header-v1 .altctrl-header-logo {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	min-width: clamp(5rem, 18vw, 7.5rem);
	margin-right: 0;
}

.site-header.header-v1 .altctrl-header-logo .site-branding {
	margin: 0;
	padding: 0;
}

.site-header.header-v1 .altctrl-header-logo .custom-logo-link {
	display: block;
	line-height: 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}

.site-header.header-v1 .altctrl-header-logo .custom-logo-link img,
.site-header.header-v1 .altctrl-header-logo .custom-logo {
	display: block;
	width: clamp(3rem, 10vw, 4.5rem);
	height: clamp(3rem, 10vw, 4.5rem);
	max-width: clamp(3rem, 10vw, 4.5rem);
	max-height: clamp(3rem, 10vw, 4.5rem);
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
	border-radius: 0;
	background: transparent;
}

.site-header.header-v1 .altctrl-site-tagline {
	margin: 0;
	padding: 0;
	font-size: clamp(0.5625rem, 2vw, 0.625rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--altctrl-blue);
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-header.header-v1 .altctrl-header-search {
	flex: 1 1 auto;
	min-width: 0;
	max-width: min(45rem, 100%);
}

.site-header.header-v1 .altctrl-header-search .altctrl-navbar-search {
	margin: 0;
}

.site-header.header-v1 .altctrl-header-search .altctrl-navbar-search .input-group {
	display: flex;
	align-items: stretch;
	width: 100%;
}

/* Hide category dropdown everywhere (fallback if parent template loads on server). */
.site-header .navbar-search .search-categories,
.site-header .altctrl-navbar-search .search-categories {
	display: none !important;
}

.site-header.header-v1 .altctrl-header-search .search-field {
	flex: 1 1 auto;
	min-width: 0;
	height: clamp(2.5rem, 8vw, 2.75rem);
	padding: 0 clamp(0.875rem, 2.5vw, 1rem);
	border: 0.0625rem solid #d9d9d9;
	border-right: 0;
	border-radius: 0.5rem 0 0 0.5rem;
	box-shadow: none;
	font-family: inherit;
	font-size: clamp(0.75rem, 2.8vw, 0.8125rem);
	font-weight: 400;
	letter-spacing: 0.03em;
	color: #111;
	background: #fff;
}

.site-header.header-v1 .altctrl-header-search .search-field::placeholder {
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #b3b3b3;
	opacity: 1;
}

.site-header.header-v1 .altctrl-header-search .search-field::-webkit-input-placeholder {
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #b3b3b3;
	opacity: 1;
}

.site-header.header-v1 .altctrl-header-search .search-field::-moz-placeholder {
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #b3b3b3;
	opacity: 1;
}

.site-header.header-v1 .altctrl-header-search .input-group-btn {
	display: flex;
}

.site-header.header-v1 .altctrl-header-search .input-group-btn .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: var(--altctrl-blue);
	color: #fff;
	font-size: 16px;
}

.site-header.header-v1 .altctrl-header-search .input-group-btn .btn-primary:hover,
.site-header.header-v1 .altctrl-header-search .input-group-btn .btn-primary:focus {
	background: #005bb5;
	color: #fff;
}

.site-header.header-v1 .altctrl-header-search .input-group-btn .btn-primary i {
	display: inline-block;
	font-size: 16px;
	line-height: 1;
}

.site-header.header-v1 .altctrl-header-search .input-group-btn .btn-primary .search-btn {
	display: none;
}

.site-header.header-v1 .altctrl-header-utilities {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	gap: clamp(0.625rem, 2vw, 1.125rem);
	min-width: 0;
}

.site-header.header-v1 .altctrl-header-utilities__divider {
	width: 1px;
	align-self: stretch;
	min-height: 42px;
	margin: 0 4px;
	background: #e4e4e4;
}

.site-header.header-v1 .altctrl-header-utility {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 52px;
	color: #111;
	text-decoration: none;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.site-header.header-v1 .altctrl-header-utility__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-decoration: none;
}

.site-header.header-v1 .altctrl-header-utility__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 22px;
	line-height: 1;
}

.site-header.header-v1 .altctrl-header-utility__icon i.tm,
.site-header.header-v1 .altctrl-header-utility__icon i.fa {
	display: inline-block;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: #222;
}

.site-header.header-v1 .altctrl-header-utility__icon .altctrl-utility-svg {
	display: block;
	width: 22px;
	height: 22px;
	color: #222;
}

.site-header.header-v1 .altctrl-header-utility__icon .count {
	position: absolute;
	top: -6px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--altctrl-blue);
	color: #fff;
	font-size: 10px;
	font-weight: 400;
	line-height: 18px;
	text-align: center;
}

.site-header.header-v1 .altctrl-header-utility__label {
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	color: #333;
	white-space: nowrap;
}

.site-header.header-v1 .altctrl-header-utility--cart .amount,
.site-header.header-v1 .altctrl-header-utility--cart .price-label {
	display: none !important;
}

.site-header.header-v1 .altctrl-categories-menu {
	position: relative;
}

.site-header.header-v1 .altctrl-categories-menu__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

.site-header.header-v1 .altctrl-categories-menu__toggle::after {
	display: none;
}

.site-header.header-v1 .altctrl-categories-menu__dropdown {
	min-width: 240px;
	max-height: 420px;
	overflow: auto;
	padding: 8px 0;
	margin-top: 8px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.site-header.header-v1 .altctrl-categories-menu__dropdown a {
	display: block;
	padding: 8px 18px;
	font-size: 14px;
	color: #111;
	text-decoration: none;
}

.site-header.header-v1 .altctrl-categories-menu__dropdown a:hover,
.site-header.header-v1 .altctrl-categories-menu__dropdown a:focus {
	background: #f5f8fc;
	color: var(--altctrl-blue);
}

.site-header.header-v1 .altctrl-header-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
	padding-right: 0;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation {
	flex: 1 1 auto;
	max-width: 100%;
	width: auto;
	padding: 0;
	text-align: center;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--altctrl-header-nav-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li {
	position: relative;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.site-header.header-v1 .altctrl-categories-menu__icon .altctrl-utility-svg {
	width: 18px;
	height: 18px;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #111;
	padding: 0;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li > a:hover,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li > a:focus,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-item > a,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-ancestor > a,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-parent > a,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-item > a:hover,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-ancestor > a:hover,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-parent > a:hover,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-item > a:focus,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-ancestor > a:focus,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.current-menu-parent > a:focus {
	color: var(--altctrl-blue);
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li:not(.current-menu-item):not(.current-menu-ancestor):not(.current-menu-parent) > a:hover,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li:not(.current-menu-item):not(.current-menu-ancestor):not(.current-menu-parent) > a:focus {
	color: var(--altctrl-blue);
}

.site-header.header-v1 .altctrl-nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 16px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.02em;
	color: #fff;
	vertical-align: middle;
}

.site-header.header-v1 .altctrl-nav-badge--hot {
	background: #e53935;
}

.site-header.header-v1 .altctrl-nav-badge--new {
	background: #2e9f4b;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > a .caret {
	display: none;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > a.dropdown-toggle::after {
	content: "\f107";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 10px;
	height: 10px;
	margin: 0 !important;
	padding: 0;
	border: none;
	font-family: FontAwesome;
	font-size: 10px;
	font-weight: 400;
	line-height: 1;
	color: inherit;
	opacity: 0.85;
	position: static;
	transform: none;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > .dropdown-menu {
	min-width: 220px;
	padding: 10px 0;
	margin-top: 10px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > .dropdown-menu > li > a {
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	color: #111;
	white-space: nowrap;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > .dropdown-menu > li.current-menu-item > a,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > .dropdown-menu > li.current-menu-item > a:hover,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > .dropdown-menu > li.current-menu-item > a:focus {
	color: var(--altctrl-blue);
	font-weight: 400;
}

.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > .dropdown-menu > li > a:hover,
.site-header.header-v1 .altctrl-header-nav .primary-navigation .nav > li.menu-item-has-children > .dropdown-menu > li > a:focus {
	background: #f5f8fc;
	color: var(--altctrl-blue);
}

.site-header.header-v1 .altctrl-header-nav .techmarket-flex-more-menu-item {
	display: contents !important;
}

.site-header.header-v1 .altctrl-header-nav .techmarket-flex-more-menu-item > a,
.site-header.header-v1 .altctrl-header-nav .techmarket-flex-more-menu-item::before {
	display: none !important;
}

.site-header.header-v1 .altctrl-header-nav .techmarket-flex-more-menu-item .overflow-items {
	display: contents !important;
	position: static !important;
	float: none !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transform: none !important;
}

.site-header.header-v1 .altctrl-header-nav .techmarket-flex-more-menu-item .overflow-items > li {
	display: list-item !important;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.site-header.header-v1 .altctrl-header-offers {
	flex: 0 0 auto;
}

.site-header.header-v1 .altctrl-todays-offers-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #f3c4c8;
	border-radius: 999px;
	background: #fff7f8;
	color: var(--altctrl-blue);
	font-size: 13px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}

.site-header.header-v1 .altctrl-todays-offers-btn:hover,
.site-header.header-v1 .altctrl-todays-offers-btn:focus {
	background: #fff0f2;
	color: #005bb5;
	text-decoration: none;
}

.site-header.header-v1 .altctrl-header-utility--account {
	position: relative;
	align-items: stretch;
	min-width: 0;
	flex-shrink: 0;
}

.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__toggle,
.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__link {
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: max-content;
	max-width: none;
	min-width: 0;
	min-height: 2.25rem;
	padding: 0.4rem 0.75rem;
	border: 0;
	border-radius: 0.5rem;
	background: var(--altctrl-blue);
	color: #fff;
	white-space: nowrap !important;
	line-height: 1;
	overflow: visible;
}

.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__label {
	display: inline-block;
	flex: 0 0 auto;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 400 !important;
	line-height: 1;
	white-space: nowrap !important;
}

.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__icon {
	flex: 0 0 auto;
	width: auto;
	height: auto;
}

.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__icon,
.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__icon i.tm,
.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__icon i.fa {
	color: #fff;
}

/* One caret only (Bootstrap dropdown-toggle ::after) — hide any ::before and stray caret spans */
.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__toggle::before,
.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__caret {
	display: none !important;
	content: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}

.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__toggle.dropdown-toggle::after {
	display: inline-block !important;
	flex: 0 0 auto;
	align-self: center;
	width: 0 !important;
	height: 0 !important;
	margin: 0 0 0 0.25rem !important;
	padding: 0 !important;
	vertical-align: middle;
	content: "" !important;
	font-family: inherit !important;
	font-size: 0 !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 0 !important;
	border-top: 5px solid #fff !important;
	border-right: 4px solid transparent !important;
	border-bottom: 0 !important;
	border-left: 4px solid transparent !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: static !important;
	float: none !important;
	background: none !important;
	transform: none !important;
	text-indent: 0 !important;
	color: #fff !important;
}

.site-header.header-v1 .altctrl-header-utility--account > .dropdown-menu,
.site-header.header-v1 .altctrl-header-utility--account > .dropdown-menu.dropdown-menu-right,
.site-header.header-v1 .altctrl-header-utility--account > .altctrl-header-account-menu {
	display: none;
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0 !important;
	right: auto !important;
	inset-inline-start: 0 !important;
	inset-inline-end: auto !important;
	float: none !important;
	transform: none !important;
	min-width: max(100%, 12rem);
	width: max-content;
	max-width: min(32rem, calc(100vw - 1.5rem));
	padding: 8px 0;
	margin: 0;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
	z-index: 1000;
	box-sizing: border-box;
}

.site-header.header-v1 .altctrl-header-utility--account:hover > .dropdown-menu,
.site-header.header-v1 .altctrl-header-utility--account:focus-within > .dropdown-menu,
.site-header.header-v1 .altctrl-header-utility--account.show > .dropdown-menu {
	display: block;
}

.site-header.header-v1 .altctrl-header-account-menu > li > a {
	display: block;
	padding: 10px 16px;
	font-size: 0.875rem;
	font-weight: 400 !important;
	color: #344054;
	text-decoration: none;
	white-space: nowrap;
}

.site-header.header-v1 .altctrl-header-account-menu__greeting {
	padding: 10px 16px 8px;
	border-bottom: 1px solid #eaecf0;
}

.site-header.header-v1 .altctrl-header-account-menu__greeting span {
	display: block;
	font-size: 0.84rem;
	font-weight: 400 !important;
	color: #101828;
	line-height: 1.35;
	white-space: nowrap;
}

.site-header.header-v1 .sticky-wrapper .techmarket-sticky-wrap.stuck .altctrl-header-top {
	min-height: 72px;
}

.site-header.header-v1 .sticky-wrapper .techmarket-sticky-wrap.stuck {
	background: #fff;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

@media (max-width: 1199px) {
	.site-header.header-v1 .altctrl-header-bottom {
		display: none;
	}

	.site-header.header-v1 .altctrl-header-search {
		max-width: none;
	}
}

@media (max-width: 991px) {
	.site-header.header-v1 .altctrl-header-utilities .altctrl-header-utility--stores,
	.site-header.header-v1 .altctrl-header-utilities .altctrl-header-utility--support,
	.site-header.header-v1 .altctrl-header-utilities__divider {
		display: none;
	}

	.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__toggle,
	.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__link {
		min-height: 2rem;
		padding: 0.3rem 0.6rem;
		gap: 0.25rem;
	}

	.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__label {
		font-size: 0.6875rem;
	}
}

@media (max-width: 575px) {
	.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__toggle,
	.site-header.header-v1 .altctrl-header-utility--account .altctrl-header-utility__link {
		padding: 0.28rem 0.5rem;
	}
}
