/**
 * GH-C012 — scoped Partdo Type 1 responsive header refinement.
 * The parent desktop/header utility classes remain unchanged outside #masthead.
 */

#masthead.header-type-1 .gh-header-compact {
	display: none;
}

#masthead.header-type-1 .gh-header-compact button {
	font: inherit;
}

#masthead.header-type-1 .gh-header-compact .quick-button-inner,
#masthead.header-type-1 .gh-mobile-search-trigger,
#masthead.header-type-1 .gh-mobile-search-close {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--gh-color-text, #1f2a2f);
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

#masthead.header-type-1 .gh-header-compact button:focus-visible {
	outline: 2px solid var(--gh-color-primary, #23bcad);
	outline-offset: 2px;
}

#masthead.header-type-1 .gh-header-compact .cart-dropdown,
#masthead.header-type-1 .gh-header-compact .quick-text,
#masthead.header-type-1 .gh-header-compact .arrow {
	display: none !important;
}

@media screen and (min-width: 992px) {
	#masthead.header-type-1 .gh-header-desktop {
		display: block !important;
	}

	#masthead.header-type-1 .gh-header-compact {
		display: none !important;
	}
}

@media screen and (max-width: 991.98px) {
	#masthead.header-type-1 .gh-header-desktop {
		display: none !important;
	}

	#masthead.header-type-1 .gh-header-compact {
		display: block !important;
	}

	#masthead.header-type-1 .gh-header-compact .container {
		max-width: none;
	}
}

@media screen and (min-width: 768px) and (max-width: 991.98px) {
	#masthead.header-type-1 .gh-header-compact__inner {
		align-items: center;
		display: flex;
		flex-wrap: nowrap;
		gap: 12px;
		height: 72px;
		padding: 0 24px;
	}

	#masthead.header-type-1 .gh-header-mobile-only,
	#masthead.header-type-1 .gh-mobile-search-panel {
		display: none !important;
	}

	#masthead.header-type-1 .gh-header-compact__menu,
	#masthead.header-type-1 .gh-header-compact__cart {
		flex: 0 0 44px;
	}

	#masthead.header-type-1 .gh-header-compact__brand {
		flex: 0 1 150px;
		min-width: 110px;
	}

	#masthead.header-type-1 .gh-header-compact__brand .site-brand img {
		display: block;
		max-height: 40px;
		max-width: 150px;
		width: auto;
	}

	#masthead.header-type-1 .gh-header-compact__search {
		flex: 1 1 auto;
		min-width: 0;
	}

	#masthead.header-type-1 .gh-header-compact__search .search-form-wrapper,
	#masthead.header-type-1 .gh-header-compact__search .search-form,
	#masthead.header-type-1 .gh-header-compact__search .dgwt-wcas-search-wrapp {
		width: 100%;
	}

	#masthead.header-type-1 .gh-header-compact__search .search-form {
		display: flex;
	}

	#masthead.header-type-1 .gh-header-compact__search .search-form input {
		min-width: 0;
	}

	#masthead.header-type-1 .gh-header-compact__cart .quick-button,
	#masthead.header-type-1 .gh-header-compact__cart .quick-button-inner {
		display: inline-flex;
	}
}

@media screen and (max-width: 767.98px) {
	#masthead.header-type-1 .gh-header-tablet {
		display: none !important;
	}

	#masthead.header-type-1 .gh-header-mobile-only {
		align-items: center;
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
		height: 64px;
		padding: 0 16px;
	}

	#masthead.header-type-1 .gh-header-mobile-only i.klbth-icon-menu,
	#masthead.header-type-1 .gh-header-mobile-only i.klbth-icon-search {
		font-size: 140%;
	}

	#masthead.header-type-1 .gh-header-compact__brand {
		justify-self: center;
		min-width: 0;
	}

	#masthead.header-type-1 .gh-header-compact__brand .site-brand img {
		display: block;
		max-height: 36px;
		max-width: 132px;
		width: auto;
	}

	#masthead.header-type-1 .gh-header-compact__search-trigger,
	#masthead.header-type-1 .gh-header-compact__cart {
		align-items: center;
		display: flex;
		justify-content: center;
	}

	#masthead.header-type-1 .gh-header-compact__cart .quick-button,
	#masthead.header-type-1 .gh-header-compact__cart .quick-button-inner {
		display: inline-flex;
	}

	#masthead.header-type-1 .gh-mobile-search-panel {
		background: #fff;
		border-top: 1px solid var(--gh-color-border, #dde3e5);
	}

	#masthead.header-type-1 .gh-mobile-search-panel__inner {
		align-items: center;
		display: flex;
		gap: 10px;
		padding: 12px 16px 16px;
	}

	#masthead.header-type-1 .gh-mobile-search-panel .search-form-wrapper,
	#masthead.header-type-1 .gh-mobile-search-panel .search-form,
	#masthead.header-type-1 .gh-mobile-search-panel .dgwt-wcas-search-wrapp {
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
	}

	#masthead.header-type-1 .gh-mobile-search-panel .search-form {
		display: flex;
	}

	#masthead.header-type-1 .gh-mobile-search-panel .search-form input {
		min-width: 0;
	}
}
