/* 
   استایل‌های هدر عریض - بر اساس فوتر-template.css
   این فایل باید به assets/css/header-template.css اضافه شود
*/

/* هدر اصلی عریض */
.wide-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100vw;
  /*  left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  */  border-bottom: 8px solid transparent;
    border-image: linear-gradient(90deg, #11bcb6, #0a9b96, #11bcb6) 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wide-header::before {
    content: '';
    position: absolute;
	
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #11bcb6 20%, 
        #0a9b96 50%, 
        #11bcb6 80%, 
        transparent 100%);
    animation: headerShine 3s infinite linear;
}

@keyframes headerShine {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.wide-header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(17, 188, 182, 0.5) 50%, 
        transparent 100%);
}

.header-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* بالای هدر - اطلاعات تماس و شبکه‌های اجتماعی */
.header-top-wide {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 14px;
}

.contact-item i {
    color: #11bcb6;
    font-size: 16px;
}

.header-social-wide {
    display: flex;
    gap: 15px;
}

.header-social-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.header-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #11bcb6, #0a9b96);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 188, 182, 0.3);
}

.header-social-icon:hover::before {
    opacity: 1;
}

.header-social-icon i {
    position: relative;
    z-index: 1;
}

.header-social-icon:hover i {
    color: white;
}

/* هدر اصلی */
.header-main-wide {
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.01);
}

.header-main-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* لوگو */
.header-logo-wide a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.header-logo-wide i {
    font-size: 45px;
    color: #11bcb6;
    background: linear-gradient(135deg, rgba(17, 188, 182, 0.1), rgba(10, 155, 150, 0.05));
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    color: #11bcb6;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 14px;
    color: #aaa;
    font-weight: 400;
}

/* منوی اصلی */
.main-menu-wide {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.menu-item-wide {
    position: relative;
}

.menu-item-wide > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item-wide > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #11bcb6, #0a9b96);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.menu-item-wide > a:hover {
    color: #11bcb6;
    background: rgba(17, 188, 182, 0.05);
}

.menu-item-wide > a:hover::before {
    transform: scaleX(1);
}

.menu-item-wide > a i {
    font-size: 18px;
    color: #11bcb6;
}

.menu-arrow {
    font-size: 12px !important;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.menu-item-wide:hover .menu-arrow {
    transform: rotate(180deg);
}

/* مگا منو */
.mega-menu-wide {
    position: absolute;
    top: 100%;
    right: 0;
    width: 800px;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(17, 188, 182, 0.2);
    border-top: 3px solid #11bcb6;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.menu-item-wide:hover .mega-menu-wide {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
	background-color: #0a0a0a ;
}

.mega-menu-column {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 20px;
}

.mega-menu-column:first-child {
    border-right: none;
}

.mega-menu-title {
    color: #11bcb6;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(17, 188, 182, 0.2);
}

.mega-menu-title i {
    font-size: 20px;
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-links li {
    margin-bottom: 12px;
}

.mega-menu-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.02);
}

.mega-menu-links a:hover {
    color: #11bcb6;
    background: rgba(17, 188, 182, 0.3);
    padding-right: 20px;
    transform: translateX(-5px);
}

