:root{
            --primary-color:hsl(1.25deg 76.6% 36.86%);
            --blue:hsl(252.48deg 92.59% 26.47%);
            --secondary-color:hsl(2.22deg 45.76% 88.43%);
            --third-color:hsl(51.39deg 98.39% 51.37%)
        }
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

      

        a{
            text-decoration: none;
        }
        ul{
            padding-left:0px !important;
        }
        @font-face {
    font-family: IRANYekanWebLight;
    src: url(/fonts/IRANYekanWebLight.ttf);
  }
  @font-face {
    font-family: IRANYekanWebBold;
    src: url(/fonts/IRANYekanWebBold.ttf);
  }
  @font-face {
    font-family: IRANYekanWebExtraBlack;
    src: url(/fonts/IRANYekanWebExtraBlack.ttf);
  }
  @font-face {
    font-family: IRANYekanWebExtraBold;
    src: url(/fonts/IRANYekanWebExtraBold.ttf);
  }
  @font-face {
    font-family: IRANYekanWebMedium;
    src: url(/fonts/IRANYekanWebMedium.ttf);
  }
  @font-face {
   font-family: iranyekanwebregularfanum;
    src: url(/fonts/iranyekanwebregularfanum.ttf);
  }
 
        
        body {
            font-family: iranyekanwebregularfanum;
            direction: rtl;
            font-size: 15px;
        }
         .container-fluid .row{
    max-width: 1678px;
    margin: 0px auto;
}
ul{
    margin-bottom:0px !important
}
.main-header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 10005;
    background-color: #fff;
    box-shadow: 0px 1px 20px -10px #333;
}
.navbar{
    font-size: 1.2em;
}


.main-nav li{
    display: inline-block;
}
.main-nav .nav-item > a {
    /* color: #fff; */
    text-decoration: none;
    padding: 15px; 
    display: block;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #000;
}

.main-nav .nav-item > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-nav .nav-item > a:hover,
.main-nav ul li.active-trigger a { 
    border-radius: 8px;
    color: var(--primary-color);
}

.main-nav .nav-item > a:hover::before {
    width: 90%;
}


.has-submenu{
    position: relative;
}
.has-submenu::after , .has-megamenu::after{
     font-family: 'Font Awesome 5 Free';
    content: "\f078";  /* fa-chevron-down */
    font-weight: 900;
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .7em;
}
.sub-menu-content{
     position: absolute;
    top: 100%;
    width: max-content;
    right: 0;
    background-color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    padding: 10px 15px;
    /* max-height: 350px; */
       border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--primary-color);
}
.has-submenu:hover .sub-menu-content {
   opacity: 1;
    visibility: visible;
    transform: translateY(0);

}    
.sub-menu-items {
    /* flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8f9fa; */
}

