/* start fixed contact — style1 (legacy .fixed_call aliases) */
.fixed_call,
.ptik-fixed-call {
	position: fixed;
	left: 25px;
	bottom: 20px;
	z-index: 1010;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-72px);
	transition:
		opacity 0.65s ease,
		visibility 0.65s ease,
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* hidden را نگه می‌داریم (دسترسی) ولی display را برای ترانزیشن باز می‌کنیم */
.fixed_call[hidden],
.ptik-fixed-call[hidden] {
	display: block !important;
}

.fixed_call.fixed_call_show,
.fixed_call.ptik-fixed-call_show,
.ptik-fixed-call.ptik-fixed-call_show,
.ptik-fixed-call.fixed_call_show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(0);
}

.fixed_call_box,
.ptik-fixed-call__box {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--secondary, #6c757d);
	position: relative;
	animation: ptik-jump-shaking 3s infinite;
	cursor: pointer;
	box-shadow: 6px 7px 28px -12px rgba(16, 16, 16, 0.3);
	border: none;
	padding: 0;
	transition: box-shadow 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
}

.ptik-fixed-call__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 0;
}

.ptik-fixed-call__box::before,
.ptik-fixed-call__box::after {
	content: '';
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: inherit;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all 0.4s ease;
	opacity: 0;
	visibility: hidden;
}

.ptik-fixed-call__box:hover::before,
.ptik-fixed-call__box.is_open::before {
	opacity: 0.2;
	visibility: visible;
	transform: scale(1.2);
}

.ptik-fixed-call__box:hover::after,
.ptik-fixed-call__box.is_open::after {
	opacity: 0.1;
	visibility: visible;
	transform: scale(1.4);
}

.ptik-fixed-call__box:hover,
.ptik-fixed-call__box.is_open {
	box-shadow: none;
	animation: unset;
}

.fixed_call_box svg,
.fixed_call_item svg,
.ptik-fixed-call__box svg,
.ptik-fixed-call__item svg {
	fill: #fff;
	stroke: #fff;
	width: 26px;
	height: 26px;
	margin: 0;
	display: block;
	flex-shrink: 0;
	vertical-align: middle;
	transition: fill 0.35s ease, stroke 0.35s ease;
}

@keyframes ptik-jump-shaking {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateY(-9px);
	}
	35% {
		transform: translateY(-9px) rotate(17deg);
	}
	55% {
		transform: translateY(-9px) rotate(-17deg);
	}
	65% {
		transform: translateY(-9px) rotate(17deg);
	}
	75% {
		transform: translateY(-9px) rotate(-17deg);
	}
	100% {
		transform: translateY(0) rotate(0);
	}
}

.ptik-fixed-call__items {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 75px;
	bottom: 80px;
	left: 0;
	overflow: hidden;
	height: 0;
}

.ptik-fixed-call__items.ptik-fc-items-open {
	height: auto;
}

.ptik-fixed-call__items.ptik-fc-items-open {
	overflow: visible;
}

.fixed_call_item,
.ptik-fixed-call__item {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-top: 7px;
	box-shadow: 6px 7px 28px -12px rgba(16, 16, 16, 0.3);
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.4s ease, opacity 0.35s ease, box-shadow 0.4s ease;
	opacity: 0;
	visibility: hidden;
	text-decoration: none;
}

.ptik-fixed-call__item.ptik-fc-visible {
	opacity: 1;
	visibility: visible;
}

