/* fkm-header — استایل ویجت (بارگذاری فقط هنگام استفاده) */
.yh-root {
	--_bg: var(--yh-bg, #ececec);
	--_dark: var(--yh-sh-dark, #c8c8c8);
	--_light: var(--yh-sh-light, #ffffff);
	--_accent: var(--yh-accent, #0f6b5c);
	--_accent2: var(--yh-accent-2, #1a8a75);
	--_text: var(--yh-text, #444);
	--_drop-text: var(--yh-drop-text, #444);
	direction: rtl;
}
/* ================= نوار هدر ================= */
.yh-header {
	background: var(--_bg);
	border-radius: var(--yh-radius, 50px);
	box-shadow:
		12px 12px 24px var(--_dark),
		-12px -12px 24px var(--_light);
	padding: 20px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	position: relative;
	z-index: 10;
}
/* ================= لوگو ================= */
.yh-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	flex-shrink: 0;
	text-decoration: none;
}
.yh-logo-mark {
	position: relative;
	width: 55px;
	height: 60px;
}
.yh-logo-mark .yh-circle {
	position: absolute;
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--_accent), var(--_accent2));
	box-shadow: 3px 3px 6px rgba(0,0,0,0.15);
}
.yh-logo-mark .yh-swirl {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 35px;
	height: 40px;
	border: 5px solid var(--_bg);
	border-radius: 50%;
	border-right-color: transparent;
	border-bottom-color: transparent;
	transform: rotate(-20deg);
}
.yh-logo-mark .yh-tail {
	position: absolute;
	bottom: 5px;
	left: 8px;
	width: 15px;
	height: 20px;
	background: linear-gradient(135deg, var(--_accent), var(--_accent2));
	clip-path: polygon(0 0, 100% 30%, 60% 100%);
	border-bottom-left-radius: 10px;
}
.yh-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.yh-logo-fkm {
	font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
	font-size: 42px;
	color: #333;
	font-style: italic;
	font-weight: 500;
	letter-spacing: 1px;
}
.yh-logo-event {
	font-family: 'Arial Black', sans-serif;
	font-size: 13px;
	color: white;
	background: linear-gradient(135deg, var(--_accent), var(--_accent2));
	padding: 2px 10px;
	border-radius: 3px;
	letter-spacing: 3px;
	font-weight: 900;
	margin-top: -5px;
	align-self: flex-start;
	transform: skewX(-5deg);
}
/* ================= منوی دسکتاپ ================= */
.yh-nav-menu {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.yh-nav-item { position: relative; }
.yh-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--_text);
	font-size: 17px;
	font-weight: 500;
	padding: 12px 22px;
	border-radius: 30px;
	transition: all 0.3s ease;
	white-space: nowrap;
}
.yh-nav-link:hover {
	color: var(--_accent);
	box-shadow:
		inset 3px 3px 6px var(--_dark),
		inset -3px -3px 6px var(--_light);
}
.yh-nav-link .yh-caret { transition: transform 0.3s ease; }
.yh-nav-item.yh-has-dropdown:hover .yh-nav-link .yh-caret { transform: rotate(180deg); }
.yh-nav-link.yh-active {
	color: var(--_accent);
	font-weight: 700;
}
/* دراپ‌داون دسکتاپ */
.yh-dropdown {
	position: absolute;
	top: calc(100% + 15px);
	right: 0;
	min-width: var(--yh-drop-width, 220px);
	background: var(--_bg);
	border-radius: 20px;
	box-shadow:
		8px 8px 16px var(--_dark),
		-8px -8px 16px var(--_light);
	padding: 15px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 100;
}
.yh-nav-item.yh-has-dropdown:hover .yh-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.yh-dropdown::before {
	content: '';
	position: absolute;
	top: -10px;
	right: 30px;
	width: 20px;
	height: 20px;
	background: var(--_bg);
	transform: rotate(45deg);
	border-radius: 3px;
}
.yh-dropdown li a {
	display: block;
	padding: 10px 15px;
	color: var(--_drop-text);
	text-decoration: none;
	font-size: 15px;
	border-radius: 12px;
	transition: all 0.3s ease;
}
.yh-dropdown li a:hover {
	color: var(--_accent);
	box-shadow:
		inset 2px 2px 5px var(--_dark),
		inset -2px -2px 5px var(--_light);
}
/* ================= دکمه همبرگری ================= */
.yh-menu-toggle {
	display: none;
	background: var(--_bg);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	box-shadow:
		4px 4px 8px var(--_dark),
		-4px -4px 8px var(--_light);
	cursor: pointer;
	color: var(--_text);
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}
.yh-menu-toggle:active {
	box-shadow:
		inset 4px 4px 8px var(--_dark),
		inset -4px -4px 8px var(--_light);
}
.yh-menu-toggle .yh-ico-times { display: none; }
.yh-menu-toggle.yh-opened .yh-ico-bars { display: none; }
.yh-menu-toggle.yh-opened .yh-ico-times { display: block; }
/* ================= اورلی ================= */
.yh-drawer-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 99998;
}
.yh-drawer-overlay.yh-show {
	opacity: 1;
	visibility: visible;
}
/* ================= دراور موبایل ================= */
.yh-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: min(var(--yh-drawer-width, 330px), 85vw);
	background: var(--_bg);
	box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);
	border-radius: 30px 0 0 30px;
	padding: 24px 20px;
	overflow-y: auto;
	transform: translateX(110%);
	transition: transform 0.35s ease;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 8px;
	direction: rtl;
}
.yh-drawer.yh-open { transform: translateX(0); }
.yh-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--_dark);
}
.yh-drawer-close {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--_bg);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	box-shadow:
		4px 4px 8px var(--_dark),
		-4px -4px 8px var(--_light);
	cursor: pointer;
	color: var(--_text);
	flex-shrink: 0;
}
.yh-drawer-close:active {
	box-shadow:
		inset 4px 4px 8px var(--_dark),
		inset -4px -4px 8px var(--_light);
}
.yh-drawer-menu {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.yh-drawer-item { width: 100%; }
.yh-drawer-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	text-decoration: none;
	color: var(--_text);
	font-size: 16px;
	font-weight: 500;
	padding: 14px 20px;
	border-radius: 20px;
	transition: all 0.3s ease;
	cursor: pointer;
}
.yh-drawer-link:hover {
	color: var(--_accent);
	box-shadow:
		inset 3px 3px 6px var(--_dark),
		inset -3px -3px 6px var(--_light);
}
.yh-drawer-link.yh-active {
	color: var(--_accent);
	font-weight: 700;
}
.yh-drawer-link .yh-caret { transition: transform 0.3s ease; }
.yh-drawer-item.yh-open .yh-drawer-link .yh-caret { transform: rotate(180deg); }
.yh-drawer-submenu {
	list-style: none;
	display: none;
	margin: 10px 0 0;
	padding: 8px;
	border-radius: 16px;
	box-shadow:
		inset 3px 3px 6px var(--_dark),
		inset -3px -3px 6px var(--_light);
}
.yh-drawer-item.yh-open .yh-drawer-submenu { display: block; }
.yh-drawer-submenu a {
	display: block;
	padding: 10px 18px;
	color: var(--_drop-text);
	text-decoration: none;
	font-size: 14px;
	border-radius: 12px;
	transition: all 0.3s ease;
}
.yh-drawer-submenu a:hover {
	color: var(--_accent);
	background: rgba(0, 0, 0, 0.04);
}
/* ================= ریسپانسیو ================= */
@media (max-width: 1200px) {
	.yh-nav-link {
		padding: 10px 14px;
		font-size: 15px;
	}
	.yh-header { padding: 18px 25px; }
}
@media (max-width: 992px) {
	.yh-nav-menu { display: none; }
	.yh-menu-toggle { display: flex; }
	.yh-header {
		padding: 16px 20px;
		border-radius: 40px;
	}
	.yh-logo-fkm { font-size: 32px; }
	.yh-logo-mark { transform: scale(0.85); }
}
@media (max-width: 480px) {
	.yh-logo-fkm { font-size: 26px; }
	.yh-logo-mark {
		transform: scale(0.75);
		margin-left: -8px;
	}
}
