﻿
        #topNav ul.dropdown-menu {
            min-width: 110px;
        }
        
        .overlay.dark-6 {
            background-color: rgb(50 76 63 / 43%)!important;
        }
        
        #header.header-sm #topNav #topMain>li>a {
            height: unset!important;
            line-height: 20px;
        }
        
        #topMain.nav-pills>li>a.dropdown-toggle {
            padding-right: unset!important;
            -webkit-border-radius: 0;
            -moz-border-radius: 0;
            border-radius: 0;
        }
        
        .nav>li>a {
            position: unset!important;
            display: unset!important;
            padding: unset!important;
        }
        
        #topMain.nav-pills>li.active>a {
            color: #dde1e6!important;
        }
        
        @media (min-width: 768px) {
            .menu-item.active {
                background-color: rgb(18 158 49);
                color: white;
            }
          
            .menu-item:hover:not(.active) {
                background-color: #eeeeee;
            }
            .menu {
                /* list-style: none;
  padding: 0;
  display: flex;
  gap: 10px; */
                /* background-color: #f0f0f0; */
                padding: 15px!important;
                border-radius: 8px;
            }
            #topMain>li {
                border-bottom: unset!important;
            }
        }
        /* #topMain>li {
    border-bottom: rgb(85 237 29 / 64%) 1px solid!important;
} */

        #topMain li {
            text-align: center!important;
        }
        
        #topMain li a {
            text-align: center!important;
        }
        
        @media only screen and (max-width: 992px) {
            #topMain,
            #topNav ul.dropdown-menu {
                color: #fff;
                background-color: rgb(18 158 49)!important;
            }
        }
        
        #topNav button.btn-mobile i {
            padding: 0;
            margin: 0;
            font-size: 34px!important;
            color: rgb(18, 78, 3)!important;
        }
        /* استایل کلی لیست */
        
        .menu {
            /* list-style: none;
  padding: 0;
  display: flex;
  gap: 10px; */
            /* background-color: #f0f0f0; */
            padding: 0;
            border-radius: 0;
        }
        /* استایل هر آیتم منو */
        
        .menu-item {
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 5px;
            transition: all 0.3s ease;
            /* برای نرم شدن تغییر رنگ */
            /* font-family: sans-serif; */
             font-family: 'B Yekan';
            color: #333;
        }
        /* ol, ul {
    margin-top:unset!important; 
    margin-bottom: 10px!important;
} */
   







                /* #topMain.nav-pills>li.active>a {
    color: #0bdc20;
    background-color: rgb(8, 101, 5);
} */
                
                .z-index-1 {
                    z-index: unset!important;
                }
                
                .heading-title.heading-arrow-bottom:after {
                    content: ' '!important;
                    position: absolute!important;
                    width: 0!important;
                    height: 0!important;
                    border-left: 20px solid transparent;
                    border-right: 20px solid transparent;
                    border-top: 20px solid rgb(18 158 49)!important;
                    left: 50%;
                    margin-left: -20px;
                    bottom: -20px;
                }
           







        
            /* پیدا کردن بخش اصلی اسلاید و اعمال قوس */
            
            section.nomargin {
                position: relative;
                /* این خط جادوی اصلی است */
                clip-path: ellipse(150% 100% at 50% 0%);
                /* اگر می‌خواهید قوس ملایم‌تر باشد از این استفاده کنید:
       clip-path: path('M0,0 L100%,0 L100%,90% Q50%,100% 0,90% Z'); 
    */
            }
       






         
          
            .column {
                width: 100%;
                padding: 0 0.8em 1.5em 0.8em;
                text-align: center;
            }
            
           .card {
    margin-bottom: 13px!important;
    width: 100%;
    height: 100%;
    padding: 0;
    background: linear-gradient(#ffffff 50%, rgb(18 158 49) 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 12px;
    box-shadow: 3px 4px 19px #129e315e;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(40, 124, 133, 0.2);
    display: flex;
    flex-direction: column;
}
            /* h3 {
   
  } */
            /* 
  p {
    color: #575a7b;
    font-size: 0.85rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-bottom: 0;
    flex-grow: 1;
  } */
            /* .icon-wrapper {
    background: linear-gradient(145deg, #287c85, #4facfe);
    position: relative;
    margin: 0 auto 0.5rem;
    font-size: 1.8rem;
    height: 5rem;
    width: 5rem;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    box-shadow: 0 8px 18px rgba(40, 124, 133, 0.35);
  } */
            
            .card:hover {
                background-position: 0 100%;
                transform: translateY(-6px);
                box-shadow: 0 15px 30px rgba(40, 124, 133, 0.3);
            }
            
            .card:hover .icon-wrapper {
                background: #ffffff;
                color: #287c85;
                transform: scale(1.1) rotate(5deg);
                box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
            }
            
            .card:hover h3 {
                color: #ffffff!important;
            }
            
            .card:hover p {
                color: #f0f0f0;
            }
           
            @media screen and (min-width: 768px) {
                .column {
                    flex: 0 0 50%;
                    max-width: 50%;
                }
             
            }
            
            @media screen and (min-width: 992px) {
                .column {
                    flex: 0 0 33.33%;
                    max-width: 20%;
                    overflow-y:none;
                    overflow-y:hidden;
                }
            }
            /* تنظیمات فونت و RTL */
            /* body {
    font-family: 'Vazir', 'Open Sans', sans-serif;
  }
  h3, p {
    text-align: center;
  } */
    




















            .back-link {
                text-align: center;
                margin: 0 0 40px 0;
            }
            
            .back-link a {
                display: inline-flex;
                flex-direction: row;
                align-items: center;
                text-decoration: none;
                color: #129e31;
                font-family: 'B Yekan';
                font-size: 16px;
                transition: all 0.3s ease;
                font-weight: 500;
            }
            
            .back-link a:hover {
                color: #fff;
            }
            
            .animated-arrow {
                margin-bottom: 10px;
                animation: bounce 2s infinite ease-in-out;
                transition: transform 0.3s ease;
            }
            
            .back-link a:hover .animated-arrow {
                transform: scale(1.1);
                fill: #fff;
            }
            
            @keyframes bounce {
                0%,
                100% {
                    transform: translateY(0);
                }
                50% {
                    transform: translateY(-10px);
                }
            }
    





        
            
            section::after,
            section::before {
                content: unset!important;
                ;
            }
            
            .product-section {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                /* همیشه ۴ ستون */
                gap: 20px;
                padding: 15px 15px 15px 15px;
                max-width: 1170px;
                margin: auto;
            }
            /* .product-section {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                gap: 20px;
                padding: 30px;
                max-width: 1000px;
                margin: auto;
            }
             */
            
            .product-box {
                background: white;
                border-radius: 10px;
                padding: 20px;
                text-align: center;
                /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
                box-shadow: 3px 4px 19px #129e315e;
                transition: transform 0.2s, box-shadow 0.2s;
            }
            
            .product-box:hover {
                transform: translateY(-5px);
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            }
            
            .top-row {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 15px;
            }
            
            .barcode {
                width: 80px;
                height: 80px;
            }
            
            .cart-icon {
                width: 50px;
                height: 50px;
                filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
            }
            
            .buy-btn {
                background-color: rgb(18, 158, 49);
                /* رنگ جدید دکمه */
                width: 100%;
                /* دکمه تمام عرض */
                border: none;
                color: white;
                padding: 10px 20px;
                border-radius: 7px;
                font-size: 16px;
                cursor: pointer;
                transition: background 0.25s;
            }
            
            .buy-btn:hover {
                background-color: #007a62;
            }
           
            @media (max-width: 480px) {
                .top-row {
                    flex-direction: row-reverse;
                    justify-content: space-around;
                }
                 .t1{
padding-top: 1rem;
    padding-bottom: 1rem;;
}
                .barcode {
                    width: 70px;
                    height: 70px;
                }
                .cart-icon {
                    width: 45px;
                    height: 45px;
                }
                .buy-btn {
                    width: 100%;
                }
            }
     







           
            .restate-box-search .restate-box-title {
                font-size: 14px !important;
                line-height: 18px !important;
            }
            
            .size-40 {
                font-size: 28px !important;
                line-height: 46px !important;
            }
            
            .text-silver {
                color: rgb(55 112 21) !important;
            }
            
            input.form-control,
            select.form-control,
            textarea.form-control {
                height: auto;
                color: #121212;
                background-color: #fff;
                border-color: rgb(18 158 49);
                width: 100%;
                border-width: 1px;
                font-size: 15px;
                line-height: 15px;
                padding: 14px 20px;
                border-radius: 3px;
                margin-bottom: 15px;
                outline: none;
                -webkit-appearance: none;
                -webkit-transition: all .300s;
                -moz-transition: all .300s;
                -o-transition: all .300s;
                transition: all .300s;
            }
            
            .btn:not(.btn-xs):not(.btn-sm):not(.btn-md):not(.btn-lg):not(.btn-xlg):not(.btn-reveal):not(.btn-3d):not(.btn-social):not(.btn-v1) {
                height: auto;
                padding: 10px 20px!important;
            }
            
            .input-group-btn:last-child>.btn,
            .input-group-btn:last-child>.btn-group {
                margin-right: -12px!important;
                margin-left: auto;
                border-radius: 8px!important;
            }
            
            .restate-box-search h1,
            .restate-box-search h2,
            .restate-box-search h3,
            .restate-box-search h4,
            .restate-box-search h5,
            .restate-box-search h6,
            .restate-box-search p,
            .restate-box-search a:hover {
                text-align: right !important;
            }
            
            .open>.dropdown-toggle.btn-primary,
            .btn-primary,
            .btn-primary:active,
            .btn-primary:focus,
            .btn-primary:hover .pagination>.active>a,
            .pagination>.active>a:hover {
                border-color: rgb(18 158 49);
            }
        







        
     .img-hover {
    box-shadow: 0 4px 15px rgb(18 158 49 / 41%);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    margin: 5px;
}








    
 
     /* سکشن با عرض محدود و نه تمام عرض */
        .election-atlas {
            max-width: 1170px;
            width: 90%;
            background: #ffffff;
            /* border-radius: 2.8rem; */
            /* box-shadow: 0 35px 55px -20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(18, 158, 49, 0.15); */
            /* overflow: hidden; */
            transition: all 0.3s; 
            margin: 0 auto;
            /* margin-bottom: 2rem; */
             /* box-shadow: 3px 4px 19px rgba(18, 158, 49, 0.37); */
        }
 
        .dual-columns {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 0;
            background: white;
        }

        /* ستون چپ: نقشه بهم چسبیده */
        .map-side {
            background: #fefef9;
            padding: 2rem 1.5rem;
            border-left: 1px solid rgba(18, 158, 49, 0.25);
        }

        .atlas-badge {
            display: inline-block;
            background: rgb(18, 158, 49);
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 0.3rem 1.2rem;
            border-radius: 40px;
            letter-spacing: 0.3px;
            margin-bottom: 1rem;
            box-shadow: 0 3px 10px rgba(18, 158, 49, 0.3);
        }

        .map-side h3 {
            font-size: 1.8rem;
            font-weight: 800;
            color: #1b3b16;
            margin-bottom: 0.4rem;
            letter-spacing: -0.3px;
        }

        .map-desc {
            color: #3c5836;
            margin-bottom: 1.8rem;
            font-size: 1.5rem;
            border-right: 4px solid rgb(18, 158, 49);
            padding-right: 0.8rem;
            font-weight: 500;
        }







        
        /* شبکه چسبیده شهرها (همانند نقشه به هم چسبیده) */
        .city-grid-clustered {
            display: grid;
            /* grid-template-columns: repeat(2, 1fr); */
            grid-template-columns: repeat(3, 1fr);

            gap: 0;
            background-color: #f0f5eb;
            border-radius: 1.8rem;
            overflow: hidden;
            border: 1px solid rgba(18, 158, 49, 0.3);
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
        }
        
/* سه آیتم اول در ردیف اول سه ستونه */
/* چهارمین آیتم (ردیف دوم) را یک ستونه و وسط قرار بده */

/* چهارمین آیتم (ردیف دوم) را تمام عرض (به اندازه سه ستون ردیف اول) قرار بده */
.city-tile:nth-child(4) {
    grid-column: 1 / -1; /* از ستون اول تا آخر - یعنی کل عرض */
    width: 100%;
}

        .city-tile {
            position: relative;
            cursor: pointer;
            background: white;
            transition: all 0.25s ease;
            border: 1px solid rgba(18, 158, 49, 0.2);
            margin: -1px 0 0 -1px; /* چسبندگی کامل */
            overflow: hidden;
        }

        .city-tile:hover {
            z-index: 3;
            transform: scale(1.01);
            box-shadow: 0 10px 20px rgba(18, 158, 49, 0.2);
            border-color: rgb(18, 158, 49);
        }

        .city-tile.active {
            border: 2px solid rgb(18, 158, 49);
            z-index: 4;
            background: linear-gradient(145deg, #ffffff, #f9fff5);
            box-shadow: 0 8px 18px rgba(18, 158, 49, 0.3);
        }

        .map-img {
            width: 100%;
            /* aspect-ratio: 16 / 10; */
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        .city-tile:hover .map-img {
            transform: scale(1.02);
        }

        .city-label {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(6px);
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            font-weight: 800;
            font-size: 0.8rem;
            color: #1d4d1a;
            border-right: 2px solid rgb(18, 158, 49);
            pointer-events: none;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }
/* ستون راست: اسکرول سفید */
.info-board::-webkit-scrollbar {
    width: 6px;
}

.info-board::-webkit-scrollbar-track {
    background: #f0f0f0; /* زمینه روشن */
    border-radius: 10px;
}

.info-board::-webkit-scrollbar-thumb {
    background: #ffffff; /* سفید */
    border-radius: 10px;
    border: 1px solid #e0e0e0; /* حاشیه بسیار کمرنگ برای دیده شدن */
}

/* برای مرورگر فایرفاکس */
.info-board {
    scrollbar-width: thin;
    scrollbar-color: #ffffff #f0f0f0;
}

        /* ستون راست: اطلاعات جامع انتخاباتی */
       .info-board {
    background: #ffffff;
    padding: 2rem 2rem; 
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 600px;
}
        .info-board::-webkit-scrollbar {
            width: 5px;
        }
        .info-board::-webkit-scrollbar-track {
            background: #e2ecd9;
            border-radius: 8px;
        }
        .info-board::-webkit-scrollbar-thumb {
            background: rgb(18, 158, 49);
            border-radius: 8px;
        }

        .city-headline {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 1.8rem;
    border-bottom: 2px solid rgba(18, 158, 49, 0.25);
    padding-bottom: 1rem;
}

.city-icon-box {
    background: rgb(18, 158, 49);
    width: 68px;
    height: 68px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 8px 14px rgba(18, 158, 49, 0.25);
}
       .city-headline h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #153811;
}

.city-sub {
    font-size: 1.1rem;
    color: rgb(18, 158, 49);
    font-weight: 600;
    margin-top: 6px;
}

        /* کارت های آماری */
        .election-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.2rem 0 1.5rem;
}

.stat-card {
    background: #f4fcf0;
    border-radius: 1.2rem;
    padding: 0.9rem 1.3rem;
    flex: 1 0 auto;
    min-width: 135px;
    border: 1px solid rgba(18, 158, 49, 0.25);
}



        .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgb(18, 158, 49);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f3b1c;
    margin-top: 8px;
    line-height: 1.3;
}

