/* Keep storefront nav on the original WordPress dropdown, not a mega panel. */

.site-header__nav-row {
	position: sticky;
	top: 0;
	z-index: 96;
	background: #fff;
}

.primary-navigation .menu--primary > li > a,
.menu--mobile a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
}

.primary-navigation .sub-menu a {
	font-size: 14px;
}

.menu--mobile a,
.menu--mobile .sub-menu a {
	font-size: 14px;
}

.menu-item-logo-wrap {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
}

.menu-item-logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.menu-item--custom > a.menu-item-link--custom {
	border-radius: 6px;
	padding: 4px 10px;
	background-color: var(--rb-item-bg, transparent);
	color: var(--rb-item-text, inherit);
}

.primary-navigation .menu--primary .menu-item--custom > a.menu-item-link--custom,
.menu--mobile .menu-item--custom > a.menu-item-link--custom {
	background-color: var(--rb-item-bg, transparent);
	color: var(--rb-item-text, inherit);
}

.menu-item--custom > a.menu-item-link--custom::after {
	display: none;
}

.menu-item--custom > a.menu-item-link--custom:hover,
.menu-item--custom > a.menu-item-link--custom:focus-visible,
.menu-item--custom.current-menu-item > a.menu-item-link--custom,
.primary-navigation .menu--primary .menu-item--custom > a.menu-item-link--custom:hover,
.primary-navigation .menu--primary .menu-item--custom.current-menu-item > a.menu-item-link--custom,
.menu--mobile .menu-item--custom > a.menu-item-link--custom:hover,
.menu--mobile .menu-item--custom.current-menu-item > a.menu-item-link--custom {
	background-color: var(--rb-item-bg, transparent);
	color: var(--rb-item-text, inherit);
	filter: brightness(0.95);
}

@media (max-width: 1023px) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 96;
		background: #fff;
	}

	.site-header__nav-row {
		position: static;
	}
}
