/* ===== Fars Header ===== */
.fh-header {
	direction: rtl;
	position: relative;
	width: 100%;
	z-index: 999;
	transition: background-color .35s ease, box-shadow .35s ease;
	box-sizing: border-box;
}

.fh-header * {
	box-sizing: border-box;
}

/* حالت استیکی: با position:fixed + یک spacer که ارتفاعش با JS تنظیم میشه
   (این روش برخلاف position:sticky، داخل سکشن‌های المنتور با overflow/transform هم درست کار می‌کنه) */
.fh-header.is-sticky {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
}

/* شکستن هدر از عرض کانتینر المنتور در حالت نرمال، تا عرض هدر دقیقاً معادل حالت استیکی (که fixed و به اندازه‌ی کل viewport است) باشد.
   بدون این، پدینگ صفر در دو حالت به خاطر عرض متفاوت کانتینر ظاهر متفاوتی پیدا می‌کند. */
.fh-header:not(.is-sticky) {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.fh-header-spacer {
	height: 0;
	width: 100%;
	transition: none;
}

.fh-shadow-sticky-yes .fh-header.is-sticky {
	--fh-shadow-sticky-color: rgba(0,0,0,.08);
	--fh-shadow-sticky-blur: 24px;
	box-shadow: 0 4px var(--fh-shadow-sticky-blur) var(--fh-shadow-sticky-color);
}

.fh-shadow-normal-yes .fh-header:not(.is-sticky) {
	--fh-shadow-normal-color: rgba(0,0,0,.08);
	--fh-shadow-normal-blur: 24px;
	box-shadow: 0 4px var(--fh-shadow-normal-blur) var(--fh-shadow-normal-color);
}

.fh-inner {
	width: 100%;
	box-sizing: border-box;
	height: 90px;
	min-height: 90px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	position: relative;
}

/* ===== لوگو (استک با opacity برای جلوگیری از نمایش هم‌زمان، و همیشه وسط‌چین عمودی) ===== */
.fh-logo {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.fh-logo a {
	display: block;
	position: relative;
	text-decoration: none;
	height: 100%;
	width: 140px;
	max-width: 100%;
}

.fh-logo img {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 140px;
	max-width: 100%;
	height: auto;
	margin: 0;
	transition: opacity .3s ease, visibility .3s ease;
}

.fh-logo-sticky {
	opacity: 0;
	visibility: hidden;
}

.fh-logo-normal {
	opacity: 1;
	visibility: visible;
}

.fh-header.is-sticky .fh-logo-normal {
	opacity: 0;
	visibility: hidden;
}

.fh-header.is-sticky .fh-logo-sticky {
	opacity: 1;
	visibility: visible;
}

.fh-logo-mobile {
	display: none;
}

/* ===== منو دسکتاپ ===== */
.fh-menu {
	flex: 1;
	display: flex;
	justify-content: center;
}

.fh-menu-list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0;
}

.fh-menu-list > li {
	position: relative;
}

.fh-menu-list > li > a {
	position: relative;
	display: inline-block;
	padding: 10px 2px;
	font-size: 15px;
	font-weight: 600;
	color: #1c1c1c;
	text-decoration: none;
	letter-spacing: .2px;
	transition: color .25s ease;
}

.fh-menu-list > li > a::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 4px;
	width: 0;
	height: 2px;
	background-color: #c9a24b;
	transition: width .3s ease;
}

.fh-menu-list > li:hover > a::after,
.fh-menu-list > li.current-menu-item > a::after {
	width: 100%;
}

/* زیرمنو دسکتاپ */
.fh-menu-list ul {
	list-style: none;
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	min-width: 220px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 44px rgba(0,0,0,.14);
	padding: 10px 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
	z-index: 10;
}

.fh-menu-list li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.fh-menu-list ul li {
	position: relative;
}

