/* AlphaLabs Header V3 */
:root {
	--alpx-v3-ink: #123d43;
	--alpx-v3-deep: #073640;
	--alpx-v3-teal: #078a91;
	--alpx-v3-orange: #ef7a1a;
	--alpx-v3-cream: #fffdf9;
	--alpx-v3-soft: #f8f6f2;
	--alpx-v3-line: #e9e1d8;
	--alpx-v3-muted: #728184;
	--alpx-v3-sticky-offset: 0px;
}

.alpx-header-v3,
.alpx-drawer-v3,
.alpx-drawer-v3__overlay {
	font-family: Inter, Arial, sans-serif !important;
}

.alpx-header-v3 *,
.alpx-drawer-v3 * {
	box-sizing: border-box;
}

.alpx-header-v3 {
	position: sticky;
	top: var(--alpx-v3-sticky-offset);
	z-index: 9990;
	width: 100%;
	background: rgba(255, 253, 249, .985);
	border-bottom: 1px solid rgba(7, 54, 64, .08);
	box-shadow: 0 8px 24px rgba(7, 54, 64, .065);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.alpx-header-v3__shell {
	width: min(1320px, calc(100% - 48px));
	margin-inline: auto;
}

.alpx-header-v3 a,
.alpx-header-v3 summary,
.alpx-header-v3 button,
.alpx-drawer-v3 a,
.alpx-drawer-v3 summary,
.alpx-drawer-v3 button {
	-webkit-tap-highlight-color: transparent;
}

/* Main commerce row */
.alpx-header-v3__main {
	background: var(--alpx-v3-cream);
}

.alpx-header-v3__main-inner {
	min-height: 82px;
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 42px);
	padding-block: 8px;
}

.alpx-header-v3__brand {
	flex: 0 0 142px;
	display: flex;
	align-items: center;
}

.alpx-header-v3__brand .alpx-original-logo,
.alpx-header-v3__brand .alpx-original-logo a {
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

.alpx-header-v3__brand .alpx-original-logo-image,
.alpx-header-v3__brand .alpx-original-logo img {
	display: block !important;
	width: 132px !important;
	height: auto !important;
	max-width: 132px !important;
	max-height: none !important;
	object-fit: contain !important;
}

.alpx-header-v3__search {
	flex: 1 1 620px;
	min-width: 260px;
	max-width: 650px;
	margin-inline: auto;
}

.alpx-header-v3__search .dgwt-wcas-search-wrapp,
.alpx-header-v3__search form,
.alpx-header-v3__search .search-form,
.alpx-header-v3__search .dgwt-wcas-sf-wrapp {
	position: relative !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	background: transparent !important;
}

.alpx-header-v3__search .dgwt-wcas-search-input,
.alpx-header-v3__search input[type="search"],
.alpx-header-v3__search .search-field {
	width: 100% !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 48px 0 47px !important;
	border: 1px solid #dddeda !important;
	border-radius: 14px !important;
	background: var(--alpx-v3-soft) !important;
	box-shadow: none !important;
	color: var(--alpx-v3-ink) !important;
	font-family: Inter, Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 48px !important;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}

.alpx-header-v3__search .dgwt-wcas-search-input::placeholder,
.alpx-header-v3__search input[type="search"]::placeholder,
.alpx-header-v3__search .search-field::placeholder {
	color: #899294 !important;
	opacity: 1 !important;
}

.alpx-header-v3__search .dgwt-wcas-search-input:focus,
.alpx-header-v3__search input[type="search"]:focus,
.alpx-header-v3__search .search-field:focus {
	outline: none !important;
	border-color: rgba(7, 138, 145, .58) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(7, 138, 145, .09) !important;
}

/* Keep FiboSearch's real magnifier, but make it part of the field. */
.alpx-header-v3__search .dgwt-wcas-search-submit,
.alpx-header-v3__search button[type="submit"] {
	position: absolute !important;
	left: 13px !important;
	right: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	min-height: 24px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--alpx-v3-teal) !important;
}

.alpx-header-v3__search .dgwt-wcas-ico-magnifier,
.alpx-header-v3__search .dgwt-wcas-search-submit svg,
.alpx-header-v3__search button[type="submit"] svg {
	width: 19px !important;
	height: 19px !important;
	max-width: 19px !important;
	fill: var(--alpx-v3-teal) !important;
	stroke: var(--alpx-v3-teal) !important;
}

.alpx-header-v3__search .dgwt-wcas-preloader,
.alpx-header-v3__search .dgwt-wcas-voice-search {
	right: 14px !important;
}

.dgwt-wcas-details-wrapp,
.dgwt-wcas-suggestions-wrapp,
.dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon-open {
	z-index: 10050 !important;
}

