.hidden {
    display: none !important;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup-content {
    background: #fff;
    padding: 50px 20px;
    max-height: 80%;
    width: 90%;
    overflow-y: auto;
    position: relative;
}
#categories-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#categories-list li {
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
}
#categories-list li a {
    text-decoration: none;
    color: #333;
}
#categories-list li:hover {
    background: #f0f0f0;
}
#close-popup {
    position: absolute;
    top: 10px;
    left: 10px; /* تغییر به سمت چپ */
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
}
.breadcrumb strong a {
    text-decoration: none;
    color: #333;
}
#back-to-parent {
    position: absolute;
    top: 10px;
    right: 10px; /* تغییر به سمت راست */
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
}
#back-to-parent::before {
    content: '→'; /* فلش به سمت راست */
    margin-right: 5px;
    font-size: 18px;
    transform: rotate(180deg); /* برای زبان فارسی فلش به سمت چپ برعکس می‌شود */
}
.arrow {
    margin-left: 5px;
    color: #666;
    transform: rotate(180deg); /* جهت را برعکس می‌کند */
}
.breadcrumb-container {
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    text-align: right; /* هماهنگ با زبان فارسی */
}

.breadcrumb-container .breadcrumb-item {
    display: inline;
    cursor: pointer;
    color: #0073aa;
}

.breadcrumb-container .breadcrumb-item.current {
    color: #333;
    font-weight: bold;
    cursor: default;
}

.breadcrumb-container .breadcrumb-item a {
    text-decoration: none;
    color: inherit;
}

.breadcrumb-container .breadcrumb-item:hover {
    text-decoration: underline;
}
#open-categories-popup {    
	font-weight: 900;
    color: #54595F;
    border-color: #FDAC00;
    border-radius: 15px;
    font-size: 14px;
    border-width: 2px 2px 2px 2px;
    padding: 8px 14px 8px 14px !important;
	background-color: #fff;	
}
#open-categories-popup:hover{
	background-color: #fff;
} 
#open-categories-popup i{
	margin-left: 4px;
}