/* ANNABIS reusable store header. All rules are component-scoped. */
.annabis-header {
	--annabis-header-accent: #2e6849;
	--annabis-header-accent-dark: #1d4933;
	--annabis-header-border: #dfe7e2;
	--annabis-header-ink: #17231d;
	--annabis-header-muted: #637068;
	background: #fff;
	border-bottom: 1px solid var(--annabis-header-border);
	color: var(--annabis-header-ink);
	font-family: "Jost", "Open Sans", sans-serif;
	position: relative;
	z-index: 50;
}

.annabis-header *,
.annabis-header *::before,
.annabis-header *::after {
	box-sizing: border-box;
}

.annabis-header__inner {
	margin-inline: auto;
	max-width: 1400px;
	padding-inline: 32px;
	width: 100%;
}

.annabis-header__main {
	background: #fff;
}

.annabis-header__main-grid {
	align-items: center;
	display: grid;
	gap: 38px;
	grid-template-columns: minmax(170px, 230px) minmax(320px, 1fr) auto;
	min-height: 108px;
}

.annabis-header__branding,
.annabis-header__branding .custom-logo-link {
	align-items: center;
	display: flex;
}

.annabis-header__branding .custom-logo {
	display: block;
	height: auto;
	max-height: 74px;
	max-width: 218px;
	object-fit: contain;
	width: auto;
}

.annabis-header__site-name {
	color: var(--annabis-header-ink);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: .08em;
	text-decoration: none;
}

.annabis-header__desktop-search .annabis-product-search-form,
.annabis-header__mobile-search .annabis-product-search-form {
	max-width: none;
	width: 100%;
}

.annabis-header .annabis-product-search-input {
	background: #f7f9f7;
	border: 1px solid #cbd6cf;
	border-radius: 9px;
	color: var(--annabis-header-ink);
	font-size: 16px;
	height: 54px;
	padding: 0 20px;
}

.annabis-header .annabis-product-search-input::placeholder {
	color: var(--annabis-header-muted);
	opacity: 1;
}

.annabis-header .annabis-product-search-submit {
	background: var(--annabis-header-accent);
	border-color: var(--annabis-header-accent);
	border-radius: 9px;
	font-size: 16px;
	min-height: 54px;
	min-width: 116px;
	padding: 12px 22px;
}

.annabis-header .annabis-product-search-submit:hover,
.annabis-header .annabis-product-search-submit:focus {
	background: var(--annabis-header-accent-dark);
	border-color: var(--annabis-header-accent-dark);
}

.annabis-header__actions {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.annabis-header__action,
.annabis-header__icon-button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: var(--annabis-header-ink);
	display: inline-flex;
	font-size: 16px;
	font-weight: 600;
	gap: 7px;
	justify-content: center;
	min-height: 48px;
	padding: 8px 11px;
	position: relative;
	text-decoration: none;
}

.annabis-header__action:hover,
.annabis-header__action:focus,
.annabis-header__icon-button:hover,
.annabis-header__icon-button:focus {
	background: #f0f5f2;
	color: var(--annabis-header-accent-dark);
	text-decoration: none;
}

.annabis-header__action svg,
.annabis-header__icon-button svg {
	fill: none;
	height: 24px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 24px;
}

.annabis-header__cart-count {
	align-items: center;
	background: var(--annabis-header-accent);
	border: 2px solid #fff;
	border-radius: 999px;
	color: #fff;
	display: flex;
	font-size: 10px;
	font-weight: 700;
	height: 19px;
	justify-content: center;
	left: 23px;
	line-height: 1;
	min-width: 19px;
	padding: 0 4px;
	position: absolute;
	top: 0;
}

.annabis-header__search-toggle,
.annabis-header__menu-toggle {
	display: none;
}

.annabis-header__navigation-row {
	border-top: 1px solid #edf1ee;
}

.annabis-header__navigation-inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 58px;
}

.annabis-header__menu {
	align-items: center;
	display: flex;
	gap: 42px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.annabis-header__menu-item a {
	color: var(--annabis-header-ink);
	display: block;
	font-size: 17px;
	font-weight: 600;
	padding: 17px 0 15px;
	position: relative;
	text-decoration: none;
}

.annabis-header__menu-item a::after {
	background: var(--annabis-header-accent);
	bottom: 10px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .18s ease;
	width: 100%;
}

.annabis-header__menu-item a:hover,
.annabis-header__menu-item a:focus,
.annabis-header__menu-item.is-current a {
	color: var(--annabis-header-accent-dark);
}

.annabis-header__menu-item a:hover::after,
.annabis-header__menu-item a:focus::after,
.annabis-header__menu-item.is-current a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.annabis-header__contact {
	color: var(--annabis-header-muted);
	font-size: 16px;
	text-decoration: none;
}

.annabis-header__secondary,
.annabis-header__social {
	align-items: center;
	display: flex;
}

.annabis-header__secondary {
	gap: 24px;
}

.annabis-header__social {
	gap: 6px;
}

.annabis-header__social-link {
	align-items: center;
	border-radius: 7px;
	color: var(--annabis-header-muted);
	display: inline-flex;
	height: 36px;
	justify-content: center;
	text-decoration: none;
	width: 36px;
}

.annabis-header__social-link:hover,
.annabis-header__social-link:focus {
	background: #f0f5f2;
	color: var(--annabis-header-accent-dark);
}

.annabis-header__social-link svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 20px;
}