.alpx-header-v3__tools {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.alpx-header-v3__account {
	position: relative;
	margin: 0 !important;
}

.alpx-header-v3__account > summary,
.alpx-header-v3__cart .fkcart-shortcode-icon-wrap,
.alpx-header-v3__cart .fkcart-mini-toggler,
.alpx-header-v3__cart .alpx-cart-fallback {
	position: relative !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	display: grid !important;
	place-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--alpx-v3-line) !important;
	border-radius: 13px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--alpx-v3-deep) !important;
	cursor: pointer;
	list-style: none !important;
	transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease !important;
}

.alpx-header-v3__account > summary::-webkit-details-marker {
	display: none;
}

.alpx-header-v3__account > summary:hover,
.alpx-header-v3__account[open] > summary,
.alpx-header-v3__cart .fkcart-shortcode-icon-wrap:hover,
.alpx-header-v3__cart .fkcart-mini-toggler:hover,
.alpx-header-v3__cart .alpx-cart-fallback:hover {
	border-color: rgba(7, 138, 145, .34) !important;
	background: #eef8f6 !important;
	color: var(--alpx-v3-teal) !important;
	transform: translateY(-1px);
}

.alpx-header-v3__account > summary svg,
.alpx-header-v3__cart svg,
.alpx-header-v3__cart .alpx-cart-fallback svg {
	width: 22px !important;
	height: 22px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.8 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.alpx-header-v3__account-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 30;
	min-width: 190px;
	padding: 8px;
	border: 1px solid var(--alpx-v3-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(7, 54, 64, .15);
}

.alpx-header-v3__account-menu a {
	display: block !important;
	padding: 11px 12px !important;
	border-radius: 9px !important;
	color: var(--alpx-v3-ink) !important;
	font-size: 13px !important;
	font-weight: 650 !important;
	text-decoration: none !important;
}

.alpx-header-v3__account-menu a:hover {
	background: #eef8f6 !important;
	color: var(--alpx-v3-teal) !important;
}

.alpx-header-v3__cart,
.alpx-header-v3__cart .fkcart-shortcode-container,
.alpx-header-v3__cart .fkcart-mini-toggler,
.alpx-header-v3__cart .fkcart-shortcode-icon-wrap {
	margin: 0 !important;
	padding: 0 !important;
}

.alpx-header-v3__cart .fkcart-shortcode-count,
.alpx-header-v3__cart .fkcart-item-count,
.alpx-header-v3__cart .alpx-cart-fallback__count {
	position: absolute !important;
	top: -6px !important;
	right: -6px !important;
	min-width: 19px !important;
	height: 19px !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 4px !important;
	border: 2px solid #fff !important;
	border-radius: 999px !important;
	background: var(--alpx-v3-orange) !important;
	color: #fff !important;
	font-size: 9px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
}

.alpx-header-v3__cart .alpx-cart-fallback__label {
	display: none !important;
}

.alpx-header-v3__menu-toggle {
	display: none;
}

/* Navigation */
.alpx-header-v3__nav {
	border-top: 1px solid rgba(7, 54, 64, .075);
	background: rgba(255, 255, 255, .96);
}

.alpx-header-v3__nav-inner {
	min-height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.alpx-header-v3__menu {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 8px;
	min-height: 47px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.alpx-header-v3__menu > li {
	position: relative;
	display: flex;
	align-items: stretch;
	margin: 0 !important;
	padding: 0 !important;
}

.alpx-header-v3__menu > li > a,
.alpx-header-v3__shop summary {
	position: relative;
	display: flex !important;
	align-items: center !important;
	gap: 7px;
	min-height: 47px;
	padding: 0 17px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--alpx-v3-ink) !important;
	font-size: 14px !important;
	font-weight: 650 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	list-style: none !important;
	cursor: pointer;
}

.alpx-header-v3__shop summary::-webkit-details-marker {
	display: none;
}

.alpx-header-v3__shop summary svg {
	width: 10px;
	height: 7px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	transition: transform .2s ease;
}

.alpx-header-v3__shop details[open] summary svg {
	transform: rotate(180deg);
}

.alpx-header-v3__menu > li > a::after,
.alpx-header-v3__shop summary::after {
	content: "";
	position: absolute;
	left: 17px;
	right: 17px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--alpx-v3-orange);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.alpx-header-v3__menu > li > a:hover,
.alpx-header-v3__shop summary:hover,
.alpx-header-v3__menu > li.is-active > a,
.alpx-header-v3__menu > li.is-active summary {
	color: var(--alpx-v3-teal) !important;
}

.alpx-header-v3__menu > li > a:hover::after,
.alpx-header-v3__shop summary:hover::after,
.alpx-header-v3__menu > li.is-active > a::after,
.alpx-header-v3__menu > li.is-active summary::after {
	transform: scaleX(1);
}

.alpx-header-v3__shop details {
	position: static;
}

.alpx-header-v3__mega {
	position: absolute;
	top: calc(100% + 1px);
	left: 50%;
	z-index: 40;
	width: min(760px, calc(100vw - 48px));
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 26px;
	padding: 22px;
	border: 1px solid var(--alpx-v3-line);
	border-radius: 0 0 18px 18px;
	background: #fff;
	box-shadow: 0 24px 56px rgba(7, 54, 64, .16);
	transform: translateX(-23%);
}

.alpx-header-v3__mega-intro {
	min-height: 205px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	border-radius: 14px;
	background:
		radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .19), transparent 24%),
		linear-gradient(145deg, #087d83, #07515d);
	color: #fff;
}

.alpx-header-v3__mega-intro > span {
	margin-bottom: auto;
	color: #a8e0dc;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.alpx-header-v3__mega-intro strong {
	font-size: 23px;
	font-weight: 780;
	line-height: 1.08;
	letter-spacing: -.025em;
}

.alpx-header-v3__mega-intro a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}

