/* در دسکتاپ و تبلت نمایش داده نشود */
.mobile-bottom-nav {
	display: none;
}

/* فقط صفحه‌های گوشی */
@media screen and (max-width: 767px) {
	.mobile-bottom-nav {
		position: fixed !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		z-index: 999999 !important;
		display: flex !important;
		direction: rtl !important;
		
		/* ارتفاع مناسب برای دسترسی آسان به همراه پدینگ ناحیه امن گوشی‌های ناچ‌دار */
		height: 66px !important;
		padding-bottom: env(safe-area-inset-bottom) !important;
		
		/* افکت شیشه‌ای پیشرفته و فوق‌العاده شفاف */
		background-color: rgba(255, 255, 255, 0.65) !important;
		backdrop-filter: blur(20px) saturate(190%) !important;
		-webkit-backdrop-filter: blur(20px) saturate(190%) !important;
		
		/* هایلایت نوری سفید و بسیار باریک در لبه بالایی شیشه */
		border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
		
		/* سایه بسیار نرم و عمیق که نوار را از صفحه جدا می‌کند */
		box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.04), 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
	}

	.mobile-nav-item {
		display: flex !important;
		flex: 1 1 20% !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 6px !important;
		min-width: 0 !important;
		color: #81858b !important;
		font-size: 10.5px !important;
		font-weight: 600 !important;
		line-height: 1.2 !important;
		text-align: center;
		text-decoration: none !important;
		white-space: nowrap !important;
		transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
		position: relative;

		/* ریست کامل استایل دکمه برای حذف بوردر مشکی، پس‌زمینه و اوت‌لاین */
		background: transparent !important;
		background-color: transparent !important;
		border: none !important;
		outline: none !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
		cursor: pointer;
		-webkit-appearance: none !important;
		appearance: none !important;
		-webkit-tap-highlight-color: transparent !important;
	}

	/* بخش آیکون */
	.mobile-nav-item svg {
		stroke: #81858b;
		stroke-width: 2.3;
		width: 20px;
		height: 20px;
		transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	}

	/* افکت لمس و فعال بودن بدون ایجاد خط/بوردر */
	.mobile-nav-item:active,
	.mobile-nav-item.is-active,
	.mobile-nav-item:focus,
	.mobile-nav-item:focus-visible {
		color: #0c0c0c !important;
		background: transparent !important;
		background-color: transparent !important;
		border: none !important;
		outline: none !important;
		box-shadow: none !important;
	}

	.mobile-nav-item:active svg,
	.mobile-nav-item.is-active svg,
	.mobile-nav-item:focus svg {
		stroke: #0c0c0c !important;
		transform: translateY(-3px) scale(1.1);
	}

	/* پدینگ بدنه سایت برای اینکه محتوای پایین صفحات پشت نوار شیشه‌ای پنهان نشود */
	body {
		padding-bottom: calc(66px + env(safe-area-inset-bottom)) !important;
	}
}

.vmm-dark-overlay {
  position: fixed;
  z-index: 9998;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.40);
  display: none;
  transition: opacity 0.2s;
}

.vmm-dark-overlay.active {
  display: block;
  opacity: 1;
}
