/**
 * JT TypePro — global site header (dark modern)
 */

:root {
	--jt-tp-header-bg: rgba(8, 8, 8, 0.92);
	--jt-tp-header-text: rgba(255, 255, 255, 0.94);
	--jt-tp-header-muted: rgba(255, 255, 255, 0.52);
	--jt-tp-header-border: rgba(255, 255, 255, 0.08);
	--jt-tp-header-h: 76px;
	--jt-tp-header-pad-x: clamp(20px, 4vw, 48px);
	--jt-tp-header-shell-max: 1800px;
	--jt-tp-header-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jt-tp-header {
	position: sticky;
	top: var(--jt-header-offset, 0);
	z-index: 100001;
	width: 100%;
	max-width: 100%;
	background: var(--jt-tp-header-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--jt-tp-header-border);
	color: var(--jt-tp-header-text);
	font-family: var(--jt-tp-header-font);
}

.jt-tp-header__shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(100%, var(--jt-tp-header-shell-max));
	max-width: var(--jt-tp-header-shell-max);
	min-height: var(--jt-tp-header-h);
	margin: 0 auto;
	padding: 0 var(--jt-tp-header-pad-x);
}

.jt-tp-header__brand {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.jt-tp-header__brand a {
	color: #ffffff;
	text-decoration: none;
}

.jt-tp-header__brand a:hover,
.jt-tp-header__brand a:focus-visible {
	color: rgba(255, 255, 255, 0.72);
}

.jt-tp-header__brand--logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch {
	--jt-tp-header-logo-accent: #c41e2a;
	display: inline-grid;
	line-height: 0;
	vertical-align: middle;
	overflow: visible;
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer {
	grid-area: 1 / 1;
	display: block;
	width: auto;
	max-height: 48px;
	height: auto;
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer--main {
	position: relative;
	z-index: 3;
	animation: jt-tp-header-logo-glitch-main 3.4s steps(1, end) infinite;
	filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer:not(.jt-tp-header__logo-glitch-layer--main) {
	pointer-events: none;
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer--red {
	z-index: 4;
	animation: jt-tp-header-logo-glitch-red 2.6s steps(1, end) infinite;
	filter:
		drop-shadow(0 0 8px rgba(196, 30, 42, 0.95))
		brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(5458%) hue-rotate(346deg) brightness(0.92);
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer--void {
	z-index: 1;
	animation: jt-tp-header-logo-glitch-void 3.8s steps(1, end) infinite;
	filter: brightness(0.22) contrast(1.15);
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer--shard-a {
	z-index: 5;
	animation: jt-tp-header-logo-glitch-shard-a 3.4s steps(1, end) infinite;
	filter: brightness(0.92) contrast(1.08);
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer--shard-b {
	z-index: 5;
	animation: jt-tp-header-logo-glitch-shard-b 3.4s steps(1, end) infinite;
	filter: brightness(0.72) saturate(1.2) hue-rotate(-8deg);
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer--shard-c {
	z-index: 5;
	animation: jt-tp-header-logo-glitch-shard-c 3.4s steps(1, end) infinite;
	filter: brightness(1.08) contrast(1.05);
}

.jt-tp-header__brand--logo .jt-tp-header__logo-glitch::after {
	content: "";
	grid-area: 1 / 1;
	position: relative;
	z-index: 6;
	align-self: stretch;
	justify-self: stretch;
	width: 100%;
	height: 100%;
	margin: -8% -5%;
	pointer-events: none;
	opacity: 0;
	background:
		repeating-linear-gradient(
			0deg,
			transparent 0,
			transparent 2px,
			rgba(196, 30, 42, 0.14) 2px,
			rgba(196, 30, 42, 0.14) 3px
		),
		repeating-linear-gradient(
			90deg,
			transparent 0,
			transparent 18px,
			rgba(255, 255, 255, 0.03) 18px,
			rgba(255, 255, 255, 0.03) 19px
		);
	mix-blend-mode: screen;
	animation: jt-tp-header-logo-glitch-scan 3.4s steps(1, end) infinite;
}

@keyframes jt-tp-header-logo-glitch-main {
	0%,
	100% {
		opacity: 1;
		transform: translate(0);
		clip-path: inset(0 0 0 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(1);
	}

	4% {
		opacity: 0.55;
		transform: translate(-3px, 1px) skewX(-3deg);
		clip-path: inset(6% 0 68% 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.7);
	}

	5% {
		opacity: 0.8;
		transform: translate(2px, -1px) skewX(2deg);
		clip-path: inset(38% 0 34% 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.85);
	}

	6% {
		opacity: 1;
		transform: translate(0);
		clip-path: inset(0 0 0 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(1);
	}

	39% {
		opacity: 0.25;
		transform: translate(5px, -1px) skewX(5deg);
		clip-path: inset(10% 18% 58% 6%);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.45);
	}

	40% {
		opacity: 0.5;
		transform: translate(-6px, 2px) skewX(-6deg);
		clip-path: inset(52% 4% 14% 22%);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.55);
	}

	41% {
		opacity: 0.35;
		transform: translate(4px, 1px) skewX(3deg);
		clip-path: inset(72% 12% 0 8%);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.5);
	}

	42% {
		opacity: 0.15;
		transform: translate(-7px, 3px);
		clip-path: inset(0 40% 78% 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.35);
	}

	43% {
		opacity: 0.65;
		transform: translate(4px, -1px);
		clip-path: inset(28% 0 48% 30%);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.75);
	}

	44%,
	45% {
		opacity: 1;
		transform: translate(0);
		clip-path: inset(0 0 0 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(1);
	}

	72% {
		opacity: 0.9;
		transform: translate(-2px, 0);
		clip-path: inset(18% 0 52% 0);
	}

	73% {
		opacity: 1;
		transform: translate(0);
		clip-path: inset(0 0 0 0);
	}

	86% {
		opacity: 0.2;
		transform: translate(-6px, 2px) skewX(-4deg);
		clip-path: inset(0 28% 70% 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.4);
	}

	87% {
		opacity: 0.45;
		transform: translate(7px, -2px) skewX(4deg);
		clip-path: inset(44% 0 22% 35%);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.5);
	}

	88% {
		opacity: 0.3;
		transform: translate(-3px, 1px);
		clip-path: inset(80% 8% 0 12%);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(0.42);
	}

	89% {
		opacity: 1;
		transform: translate(0);
		clip-path: inset(0 0 0 0);
		filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(1.05);
	}
}

@keyframes jt-tp-header-logo-glitch-red {
	0%,
	100% {
		opacity: 0;
		transform: translate(0);
		clip-path: inset(0 0 100% 0);
	}

	3%,
	7% {
		opacity: 0.92;
		transform: translate(4px, -1px);
		clip-path: inset(14% 0 58% 0);
	}

	4% {
		opacity: 0.78;
		transform: translate(-5px, 1px);
		clip-path: inset(48% 0 22% 0);
	}

	39%,
	43% {
		opacity: 0.95;
		transform: translate(-5px, 1px) skewX(-5deg);
		clip-path: inset(8% 10% 62% 0);
	}

	40% {
		opacity: 0.88;
		transform: translate(6px, -2px);
		clip-path: inset(56% 0 10% 18%);
	}

	41% {
		opacity: 0.82;
		transform: translate(-4px, 2px);
		clip-path: inset(70% 22% 0 4%);
	}

	72%,
	74% {
		opacity: 0.85;
		transform: translate(3px, 0);
		clip-path: inset(24% 0 46% 0);
	}

	86%,
	90% {
		opacity: 0.9;
		transform: translate(-6px, 2px) skewX(4deg);
		clip-path: inset(4% 30% 68% 0);
	}

	87% {
		opacity: 0.75;
		transform: translate(5px, -1px);
		clip-path: inset(50% 0 18% 28%);
	}
}

@keyframes jt-tp-header-logo-glitch-void {
	0%,
	100% {
		opacity: 0;
		transform: translate(0);
		clip-path: inset(0 0 100% 0);
	}

	39%,
	42% {
		opacity: 0.7;
		transform: translate(3px, 2px);
		clip-path: inset(16% 24% 54% 0);
	}

	40% {
		opacity: 0.55;
		transform: translate(-4px, -1px);
		clip-path: inset(60% 0 8% 16%);
	}

	86%,
	88% {
		opacity: 0.65;
		transform: translate(-5px, 1px);
		clip-path: inset(32% 0 40% 20%);
	}
}

@keyframes jt-tp-header-logo-glitch-shard-a {
	0%,
	38%,
	46%,
	100% {
		opacity: 0;
		transform: translate(0) rotate(0deg);
		clip-path: inset(0 0 100% 0);
	}

	39% {
		opacity: 0.95;
		transform: translate(-8px, 3px) rotate(-4deg);
		clip-path: inset(6% 52% 64% 0);
	}

	40% {
		opacity: 0.85;
		transform: translate(-10px, 5px) rotate(-5deg);
		clip-path: inset(8% 48% 62% 2%);
	}

	41% {
		opacity: 0.7;
		transform: translate(-6px, 2px) rotate(-2deg);
		clip-path: inset(10% 55% 60% 0);
	}

	86% {
		opacity: 0.9;
		transform: translate(-8px, 3px) rotate(-3deg);
		clip-path: inset(0 60% 78% 0);
	}

	87% {
		opacity: 0.75;
		transform: translate(-10px, 4px) rotate(-4deg);
		clip-path: inset(2% 58% 76% 0);
	}
}

@keyframes jt-tp-header-logo-glitch-shard-b {
	0%,
	38%,
	46%,
	100% {
		opacity: 0;
		transform: translate(0) rotate(0deg);
		clip-path: inset(0 0 100% 0);
	}

	40% {
		opacity: 0.92;
		transform: translate(9px, -3px) rotate(5deg);
		clip-path: inset(50% 0 12% 46%);
	}

	41% {
		opacity: 0.8;
		transform: translate(11px, -4px) rotate(6deg);
		clip-path: inset(52% 0 10% 42%);
	}

	42% {
		opacity: 0.65;
		transform: translate(7px, -2px) rotate(3deg);
		clip-path: inset(54% 4% 8% 48%);
	}

	87% {
		opacity: 0.88;
		transform: translate(8px, -2px) rotate(4deg);
		clip-path: inset(42% 0 24% 50%);
	}

	88% {
		opacity: 0.72;
		transform: translate(10px, -4px) rotate(5deg);
		clip-path: inset(44% 0 22% 46%);
	}
}

@keyframes jt-tp-header-logo-glitch-shard-c {
	0%,
	38%,
	46%,
	100% {
		opacity: 0;
		transform: translate(0) scale(1);
		clip-path: inset(0 0 100% 0);
	}

	39% {
		opacity: 0.8;
		transform: translate(0, 6px) scale(1.04);
		clip-path: inset(68% 20% 0 18%);
	}

	41% {
		opacity: 0.7;
		transform: translate(2px, 7px) scale(1.06);
		clip-path: inset(72% 12% 0 24%);
	}

	42% {
		opacity: 0.55;
		transform: translate(-1px, 5px) scale(1.02);
		clip-path: inset(76% 28% 0 10%);
	}

	86% {
		opacity: 0.85;
		transform: translate(0, 6px) scale(1.05);
		clip-path: inset(78% 16% 0 20%);
	}

	88% {
		opacity: 0.6;
		transform: translate(3px, 8px) scale(1.07);
		clip-path: inset(82% 8% 0 28%);
	}
}

@keyframes jt-tp-header-logo-glitch-scan {
	0%,
	100% {
		opacity: 0;
	}

	38%,
	44%,
	86%,
	90% {
		opacity: 0.55;
	}

	39%,
	87% {
		opacity: 0.75;
	}
}

.jt-tp-header__brand--logo img {
	display: block;
	width: auto;
	max-height: 48px;
	height: auto;
}

.jt-tp-header__nav {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.jt-tp-header__menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: clamp(18px, 2.5vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.jt-tp-header__menu a {
	display: inline-block;
	color: var(--jt-tp-header-muted);
	font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.18s ease;
}

.jt-tp-header__menu a:hover,
.jt-tp-header__menu a:focus-visible,
.jt-tp-header__menu .current-menu-item > a,
.jt-tp-header__menu .current_page_item > a {
	color: #ffffff;
}

.jt-tp-header__menu .current-menu-item > a,
.jt-tp-header__menu .current_page_item > a {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}

.jt-tp-header__menu a.jt-tp-header__menu-link--sale,
.jt-tp-header__menu a.jt-tp-header__menu-link--sale-rotator {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
}

.jt-tp-header__menu a.jt-tp-header__menu-link--sale[aria-current="page"],
.jt-tp-header__menu .current-menu-item > a.jt-tp-header__menu-link--sale,
.jt-tp-header__menu .current_page_item > a.jt-tp-header__menu-link--sale {
	text-decoration: none !important;
}

.jt-tp-header__menu-sale-block {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 6px;
	background: #ff2a2a;
	color: #ffffff;
	overflow: hidden;
	flex-shrink: 0;
	isolation: isolate;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.14) inset,
		0 0 18px rgba(255, 42, 42, 0.42),
		0 0 32px rgba(255, 80, 80, 0.18);
	transition:
		background-color 0.18s ease,
		opacity 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.jt-tp-header__menu-sale-block::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 38%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}

.jt-tp-header__menu-sale-block::after {
	content: "";
	position: absolute;
	top: -20%;
	bottom: -20%;
	left: -60%;
	width: 42%;
	background: linear-gradient(
		105deg,
		transparent 0%,
		rgba(255, 255, 255, 0.08) 36%,
		rgba(255, 255, 255, 0.42) 50%,
		rgba(255, 255, 255, 0.08) 64%,
		transparent 100%
	);
	transform: skewX(-18deg) translateX(-140%);
	animation: jt-tp-header-sale-light-sweep 3.6s ease-in-out infinite;
	pointer-events: none;
	z-index: 2;
}

.jt-tp-header__menu a.jt-tp-header__menu-link--sale-rotator:hover .jt-tp-header__menu-sale-block,
.jt-tp-header__menu a.jt-tp-header__menu-link--sale-rotator:focus-visible .jt-tp-header__menu-sale-block {
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.22) inset,
		0 0 24px rgba(255, 42, 42, 0.58),
		0 0 44px rgba(255, 100, 100, 0.28);
	transform: translateY(-1px);
}

@keyframes jt-tp-header-sale-light-sweep {
	0%,
	18% {
		transform: skewX(-18deg) translateX(-140%);
		opacity: 0;
	}

	28% {
		opacity: 1;
	}

	52%,
	100% {
		transform: skewX(-18deg) translateX(320%);
		opacity: 0;
	}
}

.jt-tp-header__menu-sale-rotator {
	position: relative;
	z-index: 3;
	overflow: hidden;
	min-height: 1.1em;
	min-width: 3ch;
}

.jt-tp-header__menu-sale-sizer {
	position: absolute;
	visibility: hidden;
	pointer-events: none;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jt-tp-header__menu-sale-label {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: 0;
	padding: 0;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: inherit;
	white-space: nowrap;
	transform: translate3d(-50%, calc(-50% + 120%), 0);
	transition: transform var(--jt-nav-sale-transition, 0.38s) cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.jt-tp-header__menu-sale-label.is-active {
	transform: translate3d(-50%, -50%, 0);
	z-index: 2;
}

.jt-tp-header__menu-sale-label.is-exit {
	transform: translate3d(-50%, calc(-50% - 120%), 0);
	z-index: 1;
}

.jt-tp-header__menu-sale-label[aria-hidden="true"]:not(.is-active):not(.is-exit) {
	visibility: hidden;
}

.jt-tp-header__menu-sale-label.is-active[aria-hidden="true"],
.jt-tp-header__menu-sale-label.is-exit[aria-hidden="true"] {
	visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
	.jt-tp-header__menu-sale-label {
		transition: none;
	}

	.jt-tp-header__menu-sale-block::after {
		animation: none;
		opacity: 0;
	}

	.jt-tp-header__menu a.jt-tp-header__menu-link--sale-rotator:hover .jt-tp-header__menu-sale-block,
	.jt-tp-header__menu a.jt-tp-header__menu-link--sale-rotator:focus-visible .jt-tp-header__menu-sale-block {
		transform: none;
	}
}

.jt-tp-header__utils {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: clamp(12px, 2vw, 28px);
}

.jt-tp-header__util-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: var(--jt-tp-header-text);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease;
}

.jt-tp-header__util-btn:hover,
.jt-tp-header__util-btn:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
	outline: none;
}

.jt-tp-header__util-btn svg {
	display: block;
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jt-tp-header__util-btn--sign {
	padding: 0;
	margin-left: 0;
	gap: 0;
}

.jt-tp-header__util-btn--sign .jt-tp-header__util-label {
	display: none;
}

.jt-tp-header__util-label {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--jt-tp-header-muted);
}

.jt-tp-header__util-label--cart {
	display: none;
}

.jt-tp-header__util-btn--sign:hover .jt-tp-header__util-label,
.jt-tp-header__util-btn--sign:focus-visible .jt-tp-header__util-label {
	color: #ffffff;
}

.jt-tp-header__util-btn--cart,
.jt-tp-header__utils .jt-cart-badge {
	position: relative;
	gap: 0;
}

.jt-tp-header__cart-count,
.jt-tp-header__utils .jt-cart-count {
	position: absolute;
	top: 2px;
	right: -2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ffffff;
	color: #0a0a0a;
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}

.jt-tp-header__utils .jt-cart-fragment {
	display: inline-flex;
}

.jt-tp-header__utils .jt-cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--jt-tp-header-text);
	text-decoration: none;
}

.jt-tp-header__utils .jt-cart-badge svg {
	display: block;
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jt-tp-header__utils .jt-cart-badge.is-empty .jt-cart-count {
	display: none;
}

body.jt-typepro-layout {
	padding-top: 0;
}

/* ── Mobile menu toggle (hidden on desktop) ── */
.jt-tp-header__menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	background: transparent;
	color: var(--jt-tp-header-text);
	cursor: pointer;
	transition:
		background 0.18s ease,
		border-color 0.18s ease;
}

.jt-tp-header__menu-toggle:hover,
.jt-tp-header__menu-toggle:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.22);
	outline: none;
}

.jt-tp-header__menu-toggle-box {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 18px;
	height: 14px;
}

.jt-tp-header__menu-toggle-line {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition:
		transform 0.22s ease,
		opacity 0.18s ease;
	transform-origin: center center;
}

.jt-tp-header.is-menu-open .jt-tp-header__menu-toggle-line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.jt-tp-header.is-menu-open .jt-tp-header__menu-toggle-line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.jt-tp-header.is-menu-open .jt-tp-header__menu-toggle-line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.jt-tp-header__menu-panel-head {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--jt-tp-header-border);
}

.jt-tp-header__menu-panel-title {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jt-tp-header-muted);
}

.jt-tp-header__menu-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	background: transparent;
	color: var(--jt-tp-header-text);
	cursor: pointer;
	transition:
		background 0.18s ease,
		border-color 0.18s ease;
}

