#bc-header .bc-wrap {
	position: relative;
}

#bc-header .bc-dpm-host {
	position: static;
}

#bc-header .bc-dpm-host > a {
	gap: 7px;
}

#bc-header .bc-dpm-host > a::before {
	border-bottom: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	content: "";
	height: 6px;
	order: 2;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .18s ease;
	width: 6px;
}

#bc-header .bc-dpm-host:hover > a::before,
#bc-header .bc-dpm-host.is-open > a::before,
#bc-header .bc-dpm-host:focus-within > a::before {
	transform: rotate(225deg) translate(-1px, -1px);
}

#bc-header .bc-dpm-mega {
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
	color: #111827;
	left: 50%;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	top: calc(100% - 1px);
	transform: translate(-50%, -8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	visibility: hidden;
	width: min(1000px, calc(100vw - 32px));
	z-index: 100;
}

#bc-header .bc-dpm-host:hover .bc-dpm-mega,
#bc-header .bc-dpm-host.is-open .bc-dpm-mega,
#bc-header .bc-dpm-host:focus-within .bc-dpm-mega {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
	visibility: visible;
}

#bc-header .bc-dpm-mega__top {
	align-items: center;
	background: linear-gradient(135deg, #fff7f2, #fff 70%);
	border-bottom: 1px solid #e7ebf0;
	display: flex;
	justify-content: flex-start;
	min-height: 78px;
	padding: 16px 22px;
}

#bc-header .bc-dpm-mega__top > div > span,
#bc-header .bc-dpm-brand-panel__head > div > span {
	color: #f26522;
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.2px;
	margin-bottom: 3px;
}

#bc-header .bc-dpm-mega__top strong {
	color: #111827;
	display: block;
	font-size: 17px;
	font-weight: 600;
}

#bc-header .bc-dpm-brand-panel__head > a {
	align-items: center;
	background: transparent;
	color: #d95517;
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	gap: 6px;
	min-height: auto;
	padding: 7px 9px;
	text-decoration: none;
}

#bc-header .bc-dpm-brand-panel__head > a::after,
#bc-header .bc-dpm-brands a::after {
	display: none;
}

#bc-header .bc-dpm-mega__grid {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	min-height: 330px;
}

#bc-header .bc-dpm-categories {
	background: #f8fafc;
	border-right: 1px solid #e7ebf0;
	max-height: 430px;
	overflow: auto;
	padding: 12px;
}

#bc-header .bc-menu .bc-dpm-category {
	align-items: center;
	border-radius: 9px;
	color: #344054;
	display: flex;
	font-size: 13px;
	font-weight: 500;
	justify-content: space-between;
	line-height: 1.35;
	margin: 0 0 3px;
	min-height: 42px;
	padding: 8px 10px 8px calc(10px + (var(--bc-dpm-depth) * 15px));
	text-decoration: none;
	white-space: normal;
}

#bc-header .bc-menu .bc-dpm-category > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#bc-header .bc-menu .bc-dpm-category::after {
	display: none;
}

#bc-header .bc-menu .bc-dpm-category small {
	align-items: center;
	background: #eef2f6;
	border-radius: 999px;
	color: #667085;
	display: inline-flex;
	font-size: 10px;
	height: 23px;
	justify-content: center;
	margin-left: 10px;
	min-width: 23px;
	padding: 0 6px;
	flex: 0 0 auto;
}

#bc-header .bc-menu .bc-dpm-category:hover,
#bc-header .bc-menu .bc-dpm-category:focus,
#bc-header .bc-menu .bc-dpm-category.is-active {
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .07);
	color: #d95517;
}

#bc-header .bc-menu .bc-dpm-category.is-active small {
	background: #f26522;
	color: #fff;
}

#bc-header .bc-dpm-brand-area {
	min-width: 0;
	padding: 22px;
}

#bc-header .bc-dpm-brand-panel {
	display: none;
}

#bc-header .bc-dpm-brand-panel.is-active {
	display: block;
}

#bc-header .bc-dpm-brand-panel__head {
	align-items: center;
	border-bottom: 1px solid #edf0f4;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 13px;
}

#bc-header .bc-dpm-brand-panel__head strong {
	color: #111827;
	display: block;
	font-size: 16px;
	font-weight: 600;
}

#bc-header .bc-dpm-brands {
	box-sizing: border-box;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: -10px -10px -24px;
	max-height: 374px;
	overflow: auto;
	padding: 10px 10px 24px;
}

#bc-header .bc-menu .bc-dpm-brands a {
	align-items: center;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
	border: 1px solid #e5eaf0;
	border-radius: 10px;
	box-shadow: 0 3px 9px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
	color: #344054;
	display: flex;
	font-size: 13px;
	font-weight: 500;
	justify-content: space-between;
	min-height: 43px;
	padding: 8px 11px;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
	white-space: normal;
}

#bc-header .bc-menu .bc-dpm-brands a:hover,
#bc-header .bc-menu .bc-dpm-brands a:focus {
	background: linear-gradient(180deg, #fffaf7 0%, #fff4ed 100%);
	border-color: #f3a77f;
	box-shadow: 0 8px 18px rgba(242, 101, 34, .16), 0 3px 8px rgba(15, 23, 42, .1);
	color: #d95517;
	transform: translateY(-2px);
}

