.fmhd {
	--fm-accent: #e85941;
	--fm-accent-2: #d14a34;
	--fm-dark: #2e3f50;
	--fm-dark-2: #1a2832;
	--fm-text: #18191d;
	--fm-muted: #64748b;
	--fm-line: #e8edf2;
	--fm-site: 1340px;
	--fm-ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	--fm-scroll-ease: 0.42s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	z-index: 200;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	box-sizing: border-box;
	font-family: "Yekan Bakh", Tahoma, sans-serif;
	direction: rtl;
	color: var(--fm-text);
	background: transparent;
	overflow: visible;
}

.fmhd *,
.fmhd *::before,
.fmhd *::after {
	box-sizing: border-box;
}

.fmhd--sticky {
	position: relative;
}

.fmhd--sticky .fmhd__body {
	position: relative;
	z-index: 2;
}

.fmhd__body.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 210;
	background: transparent;
	box-shadow: none;
	border: none;
	pointer-events: none;
}

.fmhd__body.is-fixed .fmhd__bar {
	pointer-events: auto;
}

.admin-bar .fmhd__body.is-fixed {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .fmhd__body.is-fixed {
		top: 46px;
	}
}

.fmhd.has-fixed-body .fmhd__body-slot {
	display: block;
	height: var(--fmhd-body-height, 72px);
	background: transparent;
}

body.home .fmhd.has-fixed-body .fmhd__body-slot {
	display: none;
	height: 0;
}

.fmhd__body-slot {
	display: none;
	pointer-events: none;
	background: transparent;
}

.fmhd__container {
	width: 100%;
	max-width: var(--fm-site);
	margin-inline: auto;
	padding-inline: var(--fm-page-gutter);
}

.fmhd__top {
	margin-bottom: 12px;
	background: transparent;
	border: none;
	overflow: hidden;
	max-height: 56px;
	opacity: 1;
	transform: translateY(0);
	transition:
		max-height var(--fm-scroll-ease),
		margin-bottom var(--fm-scroll-ease),
		opacity calc(var(--fm-scroll-ease) * 0.75),
		transform var(--fm-scroll-ease);
}

.fmhd__top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 36px;
	font-size: 0.78rem;
	background: var(--fm-dark-2);
	border-radius: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fmhd.is-scrolled .fmhd__top {
	max-height: 0;
	margin-bottom: 0;
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
}

.fmhd__top-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: rgba(255, 255, 255, 0.82);
}

.fmhd__pulse {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--fm-accent);
	box-shadow: 0 0 0 0 rgba(232, 89, 65, 0.5);
	animation: fmhd-pulse 2.2s infinite;
	flex-shrink: 0;
}

@keyframes fmhd-pulse {
	0% { box-shadow: 0 0 0 0 rgba(232, 89, 65, 0.5); }
	70% { box-shadow: 0 0 0 9px rgba(232, 89, 65, 0); }
	100% { box-shadow: 0 0 0 0 rgba(232, 89, 65, 0); }
}

.fmhd__top-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	transition: color var(--fm-ease);
}

.fmhd__top-phone:hover {
	color: #ffb9aa;
}

.fmhd__body {
	position: relative;
	background: transparent;
	border: none;
	transition: box-shadow var(--fm-scroll-ease);
}

.fmhd__bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "burger brand actions";
	align-items: center;
	column-gap: 1rem;
	min-height: 72px;
	background: #fff;
	border-radius: 12px;
	border-bottom: 1px solid var(--fm-line);
	position: relative;
	transition:
		min-height var(--fm-scroll-ease),
		column-gap var(--fm-scroll-ease),
		box-shadow var(--fm-scroll-ease),
		border-radius var(--fm-scroll-ease);
}

.fmhd__bar::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--fm-accent) 20%, var(--fm-accent) 80%, transparent);
	opacity: 0;
	transition: opacity var(--fm-scroll-ease);
}

.fmhd.is-scrolled .fmhd__bar {
	border-radius: 0 0 14px 14px;
	box-shadow: 0 10px 36px rgba(24, 25, 29, 0.1);
}

.fmhd.is-scrolled .fmhd__bar::after {
	opacity: 1;
}

.fmhd.is-scrolled .fmhd__bar {
	min-height: 58px;
	column-gap: 0.85rem;
}

.fmhd__burger {
	grid-area: burger;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #f4f7fa;
	color: var(--fm-dark);
	cursor: pointer;
	transition: width var(--fm-scroll-ease), height var(--fm-scroll-ease), background var(--fm-ease), color var(--fm-ease);
}

