/* =========================================================
   HLxHUB HEADER SYSTEM
   ========================================================= */

.hlxhub-header {
	position: relative;
	z-index: 10000;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.hlxhub-container {
	width: min(
		calc(100% - 32px),
		1240px
	);

	margin-inline: auto;
}


/* =========================================================
   TOP BLACK BAR
   ========================================================= */

.hlxhub-topbar {
	background: #0b0b0d;
	color: #ffffff;

	min-height: 38px;

	font-size: 13px;

	position: relative;
	z-index: 10002;
}

.hlxhub-topbar-inner {
	min-height: 38px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 20px;
}


/* LEFT */

.hlxhub-topbar-left {
	display: flex;
	align-items: center;

	gap: 4px;

	white-space: nowrap;
}

.hlxhub-top-link {
	position: relative;

	display: inline-flex;
	align-items: center;

	padding: 5px 10px;

	color: #d7d7d7;

	font-weight: 500;

	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

.hlxhub-top-link::after {
	content: "";

	position: absolute;

	left: 10px;
	right: 10px;
	bottom: 1px;

	height: 2px;

	background: #0d6efd;

	transform: scaleX(0);
	transform-origin: center;

	transition: transform 0.25s ease;
}

.hlxhub-top-link:hover {
	color: #ffffff;
	transform: translateY(-1px);
}

.hlxhub-top-link:hover::after {
	transform: scaleX(1);
}


/* RIGHT */

.hlxhub-topbar-right {
	display: flex;
	align-items: center;

	gap: 8px;
}

.hlxhub-follow-text {
	color: #9ca3af;

	margin-right: 5px;
}

.hlxhub-social-link {
	width: 27px;
	height: 27px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	color: #ffffff;

	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.hlxhub-social-link svg {
	width: 15px;
	height: 15px;

	display: block;
}

.hlxhub-social-link:hover {
	background: #ffffff;
	color: #111111;

	transform:
		translateY(-2px)
		rotate(4deg);
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.hlxhub-main-header {
	background: #ffffff;

	border-bottom: 1px solid #e8eaee;

	position: relative;
	z-index: 1001;
}

.hlxhub-main-header-inner {
	min-height: 82px;

	display: grid;

	grid-template-columns:
		220px
		minmax(280px, 1fr)
		auto;

	align-items: center;

	gap: 28px;
}


/* =========================================================
   LOGO
   ========================================================= */

.hlxhub-logo-area {
	min-width: 0;
}

.hlxhub-text-logo,
.hlxhub-mobile-text-logo {
	display: inline-flex;
	align-items: center;

	font-size: 29px;
	font-weight: 900;

	letter-spacing: -1.5px;

	line-height: 1;
}

.hlx-logo-hl {
	color: #0d6efd;
}

.hlx-logo-hub {
	color: #111827;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-width: 200px;
	max-height: 60px;
	width: auto;
	height: auto;
}


/* =========================================================
   SEARCH
   ========================================================= */

.hlxhub-search-area {
	width: 100%;
}

.hlxhub-search-form {
	width: 100%;
	margin: 0;
}

.hlxhub-search-box {
	height: 48px;

	display: flex;
	align-items: center;

	background: #f5f7fa;

	border: 1px solid #e0e4ea;

	border-radius: 10px;

	overflow: hidden;

	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		background 0.25s ease;
}

.hlxhub-search-box:focus-within {
	background: #ffffff;

	border-color: #0d6efd;

	box-shadow:
		0 0 0 4px rgba(13, 110, 253, 0.10);
}

.hlxhub-search-icon {
	flex: 0 0 auto;

	width: 20px;
	height: 20px;

	margin-left: 15px;

	color: #6b7280;
}

.hlxhub-search-input {
	flex: 1;

	min-width: 0;

	height: 100%;

	border: 0 !important;
	outline: 0 !important;

	box-shadow: none !important;

	background: transparent !important;

	padding: 0 14px;

	color: #111827;
}

.hlxhub-search-input::placeholder {
	color: #9ca3af;
}

.hlxhub-search-button {
	flex: 0 0 auto;

	height: 38px;

	margin-right: 5px;

	padding: 0 18px;

	border: 0;
	border-radius: 7px;

	background: #0d6efd;
	color: #ffffff;

	font-weight: 700;

	transition:
		background 0.25s ease,
		transform 0.25s ease;
}

.hlxhub-search-button:hover {
	background: #084298;

	transform: translateY(-1px);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.hlxhub-header-actions {
	display: flex;
	align-items: center;

	gap: 6px;
}

.hlxhub-header-action {
	min-width: 64px;

	display: flex;
	flex-direction: column;

	align-items: center;
	justify-content: center;

	gap: 4px;

	padding: 5px;

	color: #374151;

	border-radius: 8px;

	transition:
		color 0.25s ease,
		background 0.25s ease,
		transform 0.25s ease;
}

.hlxhub-header-action:hover {
	color: #0d6efd;
	background: #f2f6ff;

	transform: translateY(-2px);
}

.hlxhub-action-icon {
	width: 24px;
	height: 24px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.hlxhub-action-icon svg {
	width: 21px;
	height: 21px;
}

.hlxhub-action-text {
	font-size: 11px;
	font-weight: 600;
}

/* =========================================================
   HLxHub - HEADER LAYER 3
   DESKTOP / TABLET / MOBILE NAVIGATION
========================================================= */

.hlxhub-navigation-wrap {
    display: block;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    z-index: 999;
}

.hlxhub-navigation-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.hlxhub-navigation {
    display: block;
    width: 100%;
}

.hlxhub-nav-inner {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* =========================================================
   DESKTOP MENU
========================================================= */

.hlxhub-menu-area {
    display: block;
    flex: 1;
    width: auto;
}

.hlxhub-nav-menu {
    display: flex !important;
    align-items: center;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;

    gap: 30px;
}

.hlxhub-nav-menu li {
    position: relative;
    margin: 0;
    padding: 0;
}

.hlxhub-nav-menu > li > a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 54px;

    padding: 0 2px;

    color: #172033;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .25s ease,
        transform .25s ease;
}

.hlxhub-nav-menu > li > a:hover {
    color: #1769ff;
    transform: translateY(-1px);
}


/* Animated underline */

.hlxhub-nav-menu > li > a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 7px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: #1769ff;

    transition: width .3s ease;
}

.hlxhub-nav-menu > li > a:hover::after {
    width: 100%;
}


/* Current page */

.hlxhub-nav-menu > li.current-menu-item > a,
.hlxhub-nav-menu > li.current-menu-ancestor > a {
    color: #1769ff;
}

.hlxhub-nav-menu > li.current-menu-item > a::after,
.hlxhub-nav-menu > li.current-menu-ancestor > a::after {
    width: 100%;
}


/* =========================================================
   SUBMENU
========================================================= */

.hlxhub-nav-menu .sub-menu {
    position: absolute;

    top: 100%;
    left: -15px;

    min-width: 210px;

    margin: 0;
    padding: 10px 0;

    list-style: none;

    background: #fff;

    border: 1px solid #e7eaf0;
    border-radius: 0 0 12px 12px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    z-index: 2000;
}

.hlxhub-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hlxhub-nav-menu .sub-menu li {
    width: 100%;
}

.hlxhub-nav-menu .sub-menu a {
    display: block;

    padding: 11px 18px;

    color: #172033;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        padding-left .2s ease;
}

.hlxhub-nav-menu .sub-menu a:hover {
    background: #f5f7fa;
    color: #1769ff;
    padding-left: 23px;
}


/* =========================================================
   HOT DEALS
========================================================= */

.hlxhub-hot-deals {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 40px;

    padding: 0 17px;

    background: #fff7ed;

    color: #f26b21;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.hlxhub-hot-deals:hover {
    background: #fff0dc;

    color: #e85c10;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(242,107,33,.15);
}

.hlxhub-hot-deals-icon {
    font-size: 17px;
    line-height: 1;
}


/* =========================================================
   HAMBURGER
   IMPORTANT:
   HIDDEN ON DESKTOP
========================================================= */

.hlxhub-mobile-menu-toggle {
    display: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hlxhub-navigation-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hlxhub-nav-menu {
        gap: 18px;
    }

    .hlxhub-nav-menu > li > a {
        font-size: 13px;
    }

    .hlxhub-hot-deals {
        padding-left: 12px;
        padding-right: 12px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hlxhub-navigation-wrap {
        display: none;
    }

    .hlxhub-mobile-menu-toggle {
        display: inline-flex !important;

        align-items: center;
        justify-content: center;

        flex-direction: column;

        width: 42px;
        height: 42px;

        padding: 7px;

        border: 0;
        border-radius: 8px;

        background: #f4f6f9;

        cursor: pointer;
    }

    .hlxhub-menu-area {
        display: none;
    }

}
/* =========================================================
   DROPDOWN
   ========================================================= */

.hlxhub-primary-menu ul {
	position: absolute;

	top: calc(100% + 8px);
	left: 0;

	min-width: 220px;

	margin: 0;
	padding: 8px;

	list-style: none;

	background: #ffffff;

	border: 1px solid #e5e7eb;

	border-radius: 10px;

	box-shadow:
		0 15px 40px rgba(0, 0, 0, 0.12);

	opacity: 0;
	visibility: hidden;

	transform:
		translateY(8px)
		scale(0.98);

	transform-origin: top center;

	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease;

	z-index: 2000;
}

.hlxhub-primary-menu li:hover > ul {
	opacity: 1;
	visibility: visible;

	transform:
		translateY(0)
		scale(1);
}

.hlxhub-primary-menu ul li {
	position: relative;
}

.hlxhub-primary-menu ul a {
	display: block;

	padding: 10px 12px;

	border-radius: 7px;

	color: #374151;

	font-size: 14px;
	font-weight: 600;

	transition:
		background 0.2s ease,
		color 0.2s ease,
		padding-left 0.2s ease;
}

.hlxhub-primary-menu ul a:hover {
	background: #f2f6ff;
	color: #0d6efd;

	padding-left: 17px;
}

.hlxhub-primary-menu ul ul {
	top: -8px;
	left: calc(100% + 8px);
}


/* =========================================================
   HOT DEAL
   ========================================================= */

.hlxhub-nav-deal a {
	display: inline-flex;
	align-items: center;

	gap: 7px;

	padding: 8px 13px;

	background: #fff7ed;

	color: #ea580c;

	border-radius: 7px;

	font-size: 13px;
	font-weight: 800;

	white-space: nowrap;

	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.hlxhub-nav-deal a:hover {
	background: #ffedd5;

	transform: translateY(-2px);
}

.hlxhub-deal-icon {
	width: 18px;
	height: 18px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.hlxhub-deal-icon svg {
	width: 18px;
	height: 18px;
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

.hlxhub-mobile-header {
	display: none;

	background: #ffffff;

	border-bottom: 1px solid #e5e7eb;

	position: relative;
	z-index: 1005;
}

.hlxhub-mobile-header-inner {
	min-height: 58px;

	padding: 0 14px;

	display: grid;

	grid-template-columns: 42px 1fr 42px;

	align-items: center;

	gap: 8px;
}

.hlxhub-mobile-logo {
	text-align: center;
}

.hlxhub-mobile-text-logo {
	font-size: 24px;
}

.hlxhub-mobile-menu-toggle {
	width: 40px;
	height: 40px;

	padding: 8px;

	display: flex;
	flex-direction: column;

	align-items: center;
	justify-content: center;

	gap: 5px;

	border: 0;
	border-radius: 8px;

	background: transparent;
	color: #111827;
}

.hlxhub-mobile-menu-toggle:hover {
	background: #f3f4f6;
}

.hlxhub-mobile-menu-toggle span {
	display: block;

	width: 22px;
	height: 2px;

	background: currentColor;

	border-radius: 2px;

	transition:
		transform 0.25s ease,
		opacity 0.25s ease;
}

.hlxhub-mobile-menu-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.hlxhub-mobile-menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.hlxhub-mobile-menu-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.hlxhub-mobile-search-button {
	width: 40px;
	height: 40px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 8px;

	color: #111827;

	transition:
		background 0.25s ease,
		color 0.25s ease;
}

.hlxhub-mobile-search-button:hover {
	background: #f3f4f6;
	color: #0d6efd;
}

.hlxhub-mobile-search-button svg {
	width: 21px;
	height: 21px;
}


/* =========================================================
   MOBILE PANEL
   ========================================================= */

.hlxhub-mobile-panel {
	position: fixed;

	top: 0;
	bottom: 0;
	left: 0;

	width: min(330px, 88vw);
	height: 100vh;

	background: #ffffff;

	box-shadow:
		15px 0 40px rgba(0, 0, 0, 0.15);

	transform: translateX(-105%);

	transition:
		transform 0.35s cubic-bezier(.22,1,.36,1);

	z-index: 1100;

	overflow-y: auto;
}

.hlxhub-mobile-panel.is-open {
	transform: translateX(0);
}

.hlxhub-mobile-panel-header {
	height: 60px;

	padding: 0 16px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	border-bottom: 1px solid #e5e7eb;
}

.hlxhub-mobile-panel-header strong {
	font-size: 17px;
	color: #111827;
}

.hlxhub-mobile-close {
	width: 36px;
	height: 36px;

	border: 0;
	border-radius: 7px;

	background: #f3f4f6;

	color: #111827;

	font-size: 25px;
	line-height: 1;

	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.hlxhub-mobile-close:hover {
	background: #e5e7eb;

	transform: rotate(90deg);
}


/* MOBILE SEARCH */

.hlxhub-mobile-search {
	padding: 14px;

	border-bottom: 1px solid #e5e7eb;
}

.hlxhub-mobile-search form {
	display: flex;
	gap: 6px;
}

.hlxhub-mobile-search input {
	min-width: 0;

	height: 42px;

	padding: 0 10px;

	border: 1px solid #dfe3e8;
	border-radius: 7px;

	outline: 0;
}

.hlxhub-mobile-search button {
	height: 42px;

	padding: 0 11px;

	border: 0;
	border-radius: 7px;

	background: #0d6efd;
	color: #ffffff;

	font-size: 13px;
	font-weight: 700;
}


/* MOBILE MENU */

.hlxhub-mobile-menu,
.hlxhub-fallback-menu {
	list-style: none;

	margin: 0;
	padding: 8px 14px;
}

.hlxhub-mobile-menu li,
.hlxhub-fallback-menu li {
	border-bottom: 1px solid #f0f1f3;
}

.hlxhub-mobile-menu a,
.hlxhub-fallback-menu a {
	display: block;

	padding: 13px 5px;

	color: #374151;

	font-weight: 600;
}

.hlxhub-mobile-menu a:hover,
.hlxhub-fallback-menu a:hover {
	color: #0d6efd;

	padding-left: 10px;
}


/* QUICK LINKS */

.hlxhub-mobile-quick-links {
	padding: 14px;

	display: grid;

	grid-template-columns: repeat(3, 1fr);

	gap: 7px;
}

.hlxhub-mobile-quick-links a {
	padding: 10px 5px;

	text-align: center;

	border-radius: 7px;

	background: #f5f7fa;

	color: #374151;

	font-size: 12px;
	font-weight: 700;
}

.hlxhub-mobile-quick-links a:hover {
	background: #eaf2ff;
	color: #0d6efd;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.hlxhub-mobile-overlay {
	position: fixed;

	inset: 0;

	background: rgba(0, 0, 0, 0.48);

	opacity: 0;
	visibility: hidden;

	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;

	z-index: 1090;
}

.hlxhub-mobile-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.hlxhub-container {
		width: min(
			calc(100% - 24px),
			1000px
		);
	}

	.hlxhub-main-header-inner {
		grid-template-columns:
			180px
			minmax(200px, 1fr)
			auto;

		gap: 15px;
	}

	.hlxhub-header-action {
		min-width: 52px;
	}

	.hlxhub-action-text {
		display: none;
	}

	.hlxhub-primary-menu > li > a {
		padding-inline: 9px;

		font-size: 13px;
	}

	.hlxhub-primary-menu > li > a::after {
		left: 9px;
		right: 9px;
	}

	.hlxhub-nav-deal a {
		padding-inline: 9px;
	}
}


/* =========================================================
   RESPONSIVE - SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

	.hlxhub-topbar-left {
		gap: 0;
	}

	.hlxhub-top-link {
		padding-inline: 6px;

		font-size: 12px;
	}

	.hlxhub-follow-text {
		display: none;
	}

	.hlxhub-main-header,
	.hlxhub-navigation {
		display: none;
	}

	.hlxhub-mobile-header {
		display: block;
	}

	.hlxhub-topbar-inner {
		min-height: 36px;
	}

	.hlxhub-topbar {
		min-height: 36px;
	}
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.hlxhub-container {
		width: calc(100% - 20px);
	}

	.hlxhub-topbar-left {
		overflow-x: auto;

		scrollbar-width: none;
	}

	.hlxhub-topbar-left::-webkit-scrollbar {
		display: none;
	}

	.hlxhub-top-link {
		flex: 0 0 auto;

		font-size: 11px;
	}

	.hlxhub-topbar-right {
		flex: 0 0 auto;

		gap: 2px;
	}

	.hlxhub-social-link {
		width: 24px;
		height: 24px;
	}

	.hlxhub-social-link svg {
		width: 13px;
		height: 13px;
	}

	.hlxhub-mobile-header-inner {
		min-height: 56px;
	}
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

	.hlxhub-topbar-left .hlxhub-top-link:nth-child(4) {
		display: none;
	}

	.hlxhub-mobile-panel {
		width: 88vw;
	}
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.hlxhub-top-link,
	.hlxhub-social-link,
	.hlxhub-header-action,
	.hlxhub-primary-menu ul,
	.hlxhub-mobile-panel,
	.hlxhub-mobile-overlay,
	.hlxhub-mobile-close {
		transition: none !important;
	}
}

/* =========================================================
   HLxHub — Header Filter Button
   Panel stays OUTSIDE header
   ========================================================= */

.hlx-header-search-filter {
	display: flex;
	align-items: center;
	justify-content: center;

	width: auto;
	margin: 0;
	padding: 0;

	background: transparent;
}

/* Only compact button in header */
.hlx-header-search-filter .hlx-search-filters {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

/* Filter button */
.hlx-header-search-filter .hlx-search-filters__trigger {
	width: auto !important;
	min-width: 110px !important;
	height: 40px !important;

	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	padding: 0 14px !important;
	gap: 8px !important;

	background: #fff !important;
	border: none !important;
	border-radius: 10px !important;

	box-shadow: none !important;

	cursor: pointer;
}

/* Icon */
.hlx-header-search-filter .hlx-search-filters__trigger-icon {
	width: 25px !important;
	height: 25px !important;

	display: inline-flex !important;
	align-items: center;
	justify-content: center;

	background: #111;
	color: #fff;

	border-radius: 7px;
}

/* Text */
.hlx-header-search-filter .hlx-search-filters__trigger-text {
	font-size: 13px;
	font-weight: 700;
	color: #111;
}

/* =========================================================
   FILTER PANEL
   Separate from header
   ========================================================= */

.hlx-header-search-filter .hlx-search-filters__panel {
	position: absolute !important;

	top: 100% !important;
	left: 0 !important;
	right: 0 !important;

	width: 100% !important;

	margin: 0 !important;

	background: #fff !important;

	border: none !important;
	border-radius: 0 0 16px 16px !important;

	box-shadow: 0 15px 35px rgba(0, 0, 0, .10) !important;

	z-index: 9999 !important;
}

/* Keep header itself visually clean */
header {
	position: relative;
	z-index: 10000;
}


/* =========================================
   HLxHub — Mobile Navigation Interaction Fix
   Temporary diagnostic override
========================================= */

.hlxhub-mobile-header {
    position: relative;
    z-index: 10000;
}

.hlxhub-mobile-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;

    z-index: 10004;

    background: #ffffff;
    color: #172033;

    -webkit-backdrop-filter: none;
    backdrop-filter: none;

    pointer-events: auto;
    isolation: isolate;

    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.hlxhub-mobile-panel a,
.hlxhub-mobile-panel button,
.hlxhub-mobile-panel input {
    pointer-events: auto;
}

.hlxhub-mobile-panel .hlxhub-mobile-menu-list,
.hlxhub-mobile-panel .hlxhub-mobile-menu,
.hlxhub-mobile-panel .hlxhub-mobile-menu li {
    position: relative;
    pointer-events: auto;
}

.hlxhub-mobile-panel .hlxhub-mobile-menu a {
    display: block;
    position: relative;
    color: #172033;
    text-decoration: none;
    cursor: pointer;
}

.hlxhub-mobile-panel .hlxhub-mobile-panel-header {
    position: relative;
    background: #ffffff;
}

.hlxhub-mobile-panel .hlxhub-mobile-close {
    position: relative;
    z-index: 2;
    cursor: pointer;
    touch-action: manipulation;
}


/* Overlay stays behind the drawer */
.hlxhub-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 10003;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease,
                visibility 200ms ease;
}

.hlxhub-mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Drawer stays above the overlay */
.hlxhub-mobile-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10001;
    background: #fff;
    color: #172033;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Menu links remain interactive */
.hlxhub-mobile-panel a {
    position: relative;
    pointer-events: auto;
    color: #172033;
    cursor: pointer;
}


/* ==========================================
   HLxHub — Mobile Nested Category Accordion
========================================== */

@media (max-width: 900px) {

    .hlxhub-mobile-menu,
    .hlxhub-mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /* All nested categories start closed. */
    .hlxhub-mobile-panel .hlxhub-mobile-menu .sub-menu {
        display: none;
        position: static;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;

        width: 100%;
        max-width: none;
        max-height: none;
        overflow: visible;

        margin: 4px 0 8px;
        padding: 4px 0 4px 14px;

        border: 0;
        border-left: 2px solid #dbeafe;
        border-radius: 0;
        box-shadow: none;
        background: #f8faff;
    }

    /* Reveal only the submenu belonging to the open item. */
    .hlxhub-mobile-panel
    .hlxhub-mobile-menu
    .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }

    /* Make category links easy to tap. */
    .hlxhub-mobile-panel .hlxhub-mobile-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;

        min-height: 46px;
        padding: 12px 14px;

        color: #172033;
        background: transparent;
        text-decoration: none;
        cursor: pointer;
        pointer-events: auto;
    }

    /* Chevron indicator for expandable categories. */
    .hlxhub-mobile-panel
    .hlxhub-mobile-menu
    .menu-item-has-children > a::after {
        content: "";
        flex: 0 0 8px;
        width: 8px;
        height: 8px;
        margin-left: auto;

        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;

        transform: rotate(45deg);
        transition: transform 180ms ease;
    }

    .hlxhub-mobile-panel
    .hlxhub-mobile-menu
    .menu-item-has-children.is-open > a::after {
        transform: rotate(225deg);
    }

    /* Subcategories have a subtle nested appearance. */
    .hlxhub-mobile-panel
    .hlxhub-mobile-menu
    .sub-menu a {
        min-height: 42px;
        font-size: 14px;
    }
}


/* =========================================================
   HLxHub — FINAL HEADER & NAVIGATION LAYER FIX
   Keep navigation above search-page content.
========================================================= */

/* Header system */
.hlxhub-header {
    position: relative;
    z-index: 10010;
}

/* Desktop top bar */
.hlxhub-topbar {
    position: relative;
    z-index: 10012;
}

/* Desktop main header */
.hlxhub-main-header {
    position: relative;
    z-index: 10011;
}

/* Desktop navigation — override old z-index: 999 */
.hlxhub-navigation-wrap {
    position: relative;
    z-index: 10010;
}

/* Keep dropdown menus above nearby content */
.hlxhub-nav-menu > li {
    position: relative;
}

.hlxhub-nav-menu .sub-menu {
    z-index: 10020;
}

/* =========================================================
   MOBILE HEADER & DRAWER
========================================================= */

@media (max-width: 800px) {

    .hlxhub-main-header,
    .hlxhub-navigation-wrap,
    .hlxhub-navigation {
        display: none !important;
    }

    .hlxhub-mobile-header {
        display: block;
        position: relative;
        z-index: 10030;
        isolation: isolate;
    }

    /* Backdrop must remain below the drawer */
    .hlxhub-mobile-overlay {
        position: fixed;
        inset: 0;
        z-index: 10031;

        background: rgba(15, 23, 42, 0.48);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 200ms ease,
            visibility 200ms ease;
    }

    .hlxhub-mobile-overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Drawer must remain above the backdrop */
    .hlxhub-mobile-panel {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;

        width: min(330px, 88vw);
        height: 100vh;
        height: 100dvh;

        z-index: 10032;

        background: #ffffff;
        color: #172033;

        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(.22, 1, .36, 1);

        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        pointer-events: auto;
        isolation: isolate;
    }

    .hlxhub-mobile-panel.is-open {
        transform: translateX(0);
    }

    .hlxhub-mobile-panel a,
    .hlxhub-mobile-panel button,
    .hlxhub-mobile-panel input {
        pointer-events: auto;
        touch-action: manipulation;
    }
}

/* Desktop: hide mobile-only header and drawer */
@media (min-width: 801px) {
    .hlxhub-mobile-header {
        display: none !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hlxhub-mobile-panel,
    .hlxhub-mobile-overlay {
        transition: none !important;
    }
}



/* =========================================
   HLxHub — Same WordPress Logo on Mobile
   ========================================= */

@media (max-width: 800px) {

    .hlxhub-mobile-logo {
        min-width: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .hlxhub-mobile-logo .custom-logo-link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        line-height: 0;
    }

    .hlxhub-mobile-logo img.custom-logo {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 150px !important;
        max-height: 42px !important;
        object-fit: contain;
        visibility: visible !important;
        opacity: 1 !important;
    }
}



