.wbp-site-header {
	background: var(--wbp-white);
	border-bottom: 1px solid var(--wbp-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.wbp-site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
	min-height: 76px;
	width: 100%;
}

.wbp-site-header__brand {
	flex-shrink: 0;
}

.wbp-logo {
	font-family: var(--wbp-font-serif);
	font-size: clamp(1rem, 1.2vw, 1.25rem);
	font-weight: 700;
	color: var(--wbp-green-deep);
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	white-space: nowrap;
}

.wbp-logo__img {
	display: block;
	max-height: 48px;
	width: auto;
	max-width: min(220px, 28vw);
	height: auto;
}

.wbp-logo__img--svg {
	max-height: 52px;
}

.wbp-logo__img--mobile {
	display: none;
	max-height: 40px;
	max-width: min(180px, 38vw);
}

.wbp-logo span {
	color: var(--wbp-red-accent);
}

.wbp-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.wbp-nav .menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: clamp(0.35rem, 1.1vw, 1.35rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.wbp-nav .menu-item {
	position: relative;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

.wbp-nav .menu > .menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--wbp-text);
	font-weight: 500;
	font-size: 0.9375rem;
	text-decoration: none;
	white-space: nowrap;
	padding: 0.55rem 0.2rem;
	line-height: 1.2;
	transition: color 0.15s ease;
}

.wbp-nav .menu > .menu-item > a:hover,
.wbp-nav .current-menu-item > a,
.wbp-nav .current-menu-ancestor > a {
	color: var(--wbp-green-primary);
}

.wbp-nav .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0.42em;
	height: 0.42em;
	margin-top: -0.15em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.75;
	flex-shrink: 0;
}

.wbp-nav .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 0.15rem);
	left: 50%;
	transform: translateX(-50%);
	min-width: 230px;
	margin: 0;
	padding: 0.45rem 0;
	list-style: none;
	background: var(--wbp-white);
	border: 1px solid var(--wbp-border);
	border-radius: var(--wbp-radius-md);
	box-shadow: var(--wbp-shadow-md);
	z-index: 120;
}

.wbp-nav .menu-item-has-children::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 0.75rem;
}

.wbp-nav .menu-item:hover > .sub-menu,
.wbp-nav .menu-item:focus-within > .sub-menu {
	display: block;
}

.wbp-nav .sub-menu .menu-item {
	display: block;
}

.wbp-nav .sub-menu a {
	display: block;
	padding: 0.55rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wbp-text);
	text-decoration: none;
	white-space: nowrap;
}

.wbp-nav .sub-menu a:hover,
.wbp-nav .sub-menu .current-menu-item > a {
	background: var(--wbp-beige);
	color: var(--wbp-green-deep);
}

.wbp-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.45rem, 0.9vw, 0.85rem);
	flex-shrink: 0;
}

.wbp-header-actions__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 1rem;
	color: var(--wbp-text);
	text-decoration: none;
	position: relative;
}

.wbp-header-actions__icon:hover {
	background: var(--wbp-beige);
	color: var(--wbp-green-deep);
}

.wbp-header-actions__icon--bell {
	font-size: 0.95rem;
}

.wbp-header-actions__badge {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--wbp-red-accent);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.wbp-header-actions__account {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--wbp-text);
	text-decoration: none;
	white-space: nowrap;
}

.wbp-header-actions__account:hover {
	color: var(--wbp-green-primary);
}

.wbp-header-actions__account-icon {
	font-size: 0.95rem;
}

.wbp-header-actions__cta {
	white-space: nowrap;
}

.wbp-breadcrumbs {
	padding: var(--wbp-space-sm) 0;
	font-size: 0.875rem;
	color: var(--wbp-text-muted);
}

@media (max-width: 1280px) {
	.wbp-header-actions__account-label {
		display: none;
	}

	.wbp-nav .menu > .menu-item > a {
		font-size: 0.875rem;
	}

	.wbp-nav .menu {
		gap: 0.75rem;
	}
}

@media (max-width: 1100px) {
	.wbp-nav .menu > .menu-item > a {
		font-size: 0.8125rem;
		padding-inline: 0.1rem;
	}

	.wbp-nav .menu {
		gap: 0.55rem;
	}

	.wbp-header-actions__cta {
		font-size: 0.8125rem;
		padding-inline: 0.85rem;
	}
}

@media (max-width: 900px) {
	.wbp-site-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.wbp-nav--desktop {
		display: none;
	}

	.wbp-logo__img--desktop {
		display: none;
	}

	.wbp-logo__img--mobile {
		display: block;
	}
}