.ptik-fixed-call__item--icon-whatsapp {
	background: var(--green1, #25d366);
}

.ptik-fixed-call__item--icon-call {
	background: var(--third, #0d6efd);
}

.ptik-fixed-call__item--icon-telegram {
	background: #0088cc;
}

.ptik-fixed-call__item--icon-bale {
	background: #00b894;
}

.ptik-fixed-call__item--icon-eitaa {
	background: #ef7f1a;
}

.ptik-fixed-call__item--icon-linkedin {
	background: #0a66c2;
}

.ptik-fixed-call__item--icon-facebook {
	background: #1877f2;
}

.ptik-fixed-call__item--icon-instagram {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.ptik-fixed-call__item--icon-youtube {
	background: #ff0000;
}

.ptik-fixed-call__item--icon-pinterest {
	background: #bd081c;
}

.ptik-fixed-call__item--icon-rubika {
	background: #fff;
}

.ptik-fixed-call__icon-img,
.ptik-fixed-call__item img.ptik-fixed-call__icon-img {
	display: block;
	flex-shrink: 0;
	width: 26px !important;
	height: 26px !important;
	min-width: 26px;
	min-height: 26px;
	max-width: 26px;
	max-height: 26px;
	object-fit: contain;
	margin: 0;
}

.fixed_call_item:hover,
.ptik-fixed-call__item:hover {
	transform: scale(0.9);
	box-shadow: 6px 7px 28px -12px rgba(16, 16, 16, 0.45);
}

.ptik-fixed-call__icon--close {
	display: none;
}

.ptik-fixed-call__box.is_open .ptik-fixed-call__icon--open {
	display: none;
}

.ptik-fixed-call__box.is_open .ptik-fixed-call__icon--close {
	display: flex;
}

.ptik-fixed-call__item--desktop,
.ptik-fixed-call__item--mobile,
.ptik-fixed-call__item--all {
	display: flex;
}

@media (min-width: 769px) {
	.ptik-fixed-call__item--mobile {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.ptik-fixed-call__item--desktop {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fixed_call,
	.ptik-fixed-call,
	.ptik-fixed-call__item,
	.ptik-fixed-call__box svg,
	.ptik-fixed-call__item svg {
		transition: none;
	}

	.ptik-fixed-call__box {
		animation: none;
	}
}

/* style2 — ptik-fc-style2 (شکل پرتال، کلاس‌های خودمان) */
.ptik-fc-style2 {
	position: fixed;
	bottom: 35px;
	z-index: 1010;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.ptik-fc-style2[hidden] {
	display: block !important;
}

.ptik-fc-style2.ptik-fc-style2_show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ptik-fc-style2--left {
	left: 35px;
	right: auto;
}

.ptik-fc-style2--right {
	right: 35px;
	left: auto;
}

.ptik-fc-style2-btn-stack {
	position: relative;
	width: 54px;
	height: 54px;
}

.ptik-fc-style2-btn {
	background: var(--primary, #086192);
	color: #fff !important;
	box-shadow:
		0 2px 5px rgba(255, 255, 255, 0.25),
		0 5px 15px color-mix(in srgb, var(--primary, #086192) 35%, transparent);
	height: 54px;
	width: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	position: absolute;
	inset: 0;
	z-index: 2;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
	animation: ptik-fc-pulse-primary 2s infinite;
}

.ptik-fc-style2-btn img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.ptik-fc-style2-btn--whatsapp {
	position: relative;
	background: var(--green1, #25d366);
	box-shadow:
		0 2px 5px rgba(255, 255, 255, 0.25),
		0 5px 15px rgba(37, 211, 102, 0.35);
	animation-name: ptik-fc-pulse-whatsapp;
}

.ptik-fc-style2-btn--whatsapp .bi {
	font-size: 22px;
	line-height: 1;
}

.ptik-fc-style2-tooltip {
	position: absolute;
	right: 0;
	bottom: 100%;
	margin-bottom: 15px;
	z-index: 1;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 3px 20px rgba(25, 63, 125, 0.15);
	padding: 10px 15px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	white-space: nowrap;
}

.ptik-fc-style2-tooltip::before {
	content: '';
	position: absolute;
	bottom: -6px;
	right: 21px;
	width: 12px;
	height: 12px;
	transform: rotate(45deg);
	border-radius: 0 0 4px 0;
	background-color: inherit;
}

.ptik-fc-style2-tooltip__link,
.ptik-fc-style2-tooltip__link:hover,
.ptik-fc-style2-tooltip__link:focus {
	color: #4e515d;
	letter-spacing: 1.2px;
	text-decoration: none;
}

.ptik-fc-style2--left .ptik-fc-style2-tooltip {
	left: 0;
	right: auto;
}

.ptik-fc-style2--left .ptik-fc-style2-tooltip::before {
	left: 21px;
	right: auto;
}

.ptik-fc-style2-btn--mobile {
	display: none !important;
}

.ptik-fc-style2-btn--desktop {
	display: flex !important;
}

.ptik-fc-style2-tooltip__link--mobile {
	display: none;
}

.ptik-fc-style2-tooltip__link--desktop {
	display: inline;
}

@media (max-width: 768px) {
	.ptik-fc-style2-btn--desktop {
		display: none !important;
	}

	.ptik-fc-style2-btn--mobile {
		display: flex !important;
	}

	.ptik-fc-style2-tooltip__link--desktop {
		display: none;
	}

	.ptik-fc-style2-tooltip__link--mobile {
		display: inline;
	}
}

.ptik-fc-style2-stack {
	position: relative;
	width: 54px;
	height: 54px;
	flex-shrink: 0;
}

.ptik-fc-style2-stack .ptik-fixed-call__items.ptik-fixed-call__items--style2-wa {
	position: absolute;
	top: auto;
	left: 0;
	right: 0;
	bottom: 54px;
	width: 54px;
	max-width: 54px;
	margin: 0;
	padding: 0 0 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
	height: 0;
	z-index: 3;
	box-sizing: border-box;
}

.ptik-fc-style2-stack .ptik-fixed-call__items--style2-wa.ptik-fc-items-open {
	overflow: visible;
	height: auto;
}

.ptik-fc-style2--right .ptik-fixed-call__item {
	box-sizing: border-box;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	min-width: 54px;
	min-height: 54px;
	margin: 0 0 8px;
	border-radius: 50%;
	color: #fff;
}

.ptik-fc-style2--right .ptik-fixed-call__item:last-child {
	margin-bottom: 0;
}

.ptik-fc-style2--right .ptik-fixed-call__item svg {
	display: block;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	margin: 0;
	color: #fff;
	fill: #fff;
	stroke: #fff;
}

.ptik-fc-style2--right .ptik-fixed-call__item svg path,
.ptik-fc-style2--right .ptik-fixed-call__item svg circle,
.ptik-fc-style2--right .ptik-fixed-call__item svg use {
	fill: #fff !important;
	stroke: #fff !important;
	color: #fff !important;
}

.ptik-fc-style2-btn--whatsapp .ptik-fc-style2-btn__icon {
	font-size: 22px;
	line-height: 1;
}

.ptik-fc-style2-btn--whatsapp.is_open .ptik-fc-style2-btn__icon--open {
	display: none !important;
}

.ptik-fc-style2-btn--whatsapp.is_open .ptik-fc-style2-btn__icon--close {
	display: block !important;
}

.ptik-fc-style2-btn--whatsapp .ptik-fc-style2-btn__icon--close {
	display: none;
	font-size: 25px;
}

.ptik-fc-style2-btn--whatsapp.is_open .ptik-fc-style2-btn__icon--close {
	font-size: 25px;
}

.ptik-fc-style2--right .ptik-fixed-call__item img.ptik-fixed-call__icon-img {
	width: 26px !important;
	height: 26px !important;
}

.ptik-fc-style2--right .ptik-fc-style2-btn--whatsapp {
	position: relative;
	z-index: 2;
}

@media (max-width: 992px) {
	.ptik-fc-style2 {
		bottom: 100px;
	}

	.ptik-fc-style2--left {
		left: 20px;
	}

	.ptik-fc-style2--right {
		right: 20px;
	}
}

@keyframes ptik-fc-pulse-primary {
	0% {
		box-shadow:
			0 2px 5px rgba(255, 255, 255, 0.25),
			0 5px 15px color-mix(in srgb, var(--primary, #086192) 35%, transparent),
			0 0 0 0 color-mix(in srgb, var(--primary, #086192) 45%, transparent);
	}
	70% {
		box-shadow:
			0 2px 5px rgba(255, 255, 255, 0.25),
			0 5px 15px color-mix(in srgb, var(--primary, #086192) 35%, transparent),
			0 0 0 16px transparent;
	}
	100% {
		box-shadow:
			0 2px 5px rgba(255, 255, 255, 0.25),
			0 5px 15px color-mix(in srgb, var(--primary, #086192) 35%, transparent),
			0 0 0 0 transparent;
	}
}

@keyframes ptik-fc-pulse-whatsapp {
	0% {
		box-shadow:
			0 2px 5px rgba(255, 255, 255, 0.25),
			0 5px 15px rgba(37, 211, 102, 0.35),
			0 0 0 0 rgba(37, 211, 102, 0.45);
	}
	70% {
		box-shadow:
			0 2px 5px rgba(255, 255, 255, 0.25),
			0 5px 15px rgba(37, 211, 102, 0.35),
			0 0 0 16px transparent;
	}
	100% {
		box-shadow:
			0 2px 5px rgba(255, 255, 255, 0.25),
			0 5px 15px rgba(37, 211, 102, 0.35),
			0 0 0 0 transparent;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ptik-fc-style2-btn {
		animation: none;
	}
}

/* end fixed contact */