.fmhd.is-scrolled .fmhd__burger {
	width: 38px;
	height: 38px;
}

.fmhd__burger:hover {
	background: rgba(232, 89, 65, 0.1);
	color: var(--fm-accent);
}

.fmhd__burger-close {
	display: none;
}

.fmhd__burger-icon {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.fmhd.is-open .fmhd__burger-open {
	display: none;
}

.fmhd.is-open .fmhd__burger-close {
	display: block;
}

.fmhd__brand {
	grid-area: brand;
	justify-self: center;
	min-width: 0;
}

.fmhd__logo-link {
	display: inline-flex;
	max-width: 100%;
	text-decoration: none;
	line-height: 0;
}

.fmhd__logo-img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-height: 46px !important;
	max-width: min(180px, 100%) !important;
	object-fit: contain;
	object-position: right center;
	transition: max-height var(--fm-scroll-ease), max-width var(--fm-scroll-ease);
}

.fmhd.is-scrolled .fmhd__logo-img {
	max-height: 36px !important;
	max-width: min(150px, 100%) !important;
}

.fmhd__logo-text {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--fm-dark);
	text-decoration: none;
}

.fmhd__nav--desktop {
	display: none;
}

.fmhd__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fmhd__menu--desktop {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.15rem;
}

.fmhd__menu--desktop > li {
	position: relative;
}

.fmhd__menu--desktop > li > a {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.85rem;
	color: var(--fm-dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.4;
	border-radius: 8px;
	transition: color var(--fm-ease), background var(--fm-ease), padding var(--fm-scroll-ease), font-size var(--fm-scroll-ease);
}

.fmhd.is-scrolled .fmhd__menu--desktop > li > a {
	padding: 0.4rem 0.7rem;
	font-size: 0.84rem;
}

.fmhd__menu--desktop > li > a:hover,
.fmhd__menu--desktop > li.current-menu-item > a,
.fmhd__menu--desktop > li.current-menu-ancestor > a {
	color: var(--fm-accent);
	background: rgba(232, 89, 65, 0.07);
}

.fmhd__menu--desktop .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 210px;
	margin: 0;
	padding: 0.45rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--fm-line);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(24, 25, 29, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--fm-ease), transform var(--fm-ease), visibility var(--fm-ease);
	z-index: 20;
}

.fmhd__menu--desktop li:hover > .sub-menu,
.fmhd__menu--desktop li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.fmhd__menu--desktop .sub-menu a {
	display: block;
	padding: 0.55rem 0.75rem;
	border-radius: 8px;
	color: var(--fm-dark);
	text-decoration: none;
	font-size: 0.86rem;
	font-weight: 600;
}

.fmhd__menu--desktop .sub-menu a:hover {
	background: rgba(232, 89, 65, 0.08);
	color: var(--fm-accent);
}

.fmhd__actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.fmhd__search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--fm-line);
	border-radius: 10px;
	background: #fff;
	color: var(--fm-dark);
	cursor: pointer;
	transition:
		width var(--fm-scroll-ease),
		height var(--fm-scroll-ease),
		border-color var(--fm-ease),
		color var(--fm-ease),
		background var(--fm-ease);
}

.fmhd.is-scrolled .fmhd__search-toggle {
	width: 38px;
	height: 38px;
}

.fmhd.is-scrolled .fmhd__cta {
	padding: 0.5rem 0.95rem;
	font-size: 0.8rem;
	box-shadow: 0 6px 16px rgba(232, 89, 65, 0.2);
}

.fmhd__search-toggle:hover,
.fmhd.is-search-open .fmhd__search-toggle {
	border-color: rgba(232, 89, 65, 0.35);
	color: var(--fm-accent);
	background: rgba(232, 89, 65, 0.05);
}

