/* Humayein Pixel Sidebar Menu */
.hwsb-widget {
	--hwsb-width: 300px;
	--hwsb-panel-bg: #fff;
	--hwsb-overlay-color: #000;
	--hwsb-overlay-opacity: .55;
	--hwsb-top-offset: 87px;
	position: relative;
	display: inline-flex;
	z-index: 99990;
}

.hwsb-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111;
	font-family: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
}

.hwsb-trigger:hover {
	color: inherit;
}

.hwsb-trigger:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 2px;
}

.hwsb-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.hwsb-icon svg {
	display: block;
	width: 1em;
	height: 1em;
}

.hwsb-icon-close {
	display: none;
}

.hwsb-widget.is-open .hwsb-icon-open {
	display: none;
}

.hwsb-widget.is-open .hwsb-icon-close {
	display: inline-flex;
}

.hwsb-overlay {
	position: fixed;
	inset: var(--hwsb-top-offset) 0 0 0;
	z-index: 99998;
	background: var(--hwsb-overlay-color);
	opacity: var(--hwsb-overlay-opacity);
	visibility: hidden;
	pointer-events: none;
	transition: opacity .22s ease, visibility .22s ease;
}

.hwsb-panel {
	position: fixed;
	top: var(--hwsb-top-offset);
	left: 0;
	width: var(--hwsb-width);
	max-width: 100vw;
	height: calc(100dvh - var(--hwsb-top-offset));
	max-height: calc(100dvh - var(--hwsb-top-offset));
	margin: 0;
	padding: 0;
	z-index: 99999;
	box-sizing: border-box;
	background: var(--hwsb-panel-bg);
	overflow: hidden;
	visibility: hidden;
	transform: translate3d(-102%, 0, 0);
	transition: transform .22s cubic-bezier(.22,.61,.36,1), visibility .22s;
	box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}

.hwsb-panel-inner {
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-family: "Assistant", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
}

.hwsb-widget.is-open .hwsb-overlay {
	visibility: visible;
	pointer-events: auto;
}

.hwsb-widget.is-open .hwsb-panel {
	visibility: visible;
	transform: translate3d(0,0,0);
}

.hwsb-list {
	display: block;
	list-style: none;
	padding: 0;
	margin: 0;
}

.hwsb-item {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hwsb-menu-link,
.hwsb-back {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 36px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #202020;
	font-family: "Assistant", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .015em;
	text-decoration: none;
	text-align: left;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.hwsb-menu-link:hover,
.hwsb-menu-link:focus-visible,
.hwsb-menu-link.is-current {
	background: #f5f5f5;
	color: #202020;
	text-decoration: none;
}

.hwsb-menu-link:focus-visible,
.hwsb-back:focus-visible {
	outline: 1px solid rgba(0,0,0,.18);
	outline-offset: -1px;
}

.hwsb-label {
	min-width: 0;
	flex: 1 1 auto;
}

.hwsb-arrow {
	flex: 0 0 auto;
	margin-left: auto;
	padding-left: 16px;
	font-size: 17px;
	font-weight: 300;
	line-height: 1;
}

.hwsb-submenu {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: var(--hwsb-panel-bg);
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 2;
}

.hwsb-submenu[hidden] {
	display: none;
}

.hwsb-back {
	gap: 10px;
	background: #f7f7f7;
	font-size: 12px;
}

.hwsb-back-arrow {
	flex: 0 0 auto;
	font-size: 16px;
	line-height: 1;
}

.hwsb-back-label {
	flex: 0 1 auto;
}

.hwsb-empty {
	padding: 22px;
	font: 400 14px/1.45 "Assistant", Arial, sans-serif;
	color: #333;
}

@media (max-width: 767px) {
	.hwsb-widget {
		z-index: 99990;
	}

	.hwsb-panel {
		width: min(var(--hwsb-width), 100vw);
	}

	/* Mobile-only fix:
	   the panel/overlay are moved to <body> by JS so Elementor/theme
	   transform/overflow rules cannot clip or hide the fixed drawer. */
	.hwsb-panel.hwsb-mobile-mounted {
		position: fixed !important;
		left: 0 !important;
		top: var(--hwsb-top-offset) !important;
		bottom: auto !important;
		transform: translate3d(-102%, 0, 0) !important;
		visibility: hidden !important;
	}

	.hwsb-panel.hwsb-mobile-mounted.hwsb-mobile-open {
		transform: translate3d(0, 0, 0) !important;
		visibility: visible !important;
	}

	.hwsb-overlay.hwsb-mobile-mounted {
		position: fixed !important;
		top: var(--hwsb-top-offset) !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.hwsb-overlay.hwsb-mobile-mounted.hwsb-mobile-open {
		visibility: visible !important;
		pointer-events: auto !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hwsb-panel,
	.hwsb-overlay {
		transition: none;
	}
}

/* Mobile scrolling remains native; no global overflow lock is used. */
