.vama-cats {
	position: relative;
	z-index: 1100;
}

.vama-cats__trigger {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: #674383;
	color: #fff;
	font-family: Poppins-Medium, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
}

.vama-cats__trigger:hover,
.vama-cats__trigger:focus,
.vama-cats__trigger[aria-expanded="true"] {
	background: #674383;
	color: #fff;
}

.vama-cats__trigger-icon {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	width: 16px;
}

.vama-cats__trigger-icon span {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 1px;
}

.vama-cats__backdrop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1;
	background: transparent;
}

.vama-cats.is-open .vama-cats__backdrop {
	display: block;
}

.vama-cats__panel {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	z-index: 2;
	width: min(1120px, calc(100vw - 32px));
	max-height: min(72vh, 640px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
	overflow: hidden;
	border: 1px solid #eef0f4;
	pointer-events: auto;
}

.vama-cats.is-open .vama-cats__panel {
	display: flex;
}

.vama-cats__sidebar {
	flex: 0 0 260px;
	max-width: 260px;
	background: #fafbfc;
	border-inline-end: 1px solid #eef0f4;
	overflow-y: auto;
	padding: 8px 0;
}

.vama-cats__side-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 16px;
	border: 0;
	background: transparent;
	color: #333;
	font-family: Poppins-Regular, sans-serif;
	font-size: 14px;
	text-align: start;
	cursor: pointer;
	position: relative;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.vama-cats__side-item:hover,
.vama-cats__side-item.is-active {
	background: #fff;
	color: #333;
	font-family: Poppins-Medium, sans-serif;
}

.vama-cats__side-item.is-active::before {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	top: 8px;
	bottom: 8px;
	width: 3px;
	border-radius: 3px 0 0 3px;
	background: #333;
}

[dir="rtl"] .vama-cats__side-item.is-active::before {
	border-radius: 0 3px 3px 0;
}

.vama-cats__side-icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-size: 18px;
}

.vama-cats__side-item.is-active .vama-cats__side-icon {
	color: #64748b;
}

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

.vama-cats__side-chevron {
	color: #94a3b8;
	font-size: 16px;
}

.vama-cats__content {
	flex: 1 1 auto;
	min-width: 0;
	overflow-y: auto;
	padding: 18px 22px 22px;
	background: #fff;
}

.vama-cats__pane {
	display: none;
}

.vama-cats__pane.is-active {
	display: block;
}

.vama-cats__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	color: #333;
	font-family: Poppins-Medium, sans-serif;
	font-size: 13px;
	text-decoration: none;
}

.vama-cats__all:hover {
	color: #333;
	text-decoration: none;
}

.vama-cats__columns {
	column-count: 4;
	column-gap: 28px;
}

.vama-cats__group {
	break-inside: avoid;
	page-break-inside: avoid;
	margin-bottom: 22px;
}

.vama-cats__group-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: #333;
	font-family: Poppins-Medium, sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.vama-cats__group-title::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 14px;
	border-radius: 2px;
	background: #333;
}

.vama-cats__group-title:hover {
	color: #333;
	text-decoration: none;
}

.vama-cats__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vama-cats__links a {
	display: block;
	padding: 4px 0;
	color: #334155;
	font-family: Poppins-Regular, sans-serif;
	font-size: 13px;
	line-height: 1.6;
	text-decoration: none;
}

.vama-cats__links a:hover {
	color: #334155;
}

.vama-cats__empty {
	color: #64748b;
	font-size: 13px;
	margin: 0;
}

[dir="rtl"] .vama-cats__trigger,
[dir="rtl"] .vama-cats__side-item,
[dir="rtl"] .vama-cats__all,
[dir="rtl"] .vama-cats__group-title,
[dir="rtl"] .vama-cats__links a {
	font-family: "Vazirmatn", Arial, sans-serif;
}

.limiter-menu-desktop {
	gap: 16px;
	overflow: visible;
}

.wrap-menu-desktop {
	overflow: visible;
}

.header-desktop__nav .vama-cats {
	flex: 0 0 auto;
}

[dir="ltr"] .vama-cats__side-chevron,
[dir="ltr"] .vama-cats__all .zmdi-chevron-left,
[dir="ltr"] .vama-cats__group-title .zmdi-chevron-left {
	transform: scaleX(-1);
}

@media (max-width: 1199.98px) {
	.vama-cats__columns {
		column-count: 3;
	}
}

@media (max-width: 991.98px) {
	.vama-cats--desktop {
		display: none !important;
	}

	.vama-cats-mobile {
		border-bottom: 1px solid #eee;
	}

	.vama-cats-mobile__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 14px 20px;
		border: 0;
		background: #fff;
		color: #333;
		font-size: 15px;
		font-weight: 600;
		text-align: start;
	}

	.vama-cats-mobile__list {
		display: none;
		list-style: none;
		margin: 0;
		padding: 0 0 10px;
		background: #fafbfc;
	}

	.vama-cats-mobile.is-open .vama-cats-mobile__list {
		display: block;
	}

	.vama-cats-mobile__root > a,
	.vama-cats-mobile__child > a,
	.vama-cats-mobile__leaf > a {
		display: block;
		padding: 10px 24px;
		color: #334155;
		text-decoration: none;
		font-size: 14px;
	}

	.vama-cats-mobile__child > a {
		padding-inline-start: 36px;
		font-weight: 600;
		color: #334155;
	}

	.vama-cats-mobile__leaf > a {
		padding-inline-start: 48px;
		font-size: 13px;
	}

	[dir="rtl"] .vama-cats-mobile__toggle,
	[dir="rtl"] .vama-cats-mobile__root > a,
	[dir="rtl"] .vama-cats-mobile__child > a,
	[dir="rtl"] .vama-cats-mobile__leaf > a {
		font-family: "Vazirmatn", Arial, sans-serif;
	}
}

@media (min-width: 992px) {
	.vama-cats-mobile {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	.vama-cats__panel {
		width: calc(100vw - 24px);
	}

	.vama-cats__columns {
		column-count: 2;
	}
}