.fmhd__cta {
	display: none;
	align-items: center;
	gap: 0.45rem;
	padding: 0.62rem 1.1rem;
	border-radius: 10px;
	background: var(--fm-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 0.84rem;
	white-space: nowrap;
	box-shadow: 0 8px 20px rgba(232, 89, 65, 0.22);
	transition:
		background var(--fm-ease),
		transform 0.2s ease,
		box-shadow var(--fm-scroll-ease),
		padding var(--fm-scroll-ease),
		font-size var(--fm-scroll-ease);
}

.fmhd__cta:hover {
	background: var(--fm-accent-2);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(232, 89, 65, 0.28);
}

.fmhd__search {
	background: transparent;
	border:none;
	padding-block: 0.75rem 0.9rem;
}

.fmhd__search-form {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.65rem;
	padding: 0.5rem 0.65rem 0.5rem 0.5rem;
	background: #fff;
	border: 1px solid var(--fm-line);
	border-radius: 12px;
}

.fmhd__search-form svg {
	color: var(--fm-muted);
	flex-shrink: 0;
}

.fmhd__search-form input[type="search"] {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.9rem;
	color: var(--fm-text);
	outline: none;
}

.fmhd__search-form button {
	border: 0;
	border-radius: 8px;
	padding: 0.5rem 0.95rem;
	background: var(--fm-dark);
	color: #fff;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--fm-ease);
}

.fmhd__search-form button:hover {
	background: var(--fm-accent);
}

.fmhd__overlay {
	--fm-ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	position: fixed;
	inset: 0;
	background: rgba(26, 40, 50, 0.5);
	z-index: 9991;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity var(--fm-ease),
		visibility var(--fm-ease);
}

.fmhd__overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.fmhd__drawer {
	--fm-ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	--fm-line: #e8edf2;
	--fm-dark: #2e3f50;
	--fm-muted: #64748b;
	--fm-accent: #e85941;
	position: fixed;
	top: 0;
	right: 0;
	left: auto;
	display: flex;
	width: min(320px, 86vw);
	height: 100dvh;
	z-index: 9992;
	flex-direction: column;
	background: #fff;
	box-shadow: -12px 0 48px rgba(24, 25, 29, 0.15);
	transform: translate3d(100%, 0, 0);
	transition:
		transform var(--fm-ease),
		visibility var(--fm-ease);
	visibility: hidden;
	pointer-events: none;
	font-family: "Yekan Bakh", Tahoma, sans-serif;
	direction: rtl;
}

.fmhd__drawer.is-open {
	transform: translate3d(0, 0, 0);
	visibility: visible;
	pointer-events: auto;
}

.fmhd__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid var(--fm-line);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--fm-dark);
}

.fmhd__drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #f4f7fa;
	color: var(--fm-dark);
	cursor: pointer;
}

.fmhd__nav--drawer {
	flex: 1;
	overflow: auto;
	padding: 0.65rem;
}