.alpx-header-v3__mega-intro a span {
	color: #ffd3aa;
}

.alpx-header-v3__mega-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-content: center;
	gap: 8px 20px;
}

.alpx-header-v3__mega-links a {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 13px 10px;
	border-bottom: 1px solid #edf0ed;
	color: var(--alpx-v3-ink) !important;
	text-decoration: none !important;
}

.alpx-header-v3__mega-links a:hover {
	border-color: rgba(7, 138, 145, .26);
	color: var(--alpx-v3-teal) !important;
}

.alpx-header-v3__mega-links span {
	font-size: 13px;
	font-weight: 730;
}

.alpx-header-v3__mega-links small {
	color: var(--alpx-v3-muted);
	font-size: 10px;
	font-weight: 500;
}

/* Mobile drawer */
.alpx-drawer-v3__overlay {
	position: fixed;
	inset: 0;
	z-index: 10020;
	background: rgba(4, 29, 35, .52);
	opacity: 0;
	transition: opacity .24s ease;
}

.alpx-drawer-v3__overlay.is-visible {
	opacity: 1;
}

.alpx-drawer-v3 {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10030;
	width: min(88vw, 390px);
	padding: 0 22px 28px;
	background: #fffdf9;
	box-shadow: -24px 0 52px rgba(4, 29, 35, .22);
	overflow-y: auto;
	transform: translateX(108%);
	transition: transform .28s ease;
}

.alpx-drawer-v3.is-open {
	transform: translateX(0);
}

.alpx-drawer-v3__head {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--alpx-v3-line);
}

.alpx-drawer-v3__head .alpx-original-logo-image,
.alpx-drawer-v3__head .alpx-original-logo img {
	width: 116px !important;
	height: auto !important;
	max-width: 116px !important;
	max-height: none !important;
}

.alpx-drawer-v3__close {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--alpx-v3-line);
	border-radius: 12px;
	background: #fff;
	color: var(--alpx-v3-deep);
}

.alpx-drawer-v3__close svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.alpx-drawer-v3__account {
	min-height: 58px;
	display: grid;
	grid-template-columns: 38px 1fr 18px;
	align-items: center;
	gap: 12px;
	margin: 18px 0 8px;
	padding: 8px 12px;
	border: 1px solid #dce9e7;
	border-radius: 14px;
	background: #eef8f6;
	color: var(--alpx-v3-ink) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.alpx-drawer-v3__account svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: var(--alpx-v3-teal);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alpx-drawer-v3__nav {
	display: flex;
	flex-direction: column;
}

.alpx-drawer-v3__nav > a,
.alpx-drawer-v3__shop > summary {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 4px;
	border-bottom: 1px solid #e8ece9;
	background: transparent;
	color: var(--alpx-v3-ink) !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	list-style: none;
	cursor: pointer;
}

.alpx-drawer-v3__shop > summary::-webkit-details-marker {
	display: none;
}

.alpx-drawer-v3__shop > summary svg {
	width: 10px;
	height: 7px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	transition: transform .2s ease;
}

.alpx-drawer-v3__shop[open] > summary svg {
	transform: rotate(180deg);
}

.alpx-drawer-v3__shop > div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
	padding: 10px 0 14px;
	border-bottom: 1px solid #e8ece9;
}

.alpx-drawer-v3__shop > div a {
	padding: 10px;
	border-radius: 9px;
	background: #f7f5f0;
	color: var(--alpx-v3-ink) !important;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.25;
	text-decoration: none !important;
}

.alpx-drawer-v3__shop > div a:hover {
	background: #eef8f6;
	color: var(--alpx-v3-teal) !important;
}

.alpx-drawer-v3__logout {
	display: inline-flex;
	margin-top: 22px;
	color: var(--alpx-v3-orange) !important;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none !important;
}

