/**
 * Header: announcement bar, sticky masthead + navigation row, all-categories
 * panel, featured strip, mobile drawer.
 */

/* ---------- Announcement ---------- */

.hs-announcement {
	background: var(--k-forest-dark);
	color: var(--k-on-dark);
	font-size: 13.5px;
	line-height: 1.4;
}

.hs-announcement.is-hidden {
	display: none;
}

.hs-announcement__inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 40px;
}

.hs-announcement__list {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.hs-announcement__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-inline: 16px;
}

.hs-announcement__item + .hs-announcement__item {
	border-inline-start: 1px solid rgba(246, 242, 234, 0.28);
}

.hs-announcement__icon {
	display: inline-flex;
	color: var(--k-sand);
}

.hs-announcement__link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(246, 242, 234, 0.35);
	text-underline-offset: 3px;
}

.hs-announcement__link:hover {
	color: var(--k-white);
	text-decoration-color: var(--k-sand);
}

.hs-announcement__close {
	flex: none;
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	color: var(--k-on-dark-muted);
}

.hs-announcement__close svg {
	width: 18px;
	height: 18px;
}

.hs-announcement__close:hover {
	color: var(--k-white);
}

/* ---------- Sticky header ---------- */

.hs-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 50;
	background: var(--k-white);
	box-shadow: 0 1px 0 var(--k-line);
}

.admin-bar .hs-header {
	inset-block-start: 32px;
}

/* ---------- Masthead ---------- */

.hs-masthead {
	background: var(--k-white);
}

.hs-masthead__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 84px;
}

.hs-logo {
	flex: none;
	display: block;
}

.hs-logo .hs-logo__img {
	display: block;
	width: auto;
	height: 54px;
	max-width: 190px;
	object-fit: contain;
}

/* Burger: small screens only. */
.hs-menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: var(--hs-radius-sm);
	color: var(--k-forest-dark);
}

.hs-deliver {
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--k-text);
}

.hs-deliver .hs-deliver__flag {
	width: 22px;
	height: 22px;
	display: block;
}

.hs-deliver__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.hs-deliver__label {
	color: var(--k-muted);
	font-size: 12px;
}

.hs-deliver__value {
	font-size: 14px;
	font-weight: 500;
}

/* Search: rounded pill, icon at the end. */
.hs-search {
	flex: 1 1 auto;
	max-width: 640px;
	min-width: 0;
	height: 48px;
	display: flex;
	align-items: center;
	background: #F3F1EC;
	border: 1px solid var(--k-line);
	border-radius: var(--hs-radius-pill);
	padding-inline: 22px 6px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hs-search:focus-within {
	background: var(--k-white);
	border-color: var(--k-forest);
	box-shadow: 0 0 0 3px var(--k-forest-tint);
}

.hs-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 0;
	font-size: 15px;
	color: var(--hs-text);
	-webkit-appearance: none;
	appearance: none;
}

.hs-search__input::placeholder {
	color: var(--k-muted);
	opacity: 0.9;
}

.hs-search__input::-webkit-search-cancel-button {
	display: none;
}

.hs-search__submit {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--k-forest-dark);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hs-search__submit:hover,
.hs-search__submit:focus-visible {
	background: var(--k-forest);
	color: var(--k-white);
}

/* Actions */
.hs-actions {
	flex: none;
	display: flex;
	align-items: center;
	gap: 26px;
	margin-inline-start: auto;
	color: var(--k-forest-dark);
}

.hs-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.hs-action:hover,
.hs-action:focus-visible {
	color: var(--k-sand-dark);
}

.hs-action__icon {
	position: relative;
	display: inline-flex;
}

.hs-action--lang > svg:last-child {
	width: 14px;
	height: 14px;
	color: var(--k-muted);
}

.hs-action--assistant svg {
	width: 26px;
	height: 26px;
}

.hs-actions__cart-count {
	position: absolute;
	inset-block-start: -8px;
	inset-inline-start: -9px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--k-sand);
	color: var(--k-forest-dark);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.hs-actions__cart-count.is-empty {
	display: none;
}

/* ---------- Navigation row ---------- */

.hs-nav {
	background: var(--k-cream-deep);
	border-top: 1px solid var(--k-line);
	color: var(--k-text);
}

.hs-nav__inner {
	display: flex;
	align-items: stretch;
	min-height: 48px;
}

.hs-allcats {
	position: relative;
	flex: none;
	display: flex;
}

.hs-allcats__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-inline-end: 22px;
	margin-inline-end: 8px;
	border-inline-end: 1px solid var(--k-line-strong);
	font-size: 15px;
	font-weight: 600;
	color: var(--k-forest-dark);
}

.hs-allcats__toggle:hover,
.hs-allcats__toggle[aria-expanded="true"] {
	color: var(--k-sand-dark);
}

.hs-allcats__panel {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	z-index: 5;
	width: min(760px, 80vw);
	max-height: 70vh;
	overflow-y: auto;
	padding: 20px 24px;
	background: var(--k-white);
	border-radius: 0 0 var(--hs-radius-md) var(--hs-radius-md);
	box-shadow: var(--hs-shadow-card);
}