.sub-menu-item {
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.sub-menu-item:last-child {
    margin-bottom: 0;
}

.sub-menu-item a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sub-menu-item a::before {
    content: '';
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: right 0.5s ease;
}

.sub-menu-item a:hover {
    background: linear-gradient(180deg, var(--primary-color));
    color: #fff;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sub-menu-item a:hover::before {
    right: 100%;
}
 /* .has-megamenu {
    position: static;
} */

.has-megamenu{
    position: relative;
}

.has-megamenu .nav-link i {
    font-size: 12px;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.has-megamenu:hover .nav-link i {
    transform: rotate(-180deg);
}

.megamenu-container {
    position: absolute;
    top: 100%;
    width: 800px;
    right: 2.5%;
    background-color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    padding: 10px 0;
    /* max-height: 350px; */
       border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--primary-color);
    
}

.has-megamenu:hover .megamenu-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.megamenu-column {
    flex: 1;
    min-width: 220px;
    padding: 0 15px;
}

.megamenu-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

.megamenu-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Categories Column */
.categories-column {
    flex: 0 0 250px;
    border-left: 1px solid #eaeaea;
    height: 350px;
    max-height: 350px;
    overflow: auto;
}

.megamenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.megamenu-list li {
    margin-bottom: 12px;
}

.megamenu-list li a {
    color: #444;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    position: relative;
    padding-right: 15px;
}

.megamenu-list li a::before {
    content: '\f104';
    font-family: 'FontAwesome';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.megamenu-list li a:hover {
    color: var(--primary-color);
    padding-right: 20px;
}

.megamenu-list li a:hover::before {
    opacity: 1;
}

/* Dynamic Category Highlighting */
.category-item {
    position: relative;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.category-item:hover, 
.category-item.active {
    background-color: rgba(9, 132, 227, 0.08);
}

.category-item:hover a, 
.category-item.active a {
    color: var(--primary-color);
    font-weight: 500;
}

.category-item:hover a::before, 
.category-item.active a::before {
    opacity: 1;
}

.category-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -15px;
    width: 3px;
    background-color: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

/* Subcategories Column */
.subcategories-column {
    flex: 1;
    min-width: 280px;
    height: 350px;
    max-height: 350px;
    overflow: auto;
}

.subcategory-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.subcategory-content.active {
    display: block;
}

.subcategory-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.subcategory-list li a {
    padding: 8px 15px 8px 0;
    font-size: 13px;
    border-radius: 5px;
}

.subcategory-list li a:hover {
    background-color: rgba(9, 132, 227, 0.05);
}

/* View All Link */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
    padding: 8px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: #000;
}

.view-all-link:hover i {
    transform: translateX(-5px);
}

/* --- استایل‌های پایه برای دکمه همبرگری و پوشش --- */
.mobile-menu-toggle {
    display: none; /* در دسکتاپ مخفی است */
    background: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1100; /* بالاتر از بقیه المان‌ها */
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1040;
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* برای جلوگیری از اسکرول صفحه وقتی منو باز است */
body.no-scroll {
    overflow: hidden;
}
.sidebar-header{
    display: none !important;
}
.header-last{
    width: 100%;
}

@media (max-width: 991px) {
    .header-last{
        justify-content: stretch;
        width: 70%;
    }
    .megamenu-list{
        max-height: 300px;
        overflow-y: auto;
    }
    .mobile-menu-toggle {
        display: block; 
    }

    .sidebar-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px 15px 5px;
        border-bottom: 1px solid #eaeaea;
        background-color: var(--primary-color);
        color: #fff;
    }
    .megamenu-container{
        margin-top: 0px;
    }
    .sidebar-title {
        font-weight: 600;
        font-size: 1.1em;
    }
    .sidebar-close-btn {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        padding: 0 5px;
        color: #fff;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px; 
        width: 300px;
        height: 100%;
        background-color: #fff;
        z-index: 10005;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 0 !important;
        overflow-y: auto; /* برای اسکرول در منوهای طولانی */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .main-nav.is-open {
        right: 0;
    }

    .main-nav li {
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav .nav-item > a {
        padding: 15px 25px;
        border-radius: 0;
    }
    .main-nav .nav-item > a:hover {
        background-color: #f8f8f8;
        color: var(--primary-color);
    }
    .main-nav .nav-item > a::before {
        display: none; 
    }

    .mobile-arrow {
        display: inline-block;
        float: left; 
        transition: transform 0.3s ease;
        font-size: 14px;
        margin-top: 5px;
    }
    .nav-item.is-open > a > .mobile-arrow {
        transform: rotate(180deg);
    }

    .has-submenu .sub-menu-content,
    .has-megamenu .megamenu-container {
        position: static; 
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background-color: #f9f9f9;
        padding: 10px 0;
        display: none;
    }
    
    .megamenu-wrapper, .megamenu-column {
        display: block;
        flex: none;
        border: none;
        height: auto;
        max-height: none;
    }
    
    .sub-menu-item a, .megamenu-list li a {
        padding: 10px 35px;
    }
     .has-megamenu .megamenu-container {
        position: static;
        width: 100%;
        display: none; 
        padding: 0;
        background-color: #f7f7f7;
       
    }

   
    .megamenu-wrapper {
        display: flex;
        flex-direction: column; 
    }

    .megamenu-column {
        width: 100%;
        border-left: none;
        padding: 0;
        height: auto;
        overflow: visible;
    }
    
    .megamenu-column.subcategories-column {
        padding: 0; /* حذف پدینگ اضافه */
    }

    /* استایل آیتم‌های دسته‌بندی */
    .megamenu-list.categories-list .category-item a {
        padding: 12px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #e9e9e9;
    }

    .megamenu-list.categories-list .category-item a::after {
        content: '\f107'; /* FontAwesome angle-down */
        font-family: 'FontAwesome';
        transition: transform 0.3s ease;
    }

    /* وقتی آیتم فعال است، آیکون می‌چرخد */
    .megamenu-list.categories-list .category-item.is-active a::after {
        transform: rotate(180deg);
    }
    
    /* --- جادوی CSS اینجاست --- */
    /* همه زیرمجموعه‌ها در ستون دوم به طور پیش‌فرض مخفی هستند */
    .subcategory-content {
        display: none;
        background-color: #ffffff;
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
    }

   
    
    /* استایل‌های داخلی زیرمجموعه مثل قبل */
    .subcategory-list {
        grid-template-columns: 1fr;
    }
    .subcategory-list li a {
        padding: 10px 50px;
    }
    .megamenu-title{
        display: none;
    }
}

.header-last > div{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-menu {
    position: absolute;
    top: 100%;
    left: -50px;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 107, 53, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: hidden;
    margin-top: 10px;
}

 .user-menu.active
{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user{
    cursor: pointer;
}



.user-header {
    display: flex;
        background: linear-gradient(135deg, var(--primary-color), #502f2f) ;
    color: #ffffff;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.user-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 107, 53, 0.1) 100%);
    pointer-events: none;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 10px;
}

.user-info {
    flex: 1;
}

.user-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.user-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

/* آیتم‌های منو */
.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-item:hover {
    background: rgba(255, 107, 53, 0.05);
    color: var(--primary-color);
}

.menu-item i {
    margin-left: 15px;
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--primary-color);
}

.menu-item span {
    font-size: 14px;
}

/* کیف پول */
.wallet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 107, 53, 0.03);
}

.wallet-info {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.wallet-amount {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
}

.wallet-icon {
    margin-left: 15px;
    color: var(--secondary-color);
    font-size: 18px;
}

/* دکمه خروج */
.logout {
    color: #333;
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.logout i {
    color: #dc3545;
}

.logout:hover {
    background: rgba(220, 53, 69, 0.05);
}

.logout:hover i {
    color: #dc3545;
}

.logout:hover span {
    color: #dc3545;
}
 .cart {
    display: flex ;
    align-items: center ;
    gap: 8px ;
    color: white ;
    font-size: 13px ;
    cursor: pointer ;
    position: relative ;
    /* padding: 15px 12px ; */
    border-radius: 8px ;
    transition: all 0.3s ease ;
    width: auto ;
    height: auto ;
    background: transparent ;
    border: none ;
    margin: 0 ;
}

 .cart:hover {
    background: rgba(255, 255, 255, 0.1) ;
}

 .cart img {
   
    max-width: none ;
    display: inline-block ;
    transition: all 0.3s ease ;
}

 .cart:hover img {
    transform: scale(1.1) ;
}


.cart-badge {
    position: absolute ;
    top: -6px ;
    right: 4px ;
    background: #444 !important;
    color: white !important;
    font-size: 10px ;
    font-weight: bold ;
    padding: 2px 6px ;
    border-radius: 50% ;
    width: 18px ;
    height: 18px ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    z-index: 2 ;
    animation: pulse 2s infinite ;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

 .cart .cart-dropdown {
    position: absolute ;
    top: 100% ;
    left:-50% ;
    width: 320px ;
    min-width: 320px ;
    max-width: none ;
    background: #ffffff ;
    border-radius: 12px ;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 107, 53, 0.1) !important;
    opacity: 0 ;
    visibility: hidden ;
    transform: translateY(15px) ;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) ;
    z-index: 9999 ;
    overflow: hidden ;
    margin-top: 10px ;
    padding: 0 ;
    border: none ;
    display: block ;
    float: none ;
    max-height: 450px ;
}

 .cart:hover .cart-dropdown,
 .cart .cart-dropdown:hover {
    opacity: 1 ;
    visibility: visible ;
    transform: translateY(0) ;
    display: block ;
}



/* Cart Header */
 .cart .cart-header {
    background: linear-gradient(135deg, var(--primary-color), #502f2f) ;
    color: #ffffff ;
    padding: 15px 20px ;
    text-align: center ;
    position: relative ;
    overflow: hidden ;
    margin: 0 ;
    border-radius: 12px 12px 0 0 ;
}

 .cart .cart-header::before {
    content: '' ;
    position: absolute ;
    top: 0 ;
    left: 0 ;
    right: 0 ;
    bottom: 0 ;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 107, 53, 0.1) 100%) !important;
    pointer-events: none ;
}

 .cart .cart-header h4 {
    margin: 0 !important;
    font-size: 16px ;
    font-weight: 600 ;
    position: relative ;
    z-index: 2 ;
    color: #ffffff ;
    line-height: 1.4 ;
    padding: 0 ;
}

 .cart .cart-header .cart-count {
    margin: 5px 0 0 0 ;
    font-size: 12px ;
    opacity: 0.9 ;
    position: relative ;
    z-index: 2 ;
    color: #ffffff ;
}

/* Cart Items Container */
 .cart .cart-items {
    max-height: 250px ;
    overflow-y: auto ;
    padding: 10px 0 ;
    background: #ffffff ;
    margin: 0 ;
}

/* Individual Cart Item */
 .cart .cart-item {
    display: flex ;
    align-items: center ;
    gap: 12px ;
    padding: 12px 20px ;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) ;
    transition: all 0.3s ease ;
    position: relative ;
    background: transparent ;
    margin: 0 ;
}

 .cart .cart-item:last-child {
    border-bottom: none ;
}

 .cart .cart-item:hover {
    background: rgba(255, 107, 53, 0.05) !important;
}

 .cart .cart-item-image {
    width: 50px ;
    height: 50px ;
    border-radius: 8px ;
    overflow: hidden ;
    flex-shrink: 0 ;
    border: 1px solid rgba(0, 0, 0, 0.1) ;
}

 .cart .cart-item-image img {
    width: 100% ;
    height: 100% ;
    object-fit: contain ;
    display: block ;
}

/* Cart Item Details */
 .cart .cart-item-details {
    flex: 1 ;
    overflow: hidden ;
}

 .cart .cart-item-name {
    font-size: 13px ;
    font-weight: 600 ;
    color: #333 ;
    margin: 0 0 4px 0 ;
    line-height: 1.3 ;
    white-space: nowrap ;
    overflow: hidden ;
    text-overflow: ellipsis ;
}

 .cart .cart-item-info {
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    font-size: 11px ;
    color: #666 ;
}

 .cart .cart-item-quantity {
    background: rgba(255, 107, 53, 0.1) ;
    color: var(--secondary-color) ;
    padding: 2px 6px ;
    border-radius: 4px ;
    font-weight: bold ;
}

 .cart .cart-item-price {
    font-weight: bold ;
    color: var(--primary-color) ;
}

/* Remove Item Button */
 .cart .cart-item-remove {
    width: 20px ;
    height: 20px ;
    background: rgba(220, 53, 69, 0.1) ;
    color: #dc3545 ;
    border: none ;
    border-radius: 50% ;
    cursor: pointer ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    font-size: 10px ;
    transition: all 0.3s ease ;
    flex-shrink: 0 ;
}

 .cart .cart-item-remove:hover {
    background: #dc3545 ;
    color: white ;
    transform: scale(1.1) ;
}


 .cart .cart-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1) ;
    padding: 15px 20px ;
    background: #f8f9fa ;
    border-radius: 0 0 12px 12px ;
}

 .cart .cart-total {
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    margin-bottom: 15px ;
    font-size: 16px ;
    font-weight: bold ;
    color: var(--primary-color) ;
}

 .cart .cart-buttons {
    display: flex ;
    gap: 8px ;
}

 .cart .cart-btn {
    flex: 1 ;
    padding: 10px 15px ;
    border: none ;
    border-radius: 6px ;
    font-size: 12px ;
    font-weight: 600 ;
    cursor: pointer ;
    transition: all 0.3s ease ;
    text-decoration: none ;
    text-align: center ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
}

 .cart .cart-btn.view-cart {
    background: rgba(255, 107, 53, 0.1) ;
    color: var(--secondary-color) ;
    border: 1px solid var(--secondary-color) ;
}

 .cart .cart-btn.view-cart:hover {
    background: var(--secondary-color) ;
    color: white ;
}

 .cart .cart-btn.checkout {
    background: var(--primary-color) ;
    color: white ;
}

 .cart .cart-btn.checkout:hover {
    background: var(--blue) ;
    transform: translateY(-1px) ;
}

/* Custom Scrollbar */
 .cart .cart-items::-webkit-scrollbar {
    width: 4px;
}

 .cart .cart-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

 .cart .cart-items::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.3);
    border-radius: 2px;
}

 .cart .cart-items::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.5);
}