body.alpx-menu-open-v3 {
	overflow: hidden;
}

@media (max-width: 1120px) {
	.alpx-header-v3__main-inner {
		gap: 22px;
	}
	.alpx-header-v3__brand {
		flex-basis: 128px;
	}
	.alpx-header-v3__brand .alpx-original-logo-image,
	.alpx-header-v3__brand .alpx-original-logo img {
		width: 120px !important;
		max-width: 120px !important;
	}
	.alpx-header-v3__menu > li > a,
	.alpx-header-v3__shop summary {
		padding-inline: 13px !important;
	}
	.alpx-header-v3__menu > li > a::after,
	.alpx-header-v3__shop summary::after {
		left: 13px;
		right: 13px;
	}
}

@media (max-width: 900px) {
	.alpx-header-v3__shell {
		width: calc(100% - 28px);
	}
	.alpx-header-v3__main-inner {
		min-height: auto;
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		grid-template-areas:
			"menu brand tools"
			"search search search";
		gap: 8px 12px;
		padding: 9px 0 12px;
	}
	.alpx-header-v3__menu-toggle {
		grid-area: menu;
		width: 44px;
		height: 44px;
		display: grid;
		place-content: center;
		gap: 5px;
		padding: 0;
		border: 1px solid var(--alpx-v3-line);
		border-radius: 12px;
		background: #fff;
	}
	.alpx-header-v3__menu-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 2px;
		background: var(--alpx-v3-deep);
	}
	.alpx-header-v3__brand {
		grid-area: brand;
		justify-self: center;
		flex: none;
	}
	.alpx-header-v3__brand .alpx-original-logo-image,
	.alpx-header-v3__brand .alpx-original-logo img {
		width: 108px !important;
		max-width: 108px !important;
	}
	.alpx-header-v3__search {
		grid-area: search;
		width: 100%;
		max-width: none;
		min-width: 0;
	}
	.alpx-header-v3__search .dgwt-wcas-search-input,
	.alpx-header-v3__search input[type="search"],
	.alpx-header-v3__search .search-field {
		height: 46px !important;
		line-height: 46px !important;
		font-size: 13px !important;
	}
	.alpx-header-v3__tools {
		grid-area: tools;
		width: 44px;
		justify-self: end;
	}
	.alpx-header-v3__account {
		display: none;
	}
	.alpx-header-v3__cart,
	.alpx-header-v3__cart .fkcart-shortcode-container,
	.alpx-header-v3__cart .fkcart-mini-toggler,
	.alpx-header-v3__cart .fkcart-shortcode-icon-wrap {
		width: 44px !important;
	}
	.alpx-header-v3__nav {
		display: none;
	}
}

@media (max-width: 782px) {
	.admin-bar .alpx-drawer-v3 {
		top: 46px;
	}
}

@media (max-width: 480px) {
	.alpx-header-v3__shell {
		width: calc(100% - 22px);
	}
	.alpx-header-v3__main-inner {
		grid-template-columns: 42px minmax(0, 1fr) 42px;
		gap: 7px 9px;
	}
	.alpx-header-v3__menu-toggle,
	.alpx-header-v3__account > summary,
	.alpx-header-v3__cart .fkcart-shortcode-icon-wrap,
	.alpx-header-v3__cart .fkcart-mini-toggler,
	.alpx-header-v3__cart .alpx-cart-fallback {
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		min-height: 42px !important;
	}
	.alpx-header-v3__brand .alpx-original-logo-image,
	.alpx-header-v3__brand .alpx-original-logo img {
		width: 100px !important;
		max-width: 100px !important;
	}
	.alpx-header-v3__search .dgwt-wcas-search-input,
	.alpx-header-v3__search input[type="search"],
	.alpx-header-v3__search .search-field {
		padding-right: 40px !important;
		font-size: 12.5px !important;
	}
	.alpx-drawer-v3 {
		width: 92vw;
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alpx-header-v3 *,
	.alpx-drawer-v3,
	.alpx-drawer-v3__overlay {
		transition: none !important;
	}
}

/* v1.3.4 — exact original Media Library logo from header_logo1. */
.alpx-header-v3__brand .alpx-original-logo-image {
	width: 136px !important;
	height: auto !important;
	max-width: 136px !important;
	max-height: 82px !important;
	object-fit: contain !important;
}
.alpx-drawer-v3__head .alpx-original-logo-image {
	width: 124px !important;
	height: auto !important;
	max-width: 124px !important;
	max-height: 86px !important;
	object-fit: contain !important;
}
@media (max-width: 760px) {
	.alpx-header-v3__brand .alpx-original-logo-image {
		width: 108px !important;
		max-width: 108px !important;
		max-height: 70px !important;
	}
}