.hs-allcats__panel[hidden] {
	display: none;
}

.hs-allcats__list {
	columns: 3 200px;
	column-gap: 24px;
}

.hs-allcats__item {
	break-inside: avoid;
	padding-bottom: 14px;
}

.hs-allcats__link {
	display: block;
	font-weight: 600;
	color: var(--k-forest-dark);
	margin-bottom: 4px;
}

.hs-allcats__sub a,
.hs-nav__sub a {
	display: block;
	padding: 3px 0;
	font-size: 14px;
	color: var(--k-muted);
}

.hs-allcats__link:hover,
.hs-allcats__sub a:hover,
.hs-nav__sub a:hover {
	color: var(--k-sand-dark);
}

.hs-nav__list {
	flex: 1 1 auto;
	display: flex;
	align-items: stretch;
	justify-content: space-around;
	gap: 4px;
	min-width: 0;
}

.hs-nav__item {
	position: relative;
	display: flex;
}

.hs-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-inline: 10px;
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.hs-nav__link svg {
	width: 13px;
	height: 13px;
	color: var(--k-muted);
}

.hs-nav__link .hs-nav__icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
}

.hs-nav__link:hover,
.hs-nav__item:focus-within > .hs-nav__link,
.hs-nav__item.is-current > .hs-nav__link {
	color: var(--k-forest);
}

.hs-nav__item.is-current > .hs-nav__link {
	box-shadow: inset 0 -2px 0 var(--k-sand);
}

.hs-nav__sub {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	z-index: 5;
	min-width: 220px;
	padding: 12px 18px;
	background: var(--k-white);
	border-radius: 0 0 var(--hs-radius-md) var(--hs-radius-md);
	box-shadow: var(--hs-shadow-card);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.hs-nav__item:hover > .hs-nav__sub,
.hs-nav__item:focus-within > .hs-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* Featured strip: Kleft Kids, Offers… (highlighted items use the sand block). */
.hs-nav__featured {
	flex: none;
	display: flex;
	align-items: stretch;
	gap: 2px;
	margin-inline-start: 8px;
}

.hs-nav__featured li {
	display: flex;
}

.hs-feature {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-inline: 16px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--k-forest);
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hs-feature .hs-feature__icon {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.hs-feature:hover {
	color: var(--k-forest-dark);
	background: var(--k-sand-soft);
}

.hs-feature.is-highlight {
	padding-inline: 26px;
	background: var(--k-sand);
	color: var(--k-forest-dark);
}

.hs-feature.is-highlight:hover {
	background: #D6BC93;
}

/* ---------- Mobile drawer ---------- */

.hs-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.hs-drawer[hidden] {
	display: none;
}

.hs-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 41, 34, 0.5);
}

.hs-drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: min(340px, 88vw);
	overflow-y: auto;
	background: var(--k-cream);
	box-shadow: 0 0 24px rgba(26, 41, 34, 0.25);
}

.hs-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: var(--k-white);
	border-bottom: 1px solid var(--k-line);
}

.hs-drawer__head .hs-logo .hs-logo__img {
	height: 42px;
}

.hs-drawer__close {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	color: var(--k-forest-dark);
}

.hs-drawer__featured {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 16px 6px;
}

.hs-drawer__featured .hs-feature {
	min-height: 36px;
	border-radius: var(--hs-radius-pill);
	background: var(--k-white);
	box-shadow: inset 0 0 0 1px var(--k-line);
}

.hs-drawer__featured .hs-feature.is-highlight {
	background: var(--k-sand);
	box-shadow: none;
}

.hs-drawer__menu {
	padding: 6px 0;
}

.hs-drawer__menu a {
	display: block;
	padding: 13px 20px;
	color: var(--k-forest-dark);
	font-size: 15px;
	font-weight: 500;
	border-bottom: 1px solid var(--k-line);
}

.hs-drawer__menu a:hover,
.hs-drawer__menu .current-menu-item > a {
	background: var(--k-cream-deep);
	color: var(--k-forest);
}

.hs-drawer__menu .sub-menu a {
	padding-inline-start: 36px;
	font-size: 14px;
	font-weight: 400;
	color: var(--k-muted);
}

.hs-drawer__account {
	padding: 10px 0 24px;
}

.hs-drawer__account a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 20px;
	color: var(--k-forest-dark);
	font-size: 15px;
}

.hs-drawer__account svg {
	width: 20px;
	height: 20px;
}

html.hs-drawer-open {
	overflow: hidden;
}

/* Department line icons (Kleft 1.3). */
.hs-nav__glyph {
	display: inline-flex;
	color: var(--k-forest);
}

.hs-nav__link .hs-nav__glyph svg {
	width: 19px;
	height: 19px;
	color: currentColor;
}

/* Tighter navigation row when the departments do not fit (header.js). */
.hs-nav.is-compact .hs-nav__list {
	justify-content: flex-start;
	gap: 0;
}

.hs-nav.is-compact .hs-nav__link {
	padding-inline: 7px;
	font-size: 14px;
}