.fh-menu-list ul li a {
	display: block;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 500;
	color: #1c1c1c;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}

.fh-menu-list ul li a:hover {
	color: #c9a24b;
	background-color: rgba(0,0,0,.03);
}

.fh-menu-list ul ul {
	top: -10px;
	right: calc(100% + 10px);
}

/* ===== سمت چپ: تماس + همبرگر ===== */
.fh-right-side {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* ===== دکمه تماس دسکتاپ ===== */
/* ساختار: [شماره - قابل جمع‌شدن][آیکون - همیشه ثابت سمت چپ] در ردیف RTL
   چون آیکون آخرین فرزند است، همیشه در لبه چپ دکمه می‌ماند و باز/بسته شدن
   کاملاً از سمت چپ و متقارن انجام می‌شود. */
.fh-contact-btn {
	display: inline-flex;
	align-items: center;
	height: 50px;
	border-radius: 50px;
	background-color: #1c1c1c;
	text-decoration: none;
	transition: background-color .3s ease;
	white-space: nowrap;
}

.fh-contact-btn .fh-contact-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fh-contact-btn svg {
	width: 22px;
	height: 22px;
	fill: #fff;
	stroke: #fff;
	flex-shrink: 0;
}

.fh-contact-btn .fh-contact-number {
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	direction: ltr;
	padding-inline-start: 0;
	transition: max-width .45s cubic-bezier(.65,0,.35,1), opacity .3s ease, padding-inline-start .45s ease;
}

.fh-contact-btn:hover {
	background-color: #c9a24b;
}

.fh-contact-btn:hover .fh-contact-number {
	max-width: 180px;
	opacity: 1;
}

/* ===== دکمه اینستاگرام دسکتاپ ===== */
/* ساختار: [متن - قابل جمع‌شدن][آیکون - همیشه ثابت لبه] مانند دکمه تماس.
   پیش‌فرض باز است؛ با هاور روی دکمه تماس (والد مشترک .fh-right-side)
   جمع می‌شود تا فضا به دکمه تماس داده شود. */

.fh-instagram-btn {
	--fh-insta-light-color: #ffffff;
	--fh-insta-light-size: 20px;
	--fh-insta-light-border: 2px;
	--fh-insta-duration: 5s;
	--fh-insta-gradient-angle: 135deg;
	--fh-insta-color-1: #feda75;
	--fh-insta-color-2: #fa7e1e;
	--fh-insta-color-3: #d62976;
	--fh-insta-color-4: #4f5bd7;
	--fh-insta-collapsed-bg: #1c1c1c;
	--fh-insta-outer-border-color: rgba(0, 0, 0, .15);
	--fh-insta-outer-border-width: 1px;

	isolation: isolate;
	position: relative;
	z-index: 0;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	height: 50px;
	border-style: solid;
	border-color: var(--fh-insta-outer-border-color);
	border-width: var(--fh-insta-outer-border-width);
	border-radius: 50px;
	text-decoration: none;
	white-space: nowrap;
	background-color: var(--fh-insta-collapsed-bg);
	box-shadow: inset 0 0 0 var(--fh-insta-outer-border-width) var(--fh-insta-outer-border-color), 0 4px 16px rgba(214, 41, 118, .35);
	transition: box-shadow .4s cubic-bezier(.4, 0, .2, 1), transform .4s cubic-bezier(.4, 0, .2, 1);
}

.fh-instagram-btn:is(:hover, :focus-visible) {
	transform: translateY(-2px);
	box-shadow: inset 0 0 0 var(--fh-insta-outer-border-width) var(--fh-insta-outer-border-color), 0 6px 22px rgba(214, 41, 118, .5);
}

/* لایه‌ی گرادیانی رنگی؛ در حالت باز کاملاً دیده می‌شود و هنگام جمع‌شدن
   (دقیقاً مثل تغییر background-color دکمه تماس، با همان مدت و منحنی .3s ease)
   محو می‌شود تا رنگ تک‌رنگ زیرین دیده شود */
.fh-instagram-btn .fh-instagram-bg {
	content: "";
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background: linear-gradient(var(--fh-insta-gradient-angle), var(--fh-insta-color-1) 0%, var(--fh-insta-color-2) 33%, var(--fh-insta-color-3) 66%, var(--fh-insta-color-4) 100%);
	opacity: 1;
	transition: opacity .55s cubic-bezier(.4, 0, .2, 1);
}

/* لایه‌ی نازک دور دکمه که نور متحرک فقط داخل همین حاشیه دیده می‌شود
   (دقیقاً همان تکنیک mask-composite کامپوننت ارسالی) */
.fh-instagram-btn .fh-instagram-border {
	content: "";
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	overflow: hidden;
	padding: var(--fh-insta-light-border);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

/* نقطه‌ی نوری که دور تا دور حاشیه‌ی دکمه در حرکت است */
.fh-instagram-btn .fh-instagram-border-light {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: var(--fh-insta-light-size);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: radial-gradient(circle, var(--fh-insta-light-color) 0%, transparent 70%);
	offset-path: rect(0 auto auto 0 round 50px);
	animation: fh-insta-light-run var(--fh-insta-duration) linear infinite;
}

@keyframes fh-insta-light-run {
	from {
		offset-distance: 0%;
	}
	to {
		offset-distance: 100%;
	}
}

.fh-instagram-btn.fh-instagram-border-light-off .fh-instagram-border {
	display: none;
}

.fh-instagram-btn .fh-instagram-icon {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fh-instagram-btn .fh-instagram-icon i {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.fh-instagram-btn svg {
	width: 22px;
	height: 22px;
	fill: #fff;
	flex-shrink: 0;
}

.fh-instagram-btn .fh-instagram-text {
	position: relative;
	z-index: 2;
	max-width: 180px;
	opacity: 1;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	direction: ltr;
	padding-inline-start: 10px;
	transition: max-width .55s cubic-bezier(.4, 0, .2, 1), opacity .5s cubic-bezier(.4, 0, .2, 1), padding-inline-start .55s cubic-bezier(.4, 0, .2, 1);
}

/* هاور روی دکمه تماس → جمع شدن دکمه اینستاگرام (دقیقاً مثل انیمیشن دکمه تماس:
   همان background-color، همان .3s ease، فقط این‌جا به‌صورت محو شدن لایه‌ی گرادیانی
   روی رنگ تک‌رنگ زیرین پیاده شده چون پس‌زمینه اصلی چندرنگ است) */
.fh-right-side:has(.fh-contact-btn:hover) .fh-instagram-btn .fh-instagram-bg {
	opacity: 0;
}

.fh-right-side:has(.fh-contact-btn:hover) .fh-instagram-btn .fh-instagram-text {
	max-width: 0;
	opacity: 0;
	padding-inline-start: 0;
}

/* ===== همبرگر (بدون هیچ نشانگر/دایره اضافه) ===== */
.fh-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	box-shadow: none !important;
	color: inherit !important;
	outline: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	position: relative;
}.fh-burger {
	background-color: var(--fh-burger-inline-bg-normal, var(--fh-burger-bg-normal, transparent)) !important;
}

.fh-header.is-sticky .fh-burger {
	background-color: var(--fh-burger-inline-bg-sticky, var(--fh-burger-bg-sticky, transparent)) !important;
}

.fh-burger:focus,
.fh-burger:focus-visible,
.fh-burger:active {
	outline: none !important;
	box-shadow: none !important;
}

.fh-burger::before,
.fh-burger::after,
.fh-burger span::before,
.fh-burger span::after {
	content: none !important;
	display: none !important;
}

.fh-burger span {
	display: block !important;
	width: 26px !important;
	min-width: 26px !important;
	height: 2px !important;
	min-height: 2px !important;
	max-height: 2px !important;
	flex: 0 0 2px !important;
	background-color: var(--fh-burger-inline-normal, var(--fh-burger-color-normal, #1c1c1c)) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 2px;
	transition: transform .3s ease, opacity .3s ease;
}

.fh-header.is-sticky .fh-burger span {
	background-color: var(--fh-burger-inline-sticky, var(--fh-burger-color-sticky, #1c1c1c)) !important;
}

.fh-header.menu-open .fh-burger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.fh-header.menu-open .fh-burger span:nth-child(2) {
	opacity: 0;
}

.fh-header.menu-open .fh-burger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ===== پنل موبایل مدرن ===== */
.fh-mobile-panel {
	position: fixed;
	top: 0;
	right: -100%;
	width: 88%;
	max-width: 380px;
	height: 100vh;
	background-color: #fff;
	box-shadow: -14px 0 50px rgba(0,0,0,.18);
	z-index: 1001;
	display: flex;
	flex-direction: column;
	border-radius: 20px 0 0 20px;
	overflow: hidden;
	transition: right .45s cubic-bezier(.65,0,.35,1);
}

.fh-header.menu-open .fh-mobile-panel {
	right: 0;
}

.fh-mobile-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 22px;
	border-bottom: 1px solid rgba(0,0,0,.06);
	flex-shrink: 0;
}

.fh-mobile-panel-logo {
	width: 110px;
	height: auto;
}

.fh-mobile-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer;
	transition: transform .25s ease;
	-webkit-appearance: none;
	appearance: none;
	/* الاین SVG آیکون بستن با فلش‌های آیتم‌های منو:
	   SVG=22px، دکمه=38px → فاصله لبه دکمه تا SVG = 8px
	   فلش منو: right:0 داخل padding-end:6px
	   → margin منفی = -(8px - 6px) = -2px */
	margin-inline-end: -2px;
	-webkit-tap-highlight-color: transparent !important;
	-webkit-touch-callout: none;
	background-color: var(--fh-close-inline-bg, var(--fh-mobile-close-bg, transparent)) !important;
}

.fh-mobile-close:focus,
.fh-mobile-close:focus-visible,
.fh-mobile-close:active {
	outline: none !important;
	box-shadow: none !important;
	background-color: var(--fh-close-inline-bg, var(--fh-mobile-close-bg, transparent)) !important;
}

.fh-mobile-close svg {
	display: block !important;
	width: 22px !important;
	min-width: 22px !important;
	max-width: 22px !important;
	height: 22px !important;
	min-height: 22px !important;
	max-height: 22px !important;
	flex: 0 0 22px !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
	fill: var(--fh-close-inline-color, var(--fh-mobile-close-icon-color, #1c1c1c)) !important;
	stroke: var(--fh-close-inline-color, var(--fh-mobile-close-icon-color, #1c1c1c)) !important;
	color: var(--fh-close-inline-color, var(--fh-mobile-close-icon-color, #1c1c1c)) !important;
}

.fh-mobile-close svg path,
.fh-mobile-close svg circle,
.fh-mobile-close svg line,
.fh-mobile-close svg polyline,
.fh-mobile-close svg polygon {
	fill: var(--fh-close-inline-color, var(--fh-mobile-close-icon-color, #1c1c1c)) !important;
	stroke: var(--fh-close-inline-color, var(--fh-mobile-close-icon-color, #1c1c1c)) !important;
}

.fh-mobile-close:hover {
	transform: none !important;
}

.fh-mobile-panel-inner {
	padding: 14px 22px 30px;
	overflow: hidden;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.fh-mobile-menu-list {
	list-style: none;
	margin: 6px 0 24px;
	padding: 0;
	flex: 1;
}

.fh-mobile-menu-list li {
	border-bottom: 1px solid rgba(0,0,0,.055);
}

.fh-mobile-menu-list > li > a {
	position: relative;
	display: block;
	padding: 15px 6px;
	font-size: 15.5px;
	font-weight: 600;
	color: #1c1c1c;
	text-decoration: none;
	transition: color .2s ease, padding-right .2s ease;
}

.fh-mobile-menu-list > li > a:hover,
.fh-mobile-menu-list > li.current-menu-item > a {
	color: #c9a24b;
	padding-right: 12px;
}

.fh-mobile-menu-list > li > a::before {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 60%;
	background-color: #c9a24b;
	border-radius: 3px;
	transition: width .2s ease;
}

.fh-mobile-menu-list > li:hover > a::before,
.fh-mobile-menu-list > li.current-menu-item > a::before {
	width: 3px;
}

.fh-mobile-menu-list li.menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fh-mobile-menu-list li.menu-item-has-children > a::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s ease;
	opacity: .6;
	flex-shrink: 0;
	margin-inline-start: 8px;
}

.fh-mobile-menu-list li.menu-item-has-children.submenu-open > a::after {
	transform: rotate(-135deg);
}

.fh-mobile-menu-list ul {
	list-style: none;
	margin: 0 0 8px;
	padding-right: 14px;
	display: none;
}

.fh-mobile-menu-list ul li {
	border-bottom: none;
}

.fh-mobile-menu-list ul li a {
	display: block;
	padding: 10px 6px;
	font-size: 14px;
	font-weight: 500;
	color: #555;
	text-decoration: none;
	transition: color .2s ease;
}

.fh-mobile-menu-list ul li a:hover {
	color: #c9a24b;
}

.fh-mobile-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px;
	border-radius: 50px;
	background-color: #1c1c1c;
	color: #fff !important;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background-color .25s ease;
	flex-shrink: 0;
}

.fh-mobile-contact svg {
	fill: #fff;
	flex-shrink: 0;
}

.fh-mobile-contact span {
	direction: ltr;
}

.fh-mobile-contact:hover {
	background-color: #c9a24b;
}

/* دکمه اینستاگرام داخل پنل موبایل: فقط زمانی که پنل باز است دیده می‌شود */
.fh-mobile-instagram {
	display: flex;
	justify-content: center;
	flex-shrink: 0;
	width: 100%;
	margin-top: 4px;
}

.fh-mobile-instagram .fh-instagram-btn {
	width: 100%;
	justify-content: center;
	padding: 0 18px;
}

.fh-mobile-instagram .fh-instagram-btn .fh-instagram-text {
	max-width: 180px !important;
	opacity: 1 !important;
	padding-inline-start: 10px !important;
}

.fh-mobile-social {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	flex-shrink: 0;
}

.fh-mobile-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(0,0,0,.05);
	transition: background-color .25s ease;
}

.fh-mobile-social a svg {
	width: 18px;
	height: 18px;
	fill: #1c1c1c;
	transition: fill .25s ease;
}

.fh-mobile-social a i {
	font-size: 18px;
	line-height: 1;
	color: #1c1c1c;
	transition: color .25s ease;
}

.fh-mobile-social a:hover {
	background-color: #c9a24b;
}

.fh-mobile-social a:hover svg {
	fill: #fff;
}

.fh-mobile-social a:hover i {
	color: #fff;
}

.fh-mobile-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(15,15,15,.45);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s ease, visibility .4s ease;
	z-index: 1000;
}

.fh-header.menu-open .fh-mobile-overlay {
	opacity: 1;
	visibility: visible;
}

body.fh-menu-open-lock {
	overflow: hidden;
}

/* ===== ریسپانسیو: تبلت و موبایل ===== */
@media (max-width: 1024px) {
	.fh-menu {
		display: none;
	}

	.fh-logo-desktop {
		display: none;
	}

	.fh-logo-mobile {
		display: flex;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.fh-inner {
		justify-content: space-between;
	}

	.fh-right-side {
		flex-direction: row-reverse;
		width: 100%;
		justify-content: space-between;
	}

	/* دکمه تماس موبایل: فقط آیکون، بدون هاور/بازشدن */
	.fh-contact-btn {
		width: 42px !important;
		height: 42px !important;
		padding: 0 !important;
		justify-content: center;
	}

	.fh-contact-btn .fh-contact-number {
		display: none !important;
		max-width: 0 !important;
	}

	.fh-contact-btn:hover {
		background-color: #1c1c1c;
	}

	/* دکمه اینستاگرام از سربرگ موبایل کاملاً حذف می‌شود؛
	   نسخه‌ی آن فقط داخل پنل موبایل (فایل fh-mobile-instagram) نمایش داده می‌شود */
	.fh-instagram-desktop-only {
		display: none !important;
	}

	.fh-burger {
		display: flex;
	}
}

@media (max-width: 480px) {
	.fh-mobile-panel {
		width: 100%;
		max-width: 100%;
		border-radius: 0;
	}
}