.full-description {
    background: #fefef5;
    padding: 1.3rem 1.6rem;
    border-radius: 1.5rem;
    border-right: 5px solid rgb(18, 158, 49);
    margin: 1rem 0;
    color: #2a4126;
    line-height: 1.8;
    font-size: 1.3rem;
}

       .council-info {
    background: #eef5ea;
    padding: 1.2rem 1.5rem;
    border-radius: 1.2rem;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.council-badge {
    background: rgb(18, 158, 49);
    color: white;
    font-weight: bold;
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    font-size: 0.85rem;
}

.council-text {
    font-size: 0.95rem;
    color: #1d3b18;
    font-weight: 500;
    line-height: 1.6;
    flex: 1;
}

.extra-link {
    margin-top: 1rem;
    font-size: 1.5rem;
    color: rgb(18, 158, 49);
    display: flex;
    gap: 10px;
    border-top: 1px dashed rgba(18,158,49,0.3);
    padding-top: 1rem;
    flex-wrap: wrap;
}

        /* انیمیشن */
        .fade-in-up {
            animation: fadeUp 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ریسپانسیو */
        @media (max-width: 880px) {
            .dual-columns {
                grid-template-columns: 1fr;
            }
            .map-side {
                border-left: none;
                border-bottom: 1px solid rgba(18, 158, 49, 0.2);
                padding: 1.5rem;
            }
            .info-board {
                padding: 1.5rem;
                max-height: 500px;
            }
            .city-headline h2 {
                font-size: 1.6rem;
            }
            .election-atlas {
                width: 95%;
            }
        }

        @media (max-width: 550px) {
            .city-grid-clustered {
                grid-template-columns: 1fr;
            }
            .city-tile .map-img {
                aspect-ratio: 16 / 8;
            }
            .election-stats-grid {
                flex-direction: column;
            }
        }
   







     
        /* فونت دلخواه شما */
        @font-face {
            font-family: 'B Yekan';
            src: url('https://cdn.fontcdn.ir/FontPersian/BYekan/BYekan.eot');
            src: url('https://cdn.fontcdn.ir/FontPersian/BYekan/BYekan.eot?#iefix') format('embedded-opentype'),
                 url('https://cdn.fontcdn.ir/FontPersian/BYekan/BYekan.woff') format('woff'),
                 url('https://cdn.fontcdn.ir/FontPersian/BYekan/BYekan.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }


        section::after,
        section::before {
            content: unset !important;
        }

        /* ========== کلاس‌های بدون تداخل ========== */
        
        /* کانتینر اصلی محصولات */
        .eshop-products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            padding: 15px;
            max-width: 1170px;
            margin: auto;
        }

        /* هر باکس محصول */
        .eshop-product-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            box-shadow: 3px 4px 19px #129e315e;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .eshop-product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        /* ردیف اول: فقط یک آیکون یا عکس (وسط قرار گرفته) */
        .eshop-icon-row {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }

        /* آیکون یا عکس اصلی محصول */
        .eshop-main-icon {
            width: 100px;
            height: 100px;
            object-fit: contain;
            filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
        }

        /* ردیف دوم: توضیحات محصول - بدون رنگ پس‌زمینه */
        .eshop-product-desc {
            font-family: 'B Yekan', sans-serif;
            font-size: 1rem;
            line-height: 1.6;
            color: #333;
            background: transparent;
            margin: 0 0 15px 0;
            padding: 0;
            text-align: center;
        }

        /* توضیح برجسته به جای دکمه خرید */
        .eshop-highlight-text {
            font-family: 'B Yekan', sans-serif;
            font-size: 1.3rem;
            font-weight: bold;
            color: #129e31;
            background: transparent;
            /* margin-top: 10px; */
            padding: 8px 0;
            text-align: center;
            border-top: 1px dashed #ddd;
            display: inline-block;
            width: 100%;
        }

        /* ریسپانسیو برای موبایل */
        @media (max-width: 480px) {
            .eshop-main-icon {
                width: 80px;
                height: 80px;
            }
            .eshop-product-desc {
                font-size: 0.9rem;
            }
            .eshop-highlight-text {
                font-size: 1.1rem;
            }
        }









            a.social-icon.social-icon-transparent {
                background-color: transparent;
                text-shadow: none;
                color: #fcfbfb !important;
            }
            
            #footer.footer-light a.social-icon {
                color: #fcfbfb !important;
            }
            
            #footer.footer-light p,
            #footer.footer-light a,
            #footer.footer-light ul.footer-links>li>a {
                color: #fcfbfb !important;
            }
            
            #footer.footer-light h1,
            #footer.footer-light h2,
            #footer.footer-light h3,
            #footer.footer-light h4,
            #footer.footer-light h5,
            #footer.footer-light h6 {
                color: #d4d0d0;
            }
            
            #footer.footer-light .copyright,
            #footer.footer-light .copyright a {
                color: #023506;
            }
            
            #footer.footer-light {
                /* linear-gradient(45deg, #111913, rgb(18 158 49)); */
                color: #666;
                /* background-color: #129e31; */
                background-image: none;
                /* background: linear-gradient(10deg, #56f009 0%, #129e31 50%, #014211 100%)!important; */
                background: linear-gradient(10deg, #56f009 0%, #14351b 50%, #0a3a16 100%);
            }
            #footer>.container {
    padding-top: 60px;
 margin-bottom:0!important; 
}
    













	.restate-box-search h1,
	.restate-box-search h2,
	.restate-box-search h3,
	.restate-box-search h4,
	.restate-box-search h5,
	.restate-box-search h6,
	.restate-box-search p,
	.restate-box-search a:hover {
		color: #000 !important;
		text-shadow: none !important;
		text-align: right !important;
	}