#bc-header .bc-menu .bc-dpm-brands a:focus-visible {
	outline: 3px solid rgba(242, 101, 34, .22);
	outline-offset: 2px;
}

#bc-header .bc-menu .bc-dpm-brands a:active {
	box-shadow: 0 2px 5px rgba(15, 23, 42, .1), inset 0 2px 4px rgba(15, 23, 42, .08);
	transform: translateY(0);
}

#bc-header .bc-dpm-brands a > span {
	align-items: center;
	background: #fff2e9;
	border-radius: 999px;
	color: #f26522;
	display: inline-flex;
	flex: 0 0 auto;
	height: 24px;
	justify-content: center;
	margin-left: 10px;
	transition: background .18s ease, color .18s ease, transform .18s ease;
	width: 24px;
}

#bc-header .bc-menu .bc-dpm-brands a:hover > span,
#bc-header .bc-menu .bc-dpm-brands a:focus > span {
	background: #f26522;
	color: #fff;
	transform: translateX(2px);
}

#bc-header .bc-dpm-empty {
	background: #f8fafc;
	border: 1px dashed #d4dbe4;
	border-radius: 10px;
	color: #667085;
	font-size: 13px;
	margin: 0;
	padding: 18px;
}

#bc-header .bc-dpm-mobile-host {
	position: relative;
}

#bc-header .bc-dpm-mobile-toggle,
#bc-header .bc-dpm-mobile-content {
	display: none;
}

@media (max-width: 1024px) {
	#bc-header .bc-dpm-mega {
		display: none;
	}

	#bc-header .bc-dpm-mobile-host > a {
		padding-right: 54px;
	}

	#bc-header .bc-dpm-mobile-toggle {
		align-items: center;
		background: #fff7f2;
		border: 1px solid #f3c2a7;
		border-radius: 8px;
		color: #d95517;
		cursor: pointer;
		display: flex;
		height: 36px;
		justify-content: center;
		padding: 0;
		position: absolute;
		right: 7px;
		top: 5px;
		width: 38px;
	}

	#bc-header .bc-dpm-mobile-toggle span {
		border-bottom: 2px solid currentColor;
		border-right: 2px solid currentColor;
		height: 8px;
		transform: rotate(45deg) translate(-2px, -2px);
		transition: transform .18s ease;
		width: 8px;
	}

	#bc-header .bc-dpm-mobile-host.is-open .bc-dpm-mobile-toggle span {
		transform: rotate(225deg) translate(-1px, -1px);
	}

	#bc-header .bc-dpm-mobile-content {
		background: #f8fafc;
		border: 1px solid #e3e8ef;
		border-radius: 11px;
		display: block;
		margin: 3px 0 8px;
		padding: 8px;
	}

	#bc-header .bc-dpm-mobile-content[hidden] {
		display: none;
	}

	#bc-header .bc-dpm-mobile-category {
		border-bottom: 1px solid #e7ebf0;
	}

	#bc-header .bc-dpm-mobile-category:last-child {
		border-bottom: 0;
	}

	#bc-header .bc-dpm-mobile-category summary {
		align-items: center;
		color: #344054;
		cursor: pointer;
		display: flex;
		font-size: 13px;
		font-weight: 500;
		justify-content: space-between;
		list-style: none;
		min-height: 42px;
		padding: 7px 10px;
	}

	#bc-header .bc-dpm-mobile-category summary::-webkit-details-marker {
		display: none;
	}

	#bc-header .bc-dpm-mobile-category summary small {
		background: #edf1f5;
		border-radius: 999px;
		color: #667085;
		font-size: 10px;
		padding: 3px 7px;
	}

	#bc-header .bc-dpm-mobile-brands {
		display: grid;
		gap: 4px;
		padding: 0 7px 9px 18px;
	}

	#bc-header .bc-mobile-menu .bc-dpm-mobile-brands a {
		background: #fff;
		border: 1px solid #e7ebf0;
		border-radius: 8px;
		box-shadow: 0 3px 8px rgba(15, 23, 42, .07);
		font-size: 12px;
		font-weight: 400;
		min-height: 38px;
		padding: 7px 10px;
		transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
	}

	#bc-header .bc-mobile-menu .bc-dpm-mobile-brands a:active {
		background: #fff7f2;
		border-color: #f3a77f;
		box-shadow: inset 0 2px 4px rgba(15, 23, 42, .08);
		color: #d95517;
		transform: translateY(1px);
	}

	#bc-header .bc-mobile-menu .bc-dpm-mobile-brands a.is-category {
		border-color: #f3c2a7;
		color: #d95517;
		font-weight: 500;
	}
}

@media (prefers-reduced-motion: reduce) {
	#bc-header .bc-dpm-mega,
	#bc-header .bc-dpm-host > a::before,
	#bc-header .bc-dpm-mobile-toggle span,
	#bc-header .bc-menu .bc-dpm-brands a,
	#bc-header .bc-dpm-brands a > span,
	#bc-header .bc-mobile-menu .bc-dpm-mobile-brands a {
		transition: none;
	}
}
