/* DNS CLEAN Custom Header — isolated from Astra header styles. */

#masthead,
.site-header,
.ast-mobile-header-wrap,
.ast-desktop-header-content {
	display: none !important;
}

.dnsch,
.dnsch * {
	box-sizing: border-box;
}

.dnsch {
	--dnsch-blue: #57bff0;
	--dnsch-blue-dark: #0b75bd;
	--dnsch-navy: #153b60;
	--dnsch-line: #d9eaf4;
	--dnsch-soft: #f4faff;
	position: relative;
	z-index: 9990;
	width: 100%;
	max-width: 100vw;
	color: var(--dnsch-navy);
	background: #fff;
	font-family: inherit;
}

.dnsch-topbar {
	position: relative;
	background: linear-gradient(90deg, #ffffff 0%, #f6fbff 55%, #e8f7ff 100%);
	border-bottom: 1px solid var(--dnsch-line);
}

.dnsch-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(130px, 190px) minmax(260px, 680px) auto;
	align-items: center;
	gap: clamp(18px, 3vw, 44px);
	width: min(100% - 40px, 1240px);
	min-height: 82px;
	margin: 0 auto;
}

.dnsch-brand,
.dnsch-brand a {
	display: inline-flex;
	align-items: center;
}

.dnsch-brand .custom-logo-link {
	margin: 0;
	padding: 0;
}

.dnsch-brand .custom-logo {
	display: block;
	width: auto;
	max-width: 148px;
	height: auto;
	max-height: 58px;
	object-fit: contain;
}

.dnsch-brand-text {
	color: var(--dnsch-navy);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: .04em;
	text-decoration: none;
}

.dnsch-search-panel {
	min-width: 0;
}

.dnsch-search-form {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	width: 100%;
	height: 48px;
	padding-left: 16px;
	background: #fff;
	border: 1px solid #bedcec;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(21, 59, 96, .07);
	overflow: hidden;
}

.dnsch-search-form-icon,
.dnsch-action svg,
.dnsch-search-close svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dnsch-search-form-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	color: #5f7d96;
}

.dnsch-search-field {
	min-width: 0;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 8px 0 0 !important;
	color: var(--dnsch-navy) !important;
	font-family: inherit !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
	-webkit-appearance: none;
}

.dnsch-search-field::placeholder {
	color: #7890a4;
	opacity: 1;
}

.dnsch-search-submit {
	align-self: stretch;
	min-width: 78px;
	margin: 0 !important;
	padding: 0 18px !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	background: var(--dnsch-blue-dark) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.dnsch-search-submit:hover,
.dnsch-search-submit:focus-visible {
	background: #075f9b !important;
}

.dnsch-search-close {
	display: none;
}

.dnsch-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.dnsch-action {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--dnsch-navy) !important;
	background: #fff !important;
	border: 1px solid var(--dnsch-line) !important;
	border-radius: 50% !important;
	box-shadow: 0 6px 18px rgba(21, 59, 96, .08) !important;
	text-decoration: none !important;
	cursor: pointer;
}

.dnsch-action:hover,
.dnsch-action:focus-visible {
	color: #fff !important;
	background: var(--dnsch-blue-dark) !important;
	border-color: var(--dnsch-blue-dark) !important;
	transform: none !important;
}

.dnsch-action svg {
	width: 22px;
	height: 22px;
}

.dnsch-search-toggle {
	display: none !important;
}

.dnsch-cart-count {
	position: absolute;
	top: -5px;
	right: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	color: #173b5f;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	background: #ffd64a;
	border: 2px solid #fff;
	border-radius: 999px;
}

.dnsch-nav {
	width: 100%;
	background: #fff;
	border-bottom: 1px solid var(--dnsch-line);
	box-shadow: 0 6px 18px rgba(21, 59, 96, .04);
}

.dnsch-nav-scroll {
	width: min(100% - 40px, 1240px);
	margin: 0 auto;
}

.dnsch-menu {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	margin: 0 !important;
	padding: 7px 0 !important;
	list-style: none !important;
}

.dnsch-menu > li {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.dnsch-menu > li > a {
	display: block;
	padding: 10px 15px;
	color: var(--dnsch-navy) !important;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none !important;
	border-radius: 9px;
}

.dnsch-menu > li > a:hover,
.dnsch-menu > li.current-menu-item > a,
.dnsch-menu > li.current_page_item > a {
	color: #fff !important;
	background: var(--dnsch-blue-dark);
}

.dnsch a:focus-visible,
.dnsch button:focus-visible,
.dnsch input:focus-visible {
	outline: 3px solid rgba(11, 117, 189, .28) !important;
	outline-offset: 2px;
}

@media (max-width: 782px) {
	.dnsch-inner {
		grid-template-columns: minmax(70px, 1fr) auto;
		gap: 10px;
		width: 100%;
		min-height: 64px;
		padding: 7px 12px;
		background: var(--dnsch-blue);
	}

	.dnsch-brand .custom-logo {
		max-width: 92px;
		max-height: 48px;
	}

	.dnsch-brand-text {
		color: #fff;
		font-size: 17px;
	}

	.dnsch-actions {
		gap: 6px;
	}

	.dnsch-action {
		width: 40px;
		height: 40px;
		color: #fff !important;
		background: rgba(255, 255, 255, .10) !important;
		border-color: rgba(255, 255, 255, .38) !important;
		box-shadow: none !important;
	}

	.dnsch-action:hover,
	.dnsch-action:focus-visible {
		color: var(--dnsch-navy) !important;
		background: #fff !important;
		border-color: #fff !important;
	}

	.dnsch-search-toggle {
		display: inline-flex !important;
	}

	.dnsch-search-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 20;
		display: none;
		width: 100%;
		padding: 10px 12px 12px;
		background: #fff;
		border-bottom: 1px solid var(--dnsch-line);
		box-shadow: 0 12px 22px rgba(21, 59, 96, .14);
	}

	.dnsch.dnsch-search-open .dnsch-search-panel {
		display: block;
	}

	.dnsch-search-form {
		grid-template-columns: auto minmax(0, 1fr) auto auto;
		height: 46px;
		padding-left: 13px;
		border-radius: 11px;
	}

	.dnsch-search-submit {
		min-width: 62px;
		padding: 0 13px !important;
	}

	.dnsch-search-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		align-self: stretch;
		width: 42px;
		margin: 0 !important;
		padding: 0 !important;
		color: var(--dnsch-navy) !important;
		background: #eef7fc !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		cursor: pointer;
	}

	.dnsch-search-close svg {
		width: 20px;
		height: 20px;
	}

	.dnsch-nav-scroll {
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.dnsch-nav-scroll::-webkit-scrollbar {
		display: none;
	}

	.dnsch-menu {
		justify-content: flex-start;
		width: max-content;
		min-width: 100%;
		padding: 5px 8px !important;
	}

	.dnsch-menu > li > a {
		padding: 9px 11px;
		font-size: 12px;
	}

	.dnsch-cart-count {
		top: -4px;
		right: -4px;
	}
}

@media (max-width: 370px) {
	.dnsch-action {
		width: 37px;
		height: 37px;
	}

	.dnsch-action svg {
		width: 20px;
		height: 20px;
	}

	.dnsch-brand .custom-logo {
		max-width: 78px;
	}
}