@media (max-width: 768px) {
 .cart .cart-dropdown {
        width: 280px;
        min-width: 280px;
        left: 0px ;
    }

 .cart .cart-dropdown::before {
        right: 100px ;
    }

    .cart .cart-item {
        padding: 10px 15px ;
    }

 .cart .cart-item-image {
        width: 40px ;
        height: 40px ;
    }
}
/*---------------search---------------*/
.search{
  cursor: pointer;
}
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 90%;
  max-width: 700px;
  background-color: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
              opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-overlay.active .search-container {
  transform: translateY(0);
  opacity: 1;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-header h4 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 0;
}

.close-search {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.close-search:hover {
  background-color: #e6e6e6;
}

.close-search i {
  font-size: 1.2em;
  color: #555;
}

.search-form {
  position: relative;
  margin-bottom: 25px;
}

.search-form input {
  width: 100%;
  padding: 15px 20px 15px 20px;
  border: 2px solid #e6e6e6;
  border-radius: 30px;
  font-size: 1em;
  transition: border-color 0.3s ease;
  outline: none;
}

.search-form input:focus {
  border-color: var(--primary-color);
}

.search-form button {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border: none;
 
  background-size: cover;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.search-form button:hover {
  transform: translateY(-50%) scale(1.05);
}

.search-form button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

@keyframes searchPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.search-overlay.active .search-form input {
  animation: searchPulse 0.5s ease-in-out 0.3s;
}


@media (max-width: 768px) {
  .search-overlay {
      padding-top: 70px;
  }
  
  .search-container {
      width: 95%;
      padding: 20px;
  }
  
  .search-form input {
      padding: 12px 50px 12px 15px;
  }
  
  .search-form button {
      width: 40px;
      height: 40px;
  }
}

.banner-sec {
    position: relative;
}


.baner-sec .baner-item img{
    height: 100%;
}
.baner-txt{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    right: 35%;
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    text-shadow: 0px #333;
}

/* Position dots over banner */
#baner-owl .owl-dots {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 8px; */
    z-index: 100;
    margin: 0;
    padding: 0;
}

#baner-owl .owl-dots .owl-dot {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    outline: none;
}

#baner-owl .owl-dots .owl-dot span {
    display: block;
    width: 65px;
    height: 4px;
    background-color: rgba(122, 121, 121, 0.7);
    border-radius: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#baner-owl .owl-dots .owl-dot.active span, #banner-owl .owl-dots .owl-dot:hover span {
    background-color: var(--primary-color);
   
}
.more-btn {
               position: static !important;
            background-color: var(--primary-color);
            top: 0;
            right: 0;
         
            color: white;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            /*box-shadow: 0 4px 10px rgba(0, 132, 227, 0.2);*/
            transition: all 0.3s ease;
        }
   .more-btn:hover {
            background-color: var(--third-color);
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(227, 223, 0, 0.3);
        }
     .btn-label {
           
            white-space: nowrap;
            font-size: 1.2em;
            color: #1a2530;
            font-weight: 500;
        }
