/* @font-face { */
    /* font-family: 'MyCustomFont'; */
    /* src: url('IRANYekanLight.ttf') format('truetype'); */
  /* } */
  
  /* body { */
    /* font-family: 'MyCustomFont', sans-serif; */
    /* margin: 0; */
    /* padding: 0; */
    /* color: #222; */
    /* background-color: #fff; */
    /* direction: rtl; */
  /* } */

.panel59
{
    margin: 0;
    padding: 0;
    color: #222;
    background-color: #fff;
    direction: rtl;
}

.panel59 *
{
	font-family: 'MyCustomFont';
	font-size: initial;
}

.panel59 header
{
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* رنگ اصلی */
:root
{
	--primary: #056b97;
	--hover: #347a97;
	--light-border: #e0e0e0;
}

.panel59 .header-top
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background: #fff;
	position: relative;
	z-index: 10;
}

.panel59 .top-menu ul
{
	list-style: none;
	display: flex;
	gap: 1.5rem;
	align-items: center;
	margin: 0;
	padding: 0;
}

.panel59 .top-menu a
{
	text-decoration: none;
	color: #222;
	transition: color 0.3s ease;
}

.panel59 .top-menu a:hover
{
	color: var(--primary);
}

.panel59 .support-line
{
	color: var(--primary);
	border-bottom: 1px solid var(--primary);
	transition: border-color 0.3s ease, color 0.3s ease;
}

.panel59 .support-line:hover
{
	border-color: transparent;
	color: #222;
}

.panel59 .has-dropdown
{
	position: relative;
}

.panel59 .mega-menu
{
	position: absolute;
	top: 100%;
	right: 0;
	display: flex;
	width: 650px;
	background: #fff;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	padding: 1.5rem;
	border-radius: 12px;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.4s ease;
	gap: 2rem;
	direction: rtl;
	pointer-events: none;
}