#topNav .container {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
    justify-content: flex-start;
}







 /* تغییر رنگ دکمه ورود/ثبت‌نام هنگام کلیک (از آبی به سبز پررنگ) */
.login-signup-btn:active,
.login-signup-btn:focus,
.login-signup-btn:active i,
.login-signup-btn:focus i {
    color: #0a5c1e !important; /* سبز پررنگ */
    border-color: #0a5c1e !important;
    outline: none!important;
}
    /* استایل‌های ریسپانسیو برای هدر */
    #topNav .container {
        display: flex!important;
        flex-wrap: wrap!important;
        align-items: center!important;
        justify-content: space-between!important!important;
        /* width: 100%; */
    }
    .btn-mobile {
        order: 0!important;
        display: block!important;
        background: transparent!important;
        border: none!important;
    }
    .login-signup-btn {
        order: 1!important;
        margin: 0 10px!important;
        white-space: nowrap!important;
    }
    .logo {
        order: 2!important;
    }
    .navbar-collapse {
        order: 3!important;
        width: 100%!important;
        flex-basis: 100%!important;
    }
    /* دسکتاپ */
    @media (min-width: 992px) {
        .btn-mobile {
            display: none!important; /* مخفی کردن دکمه همبرگر */
        }
        .container {
            flex-wrap: nowrap!important;
        }
        .logo {
            order: 0!important;
            margin-left: auto!important; /* در RTL لوگو در سمت راست */
        }
        .navbar-collapse {
            order: 1!important;
            width: auto!important;
            flex: 1!important;
            text-align: left!important;
        }
        .login-signup-btn {
            order: 2!important;
            margin: 0 0 0 15px!important; /* فاصله از منو (در RTL) */
        }
        #topMain {
            display: flex!important;
            justify-content: flex-start!important;
        }
    }
  /* فقط اصلاح حالت موبایل: لوگو در همان ردیف هامبرگر و دکمه قرار گیرد */
@media (max-width: 991px) {
    #topNav .container {
        display: flex!important;
        flex-wrap: nowrap!important;        /* جلوگیری از رفتن لوگو به ردیف بعد */
        align-items: center!important;
        justify-content: space-between!important;
    }
    .btn-mobile {
        order: 0!important;
        flex-shrink: 0!important;
    }
    .login-signup-btn {
        order: 1!important;
        flex-shrink: 0!important;
        margin: 0 8px!important;
        font-size: 1.2rem!important;
        padding: 4px 12px!important;
    }
    .logo {
        order: 2!important;
        flex-shrink: 0!important;
    }
    .logo img {
        width: 12rem !important;   /* کوچک‌تر شدن لوگو در موبایل */
        max-height: 45px;
    }
    .navbar-collapse {
        order: 3!important;
        width: 100%!important;
        flex-basis: 100%!important;
        margin-top: 12px!important;
    }
    /* منوی همبرگری باز شده */
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
}
#header #topNav a.logo>img {
    max-height: 65px!important; 
}







