/* ==========================================================================
   Header (2026) – desktop ≥ 850px. Below 850px Flatsome's mobile header is used.
   Dropdowns keep Flatsome's classes (.nav-dropdown …) so they match the live site.
   ========================================================================== */

:root {
	--dht-navy: #000e3e;
	--dht-teal: #2fb99d;
	--dht-red: #fc5f5f;
	--dht-yellow: #fabd00;
	--dht-top-h: 56px;
	--dht-main-h: 139px;
	--dht-bar-h: 93px;   /* 80px white bar + 13px the navy wave hangs into */
	--dht-wave-h: 60px;
	--dht-logo-h: 120px;
	--dht-ease: cubic-bezier(.4, 0, .2, 1);
}

/* Swap headers at Flatsome's own mobile breakpoint */
@media (max-width: 849px) {
	.dht-header,
	.dht-header-spacer { display: none !important; }
}

@media (min-width: 850px) {
	#header { display: none !important; }
}

.dht-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 1001;
	font-family: Asap, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.dht-header svg { display: block; }

/* ---------- Top bar ---------- */
.dht-topbar {
	background: var(--dht-teal);
	height: var(--dht-top-h);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: height .3s var(--dht-ease);
}

.dht-topbar__mail {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 30px;
}

.dht-topbar__mail:hover { color: #fff; opacity: .85; }
.dht-topbar__mail svg { width: 24px; height: 24px; flex: none; }

/* ---------- Main bar ---------- */
.dht-mainbar {
	background: var(--dht-navy);
	height: var(--dht-main-h);
	transition: height .3s var(--dht-ease);
}

.dht-mainbar__inner {
	height: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 30px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 20px;
}

.dht-mainbar__left { justify-self: center; }

.dht-mainbar__right {
	justify-self: center;
	display: flex;
	align-items: center;
	gap: 15px;
}

.dht-header .dht-hnav {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 15px;
	width: auto;
}

.dht-logo {
	display: block;
	line-height: 0;
}

.dht-logo__img {
	display: block;
	height: var(--dht-logo-h);
	width: auto;
	max-width: 388px;
	object-fit: contain;
	transition: height .3s var(--dht-ease);
}

/* Header pill buttons (green + red) */
.dht-header a.dht-hbtn,
.dht-header .dht-hnav > li > a.dht-hbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 110px;
	height: 39px;
	padding: 0 14px;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, .05);
	border-radius: 10px;
	background: var(--dht-teal);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: .47px;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .2s, color .2s, transform .2s;
}