/* اقدامات هدر */
.header-actions-wide {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* جستجو */
.header-search-wide {
    position: relative;
}

.search-toggle-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.search-toggle-btn:hover {
    background: linear-gradient(145deg, #11bcb6, #0a9b96);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 188, 182, 0.3);
}

.search-form-wide {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(17, 188, 182, 0.3);
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-form-wide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form-wide form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #11bcb6;
    background: rgba(17, 188, 182, 0.1);
}

.search-submit {
    width: 45px;
    background: linear-gradient(135deg, #11bcb6, #0a9b96);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(17, 188, 182, 0.4);
}

/* پنل کاربری */
.user-panel-wide {
    position: relative;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: rgba(17, 188, 182, 0.1);
    border-color: rgba(17, 188, 182, 0.3);
}

.user-btn i {
    font-size: 18px;
    color: #11bcb6;
}

.user-name {
    font-weight: 500;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(17, 188, 182, 0.2);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #ccc;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-dropdown-menu a:hover {
    background: rgba(17, 188, 182, 0.1);
    color: #11bcb6;
    padding-right: 20px;
}

.user-dropdown-menu a i {
    width: 20px;
    color: #11bcb6;
}

/* دکمه‌های ورود/ثبت نام */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-btn:hover {
    background: rgba(17, 188, 182, 0.1);
    color: #11bcb6;
    border-color: rgba(17, 188, 182, 0.3);
}

.register-btn {
    background: linear-gradient(135deg, #11bcb6, #0a9b96);
    color: white;
    border: none;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 188, 182, 0.4);
}

.auth-btn i {
    font-size: 16px;
}

/* دکمه منوی همبرگری */
.mobile-menu-toggle {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: linear-gradient(145deg, #11bcb6, #0a9b96);
    color: white;
    transform: translateY(-3px);
}

/* نوار پایینی هدر */
.header-bottom-wide {
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-bottom-content {
    max-width: 1600px;
    margin: 0 auto;
}

.header-nav-wide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.header-nav-link-wide {
    padding: 10px 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    color: #ccc;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.header-nav-link-wide:hover {
    background: linear-gradient(145deg, #11bcb6, #0a9b96);
    color: white;
    transform: translateY(-3px);
    border-color: #11bcb6;
    box-shadow: 0 5px 15px rgba(17, 188, 182, 0.3);
}

.header-nav-link-wide i {
    font-size: 16px;
}

/* منوی موبایل */
.mobile-menu-wide {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-wide.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: rgba(17, 188, 182, 0.05);
    border-bottom: 1px solid rgba(17, 188, 182, 0.2);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo i {
    font-size: 35px;
    color: #11bcb6;
    background: rgba(17, 188, 182, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #11bcb6;
}

.close-mobile-menu {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.close-mobile-menu:hover {
    background: #11bcb6;
    color: white;
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 25px;
}

.mobile-nav-wide {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-nav-wide li {
    margin-bottom: 10px;
}

.mobile-nav-wide > li > a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-wide > li > a:hover {
    background: rgba(17, 188, 182, 0.1);
    color: #11bcb6;
    border-color: rgba(17, 188, 182, 0.3);
    padding-right: 25px;
}

.mobile-nav-wide > li > a i {
    width: 24px;
    color: #11bcb6;
}

.mobile-nav-wide .has-children > a {
    justify-content: space-between;
}

.submenu-arrow {
    transition: transform 0.3s ease;
}

.mobile-nav-wide .has-children.active .submenu-arrow {
    transform: rotate(90deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0 20px 0 0;
    margin: 10px 0 0 0;
    display: none;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li {
    margin-bottom: 8px;
}

.mobile-submenu a {
    display: block;
    padding: 12px 25px;
    color: #aaa;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.01);
}

.mobile-submenu a:hover {
    color: #11bcb6;
    background: rgba(17, 188, 182, 0.05);
    padding-right: 35px;
}

.mobile-auth-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.mobile-auth-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-login {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-login:hover {
    background: rgba(17, 188, 182, 0.1);
    color: #11bcb6;
}

.mobile-register {
    background: linear-gradient(135deg, #11bcb6, #0a9b96);
    color: white;
    border: none;
}

.mobile-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 188, 182, 0.4);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* نوار پایینی موبایل */
.mobile-bottom-nav-wide {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #11bcb6, #0a9b96, #11bcb6) 1;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    height: 70px;
}

.mobile-bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.mobile-bottom-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.mobile-bottom-item span {
    font-size: 11px;
}

.mobile-bottom-item:hover,
.mobile-bottom-item.active {
    color: #11bcb6;
    transform: translateY(-3px);
}

.mobile-bottom-logo {
    margin-top: -20px;
}

.mobile-bottom-logo-img {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #11bcb6, #0a9b96);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(17, 188, 182, 0.4);
}

.mobile-bottom-logo-img i {
    font-size: 28px;
    color: white;
}

/* منوی دسترسی سریع موبایل */
.mobile-categories-wide {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-categories-wide.active {
    right: 0;
}

.mobile-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(17, 188, 182, 0.05);
    border-bottom: 1px solid rgba(17, 188, 182, 0.2);
}

.mobile-categories-header h4 {
    margin: 0;
    color: #11bcb6;
    font-size: 18px;
}

.close-categories-wide {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.close-categories-wide:hover {
    background: #11bcb6;
    color: white;
    transform: rotate(90deg);
}

.mobile-categories-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-categories-list li {
    margin-bottom: 12px;
}

.mobile-categories-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-categories-list a:hover {
    background: rgba(17, 188, 182, 0.1);
    color: #11bcb6;
    border-color: rgba(17, 188, 182, 0.3);
    padding-right: 20px;
}

.mobile-categories-list a i {
    width: 20px;
    color: #11bcb6;
}

.category-divider {
    padding: 15px 0 5px 0;
    color: #11bcb6;
    font-weight: 600;
    border-bottom: 1px solid rgba(17, 188, 182, 0.2);
    margin: 15px 0 10px 0;
}

/* انیمیشن‌ها */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل‌های ریسپانسیو */
@media (max-width: 1400px) {
    .header-main-wide {
        padding: 20px 30px;
    }
    
    .header-top-wide {
        padding: 10px 30px;
    }
    
    .header-bottom-wide {
        padding: 12px 30px;
    }
    
    .logo-main {
        font-size: 24px;
    }
    
    .menu-item-wide > a {
        padding: 12px 15px;
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    .header-main-content {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .desktop-menu-wide {
        order: 3;
        width: 100%;
    }
    
    .main-menu-wide {
        justify-content: center;
    }
    
    .mega-menu-wide {
        width: 600px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .header-top-wide {
        display: none;
    }
    
    .header-main-wide {
        padding: 15px 20px;
    }
    
    .header-logo-wide i {
        width: 55px;
        height: 55px;
        font-size: 35px;
    }
    
    .logo-main {
        font-size: 22px;
    }
    
    .logo-sub {
        font-size: 12px;
    }
    
    .header-actions-wide {
        gap: 10px;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .user-panel-wide {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-main-wide {
        padding: 12px 15px;
    }
    
    .header-logo-wide a {
        gap: 10px;
    }
    
    .header-logo-wide i {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
    
    .logo-main {
        font-size: 18px;
    }
    
    .logo-sub {
        font-size: 10px;
    }
    
    .search-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .search-form-wide {
        width: 250px;
    }
    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-main-wide {
        padding: 10px;
    }
    
    .header-logo-wide i {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
    
    .logo-main {
        font-size: 16px;
    }
    
    .logo-sub {
        display: none;
    }
    
    .mobile-bottom-nav-wide {
        height: 65px;
    }
    
    .mobile-bottom-item i {
        font-size: 18px;
    }
    
    .mobile-bottom-item span {
        font-size: 10px;
    }
    
    .mobile-bottom-logo-img {
        width: 45px;
        height: 45px;
    }
    
    .mobile-bottom-logo-img i {
        font-size: 22px;
    }
}

/* اصلاحات برای RTL */
html[dir="rtl"] .mega-menu-wide {
    right: 0;
    left: auto;
}

html[dir="rtl"] .mega-menu-column {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-left: none;
    padding-right: 20px;
    padding-left: 0;
}

html[dir="rtl"] .mega-menu-column:first-child {
    border-right: none;
}

html[dir="rtl"] .menu-arrow {
    margin-right: 5px;
    margin-left: 0;
}

html[dir="rtl"] .user-dropdown-menu {
    left: 0;
    right: auto;
}

html[dir="rtl"] .search-form-wide {
    left: 0;
    right: auto;
}

html[dir="rtl"] .mobile-menu-wide {
    right: -100%;
    left: auto;
}

html[dir="rtl"] .mobile-menu-wide.active {
    right: 0;
}

html[dir="rtl"] .mobile-categories-wide {
    right: -100%;
    left: auto;
}

html[dir="rtl"] .mobile-categories-wide.active {
    right: 0;
}