.panel59 .has-dropdown:hover .mega-menu
{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.panel59 .menu-categories ul
{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.6rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.panel59 .menu-categories li
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.95rem;
	color: #333;
	transition: background 0.3s, color 0.3s;
}

.panel59 .menu-categories li:hover
{
	color: var(--primary);
}

.panel59 .item-text
{
	text-align: right;
	margin-left: auto;
}

.panel59 .item-icon
{
	margin-right: 1rem;
	width: 1.2rem;
}

.panel59 .menu-subcategories
{
	width: 55%;
	padding-left: 1rem;
	border-left: 1px solid #eee;
}

.panel59 .subcategory-list
{
	display: none;
	animation: fadeIn 0.3s ease;
}

.panel59 .subcategory-list a
{
	display: block;
	padding: 0.5rem 0;
	text-decoration: none;
	color: #333;
	font-size: 0.95rem;
	transition: all 0.3s;
}

.panel59 .subcategory-list a:hover
{
	color: var(--primary);
}

.panel59 .subcategory-list hr
{
	border: none;
	border-bottom: 1px solid #eaeaea;
	margin: 0.4rem 0;
}


@keyframes fadeIn
{
	from
	{
		opacity: 0;
		transform: translateX(10px);
	}
	to
	{
		opacity: 1;
		transform: translateX(0);
	}
}

.panel59 .menu-toggle
{
	width: 24px;
	height: 18px;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 3001;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.panel59 .menu-toggle span
{
	display: block;
	height: 2px;
	background: #222;
	border-radius: 4px;
	transition: 0.3s ease;
	transform-origin: center;
}

.panel59 .close-btn
{
	position: absolute;
	top: 20px;
	left: 20px;
	width: 30px;
	height: 30px;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.panel59 .close-btn span
{
	position: absolute;
	width: 24px;
	height: 3px;
	background: #444;
	border-radius: 2px;
}

.panel59 .close-btn span:first-child
{
	transform: rotate(45deg);
}

.panel59 .close-btn span:last-child
{
	transform: rotate(-45deg);
}

.panel59 .side-menu
{
	position: fixed;
	top: 0;
	right: -280px;
	width: 260px;
	height: 100%;
	background: #fff;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
	transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	z-index: 3002;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #bbb #f0f0f0;
}
.panel59 .side-menu::-webkit-scrollbar
{
width: 6px;
}
.panel59 .side-menu::-webkit-scrollbar-track
{
background: #f0f0f0;
border-radius: 10px;
}
.panel59 .side-menu::-webkit-scrollbar-thumb
{
background: #bbb;
border-radius: 10px;
transition: background 0.3s;
}
.panel59 .side-menu::-webkit-scrollbar-thumb:hover
{
background: #888;
}
.panel59 .side-menu.active
{
right: 0;
}
.panel59 .side-menu .logo
{
padding: 20px;
text-align: inherit;
font-weight: bold;
font-size: 22px;
background: #e0e0e0;
border-bottom: 1px solid #ddd;
color: #222;
}
.panel59 .side-menu ul
{
list-style: none;
padding: 0;
margin: 0;
}
.panel59 .side-menu li
{
border-bottom: none;
position: relative;
}
.panel59 .side-menu li::after
{
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 90%;
height: 1px;
background: #f1f1f1;
}
.panel59 .side-menu a
{
display: flex;
align-items: center;
padding: 12px 20px;
text-decoration: none;
color: #333;
font-size: 15px;
}
.panel59 .side-menu a i
{
margin-left: 10px;
min-width: 20px;
text-align: center;
}
.panel59 .side-menu a:hover
{
background: #f5f5f5;
color: var(--primary);
}
.panel59 /* overlay */
.overlay
{
position: fixed;
top: 0;
right: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
z-index: 3000;
display: none;
opacity: 0;
transition: opacity 0.3s ease;
}
.panel59 .overlay.active
{
display: block;
opacity: 1;
}
.panel59 /* زیرمنو */
.submenu
{
display: none;
background: #f9f9f9;
padding: 0;
}
.panel59 .submenu a
{
padding: 10px 20px;
padding-right: 36px;
font-size: 14px;
display: block;
color: #444;
}
.panel59 .submenu .submenu a
{
padding-right: 52px;
font-size: 13px;
}
.panel59 .has-submenu > a
{
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 20px;
font-size: 15px;
color: #333;
position: relative;
}
.panel59 .has-submenu > a:hover
{
background: #f0f0f0;
}
.panel59 .submenu-arrow
{
font-size: 12px;
margin-left: 8px;
color: #888;
transition: transform 0.3s ease;
}
.panel59 /* چرخش آیکون هنگام باز شدن */
.has-submenu.open > a .submenu-arrow
{
transform: rotate(180deg);
}
.panel59 .has-submenu.open > .submenu
{
display: block;
}




/* ================== Responsive top header ================== */
@media (min-width: 991px) and (max-width: 1136px)
{.panel59 .header-top
{
padding: 0.8rem 1.5rem;
}
.panel59 .top-menu ul
{
gap: 1rem;
}
.panel59 .top-menu a
{
font-size: 0.85rem;
}
.panel59 .support-line
{
font-size: 0.85rem;
}
.panel59 .menu-categories li
{
font-size: 0.85rem;
padding: 0.4rem 0.8rem;
}
.panel59 .subcategory-list a
{
font-size: 0.85rem;
}
.panel59 .mega-menu
{
width: 550px;
padding: 1rem;
gap: 1.2rem;
}
.panel59 .menu-subcategories
{
width: 50%;
padding-left: 0.8rem;
}

}


@media (max-width: 991px)
{.panel59 .header-top
{
display: none;
}
.panel59 .menu-toggle
{
display: flex;
}

}


@media (min-width: 992px)
{.panel59 .menu-toggle, .panel59 .side-menu, .panel59 .overlay
{
display: none !important;
}
.panel59 .header-top
{
display: flex;
}

}
.panel59 .menu-toggle
{
display: none;
}
.panel59 .side-menu
{
display: none;
}
.panel59 .mobile-header
{
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row-reverse;
padding: 0.8rem 1.2rem;
background-color: #fff;
z-index: 3001;
height: 30px;
}
.panel59 .mobile-logo img
{
height: 32px;
}



@media (max-width: 991px)
{.panel59 .mobile-header
{
display: flex;
}
.panel59 .menu-toggle
{
display: flex;
}
.panel59 .side-menu
{
display: block;
}
.panel59 .header-top
{
display: none;
}

}


@media (min-width: 992px)
{.panel59 .mobile-header
{
display: none;
}

}
.panel59 /* ////////////////////////////////////
///////////////////////////////////////
/////////// hello /////////////////////
///////////////////////////////////////
////////////////////////////////////// */

/* header bottom  */

.header-bottom
{
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
}
.panel59 .search-box
{
display: flex;
align-items: center;
background: #f1f3f5;
border-radius: 30px;
padding: 0.5rem 1rem;
flex-grow: 1;
max-width: 350px;
}
.panel59 .search-box input
{
font-family: 'MyCustomFont', sans-serif;
font-size: 1rem;
color: #222;
border: none;
background: transparent;
outline: none;
flex-grow: 1;
}
.panel59 .search-box i
{
font-size: 1.2rem;
color: var(--primary);
}
.panel59 /* آیکون‌ها و دکمه ورود */
.action-icons
{
display: flex;
align-items: center;
justify-content: flex-end;
gap: 1.5rem;
flex-direction: row-reverse;
padding: 0.5rem 1rem;
}
.panel59 .login-btn
{
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 1rem;
border: 1px solid var(--light-border);
border-radius: 20px;
background-color: #fff;
color: #222;
font-size: 0.95rem;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
white-space: nowrap;
}
.panel59 .login-btn:hover
{
border-color: var(--light-border);
color: #222;
}
.panel59 .login-text
{
text-decoration: underline;
transition: all 0.3s ease;
}
.panel59 .login-btn:hover .login-text
{
text-decoration: none;
}
.panel59 .login-icon i
{
font-size: 1.3rem;
color: #222;
}
.panel59 .icons
{
display: flex;
align-items: center;
gap: 1.5rem;
}
.panel59 .icon-item
{
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
position: relative;
transition: all 0.3s ease;
}
.panel59 .icon-item i
{
font-size: 1.3rem;
color: #222;
}
.panel59 /* خط زیر  */
.underline-strict
{
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
}
.panel59 .underline-strict::after
{
content: "";
position: absolute;
bottom: 0px;
left: 0;
width: 100%;
height: 1px;
background-color: #222;
transform: scaleX(1);
transform-origin: center;
opacity: 1;
transition: transform 0.3s ease, opacity 0.3s ease;
}
.panel59 .underline-strict:hover::after
{
transform: scaleX(0);
opacity: 0;
}
.panel59 /* هاور */
.login-btn:hover .underline-strict::after, .panel59 .icon-item:hover .underline-strict::after
{
transform: scaleX(0);
opacity: 0;
}
.panel59 .badge
{
position: absolute;
background-color: var(--primary);
color: #fff;
font-size: 0.7rem;
border-radius: 50%;
width: 18px;
height: 18px;
display: flex;
justify-content: center;
align-items: center;
top: -6px;
left: -6px;
}


/* ================== Responsive bottom header ================== */

@media (min-width: 992px)
{.panel59 .mobile-bottom-bar
{
display: none !important;
}

}



@media (max-width: 991px)
{.panel59 .header-bottom
{
z-index: 3002;
flex-direction: column;
align-items: center;
padding: 0.8rem 1.8rem;
gap: 1rem;
transition: all 0.4s ease;
}
.panel59 .search-box
{
width: 100%;
max-width: 100%;
margin: 0 1rem; /* فاصله از چپ و راست */
border-radius: 15px;
transition: all 0.4s ease;
}
.panel59 .action-icons
{
display: none;
}
.panel59 .mobile-bottom-bar
{
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #fff;
display: flex;
justify-content: space-around;
align-items: center;
padding: 0.1rem 0;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
z-index: 999;
border-top: 1px solid #eee;
transition: all 0.3s ease;
}
.panel59 .mobile-bottom-bar .bar-item
{
flex: 1;
text-align: center;
color: #666;
font-size: 0.75rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 0.3rem 0;
transition: color 0.3s ease;
position: relative;
cursor: pointer;
overflow: hidden;
text-decoration: none;
}
.panel59 .mobile-bottom-bar .bar-item i
{
font-size: 1.3rem;
transition: transform 0.3s ease;
}
.panel59 .mobile-bottom-bar .bar-item:hover, .panel59 .mobile-bottom-bar .bar-item.active
{
color: var(--primary);
}
.panel59 .mobile-bottom-bar .bar-item:hover i, .panel59 .mobile-bottom-bar .bar-item.active i
{
transform: scale(1.15);
}
.panel59 /* ----------- آیکون سبد با عدد ----------- */
.cart-icon-with-badge .icon-wrapper
{
position: relative;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease;
}
.panel59 .cart-icon-with-badge .badge
{
position: absolute;
top: -6px;
right: -10px;
background-color: var(--primary);
color: white;
font-size: 0.65rem;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
pointer-events: none;
animation: popIn 0.3s ease;
}
.panel59 .cart-icon-with-badge:hover .icon-wrapper, .panel59 .cart-icon-with-badge.active .icon-wrapper
{
transform: scale(1.15);
}
.panel59 /* ----------- خط زیر متن ----------- */
.mobile-bottom-bar .bar-item span
{
position: relative;
z-index: 0;
}
.panel59 .mobile-bottom-bar .bar-item span::after
{
content: '';
position: absolute;
bottom: -3px;
left: 50%;
transform: translateX(-50%) scaleX(0);
width: 100%;
height: 2px;
background-color: var(--primary);
border-radius: 2px;
transition: transform 0.3s ease;
transform-origin: center;
}
.panel59 .mobile-bottom-bar .bar-item.active span::after, .panel59 .mobile-bottom-bar .bar-item:hover span::after
{
transform: translateX(-50%) scaleX(1);
}


/* ----------- انیمیشن عدد ----------- */
@keyframes popIn
{.panel59 from
{
transform: scale(0.6);
opacity: 0;
}
.panel59 to
{
transform: scale(1);
opacity: 1;
}

}

}