/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 17 2026 | 00:07:27 */
/* ==========================================================================
   MetNet Premium Floating Action Widget
   External/Separate CSS — V4.9.0

   تغییرات V4.9.0 نسبت به V4.8.1:
   - فیکس باگ پالس: contain: layout paint باعث clip شدن حلقه دوم
     (شبه‌المان ::after با تأخیر ۱.۶ ثانیه) به باکس خود پالس می‌شد؛
     در نتیجه به‌جای دو موج مستقل فقط یک حلقه دیده می‌شد.
   - محدود کردن rule جبران ارتفاع تولبار وودمارت به موبایل/تبلت
     (قبلاً بدون media query بود؛ اگر روزی کلاس wd-toolbar-enabled
     روی body می‌آمد، FAB در دسکتاپ هم به bottom:95px می‌پرید).
   - حذف CSS بلااستفاده بله و روبیکا (mn-brand-bg-bale / mn-brand-bg-rubika)
     هم‌راستا با حذف این دو آیتم از HTML.
   ========================================================================== */

.mn-brand-fab-container,
.mn-brand-fab-container * {
	box-sizing: border-box;
}

.mn-brand-fab-container {
	--mn-navy-base: #1c39bb;
	--mn-accent-magenta: #c92c89;
	--mn-accent-purple: #38117a;
	--mn-shadow-telecom: rgba(28, 57, 187, 0.15);

	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 2147483543;

	display: flex;
	flex-direction: row;
	align-items: center;

	direction: rtl;
	isolation: isolate;

	font-family:
		var(--wd-text-font),
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		sans-serif;
}

/* ==========================================================================
   Mobile Backdrop
   ========================================================================== */

.mn-brand-fab-backdrop {
	position: fixed;
	inset: 0;
	z-index: 2147483542;

	background: rgba(20, 24, 46, 0.42);

	opacity: 0;
	visibility: hidden;

	transition:
		opacity 0.28s ease,
		visibility 0.28s ease;

	-webkit-tap-highlight-color: transparent;
}

.mn-brand-fab-backdrop.is-active {
	opacity: 1;
	visibility: visible;
}

@media (min-width: 1025px) {
	.mn-brand-fab-backdrop {
		display: none !important;
	}
}

/* ==========================================================================
   Pointer Handling
   ========================================================================== */

.mn-brand-fab-btn-wrapper,
.mn-brand-fab-panel,
.mn-brand-fab-label {
	pointer-events: auto;
}

/* ==========================================================================
   Woodmart Toolbar (فقط موبایل/تبلت — تولبار در دسکتاپ نمایش داده نمی‌شود)
   ========================================================================== */

@media (max-width: 1024px) {

	body.wd-toolbar-enabled .mn-brand-fab-container,
	body.woodmart-toolbar-enabled .mn-brand-fab-container {
		bottom: 95px;
	}
}

/* ==========================================================================
   Button Wrapper
   ========================================================================== */

.mn-brand-fab-btn-wrapper {
	position: relative;

	width: 65px;
	height: 65px;

	display: flex;
	align-items: center;
	justify-content: center;

	z-index: 3;
}

/* ==========================================================================
   Pulse
   نکته مهم: اینجا عمداً از contain استفاده نشده است؛
   contain: paint خروجی ::after (حلقه دوم) را به باکس همین المان
   clip می‌کرد و افکت دو-موجی از بین می‌رفت.
   ========================================================================== */

.mn-brand-fab-pulse {
	position: absolute;
	inset: -2px;

	border-radius: 50%;

	background: var(--mn-navy-base);

	opacity: 0.3;
	pointer-events: none;

	transform: scale(1);

	animation:
		mn-brand-pulse
		3.2s
		cubic-bezier(0.16, 1, 0.3, 1)
		infinite;
}

.mn-brand-fab-pulse::after {
	content: "";

	position: absolute;
	inset: 0;

	border-radius: 50%;

	background: var(--mn-accent-purple);

	opacity: 0.3;

	transform: scale(1);

	animation:
		mn-brand-pulse
		3.2s
		cubic-bezier(0.16, 1, 0.3, 1)
		infinite;

	animation-delay: 1.6s;
}