.fmhd__menu--drawer a {
	display: block;
	padding: 0.75rem 0.85rem;
	border-radius: 8px;
	color: var(--fm-dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.fmhd__menu--drawer .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0.35rem 0.85rem;
}

.fmhd__menu--drawer .sub-menu a {
	font-size: 0.84rem;
	font-weight: 500;
	color: var(--fm-muted);
}

.fmhd__menu--drawer a:hover,
.fmhd__menu--drawer .current-menu-item > a {
	background: rgba(232, 89, 65, 0.08);
	color: var(--fm-accent);
}

.fmhd__drawer-foot {
	padding: 0.85rem;
	border-top: 1px solid var(--fm-line);
}

.fmhd__drawer-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.8rem;
	border-radius: 10px;
	background: var(--fm-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
}

@media (min-width: 992px) {
	.fmhd__burger {
		display: none;
	}

	.fmhd__drawer,
	.fmhd__overlay {
		display: none !important;
	}

	.fmhd__bar {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "brand nav actions";
		column-gap: 1.5rem;
	}

	.fmhd__brand {
		justify-self: start;
	}

	.fmhd__nav--desktop {
		display: block;
		grid-area: nav;
		min-width: 0;
	}

	.fmhd__cta {
		display: inline-flex;
	}
}

@media (max-width: 991px) {
	.fmhd__top {
		display: none;
	}
}

@media (max-width: 575px) {
	.fmhd__logo-img {
		max-height: 40px !important;
		max-width: min(140px, 52vw) !important;
	}

	.fmhd__bar {
		min-height: 60px;
		column-gap: 0.65rem;
	}

	.fmhd.is-scrolled .fmhd__bar {
		min-height: 52px;
	}

	.fmhd.is-scrolled .fmhd__logo-img {
		max-height: 34px !important;
		max-width: min(125px, 48vw) !important;
	}

	.fmhd__burger,
	.fmhd__search-toggle {
		width: 40px;
		height: 40px;
	}

	.fmhd__search {
		padding-block: 0.55rem 0.75rem;
	}

	.fmhd__search-form {
		grid-template-columns: auto 1fr;
		gap: 0.5rem;
	}

	.fmhd__search-form button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.fmhd__drawer {
		width: min(300px, 92vw);
	}
}

.elementor-widget-shortcode:has(.fmhd),
.elementor-widget-shortcode:has(.fmhd) .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	flex-grow: 1 !important;
	align-self: stretch !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

.elementor-widget-shortcode .elementor-widget-container:has(.fmhd) {
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.elementor-element:has(.fmhd),
.e-con:has(> .e-con-inner > .elementor-element .fmhd),
.e-con:has(.fmhd) {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	align-self: stretch !important;
	flex-grow: 1 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

.e-con:has(.fmhd) > .e-con-inner,
.e-con:has(.fmhd)::before,
.e-con:has(.fmhd)::after {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
}

.fmhd-sticky-root,
.fmhd-sticky-root > .e-con-inner,
.fmhd-sticky-root .elementor-widget-shortcode,
.fmhd-sticky-root .elementor-widget-container,
.fmhd-sticky-root .elementor-shortcode,
.fmhd-sticky-root .fmhd {
	overflow: visible !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

.elementor-location-header:has(.fmhd),
.elementor-location-header:has(.fmhd) > .e-con,
.elementor-location-header:has(.fmhd) > .e-con > .e-con-inner,
.elementor-location-header:has(.fmhd-sticky-root),
.elementor-location-header:has(.fmhd-sticky-root) > .e-con,
.elementor-location-header:has(.fmhd-sticky-root) > .e-con > .e-con-inner {
	overflow: visible !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

.elementor-location-header:has(.fmhd) > .e-con::before,
.elementor-location-header:has(.fmhd) > .e-con::after,
.elementor-location-header:has(.fmhd) .e-con::before,
.elementor-location-header:has(.fmhd) .e-con::after,
.elementor-location-header:has(.fmhd) .e-con > .elementor-background-slideshow::before,
.elementor-location-header:has(.fmhd) .e-con > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	opacity: 0 !important;
}

.elementor-1312.elementor-location-header,
.elementor-1312.elementor-location-header > .e-con,
.elementor-1312.elementor-location-header > .e-con > .e-con-inner,
.elementor-1312 .elementor-element-7fd28a3,
.elementor-1312 .elementor-element-7fd28a3 > .e-con-inner,
.elementor-1312 .elementor-element-e2b7d76,
.elementor-1312 .elementor-element-59ff640,
.elementor-1312 .elementor-element-59ff640 .elementor-widget-container,
.elementor-1312 .elementor-element-59ff640 .elementor-shortcode {
	--background-color: transparent !important;
	--background-overlay: none !important;
	--overlay-opacity: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

.elementor-1312.elementor-location-header .e-con::before,
.elementor-1312.elementor-location-header .e-con > .elementor-background-slideshow::before,
.elementor-1312.elementor-location-header .e-con > .elementor-motion-effects-container > .elementor-motion-effects-layer::before,
.elementor-1312 .elementor-element-7fd28a3::before,
.elementor-1312 .elementor-element-e2b7d76::before {
	display: none !important;
	background: transparent !important;
	background-image: none !important;
	opacity: 0 !important;
}

.elementor-1312.elementor-location-header {
	position: relative;
	z-index: 200;
	background: transparent !important;
}

body.home .elementor-1312.elementor-location-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 200;
	pointer-events: none;
}

body.home .elementor-1312.elementor-location-header .fmhd,
body.home .elementor-1312.elementor-location-header .fmhd__search {
	pointer-events: auto;
}

body.home .fmhd:not(.is-scrolled) .fmhd__bar {
	border-bottom-color: transparent;
	box-shadow: none;
}

.fmhd__body {
	opacity: 0;
	transform: translateY(-45px);
	animation: fmhd-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fmhd__top {
	opacity: 0;
	animation: fmhd-top 0.7s ease 0.2s forwards;
}

.fmhd__brand {
	opacity: 0;
	transform: translateY(14px);
	animation: fmhd-menu 0.7s ease 0.35s forwards;
}

.fmhd__nav--desktop {
	opacity: 0;
	transform: translateY(-20px);
	animation: fmhd-menu 0.7s ease 0.55s forwards;
}

.fmhd__actions {
	opacity: 0;
	transform: translateY(14px);
	animation: fmhd-menu 0.7s ease 0.75s forwards;
}

.fmhd__burger {
	opacity: 0;
	transform: translateY(-12px);
	animation: fmhd-menu 0.7s ease 0.45s forwards;
}

@keyframes fmhd-enter {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fmhd-menu {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fmhd-top {
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fmhd__body,
	.fmhd__top,
	.fmhd__brand,
	.fmhd__nav--desktop,
	.fmhd__actions,
	.fmhd__burger {
		animation: none;
		opacity: 1;
		transform: none;
	}
}