.dht-header a.dht-hbtn:hover,
.dht-header .dht-hnav > li:hover > a.dht-hbtn,
.dht-header .dht-hnav > li.current-dropdown > a.dht-hbtn {
	background: color-mix(in srgb, var(--dht-teal), #000 15%);
	color: #fff;
}

.dht-header a.dht-hbtn--red {
	min-width: 200px;
	background: var(--dht-red);
	font-size: 13px;
}

.dht-header a.dht-hbtn--red:hover { background: color-mix(in srgb, var(--dht-red), #000 15%); }

.dht-header .dht-hbtn .dht-chevron { display: none; }

/* Icon links (headset, basket) */
.dht-hicon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 39px;
	height: 39px;
	color: #fff;
	transition: opacity .2s, transform .2s;
}

.dht-hicon:hover { opacity: .8; transform: translateY(-1px); }
.dht-hicon svg { width: 38px; height: 38px; }

.dht-cart-count {
	position: absolute;
	top: -4px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 99px;
	background: var(--dht-yellow);
	color: var(--dht-navy);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.dht-cart-count.is-empty { display: none; }

/* ---------- White therapy bar (navy wave hangs over its top edge) ---------- */
.dht-bar {
	position: relative;
	background: #fff;
	height: var(--dht-bar-h);
	border-bottom: 1px solid #c7c7cc;
	transition: height .3s var(--dht-ease);
}

.dht-header .dht-bar .ux-shape-divider {
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	z-index: 1;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
	transform: rotate(180deg);
}

.dht-header .dht-bar .ux-shape-divider svg {
	position: relative;
	left: 50%;
	display: block;
	width: calc(var(--divider-top-width, 100%) + 1.3px);
	height: var(--dht-wave-h) !important;
	transform: translateX(-50%);
	transition: height .3s var(--dht-ease);
}

.dht-header .dht-bar-nav {
	position: relative;
	z-index: 2;
	height: 100%;
	padding-top: 11px !important;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: center;
	gap: 0 70px;
	width: auto;
}

.dht-header .dht-bar-nav > li {
	display: flex;
	align-items: center;
	margin: 0;
}

.dht-header .dht-bar-nav > li > a.dht-bar-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	color: var(--dht-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 35px;
	letter-spacing: .66px;
	text-transform: none;
	white-space: nowrap;
}

.dht-header .dht-bar-nav > li:hover > a.dht-bar-link,
.dht-header .dht-bar-nav > li.current-dropdown > a.dht-bar-link { color: var(--dht-teal); }

.dht-chevron {
	display: inline-block;
	width: 9px;
	height: 5px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("../img/icon-chevron-down.svg") center / contain no-repeat;
	mask: url("../img/icon-chevron-down.svg") center / contain no-repeat;
	transition: transform .2s;
}

.dht-header li.current-dropdown > a .dht-chevron { transform: rotate(180deg); }

/* "unclickable" parents behave like the live menu (open dropdown, don't navigate) */
.dht-header .unclickable > a { cursor: default; }

/* ---------- Dropdowns: show/hide (styling comes from Flatsome) ---------- */
.dht-header .nav > li { position: relative; margin: 0; }

.dht-header .nav-dropdown {
	top: 100%;
	text-align: left;
}

.dht-header li.has-dropdown:hover > .nav-dropdown,
.dht-header li.has-dropdown:focus-within > .nav-dropdown,
.dht-header li.current-dropdown > .nav-dropdown {
	left: -15px;
	opacity: 1;
	visibility: visible;
	max-height: inherit;
}

.dht-header li.has-dropdown:hover::after,
.dht-header li.has-dropdown:hover::before,
.dht-header li.has-dropdown:focus-within::after,
.dht-header li.has-dropdown:focus-within::before { opacity: 1; }

/* bar dropdowns hang from the bottom of the white bar */
.dht-header .dht-bar-nav > li > .nav-dropdown { top: 100%; }

/* ---------- Stuck (scrolled) state ---------- */
.dht-header.is-stuck {
	--dht-top-h: 0px;
	--dht-main-h: 70px;
	--dht-bar-h: 62px;
	--dht-wave-h: 30px;
	--dht-logo-h: 56px;
	box-shadow: 0 2px 12px rgba(0, 14, 62, .12);
}

/* spacer keeps the un-stuck height so the page never jumps */
.dht-header-spacer { height: 288px; }

/* ---------- 850 – 1199 ---------- */
@media (max-width: 1199px) {
	:root {
		--dht-main-h: 120px;
		--dht-bar-h: 84px;
		--dht-wave-h: 50px;
		--dht-logo-h: 96px;
	}

	.dht-header-spacer { height: 260px; }
	.dht-mainbar__inner { padding: 0 20px; column-gap: 14px; }
	.dht-mainbar__right, .dht-header .dht-hnav { gap: 10px; }
	.dht-logo__img { max-width: 30vw; }

	.dht-header a.dht-hbtn,
	.dht-header .dht-hnav > li > a.dht-hbtn { min-width: 92px; padding: 0 10px; font-size: 13px; }
	.dht-header a.dht-hbtn--red { min-width: 0; font-size: 12px; }

	.dht-header .dht-bar-nav { gap: 0 40px; }
	.dht-header .dht-bar-nav > li > a.dht-bar-link { font-size: 15px; gap: 8px; }
}

@media (max-width: 991px) {
	:root { --dht-logo-h: 76px; }

	.dht-hicon, .dht-hicon svg { width: 32px; height: 32px; }

	.dht-header a.dht-hbtn,
	.dht-header .dht-hnav > li > a.dht-hbtn { min-width: 0; height: 36px; font-size: 12px; }
	.dht-header a.dht-hbtn--red { padding: 0 10px; font-size: 11px; }

	.dht-header .dht-bar-nav { gap: 0 24px; padding: 0 16px; }
	.dht-header .dht-bar-nav > li > a.dht-bar-link { font-size: 14px; letter-spacing: .2px; }
}

/* ---------- Mobile side menu (Flatsome off-canvas): navy like the header ---------- */
.mfp-content:has(#main-menu),
.off-canvas:not(.off-canvas-cart) .mfp-content:not(.off-canvas-cart),
#main-menu.mobile-sidebar {
	background-color: #000e3e !important;
}

#main-menu .nav-sidebar > li,
#main-menu .nav-sidebar > li + li,
#main-menu .nav-vertical li li {
	border-color: rgba(255, 255, 255, .12) !important;
}

#main-menu .header-button a.button {
	width: 100%;
	border-radius: 10px !important;
}

/* ---------- Footer social icons (site-wide): all #fabd00, white icon (Figma) ---------- */
.footer-wrapper .social-icons a.button.icon,
footer .social-icons a.button.icon,
.absolute-footer .social-icons a.button.icon {
	background-color: #fabd00 !important;
	border-color: #fabd00 !important;
	color: #fff !important;
}

.footer-wrapper .social-icons a.button.icon:hover,
footer .social-icons a.button.icon:hover {
	background-color: color-mix(in srgb, #fabd00, #000 12%) !important;
	border-color: color-mix(in srgb, #fabd00, #000 12%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.dht-topbar, .dht-mainbar, .dht-bar, .dht-logo__img, .dht-header .dht-bar .ux-shape-divider svg { transition: none; }
}