.baner-view-more{
    position: absolute;
    right: 10%;
    bottom: 8%;
}
.baner-view-more a{
    justify-content: center;

}
.baner-view-more .btn-label{
    color: var(--primary-color) !important;
    font-size: 1.3em;
    text-shadow: 0px 0px #333;
}
.fixed-items{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1px;
    z-index: 10000;
    /* height: 80%; */
}
.fixed-items a{
    padding: 10px 0px;
}
.fix-break{
    height: 70px;
    width: 1px;
    background-color: #000;
}
.fixed-items span{
    transform: rotate(90deg);
    margin-top: 50px;
    font-weight: bold;
}
.fix-txt{
    position: fixed;
    bottom: 10%;
    right: 1%;
       z-index: 10000;
}
.fix-whatsapp{
    position: fixed;
    left: 0px;
    bottom: 10px;
    z-index: 10000;
}
.fix-txt a{
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 10px;
    border-radius: 25px;
    box-shadow: 0px 0px 2px hsl(1.25deg 100% 98.53%);
    transform: translateX(0px);
    transition: all .3s ease;
 
}
.fix-txt a:hover {
    transform: translateX(-5px);
    transition: all .3s ease;
}
.product-item{
    padding: 30px;
    text-align: center;
}
.product-item a{
    color: #000;
}
.product-image{
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-image img:nth-child(2){
    opacity: 0;
    visibility: hidden;
       transition: all .3s ease;
}
.product-image .pro-img{
    transform: translateY(0);
    transition: transform .3s ease;

}
.product-item:hover .product-image .pro-img{
    transform: translateY(-5px);
    transition: transform .3s ease;
}
.product-item:hover .product-image img:nth-child(2){
  opacity: 1;
  visibility: visible;
    transition: all .3s ease;
}
.pro-img{
    width: auto !important;
    max-width: 100% !important;
    height: 100%;
}
.product-item h1{
    font-size: .9em;
    font-weight: bold;
    margin-top: 20px;
}
.product-item h4{
    font-size: 1.2em;
}
  .section-header h2 {
           font-size: 1.8em;
            font-weight: 700;
            color: var(--primary-color);
            /* text-align: left; */
            margin-bottom: 15px;
        }
  .section-subtitle {
            font-size: 1.3em;
            color: #302f2f;
            font-weight: bold;
            /* text-align: left; */
        }

        .new-pro-item {
            border: 2px solid hsl(0deg 0% 89.41%);
            padding: 15px;
            background-color: #fff;
        }
.new-pro-item h1{
    font-size: 1em;
     font-weight: 600;
}
.new-pro-img {
    height: 270px;
    margin-bottom: 10px;
}
.new-pro-img img{
    height: 100%;
    object-fit: contain;
}
.new-pro-txt{
   
    display: flex;
    flex-direction: column;
}
.new-more-info{
    border: 1px solid var(--primary-color);
    padding: 5px 10px;
   align-self:flex-end;
   color: var(--primary-color);
   font-size: .8em;
   margin-top: 10px;
   border-radius: 25px;
   font-weight: bold;
}
.new-more-info:hover{
    color: #fff;
    background-color: var(--primary-color);
}
.new-pro-back{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: hsl(2.22deg 45.76% 88.43%);
transition: all .3s ease;

}
.new-pro-item:hover{
    border: 2px solid var(--secondary-color);
transition: all .3s ease;

}
.new-pro-item:hover .new-pro-back{
transform: rotate(3deg);
transition: all .3s ease;
}
.map-sec{
    /* height: 700px; */
    /* background-image: url(/images/map-back.png); */
    background-repeat: no-repeat;
    background-size: cover;
    background-color: hsl(1.25deg 76.6% 36.86%);
}
.title-sec {
    position: relative;
    margin-bottom: 40px;
    padding: 5px 0px;
}

.title-sec h3 {
    margin-top: 0px;
    margin-bottom: 10px !important;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

.title-sec::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 5;
    width: 120px;
    height: 5px;
    background:#fff;
    border-radius: 2px;
}

.title-sec::before {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 135px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
}
  .title {
            font-size: 24px;
            margin-top: 30px;
        }
        .divider {
            margin: 10px auto;
            width: 40px;
            height: 5px;
            background: white;
            border-radius: 10px;
        }
        .filters {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 20px 0;
        }
        .dropdown {
            background: transparent;
            border: 1px solid white;
            border-radius: 20px;
            color: white;
            padding: 8px 15px;
            font-size: 16px;
            cursor: pointer;
            appearance: none;
            position: relative;
            width: 150px;
        }
        .city-list {
            display: grid;
            grid-template-columns: repeat(3, 120px);
            justify-content: center;
            gap: 10px;
            /* margin-top: 10px; */
        }
        .city-btn {
            border: 1px solid white;
            border-radius: 20px;
            padding: 8px;
            background: transparent;
            color: white;
            cursor: pointer;
            transition: background 0.3s;
        }
        .city-btn:hover, .city-btn.active {
            background: #ffcc00;
            color: #000;
        }
       .filter-submit img{
        filter: brightness(100);
       }

 .dealer-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 10006; display: none; align-items: center; justify-content: center; }
        .dealer-popup { background: white; border-radius: 20px; max-width: 600px; width: 90%; max-height: 90vh; overflow: hidden; }
        .dealer-popup-header { background: linear-gradient(135deg, var(--primary-color), #502f2f); color: white; padding: 25px; text-align: center; position: relative; }
        .dealer-popup-close { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.2); border: none; color: white; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; }
        .city-name { font-size: 24px; font-weight: bold; margin-bottom: 5px; }
        .city-subtitle { font-size: 14px; opacity: 0.9; }
        .dealers-count { margin-top: 10px; font-size: 13px; background: rgba(255,255,255,0.2); padding: 5px 15px; border-radius: 15px; display: inline-block; }
        .dealer-popup-close:hover .dealer-popup-close i{
            transform: rotate(90deg);
        }
        
    
        .dealer-tabs { display: flex; background: #f8f9fa; overflow-x: auto; }
        .dealer-tab { padding: 15px 20px; background: transparent; border: none; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14px; color: #666; min-width: 150px; }
        .dealer-tab.active { color: var(--primary-color); border-bottom-color: var(--primary-color); background: rgba(227,42,9,0.05); }
        
        .dealer-content { padding: 25px; max-height: 400px; overflow-y: auto; }
        .dealer-panel { display: none; }
        .dealer-panel.active { display: block; }
        .dealer-name { font-size: 18px; font-weight: bold; color: var(--primary-color); margin-bottom: 20px; text-align: center; padding-bottom: 10px; border-bottom: 2px solid #eee; }
        .info-item { display: flex; gap: 12px; margin-bottom: 12px; padding: 12px; background: #f8f9fa; border-radius: 8px; border-right: 4px solid var(--primary-color); }
        .info-icon { color: var(--primary-color); font-size: 16px; min-width: 20px; }
        .info-label { font-size: 13px; color: #666; margin-bottom: 2px; }
        .info-value { font-size: 14px; color: #333; font-weight: 500; }
        .dealer-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; margin-top: 20px; }
        .stat-item { text-align: center; padding: 15px; background: linear-gradient(135deg, var(--primary-color), #502f2f); color: white; border-radius: 10px; }
        .stat-number { font-size: 18px; font-weight: bold; display: block; }
        .stat-label { font-size: 12px; opacity: 0.9; margin-top: 5px; }
        .contact-buttons { display: flex; gap: 10px; margin-top: 20px; }
        .contact-btn { flex: 1; padding: 12px; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
        .contact-btn.primary { background: var(--primary-color); color: white; }
        .contact-btn.secondary { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
        
        

.map-point.highlighted {
    background: hsl(51.39deg 98.39% 51.37%) !important;
    transform: translate(-50%, -50%) scale(1.8);
    z-index: 100;
    animation: highlightPulse 1s infinite ease-in-out;
}

.map-point.highlighted::before {
    border-color: hsl(51.39deg 98.39% 51.37%);
    animation-duration: 0.8s;
}

.map-point.highlighted::after {
    border-color: hsl(51.39deg 98.39% 60%);
    animation-duration: 1.2s;
}

@keyframes highlightPulse {
    0% { transform: translate(-50%, -50%) scale(1.8); }
    50% { transform: translate(-50%, -50%) scale(2.2); }
    100% { transform: translate(-50%, -50%) scale(1.8); }
}

.city-btn.highlighted {
    background: var(--third-color) !important;
    color: #000 !important;
    border-color: var(--third-color) !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 196, 0, 0.5);
}

.map-point:active {
    transform: translate(-50%, -50%) scale(0.9);
}

.map-point {
    cursor: pointer;
}
.map-point {
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.map-point.clicked {
    animation: clickPulse 0.6s ease-out;
}

@keyframes clickPulse {
    0% { transform: translate(-50%, -50%) scale(1.3); }
    50% { transform: translate(-50%, -50%) scale(1.8); }
    100% { transform: translate(-50%, -50%) scale(1.3); }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .dealer-popup {
        width: 95%;
        margin: 10px;
    }

    .dealer-popup-header {
        padding: 20px;
    }

    .dealer-popup-body {
        padding: 20px;
    }

    .dealer-popup .city-name {
        font-size: 20px;
    }

    .dealer-contact-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .title-sec h3 {
        font-size: 1.5rem;
    }
    
    
    
    
}
.map-back{
   /* width: 100%; */
 
}
.map-container {
    position: relative;
    /* width: 100%; */
    border-radius: 10px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
   
}

.map-point {
   position: absolute;
    width: 12px;
    height: 12px;
    background: #FFA500;
    border-radius: 50%;
    cursor: pointer;
   transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
  scale: 0.8;
}


.map-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 2px solid #FFA500;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation: pulse-inner 2s infinite ease-in-out;
}

.map-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid #FFA500;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse-outer 3s infinite ease-in-out;
}

@keyframes pulse-inner {
    0% { width: 16px; height: 16px; opacity: 0.8; }
    50% { width: 28px; height: 28px; opacity: 0.4; }
    100% { width: 16px; height: 16px; opacity: 0.8; }
}

@keyframes pulse-outer {
    0% { width: 28px; height: 28px; opacity: 0.4; }
    50% { width: 44px; height: 44px; opacity: 0.1; }
    100% { width: 28px; height: 28px; opacity: 0.4; }
}

.map-point:hover {
    background: #FF8C00;
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.5);
}
  .map-point.active {
            opacity: 1;
            visibility: visible;
            scale: 1.5;
            animation: pointPulse 2s infinite ease-in-out;
            background: hsl(194, 92%, 42%);
        }
.map-point.active::before {
    border-color: hsl(194, 56%, 56%);
    animation-duration: 1s;
}

.map-point.active::after {
    border-color: hsl(194.19deg 51.38% 64.51%);
    animation-duration: 1.5s;
}
.map-point:hover::before {
    border-color: #FF8C00;
    animation-duration: 1s;
}

.map-point:hover::after {
    border-color: #FF8C00;
    animation-duration: 1.5s;
}

.point-tooltip {
   position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    width: max-content;
    max-width: 150px; 
}

.point-tooltip.show {
    opacity: 1;
    visibility: visible;
    /* transform: translateY(0); */
}

.point-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border: 8px solid transparent;
    border-top-color: #333;
}

.point-tooltip strong {
    color: #FFA500;
    display: block;
    margin-bottom: 4px;
}
.sem{
  position: absolute;
  top:33%;
  right: 45%;

}
.teh{
  position: absolute;
  top:32%;
  right: 55%;

}
.zanjan{
    position: absolute;
  top:26%;
  right: 64%;
}
.gilan{
    position: absolute;
  top:24%;
  right: 59%;
}
.mazandaran{
     position: absolute;
  top:28%;
  right: 53%;
}

.hamedan{
    position: absolute;
  top:35%;
  right: 64%;
}

.fars{
position: absolute;
  top:60%;
  right: 50%;
}



.kordestan{
    position: absolute;
  top:29%;
  right: 67%;
}
.razavi{
     position: absolute;
  top:34%;
  right: 37%;
}
.khorasan{
    position: absolute;
  top:47%;
  right: 35%;
}
.yazd{
position: absolute;
  top:50%;
  right: 45%;
}
.esf{
    position: absolute;
  top:43%;
  right: 53%;
}
  .projects{
    background-color:hsl(0deg 0% 92.16%) ;
 
  }


 .articles-section {
            position: relative;
            overflow: hidden;
            background-size: cover;
           
        }

        
        .section-content {
            position: relative;
            z-index: 2;
        }
        
       
        
        .section-subtitle {
            /* font-size: 18px; */
            /* color: rgba(255, 255, 255, 0.9); */
            margin-bottom: 10px;
        }
        
        .section-title {
            font-size: 36px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 30px;
        }
        
        .nav-btn {
            position: absolute;
           background-color: var(--primary-color);
            top: 0;
            right: 0;
            color: white;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
           
            transition: all 0.3s ease;
        }
        
        .nav-btn:hover {
            background-color: var(--third-color);
            color: #fff;
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .btn-label {
            
            white-space: nowrap;
            font-size: 14px;
           
            font-weight: 500;
        }
        .articles-section{
        }
        .article-card {
            position: relative;
            overflow: hidden;
            /* border-radius: 15px; */
            cursor: pointer;
            transition: all 0.4s ease;
            height: 310px;
            margin: 0 10px;
            /* opacity: 0.6; */
            transform: scale(0.95);
        }
        
        .owl-item.center .article-card {
            opacity: 1;
             transform: scale(1); 
        }
        
        .owl-item.center .article-card:hover {
            transform: translateY(-10px) scale(1);
        }
        
        .article-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.8) 100%); */
            z-index: 2;
            transition: all 0.4s ease;
        }
        
        .owl-item:not(.center) .article-card:hover {
            transform: scale(0.95);
            opacity: 0.8;
        }
        
        .article-card:hover {
            /* box-shadow: 0 0px 10px rgba(0, 0, 0, 0.425); */
        }
        
        .article-card:hover::before {
            background: linear-gradient(to bottom, rgba(227, 42, 9, 0.658) 0%, rgba(0, 0, 0, 0.8) 100%);
        }
        
        .article-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        
        .article-card:hover .article-image {
            transform: scale(1.1);
        }
        .articles-section .section-header{
            padding: 0px 100px;
            margin-bottom: 35px;
        }
        .articles-section .section-title{
            color: var(--primary-color);
        }
        .article-title-sec{
            background-color: hsla(1, 77%, 37%, 0.815);
            padding: 10px 25px;
            height: 61px;
        }
        .article-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            /* padding:5px 25px; */
            z-index: 3;
            transform: translateY(15px);
            transition: transform 0.4s ease;
        }
        
        .article-content img{
            width: 10px !important;
            /* margin-top: 9px; */
            margin-left:5px ;
            line-height: 1.5;
            /* align-self: flex-start; */
            
        }
        .article-card:hover .article-content {
            transform: translateY(-10px);
        }
        
        .article-brand {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            color: white;
            padding: 5px 12px;
            border-radius: 5px;
            font-size: 12px;
            font-weight: 600;
            z-index: 3;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .article-title {
            font-size:1em;
            font-weight: 700;
            color: #ffffff;
            /* margin-bottom: 5px; */
            line-height: 1.5;
            transition: all 0.3s ease;
        }
        
        .article-card:hover .article-title {
            color: #ffffff;
        }
        
        .article-excerpt {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 15px;
            line-height: 1.6;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
            max-height: 0;
            overflow: hidden;
            padding: 0px 25px;
        }
        
        .article-card:hover .article-excerpt {
            opacity: 1;
            transform: translateY(0);
            max-height: 100px;
        }
        
        .article-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .article-meta i {
            margin-left: 5px;
        }
        
        /* Carousel Navigation */
        .carousel-navigation {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 15px;
            pointer-events: none;
            z-index: 10;
        }
         /* Carousel Navigation */
         .articles-section .carousel-navigation {
            position: absolute;
            top: 65%;
            transform: translateY(-35%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 15px;
            pointer-events: none;
            z-index: 10;
        }
        .carousel-nav-btn {
            width: 50px;
            height: 50px;
            background-color: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            pointer-events: auto;
        }
        
        .carousel-nav-btn:hover {
            background-color: rgba(255, 255, 255, 0.9);
            color: #2980b9;
            transform: scale(1.1);
        }
        
        /* Owl Carousel Overrides */
        .owl-nav {
            display: none !important;
        }
        
        .owl-stage-outer {
            overflow: visible;
        }
        
        .articles-carousel {
            overflow: hidden;
        }
        
   .section-header .nav-btn, .section-header .more-btn{
            position: static !important;
            /* background-color: var(--primary-color); */
        }


        .services-section {
            /* padding: 80px 0; */
            background-color: #ffffff;
            position: relative;
        }
        
        .section-logo {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-logo img {
            width: 120px;
            height: auto;
        }
        
        .services-section .section-header {
            text-align: center;
            margin-bottom: 30px;
            padding: 12px;
        }
        
        .section-title {
            font-size: 32px;
            font-weight: 700;
            color: #0984e3;
            margin-bottom: 20px;
        }
        
        .section-btn {
            background-color: #0984e3;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 30px;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        
        .section-btn:hover {
            background-color: #0771c7;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(9, 132, 227, 0.3);
            color: white;
        }
        
        .section-btn i {
            font-size: 18px;
        }
        
        .services-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        
        .service-item {
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            padding: 10px;
            border-radius: 15px;
            flex: 0 0 auto;
            width: 200px;
        }
        
        .service-item:hover {
            transform: translateY(-10px);
            background-color: #f8f9fa;
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .service-icon svg {
            width: 60px;
            height: 60px;
            stroke: #0984e3;
            fill: none;
            stroke-width: 2;
            transition: all 0.3s ease;
        }
        
        .service-item:hover .service-icon svg {
            stroke: #0771c7;
            transform: scale(1.1);
        }
        
        .service-title {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-top: 10px;
        }
        
        /* Mobile Carousel Styles */
        .services-carousel {
            display: none;
        }
        
        .owl-item .service-item {
            margin: 0 auto;
        }
        
        .owl-dots {
            text-align: center;
            /* margin-top: 30px; */
        }
        
       
        
        /* Responsive Design */
        @media (max-width: 991px) {
            .baner-sec .baner-item{
    height: 400px;
}
            .services-grid {
                gap: 0px;
            }
            .bestseller-section {
                padding: 30px 0;
                /* background-color: #f5f5f5; */
                position: relative;
            }
            .service-item {
                width: 160px;
            }
        }
        
        @media (max-width: 767px) {
                .service-icon {
        width: 60px;
        height: 60px;
    }
    .service-title {
        font-size: 1em;
    }
        .service-item {
        padding: 0px;
    }
            .footer-container{
  flex-direction: column;
  align-items: center;
}
.footer-container .footer-rights:nth-child(2){
  margin-top: 10px;
}
           
            
            .section-title {
                font-size: 26px;
            }
            
            .services-grid {
                display: none;
            }
            
            .services-carousel {
                display: block;
            }
            
            .service-item {
                width: 100%;
                max-width: 200px;
            }
        }

         .footer-section {
            background-color: var(--primary-color);
            color: #ffffff;
           
            position: relative;
            font-size: .9em;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap:10px;
        }
        
        .footer-column {
            /* flex: 1; */
            min-width: 170px;
              /* border: 1px solid rgba(255, 255, 255, 0.2); */
              border-radius: 15px;
            padding:0px 15px;
        }
        
        /* Large columns for contact and social */
        .footer-column.large {
            flex: 1.5;
            min-width: 220px;
        }
        
        .footer-column h3 {
            font-size: 1em;
            font-weight: 600;
            margin-bottom: 20px;
            color: #ffffff;
            padding-right: 10px;
            /* text-align: center; */
        }
        
        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-column ul li {
            margin-bottom: 12px;
            /* text-align: center; */
        }
        
        .footer-column ul li a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            /* font-size: 14px; */
            transition: all 0.3s ease;
            display: inline-block;
            position: relative;
        }
        
        .footer-column ul li a:before {
            content: '»';
            margin-left: 5px;
            /* opacity: 0; */
            transition: all 0.3s ease;
            color: hsl(51.39deg 98.39% 51.37%);
        }
        
        .footer-column ul li a:hover {
            color: #ffffff;
            padding-right: 10px;
        }
        
        .footer-column ul li a:hover:before {
            /* opacity: 1; */
        }
        
        /* Contact Column Style */
        .contact-column {
            /* border: 1px solid rgba(255, 255, 255, 0.2); */
            border-radius: 15px;
            /* padding: 25px; */
            /* text-align: center; */
        }
        
        .contact-info {
            margin-bottom: 15px;
            /* font-size: 14px; */
            line-height: 1.8;
        }
        
        .contact-info p {
            margin-bottom: 8px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .location-icon {
            margin-bottom: 15px;
            display: block;
        }

        .location-icon img:nth-child(1){
            width: 25px;
            height: 22px;
        }

        .location-icon img:nth-child(2){
            width: 18px;
            height: 25px;
        }
        


        .location-icon i {
            font-size: 24px;
            color: #ffffff;
        }
        
        .phone-numbers {
            /* font-size: 16px; */
            /* font-weight: 600; */
            margin: 10px 0;
            /* direction: ltr; */
            /* text-align: center; */
        }
        
        /* Social Column Style */
        .social-column {
            /* border: 1px solid rgba(255, 255, 255, 0.2); */
            border-radius: 15px;
            /* padding: 25px; */
            /* text-align: center; */
            display: flex;
            flex-direction: column;
            justify-content: center;
            /* align-items: center; */
        }
        .social-column h3{
            text-align: right  !important;
        }
        
        .social-links {
            display: flex;
            justify-content: start;
            /* gap: 10px; */
            margin-top: 10px;
        }
        
        .social-links a {
            color: #ffffff;
            font-size: 24px;
            transition: all 0.3s ease;
            /* opacity: 0.8; */
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 45px;
            border-radius: 50%;
            /* border: 1px solid rgba(255, 255, 255, 0.2); */
        }
        
        .social-links a:hover {
            transform: translateY(-3px);
            opacity: 1;
            /* background-color: rgba(255, 255, 255, 0.1); */
            border-color: rgba(255, 255, 255, 0.4);
        }
        
        /* Responsive Design */
        @media (max-width: 1199px) {
            .footer-column.large {
                flex: 1.3;
                min-width: 200px;
            }
        }
        
        @media (max-width: 991px) {
            .megamenu-container .container{
                padding-right: 0px !important;
                padding-left: 0px !important;
            }
            .has-submenu::after, .has-megamenu::after {
  
                    left: 5px;
                    top: 28px;
                    
                }
            .footer-content {
                gap: 30px;
            }
            
            .footer-column.large {
                flex: 1;
                min-width: 280px;
            }
            
            .footer-column {
                flex: 1 ;
                min-width: 140px;
            }
        }
        
       
        
      
    

@media (max-width: 991px) {
  .footer-column:not(.contact-column-wrapper):not(.social-column-wrapper) ul {
    display: none;
    animation: fadeIn 0.3s ease;
    padding-top: 10px;
  }
  
  .footer-column:not(.contact-column-wrapper):not(.social-column-wrapper) h3 {
    position: relative;
    cursor: pointer;
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-column:not(.contact-column-wrapper):not(.social-column-wrapper) h3::after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
  }
  
  .footer-column.active h3::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  .footer-column:not(.contact-column-wrapper):not(.social-column-wrapper) {
    margin-bottom: 0;
    padding: 0 15px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-column.active {
    /* background-color: rgba(255, 255, 255, 0.05); */
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .footer-content {
    flex-direction: column;
    gap: 0;
  }
  
  .footer-column.active ul {
    display: block;
    padding-bottom: 15px;
  }
  
  .contact-column-wrapper, .social-column-wrapper {
    padding: 15px;
    margin-top: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }
  
  .contact-column-wrapper h3, .social-column-wrapper h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .contact-info{
    display: block !important;
    padding-top: 0;
  }
}
        .footer-bottom {
            /* background-color: #004371; */
            background-image: url(/images/footer-bottom-back.png);
            background-size:cover;
            color: #ffffff;
            padding: 40px 0 30px;
            position: relative;
            overflow: hidden;
            
        }
        
   
        
        .footer-bottom-content {
           
            width: 100%;
          
        }
        
        .footer-logos {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }
        
        .footer-logo-item {
            /* background-color: #ffffff; */
            padding: 10px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);

        }
        
        .footer-logo-item:hover {
            transform: translateY(-3px);
        }
        
        .footer-logo-item img {
            /* height: 50px; */
            width: auto;
            object-fit: contain;
        }
        
        .footer-text {
            flex: 1;
            max-width: 800px;
            /* text-align: center; */
            margin: 0 20px;
        }
        
        .footer-text h3 {
            font-size: 1.1em;
            font-weight: 700;
            margin-bottom: 15px;
            color: #ffffff;
        }
        
        .footer-text p {
            font-size: .9em;
            line-height: 1.8;
            color: rgba(212, 212, 212, 0.703);
            margin-bottom: 10px;
            text-align: justify;
        }
        
        .footer-text a {
            color: #fff;
            text-decoration: underline;
            transition: color 0.3s ease;
        }
        
        .footer-text a:hover {
            color: #74b9ff;
        }
        .e-namads >div{
            border: 1px solid #b3b2b2a6;
            border-radius: 15px;
            height: 110px;
            width: 90px;
            padding: 15px;
        }
        .e-namads >div img{
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .footer-rights-sec {
  background-color: hsl(0deg 0% 21.18%);
  align-items: center;
  color: hsl(0, 2%, 53%);
  font-size: 0.8em;
}
.footer-rights {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-last .row {
  margin: 0 auto;
  max-width: 1676px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
}
.company {
  font-weight: bold;
  color: var(--primary-color);
}
.eng-company {
  text-align: left !important;
  direction: ltr !important;
}
.b-r {
  border-left: 1px solid hsl(0, 2%, 53%);
  padding-left: 5px;
}
        /* Back to Top Button */
        .back-to-top{
            position: absolute;
            bottom: 30px;
            left:10px;
            /* transform: translateX(-50%);/ */
            background-color:var(--third-color);
            padding: 10px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--primary-color);
            font-size: 1.2em;
            transform: translateY(0px);
            transition: all .3s ease;
        }
         .back-to-top:hover{
            transform: translateY(-5px);
            transition: all .3s ease;
         }
 

        .city-btn.active {
            background: var(--third-color) !important;
            color: #000 !important;
            border-color: var(--third-color) !important;
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(255, 196, 0, 0.5);
        }
        
        .dropdown {
            background: transparent;
            border: 1px solid white;
            border-radius: 20px;
            color: white;
            padding: 8px 15px;
            font-size: 16px;
            cursor: pointer;
            appearance: none;
            position: relative;
            width: 150px;
        }
        
        .dropdown option {
            background-color: var(--primary-color);
            color: white;
            padding: 8px;
        }
        
        .dropdown:focus {
            outline: 2px solid var(--third-color);
            outline-offset: 2px;
        }
        
        .filter-submit {
            transition: all 0.3s ease;
        }
        
        .filter-submit:hover {
            background: var(--third-color) !important;
            color: #000 !important;
            border-color: var(--third-color) !important;
            transform: scale(1.05);
        }
        .carousel-nav{
   
}
.nav-right{
     position:absolute;
    top:50%;
    transform:translateY(-50%);
    height:30px;
    right:-10px;
    cursor:pointer;
}
.nav-left{
     position:absolute;
    top:50%;
    transform:translateY(-50%);
    height:30px;
    left:-10px;
        cursor:pointer;
}
            
        @media  screen and (max-width:1200px) {
            .nav-left{
                left:0px;
            }
            .nav-right{
                right:0px;
            }
            .services-grid{
                gap: 10px !important;
            }
            .articles-section .section-header {
    padding: 0px 20px;
    margin-bottom: 35px;
}
.footer-logo{
        display: flex
;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.service-item {
        width: 180px;
    }
    .new-pro-img {
    height: 230px;
    margin-bottom: 10px;
}
.main-nav .nav-item > a{
    padding: 15px 10px;
}
.social-column {
    align-items: center;
}
           
}
 @media  screen and (max-width:991px) {
    .baner-txt{
        width: 50%;
        right: 25%;

    }
    .fixed-items{
        top: 45%;
    }
.fix-break{
    height: 40px;
}
.service-item {
        width: 160px;
    }
 }
  @media (max-width: 767px) {
            .footer-section {
                padding: 40px 0px 0px 0px;
            }
           
            
            .footer-content {
                flex-direction: column;
                align-items: center;
            }
            
            .footer-column,
            .footer-column.large {
                width: 100%;
                /* max-width: 400px; */
                margin-bottom: 30px;
                /* flex: 1 1 100%; */
            }
            
            .footer-column h3 {
                margin-bottom: 15px;
            }
            
            .footer-column ul li {
                margin-bottom: 10px;
            }
            
            .contact-column,
            .social-column {
                padding: 20px;
            }
            
            .social-links {
                gap: 15px;
            }
        }
          @media (max-width: 575px) {
              .main-logo{
                  width:100px;
              }
              body{
                  font-size:14px;
              }
              .cart-badge{
                  top:-10px;
                  right:-3px;
              }
              .nav-right{
display:none;
}
.nav-left{
    display:none;
}
            .article-card{
                height: 280px;
            }
            .fixed-items img{
                width: 17px;
            }
            .fix-break{
                height: 20px;
            }
            .fixed-items{
                top: 40%;
            }
            .fixed-items a {
    padding: 8px 0px;
}
.baner-txt{
    font-size: 1.7em;
    width: 70%;
    right: 15%;
}
.baner-view-more{
    width: 50%;
    right: 25%;
    /* transform: translateX(-50%); */
}
 .more-btn, .nav-btn {
        width: 25px;
    height: 25px;
    font-size: .8em;
}
#baner-owl .owl-dots{
    bottom: 2%;
}
.baner-view-more .btn-label {

    font-size: 1em;
    text-shadow: 0px 0px #333;
}


.product-image {
    height: 180px;
}
 .co-name p:first-child {
    font-size: 1em;
  }
  .section-header h2 {
    font-size: 1.2em;
}
.section-subtitle {
    font-size: 1em;
}
.new-pro-img {
    height: 200px;
    margin-bottom: 10px;
}
.filters, .city-list{
    /* align-self: center; */
}

          }

@media (max-width: 575px) {
    .filters, .city-list {
        /* align-self: center; */
    }

.city-list {
    display: grid;
    grid-template-columns: repeat(3,95px);
    justify-content: center;
    gap: 10px;
    /* margin-top: 10px; */
}
.city-btn{
    padding:5px;
}
.dropdown{
    width:max-content;
}
.title-sec {

    margin: 20px 0px;
 
}
.articles-section .section-header {
    padding: 0px 10px;
    margin-bottom: 15px;
}

.social-column {
    align-items: center;
}
.fix-txt {
    position: fixed;
    bottom: 5%;
    right: 1%;
    z-index: 10001;
}

  .co-name p:nth-child(2){
    font-size: 1em;
    margin-top: 2px;
  
  }
  .co-name p:last-child{
    margin-top: 10px;
  }
            .footer-column ul li a {
                font-size: 13px;
            }
            
            .contact-info {
                font-size: 13px;
            }
            
            .phone-numbers {
                font-size: 14px;
            }
            
            .social-links a {
                font-size: 20px;
                width: 45px;
                height: 45px;
            }
            .header-last{
                width: 100%;
                gap:5px
            }
        }
         .lang {
            position: relative;
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .language-selector {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #333;
            cursor: pointer;
            position: relative;
            padding: 8px 12px;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: transparent;
            /*border: 1px solid #ddd;*/
        }

        .language-selector:hover {
            background: rgba(0, 0, 0, 0.05);
            border-color: var(--primary-color);
        }

        .language-flag {
            width: 20px;
            height: 15px;
            border-radius: 2px;
            object-fit: cover;
        }

        .language-name {
            font-weight: 500;
        }

        .language-arrow {
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .lang:hover .language-arrow {
            transform: rotate(180deg);
        }

        /* Language Dropdown */
        .language-dropdown {
            position: absolute;
            top: 100%;
            left: -20px;
            width: 180px;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(15px);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            z-index: 9999;
            overflow: hidden;
            margin-top: 10px;
            border: 1px solid #eee;
        }

        .lang:hover .language-dropdown,
        .language-dropdown:hover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Language Header */
        .language-header {
            background: linear-gradient(135deg, var(--primary-color), #502f2f);
            color: #ffffff;
            padding: 12px 16px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .language-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 107, 53, 0.1) 100%);
            pointer-events: none;
        }

        .language-header h4 {
            margin: 0;
            font-size: 14px;
            font-weight: 600;
            position: relative;
            z-index: 2;
        }

        /* Language Options */
        .language-options {
            padding: 8px 0;
        }

        .language-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            text-decoration: none;
            color: #333;
        }

        .language-option:last-child {
            border-bottom: none;
        }

        .language-option:hover {
            background: rgba(227, 42, 9, 0.05);
            color: var(--primary-color);
        }

        .language-option.active {
            background: rgba(227, 42, 9, 0.1);
            color: var(--primary-color);
            font-weight: 600;
        }

        .language-option .language-flag {
            width: 24px;
            height: 18px;
        }

        .language-option .language-text {
            flex: 1;
            font-size: 14px;
        }

        .language-option .language-code {
            font-size: 12px;
            color: #666;
            background: #f5f5f5;
            padding: 2px 6px;
            border-radius: 4px;
        }

        .language-option.active .language-code {
            background: rgba(227, 42, 9, 0.1);
            color: var(--primary-color);
        }

        /* Check mark for active language */
        .language-option.active::after {
            content: '✓';
            color: var(--primary-color);
            font-weight: bold;
            margin-left: 8px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .language-dropdown {
                width: 160px;
                left: -30px;
            }
            
            .language-selector {
                padding: 6px 10px;
                font-size: 13px;
            }
            
            .language-flag {
                width: 18px;
                height: 14px;
            }
        }