.jt-tp-header__menu-close:hover,
.jt-tp-header__menu-close:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.22);
	outline: none;
}

.jt-tp-header__menu-close svg {
	display: block;
	width: 18px;
	height: 18px;
}

.jt-tp-header__menu-panel {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.jt-tp-header__menu-panel-inner {
	width: 100%;
}

.jt-tp-header__backdrop {
	position: fixed;
	inset: 0;
	z-index: 100002;
	border: 0;
	background: rgba(0, 0, 0, 0.58);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.24s ease,
		visibility 0.24s ease;
}

.jt-tp-header.is-menu-open .jt-tp-header__backdrop {
	opacity: 1;
	visibility: visible;
}

html.jt-tp-header-menu-open,
html.jt-tp-header-menu-open body {
	overflow: hidden;
}

@media (min-width: 783px) {
	.jt-tp-header__menu-panel {
		position: static;
		inset: auto;
		width: auto;
		max-width: none;
		height: auto;
		padding: 0;
		background: transparent;
		box-shadow: none;
		transform: none;
		overflow: visible;
	}

	.jt-tp-header__menu-panel-inner {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 0;
		width: 100%;
		padding: 0;
	}

	.jt-tp-header__nav {
		flex: 1 1 auto;
		min-width: 0;
	}

	.jt-tp-header__utils {
		flex: 0 0 auto;
		margin-left: clamp(12px, 2vw, 28px);
	}

	.jt-tp-header__backdrop {
		display: none !important;
	}
}

@media (max-width: 782px) {
	.jt-tp-header__meta-slot {
		display: none !important;
	}

	.jt-tp-header__shell {
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px;
		padding-top: 12px;
		padding-bottom: 12px;
		min-height: 0;
	}

	.jt-tp-header__lead {
		flex: 1 1 auto;
		min-width: 0;
		order: 1;
	}

	.jt-tp-header__menu-toggle {
		display: inline-flex;
		order: 2;
		margin-left: auto;
	}

	.jt-tp-header__menu-panel {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 100003;
		flex: none;
		display: block;
		width: min(340px, 100vw);
		max-width: 100%;
		height: 100dvh;
		height: 100vh;
		padding: 0;
		background: var(--jt-tp-header-bg);
		border-left: 1px solid var(--jt-tp-header-border);
		box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
		overflow: hidden auto;
		overscroll-behavior: contain;
		transform: translate3d(100%, 0, 0);
		transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
		visibility: hidden;
		pointer-events: none;
	}

	.jt-tp-header.is-menu-open .jt-tp-header__menu-panel {
		transform: translate3d(0, 0, 0);
		visibility: visible;
		pointer-events: auto;
	}

	.jt-tp-header__menu-panel-inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		padding: calc(var(--jt-header-offset, 0px) + 16px) 20px 28px;
	}

	.jt-tp-header__menu-panel-head {
		display: flex;
	}

	.jt-tp-header__nav {
		flex: none;
		display: block;
		width: 100%;
		justify-content: flex-start;
	}

	.jt-tp-header__utils {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		margin: 16px 0 0;
		padding-top: 12px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.jt-tp-header__utils .jt-cart-fragment {
		display: block;
		width: 100%;
	}

	.jt-tp-header__menu-panel .jt-tp-header__util-btn,
	.jt-tp-header__menu-panel .jt-cart-badge {
		justify-content: flex-start;
		gap: 12px;
		width: 100%;
		min-width: 0;
		min-height: 48px;
		padding: 10px 0;
		margin: 0;
		border: 0;
		border-radius: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		background: transparent;
	}

	.jt-tp-header__menu-panel .jt-tp-header__util-btn--sign {
		padding: 10px 0;
		margin-left: 0;
	}

	.jt-tp-header__menu-panel .jt-tp-header__util-label,
	.jt-tp-header__menu-panel .jt-tp-header__util-label--cart {
		display: inline;
		font-size: 0.9375rem;
		color: var(--jt-tp-header-text);
	}

	.jt-tp-header__menu-panel .jt-tp-header__util-btn--sign .jt-tp-header__util-label {
		display: inline;
	}

	.jt-tp-header__menu-panel .jt-cart-count {
		position: static;
		margin-left: auto;
	}

	.jt-tp-header__menu {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: 100%;
	}

	.jt-tp-header__menu > li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	}

	.jt-tp-header__menu > li:last-child {
		border-bottom: 0;
	}

	.jt-tp-header__menu a {
		display: flex;
		align-items: center;
		width: 100%;
		min-height: 48px;
		padding: 10px 0;
		white-space: normal;
	}

	.jt-tp-header__menu .current-menu-item > a,
	.jt-tp-header__menu .current_page_item > a {
		text-decoration: none;
		color: #ffffff;
	}

	.jt-tp-header__menu .sub-menu {
		margin: 0;
		padding: 0 0 8px 16px;
		list-style: none;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
	}

	.jt-tp-header__menu .sub-menu a {
		min-height: 42px;
		font-size: 0.875rem;
		font-weight: 500;
		color: var(--jt-tp-header-muted);
	}

	.jt-tp-header__menu a.jt-tp-header__menu-link--sale-rotator {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jt-tp-header__menu-panel,
	.jt-tp-header__backdrop,
	.jt-tp-header__menu-toggle-line {
		transition: none;
	}

	.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer,
	.jt-tp-header__brand--logo .jt-tp-header__logo-glitch::after {
		animation: none;
	}

	.jt-tp-header__brand--logo .jt-tp-header__logo-glitch-layer:not(.jt-tp-header__logo-glitch-layer--main) {
		display: none;
	}
}

/* ── Inline header search + idle suggest panel ── */
.jt-tp-header .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.jt-tp-header__search-inline {
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
	gap: 2px;
	min-width: 0;
	flex-shrink: 0;
}

.jt-tp-header__search-inline .jt-tp-header__search-form {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transition:
		max-width 0.28s ease,
		opacity 0.22s ease;
}

.jt-tp-header.is-search-open .jt-tp-header__search-inline .jt-tp-header__search-form {
	max-width: min(320px, 38vw);
	opacity: 1;
	pointer-events: auto;
}

.jt-tp-header__search-input {
	width: 100%;
	min-width: 140px;
	height: 38px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--jt-tp-header-text);
	font: inherit;
	font-size: 14px;
	outline: none;
	transition:
		border-color 0.15s ease,
		background 0.15s ease;
}