.annabis-header__social-link--facebook svg,
.annabis-header__social-fill {
	fill: currentColor;
	stroke: none;
}

.annabis-header__contact strong {
	color: var(--annabis-header-ink);
	font-weight: 650;
	margin-left: 5px;
}

.annabis-header__contact:hover,
.annabis-header__contact:focus {
	color: var(--annabis-header-accent-dark);
	text-decoration: none;
}

@media (min-width: 960px) and (max-width: 1120px) {
	.annabis-header__inner {
		padding-inline: 20px;
	}

	.annabis-header__main-grid {
		gap: 18px;
		grid-template-columns: minmax(140px, 180px) minmax(260px, 1fr) auto;
	}

	.annabis-header__branding .custom-logo {
		max-height: 70px;
		max-width: 190px;
	}

	.annabis-header__actions {
		gap: 2px;
	}

	.annabis-header__action {
		gap: 5px;
		padding-inline: 7px;
	}

	.annabis-header__menu {
		gap: 24px;
	}

	.annabis-header__secondary {
		gap: 12px;
	}

	.annabis-header__social {
		gap: 2px;
	}

	.annabis-header__social-link {
		width: 30px;
	}

	.annabis-header__contact {
		font-size: 14px;
	}
}

.annabis-header :focus-visible {
	box-shadow: 0 0 0 3px rgba(46, 104, 73, .2);
	outline: 2px solid var(--annabis-header-accent-dark);
	outline-offset: 2px;
}

.annabis-header__mobile-search[hidden] {
	display: none;
}

@media (max-width: 959px) {
	.annabis-header__inner {
		padding-inline: 16px;
	}

	.annabis-header__main-grid {
		gap: 12px;
		grid-template-columns: minmax(110px, 1fr) auto;
		min-height: 72px;
	}

	.annabis-header__branding .custom-logo {
		max-height: 48px;
		max-width: 148px;
	}

	.annabis-header__desktop-search,
	.annabis-header__action-label {
		display: none;
	}

	.annabis-header__search-toggle,
	.annabis-header__menu-toggle {
		display: inline-flex;
	}

	.annabis-header__actions {
		gap: 2px;
	}

	.annabis-header__action,
	.annabis-header__icon-button {
		height: 44px;
		padding: 8px;
		width: 44px;
	}

	.annabis-header__cart-count {
		left: 24px;
		top: 1px;
	}

	.annabis-header__menu-lines,
	.annabis-header__menu-lines::before,
	.annabis-header__menu-lines::after {
		background: currentColor;
		border-radius: 2px;
		display: block;
		height: 2px;
		position: absolute;
		transition: transform .18s ease, opacity .18s ease;
		width: 22px;
	}

	.annabis-header__menu-lines {
		position: relative;
	}

	.annabis-header__menu-lines::before,
	.annabis-header__menu-lines::after {
		content: "";
		left: 0;
	}

	.annabis-header__menu-lines::before {
		top: -7px;
	}

	.annabis-header__menu-lines::after {
		top: 7px;
	}

	.annabis-header.is-menu-open .annabis-header__menu-lines {
		background: transparent;
	}

	.annabis-header.is-menu-open .annabis-header__menu-lines::before {
		transform: translateY(7px) rotate(45deg);
	}

	.annabis-header.is-menu-open .annabis-header__menu-lines::after {
		transform: translateY(-7px) rotate(-45deg);
	}

	.annabis-header__mobile-search {
		background: #f7f9f7;
		border-top: 1px solid var(--annabis-header-border);
		padding: 14px 0;
	}

	.annabis-header .annabis-product-search-form {
		align-items: stretch;
		flex-direction: row;
	}

	.annabis-header__navigation-row {
		background: #fff;
	}

	.annabis-header__navigation-inner {
		display: block;
		min-height: 0;
		padding: 0;
	}

	.annabis-header__navigation {
		display: none;
	}

	.annabis-header.is-menu-open .annabis-header__navigation {
		display: block;
	}

	.annabis-header__menu {
		align-items: stretch;
		display: block;
		padding: 8px 16px 14px;
	}

	.annabis-header__menu-item a {
		border-bottom: 1px solid #edf1ee;
		font-size: 16px;
		padding: 13px 4px;
	}

	.annabis-header__menu-item a::after,
	.annabis-header__secondary {
		display: none;
	}
}

@media (max-width: 420px) {
	.annabis-header__inner {
		padding-inline: 12px;
	}

	.annabis-header__branding .custom-logo {
		max-height: 43px;
		max-width: 124px;
	}

	.annabis-header__actions {
		gap: 0;
	}

	.annabis-header__action,
	.annabis-header__icon-button {
		padding: 7px;
		width: 40px;
	}

	.annabis-header .annabis-product-search-form {
		gap: 8px;
	}

	.annabis-header .annabis-product-search-submit {
		min-width: 82px;
		padding-inline: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.annabis-header *,
	.annabis-header *::before,
	.annabis-header *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