@keyframes mn-brand-pulse {
	0% {
		transform: scale(1);
		opacity: 0.3;
	}

	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

/* ==========================================================================
   Main Button
   ========================================================================== */

button.mn-brand-fab-btn,
.mn-brand-fab-container button.mn-brand-fab-btn,
.mn-brand-fab-container.is-active button.mn-brand-fab-btn {
	appearance: none !important;
	-webkit-appearance: none !important;

	width: 65px !important;
	height: 65px !important;

	min-width: 65px !important;
	min-height: 65px !important;
	max-width: 65px !important;
	max-height: 65px !important;

	padding: 0 !important;
	margin: 0 !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	position: relative !important;
	z-index: 2;

	background: var(--mn-navy-base) !important;
	color: #fff !important;

	border: 2px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 50% !important;

	box-shadow:
		0 4px 10px var(--mn-shadow-telecom) !important;

	cursor: pointer !important;

	outline: none !important;

	touch-action: manipulation;
	user-select: none;

	-webkit-tap-highlight-color: transparent;

	contain: layout style;

	clip-path: circle(50% at 50% 50%) !important;
	-webkit-clip-path: circle(50% at 50% 50%) !important;

	transition:
		transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		background-color 0.28s ease,
		border-color 0.28s ease,
		box-shadow 0.28s ease !important;
}

/* ==========================================================================
   Focus
   ========================================================================== */

button.mn-brand-fab-btn:focus-visible {
	outline: 3px solid var(--mn-navy-base) !important;
	outline-offset: 3px !important;

	box-shadow:
		0 0 0 6px rgba(28, 57, 187, 0.4) !important;
}

/* ==========================================================================
   Button Icons
   ========================================================================== */

button.mn-brand-fab-btn svg {
	position: absolute !important;

	width: 26px !important;
	height: 26px !important;

	z-index: 4 !important;

	transition:
		transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.28s ease !important;
}

.mn-icon-phone-primary {
	opacity: 1 !important;

	transform: scale(1) !important;

	fill: none !important;

	stroke: #fff !important;
	stroke-width: 2.2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.mn-icon-close-primary {
	opacity: 0 !important;

	transform: scale(0.5) !important;

	fill: none !important;

	stroke: #fff !important;
	stroke-width: 2.2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

/* ==========================================================================
   Active State
   ========================================================================== */

.mn-brand-fab-container.is-active button.mn-brand-fab-btn {
	background: #ef4444 !important;
	border-color: #ef4444 !important;

	box-shadow:
		0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

.mn-brand-fab-container.is-active .mn-icon-phone-primary {
	opacity: 0 !important;
	transform: scale(0) !important;
}

.mn-brand-fab-container.is-active .mn-icon-close-primary {
	opacity: 1 !important;
	transform: scale(1) !important;
}

.mn-brand-fab-container.is-active .mn-brand-fab-pulse {
	display: none !important;
}

/* ==========================================================================
   Floating Label
   ========================================================================== */

.mn-brand-fab-label {
	background: #fff;

	color: var(--mn-navy-base);

	font-weight: 700;
	font-size: 0.9rem;

	padding: 11px 20px;

	border-radius: 30px;

	margin-right: 12px;

	border: 1px solid rgba(32, 20, 56, 0.08);

	box-shadow:
		0 4px 10px rgba(32, 20, 56, 0.08);

	white-space: nowrap;

	opacity: 1;
	z-index: 2;

	cursor: pointer;
	user-select: none;
	touch-action: manipulation;

	-webkit-tap-highlight-color: transparent;

	transition:
		opacity 0.28s ease,
		visibility 0.28s ease;
}

.mn-brand-fab-container.is-active .mn-brand-fab-label {
	opacity: 0;
	visibility: hidden;
}

/* ==========================================================================
   Panel
   ========================================================================== */

.mn-brand-fab-panel {
	position: absolute;

	right: 0;
	bottom: 85px;
	left: auto;

	width: 325px;

	padding: 20px;

	background: #fff;

	border: 1px solid rgba(32, 20, 56, 0.1);
	border-radius: 20px;

	box-shadow:
		0 8px 24px rgba(32, 20, 56, 0.12);

	opacity: 0;
	visibility: hidden;

	transform:
		translateY(15px)
		scale(0.96);

	transform-origin: bottom right;

	z-index: 1;

	max-height: calc(100vh - 150px);
	max-height: calc(100dvh - 150px);

	overflow-y: auto;

	overscroll-behavior: contain;

	-webkit-overflow-scrolling: touch;

	scrollbar-width: thin;
	scrollbar-color:
		rgba(32, 20, 56, 0.25)
		transparent;

	transition:
		transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.28s ease,
		visibility 0.28s ease;
}

.mn-brand-fab-container.is-active .mn-brand-fab-panel {
	opacity: 1;
	visibility: visible;

	transform:
		translateY(0)
		scale(1);
}

/* ==========================================================================
   Desktop Glass
   ========================================================================== */

@media (min-width: 1025px) {
	@supports (backdrop-filter: blur(10px)) {
		.mn-brand-fab-panel {
			background: rgba(255, 255, 255, 0.98);

			backdrop-filter: blur(12px);
			-webkit-backdrop-filter: blur(12px);
		}
	}
}

/* ==========================================================================
   Panel Scrollbar
   ========================================================================== */

.mn-brand-fab-panel::-webkit-scrollbar {
	width: 4px;
}

.mn-brand-fab-panel::-webkit-scrollbar-thumb {
	background: rgba(32, 20, 56, 0.2);
	border-radius: 4px;
}

/* ==========================================================================
   Reduced Transparency
   ========================================================================== */

@media (prefers-reduced-transparency: reduce) {
	.mn-brand-fab-panel {
		background: #fff;

		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

/* ==========================================================================
   Panel Header
   ========================================================================== */

.mn-brand-fab-panel .mn-brand-fab-header {
	font-size: 1.05rem;
	font-weight: 800;

	color: var(--mn-navy-base);

	text-align: center;

	margin-bottom: 15px;
	padding-bottom: 15px;

	border-bottom:
		1px dashed rgba(32, 20, 56, 0.1);
}

/* ==========================================================================
   Contact Items
   ========================================================================== */

.mn-brand-fab-item {
	display: flex;
	align-items: center;

	padding: 12px 15px;
	margin-bottom: 10px;

	background: #f8fafc;

	border: 1px solid #f1f5f9;
	border-radius: 14px;

	text-decoration: none;

	touch-action: manipulation;

	-webkit-tap-highlight-color: transparent;

	transition:
		transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
		background-color 0.28s ease,
		border-color 0.28s ease,
		box-shadow 0.28s ease;
}

.mn-brand-fab-item:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Hover
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
	.mn-brand-fab-item:hover {
		background: #fff;

		transform: translateX(-5px);

		border-color:
			rgba(201, 44, 137, 0.3);

		box-shadow:
			0 4px 12px rgba(32, 20, 56, 0.05);
	}
}

/* ==========================================================================
   Icon Box
   ========================================================================== */

.mn-brand-fab-icon-box {
	width: 38px;
	height: 38px;

	aspect-ratio: 1 / 1;

	flex-shrink: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	margin-left: 12px;

	border-radius: 10px;

	color: #fff;
}

.mn-brand-fab-icon-box svg {
	width: 22px;
	height: 22px;

	display: block;
}

/* ==========================================================================
   Platform Colors
   ========================================================================== */

.mn-brand-bg-phone {
	background:
		linear-gradient(135deg, #0ea5e9, #0284c7);
}

.mn-brand-bg-mobile {
	background:
		linear-gradient(135deg, #2563eb, #1d4ed8);
}

.mn-brand-bg-wa {
	background: #25d366;
}

.mn-brand-bg-ig {
	background:
		linear-gradient(
			45deg,
			#f09433,
			#e6683c,
			#dc2743,
			#bc1888
		);
}

.mn-brand-bg-email {
	background:
		linear-gradient(135deg, #ea580c, #c2410c);
}

/* ==========================================================================
   Text
   ========================================================================== */

.mn-brand-fab-text-wrapper {
	display: flex;

	flex-direction: row;

	align-items: center;
	justify-content: space-between;

	flex-grow: 1;

	width: 100%;
}

.mn-brand-fab-text {
	color: #334155;

	font-weight: 700;
	font-size: 0.9rem;

	white-space: nowrap;
}

.mn-brand-fab-num {
	color: #334155;

	font-weight: 800;
	font-size: 0.95rem;

	direction: ltr;

	white-space: nowrap;
}

.mn-brand-fab-center {
	justify-content: center;
}

/* ==========================================================================
   Mobile / Tablet
   ========================================================================== */

@media (max-width: 1024px) {

	.mn-brand-fab-container {
		right: 15px;
		bottom: 95px;
	}

	.mn-brand-fab-btn-wrapper {
		width: 55px;
		height: 55px;
	}

	button.mn-brand-fab-btn,
	.mn-brand-fab-container button.mn-brand-fab-btn,
	.mn-brand-fab-container.is-active button.mn-brand-fab-btn {
		width: 55px !important;
		height: 55px !important;

		min-width: 55px !important;
		min-height: 55px !important;

		max-width: 55px !important;
		max-height: 55px !important;
	}

	button.mn-brand-fab-btn svg {
		width: 24px !important;
		height: 24px !important;
	}

	.mn-brand-fab-label {
		font-size: 0.82rem;

		padding: 8px 16px;

		margin-right: 8px;
	}

	.mn-brand-fab-panel {
		width: 300px;

		max-width:
			calc(100vw - 30px);

		right: 0;
		bottom: 70px;

		padding: 15px;

		max-height:
			calc(100vh - 180px);

		max-height:
			calc(100dvh - 180px);
	}

	.mn-brand-fab-item {
		padding: 10px;
	}

	.mn-brand-fab-text {
		font-size: 0.85rem;
	}

	.mn-brand-fab-num {
		font-size: 0.9rem;
	}
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	.mn-brand-fab-container *,
	.mn-brand-fab-container *::before,
	.mn-brand-fab-container *::after,
	.mn-brand-fab-panel,
	.mn-brand-fab-backdrop {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}