.jt-tp-header__search-input::placeholder {
	color: rgba(255, 255, 255, 0.38);
}

.jt-tp-header__search-input:focus {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.08);
}

.jt-tp-header__search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.jt-tp-header.is-search-open .jt-tp-header__util-btn--search {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
}

.jt-tp-header__search-suggest {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 100020;
	width: min(380px, calc(100vw - 32px));
	max-height: min(440px, 72vh);
	overflow: auto;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(12, 12, 12, 0.98);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.jt-tp-header__search-suggest-section + .jt-tp-header__search-suggest-section {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jt-tp-header__search-suggest-label {
	margin: 0 0 8px;
	padding: 0 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.42);
}

.jt-tp-header__search-suggest-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jt-tp-header__search-suggest-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 6px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	transition: background 0.15s ease;
}

.jt-tp-header__search-suggest-item:hover,
.jt-tp-header__search-suggest-item:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	outline: none;
}

.jt-tp-header__search-suggest-thumb {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.jt-tp-header__search-suggest-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jt-tp-header__search-suggest-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.jt-tp-header__search-suggest-name {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.94);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jt-tp-header__search-suggest-meta {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.48);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jt-tp-header__search-suggest-side {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.jt-tp-header__search-suggest-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
}

.jt-tp-header__search-suggest-badge svg {
	width: 10px;
	height: 10px;
	fill: currentColor;
}

.jt-tp-header__search-suggest-badge--new {
	background: rgba(198, 255, 51, 0.14);
	color: #c6ff33;
}

.jt-tp-header__search-suggest-badge--featured {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.72);
}

