.pkhb-header {
	--pkhb-hd-accent: #f6b100;
	--pkhb-hd-text: #ffffff;
	--pkhb-hd-muted: #8a92a0;
	--pkhb-hd-border: rgba(255, 255, 255, 0.14);
	--pkhb-hd-bg: #16224f;
	background: var(--pkhb-hd-bg);
	border-bottom: 1px solid var(--pkhb-hd-border);
}

.pkhb-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	/* Same content width as every other page (shop/category/cart/checkout),
	   which all use Woodmart's own .container driven by this same var. */
	max-width: var(--wd-container-w, 1222px);
	margin: 0 auto;
	padding: 14px 14px;
}

.pkhb-header__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	text-decoration: none;
}

.pkhb-header__logo img {
	height: 38px;
	width: auto;
	max-width: none;
}

.pkhb-header__logo-mark {
	display: flex;
	align-items: center;
}

.pkhb-header__logo-text {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--pkhb-hd-accent);
}

.pkhb-header__search {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
}

.pkhb-header__search input[type="search"] {
	width: 100%;
	height: 46px;
	padding: 0 46px 0 18px;
	border: 1px solid var(--pkhb-hd-search-border, var(--pkhb-hd-accent));
	border-radius: 8px;
	background: var(--pkhb-hd-search-bg, #ffffff);
	font-size: 15px;
	color: var(--pkhb-hd-search-text, #1f2733);
	box-shadow: none;
}

.pkhb-header__search input[type="search"]:focus {
	outline: none;
	border-color: var(--pkhb-hd-search-border, var(--pkhb-hd-accent));
	box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.18);
}

.pkhb-header__search input[type="search"]::placeholder {
	color: var(--pkhb-hd-muted);
}

/* Woodmart styles every bare <button> (padding 5px 20px, min-height, grey
   background); without this reset the padding squeezes the icon to 0px wide. */
.pkhb-header .pkhb-header__search button[type="submit"] {
	position: absolute;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	box-shadow: none;
	color: var(--pkhb-hd-muted);
	cursor: pointer;
	transition: color 0.2s ease;
}

.pkhb-header .pkhb-header__search button[type="submit"] svg {
	flex: 0 0 auto;
}

.pkhb-header .pkhb-header__search button[type="submit"]:hover,
.pkhb-header .pkhb-header__search button[type="submit"]:focus,
.pkhb-header .pkhb-header__search button[type="submit"]:active {
	background: none;
	box-shadow: none;
	color: var(--pkhb-hd-accent);
}

.pkhb-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
}

.pkhb-header__cta {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border: 1.5px solid var(--pkhb-hd-text);
	border-radius: 999px;
	color: var(--pkhb-hd-text);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pkhb-header__cta:hover {
	border-color: var(--pkhb-hd-accent);
	background: var(--pkhb-hd-accent);
	color: #1a1300;
}

.pkhb-header__action {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	color: var(--pkhb-hd-text);
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease;
}

.pkhb-header__action:hover {
	color: var(--pkhb-hd-accent);
	background: rgba(246, 177, 0, 0.1);
}

.pkhb-header__account {
	position: relative;
}

.pkhb-header__account-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 180px;
	margin-top: 10px;
	padding: 8px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.pkhb-header__account:hover .pkhb-header__account-menu,
.pkhb-header__account:focus-within .pkhb-header__account-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pkhb-header__account-link {
	padding: 10px 12px;
	border-radius: 6px;
	color: #1f2733;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pkhb-header__account-link:hover {
	background: #f4f2ec;
	color: var(--pkhb-hd-accent, #f6b100);
}

.pkhb-header__account-text {
	white-space: nowrap;
	color: var(--pkhb-hd-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pkhb-header__account-text:hover {
	color: var(--pkhb-hd-accent);
}

.pkhb-header__badge {
	display: none;
}

.pkhb-header__badge.is-filled {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--pkhb-hd-accent);
	color: #1a1300;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 900px) {
	.pkhb-header__inner {
		flex-wrap: wrap;
		gap: 14px;
		padding: 12px 16px;
	}
	.pkhb-header__search {
		order: 3;
		flex-basis: 100%;
	}
	.pkhb-header__actions {
		margin-left: auto;
		gap: 8px;
	}
	.pkhb-header__search input[type="search"] {
		height: 42px;
	}
}

@media (max-width: 480px) {
	/* Row 1 (logo + actions) has no room for CTA label text at phone widths
	   once the search bar has already claimed its own row below. */
	.pkhb-header__cta span {
		display: none;
	}
	.pkhb-header__cta {
		padding: 9px;
		border-radius: 50%;
	}
	.pkhb-header__logo-text {
		font-size: 17px;
	}
}