.jt-tp-header__search-suggest-price {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
	white-space: nowrap;
}

.jt-tp-header__search-suggest-empty {
	margin: 8px 6px 4px;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.52);
	text-align: center;
}

.jt-tp-header__search-suggest-results .jt-tp-header__search-suggest-label {
	color: rgba(255, 255, 255, 0.58);
}

.jt-tp-header__search-suggest[hidden],
.jt-tp-header__search-suggest-idle[hidden],
.jt-tp-header__search-suggest-results[hidden],
.jt-tp-header__search-suggest-empty[hidden] {
	display: none !important;
}

.jt-tp-header.is-search-idle,
.jt-tp-header.is-search-active,
.jt-tp-header.is-search-idle .jt-tp-header__menu-panel-inner,
.jt-tp-header.is-search-active .jt-tp-header__menu-panel-inner,
.jt-tp-header.is-search-idle .jt-tp-header__utils,
.jt-tp-header.is-search-active .jt-tp-header__utils {
	overflow: visible;
}

@media (min-width: 783px) {
	.jt-tp-header.is-search-open .jt-tp-header__nav {
		flex: 1 1 0;
		min-width: 0;
	}

	.jt-tp-header.is-search-open .jt-tp-header__menu {
		flex-wrap: nowrap;
		gap: clamp(10px, 1.2vw, 22px);
	}
}

@media (max-width: 782px) {
	.jt-tp-header__search-inline {
		flex-direction: column-reverse;
		align-items: stretch;
		width: 100%;
	}

	.jt-tp-header.is-search-open .jt-tp-header__search-inline .jt-tp-header__search-form {
		max-width: none;
	}

	.jt-tp-header__search-input {
		min-width: 0;
		width: 100%;
	}

	.jt-tp-header__search-suggest {
		right: 0;
		left: 0;
		width: auto;
	}
}
