.elementor-2863 .elementor-element.elementor-element-f6f8cae{--display:flex;--min-height:80px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--padding-top:0%;--padding-bottom:0%;--padding-left:4.3%;--padding-right:4.3%;--z-index:99;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}.elementor-2863 .elementor-element.elementor-element-b7539cb{width:var( --container-widget-width, 21% );max-width:21%;--container-widget-width:21%;--container-widget-flex-grow:0;text-align:start;}.elementor-2863 .elementor-element.elementor-element-b7539cb img{width:100%;}.elementor-widget-mega-menu > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title, .elementor-widget-mega-menu > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title > .e-n-menu-title-container, .elementor-widget-mega-menu > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title > .e-n-menu-title-container > span{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-mega-menu{--n-menu-title-font-size:var( --e-global-typography-accent-font-size );--n-menu-divider-color:var( --e-global-color-text );}.elementor-2863 .elementor-element.elementor-element-c4c5764{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-2863 .elementor-element.elementor-element-c4c5764:not(.elementor-motion-effects-element-type-background), .elementor-2863 .elementor-element.elementor-element-c4c5764 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-a33d155 );}.elementor-2863 .elementor-element.elementor-element-771773c{--display:flex;}.elementor-2863 .elementor-element.elementor-element-7567798{--display:flex;}.elementor-2863 .elementor-element.elementor-element-db8459b{--display:flex;}.elementor-2863 .elementor-element.elementor-element-20f9151{--display:flex;}.elementor-2863 .elementor-element.elementor-element-50794c2{--n-menu-dropdown-content-max-width:initial;--n-menu-heading-justify-content:center;--n-menu-title-flex-grow:initial;--n-menu-title-justify-content:initial;--n-menu-title-justify-content-mobile:center;--n-menu-heading-wrap:wrap;--n-menu-heading-overflow-x:initial;--n-menu-title-distance-from-content:16px;width:var( --container-widget-width, 50% );max-width:50%;--container-widget-width:50%;--container-widget-flex-grow:0;--n-menu-toggle-icon-wrapper-animation-duration:500ms;--n-menu-title-space-between:0px;--n-menu-title-font-size:20px;--n-menu-title-color-normal:var( --e-global-color-5276fa9 );--n-menu-title-transition:300ms;--n-menu-title-padding:8px 18px 8px 18px;--n-menu-icon-size:16px;--n-menu-toggle-icon-size:20px;--n-menu-toggle-icon-color:var( --e-global-color-secondary );--n-menu-toggle-icon-color-hover:var( --e-global-color-secondary );--n-menu-toggle-icon-hover-duration:500ms;--n-menu-toggle-icon-distance-from-dropdown:0px;}.elementor-2863 .elementor-element.elementor-element-50794c2 > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title, .elementor-2863 .elementor-element.elementor-element-50794c2 > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title > .e-n-menu-title-container, .elementor-2863 .elementor-element.elementor-element-50794c2 > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title > .e-n-menu-title-container > span{font-family:"Ravi", Sans-serif;font-weight:500;--n-menu-title-line-height:1.6;}.elementor-2863 .elementor-element.elementor-element-50794c2 {--n-menu-title-color-hover:var( --e-global-color-3c4a634 );--n-menu-title-color-active:var( --e-global-color-5276fa9 );}.elementor-2863 .elementor-element.elementor-element-c1482aa{--display:flex;--min-height:50px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-end;--align-items:center;--gap:12px 12px;--row-gap:12px;--column-gap:12px;}.elementor-widget-icon.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-primary );}.elementor-2863 .elementor-element.elementor-element-6fe963a{padding:8px 12px 8px 12px;}.elementor-2863 .elementor-element.elementor-element-6fe963a .elementor-icon-wrapper{text-align:center;}.elementor-2863 .elementor-element.elementor-element-6fe963a.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-4cacf80 );}.elementor-2863 .elementor-element.elementor-element-6fe963a.elementor-view-framed .elementor-icon, .elementor-2863 .elementor-element.elementor-element-6fe963a.elementor-view-default .elementor-icon{color:var( --e-global-color-4cacf80 );border-color:var( --e-global-color-4cacf80 );}.elementor-2863 .elementor-element.elementor-element-6fe963a.elementor-view-framed .elementor-icon, .elementor-2863 .elementor-element.elementor-element-6fe963a.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-4cacf80 );}.elementor-2863 .elementor-element.elementor-element-6fe963a .elementor-icon{font-size:28px;}.elementor-2863 .elementor-element.elementor-element-6fe963a .elementor-icon svg{height:28px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );}.elementor-2863 .elementor-element.elementor-element-b3603bf .elementor-button{background-color:#2B2B2B00;font-family:"Ravi", Sans-serif;font-size:18px;font-weight:400;line-height:1.6em;fill:var( --e-global-color-4cacf80 );color:var( --e-global-color-4cacf80 );border-style:solid;border-width:1px 1px 1px 1px;border-color:var( --e-global-color-0c3eba2 );border-radius:0px 0px 0px 0px;padding:8px 24px 8px 24px;}.elementor-2863 .elementor-element.elementor-element-b3603bf .elementor-button:hover, .elementor-2863 .elementor-element.elementor-element-b3603bf .elementor-button:focus{background-color:var( --e-global-color-3c4a634 );color:var( --e-global-color-4cacf80 );border-color:var( --e-global-color-3c4a634 );}.elementor-2863 .elementor-element.elementor-element-b3603bf .elementor-button:hover svg, .elementor-2863 .elementor-element.elementor-element-b3603bf .elementor-button:focus svg{fill:var( --e-global-color-4cacf80 );}.elementor-2863 .elementor-element.elementor-element-e6d95d3{padding:8px 16px 8px 16px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1024px){.elementor-2863 .elementor-element.elementor-element-f6f8cae{--min-height:68px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-2863 .elementor-element.elementor-element-b7539cb{--container-widget-width:148px;--container-widget-flex-grow:0;width:var( --container-widget-width, 148px );max-width:148px;}.elementor-widget-mega-menu{--n-menu-title-font-size:var( --e-global-typography-accent-font-size );}.elementor-2863 .elementor-element.elementor-element-50794c2{--n-menu-title-distance-from-content:0px;--container-widget-width:32px;--container-widget-flex-grow:0;width:var( --container-widget-width, 32px );max-width:32px;--n-menu-icon-size:24px;--n-menu-toggle-icon-size:24px;--n-menu-toggle-icon-distance-from-dropdown:18px;}.elementor-2863 .elementor-element.elementor-element-50794c2.elementor-element{--order:99999 /* order end hack */;}.elementor-2863 .elementor-element.elementor-element-c1482aa{--justify-content:flex-end;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-widget-button .elementor-button{font-size:var( --e-global-typography-accent-font-size );}}@media(max-width:767px){.elementor-2863 .elementor-element.elementor-element-f6f8cae{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--flex-wrap:nowrap;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-2863 .elementor-element.elementor-element-b7539cb{--container-widget-width:148px;--container-widget-flex-grow:0;width:var( --container-widget-width, 148px );max-width:148px;}.elementor-widget-mega-menu{--n-menu-title-font-size:var( --e-global-typography-accent-font-size );}.elementor-2863 .elementor-element.elementor-element-50794c2{--n-menu-heading-justify-content:initial;--n-menu-title-flex-grow:initial;--n-menu-title-justify-content:initial;--n-menu-title-justify-content-mobile:initial;}.elementor-2863 .elementor-element.elementor-element-c1482aa{--width:180px;}.elementor-widget-button .elementor-button{font-size:var( --e-global-typography-accent-font-size );}}@media(min-width:768px){.elementor-2863 .elementor-element.elementor-element-c1482aa{--width:23%;}}@media(max-width:1024px) and (min-width:768px){.elementor-2863 .elementor-element.elementor-element-c1482aa{--width:548px;}}/* Start custom CSS for mega-menu, class: .elementor-element-50794c2 */.elementor-2863 .elementor-element.elementor-element-50794c2 { color: #ffffff; }/* End custom CSS */
/* Start custom CSS for icon, class: .elementor-element-6fe963a */.elementor-2863 .elementor-element.elementor-element-6fe963a{
    line-height: 0px;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-e6d95d3 *//* ============================================================
   ۱. صفر کردن کامل کانتینر المنتور (با استفاده از کلاس جدید شما)
   ============================================================ */
.smh-lang-switcher .elementor-widget-container {
    display: flex !important;       /* حذف فضاهای خالی */
    align-items: center !important; /* تراز عمودی وسط */
    justify-content: flex-start !important; /* تراز به سمت چپ */
    
    /* کشتن تمام فاصله‌های مزاحم */
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

/* ============================================================
   ۲. تنظیم دکمه اصلی (بدون ارتفاع اضافه)
   ============================================================ */
.custom-lang-switcher {
    position: relative;
    display: flex !important; /* حتما flex باشد نه inline-flex */
    align-items: center;
    gap: 6px; /* فاصله بین پرچم و فلش */
    
    cursor: pointer;
    font-family: "Ravi", Sans-serif; 
    font-size: 16px;
    
    /* تنظیم ارتفاع دقیق برابر با ارتفاع پرچم */
    height: 24px !important; 
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999;
}

/* حذف هرگونه مارجین از کانتینر داخلی */
.current-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   ۳. باکس پرچم و فلش
   ============================================================ */
.flag-box {
    width: 36px;
    height: 24px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0; /* مهم برای حذف فاصله زیر عکس */
}

.flag-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important; /* تبدیل عکس به بلاک برای حذف فاصله */
    margin: 0 !important;
}

.arrow-icon {
    display: flex;
    align-items: center;
    height: 100%;
}

.arrow-icon svg {
    width: 10px;
    display: block !important;
    transition: transform 0.3s ease;
}

/* ============================================================
   ۴. دراپ‌داون (چیدمان چپ به راست + باز شدن زیر دکمه)
   ============================================================ */
.lang-dropdown {
    position: absolute;
    top: 100%; /* دقیقا زیر دکمه */
    margin-top: 8px !important; /* فاصله ریز */
    
    /* سمت چپ دکمه فیکس شود و به سمت راست باز شود */
    left: 0 !important;
    right: auto !important;
    
    background: #ffffff;
    list-style: none !important;
    padding: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    width: max-content;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99999;
}

/* نمایش منو */
.custom-lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* چرخش فلش */
.custom-lang-switcher.active .arrow-icon svg {
    transform: rotate(180deg);
}

/* ============================================================
   ۵. آیتم‌های داخل لیست
   ============================================================ */
.lang-dropdown li {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    display: block;
    line-height: normal !important;
}
.lang-dropdown li:last-child {
    margin-bottom: 0 !important;
}

.lang-dropdown a {
    display: flex;
    flex-direction: row; /* افقی */
    align-items: center;
    justify-content: flex-start; /* شروع از چپ */
    gap: 12px;
    
    text-decoration: none;
    color: #333;
    font-size: 16px;
    
    /* اجبار به جهت چپ به راست (اول پرچم، بعد متن) */
    direction: ltr !important; 
    text-align: left;
}

.lang-dropdown a:hover {
    color: #d32f2f;
}

.lang-dropdown img {
    width: 30px;
    height: auto;
    border-radius: 3px;
    display: block !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-f6f8cae *//* --- 1. تنظیمات کلی و لایه‌بندی --- */
.elementor-2863 .elementor-element.elementor-element-f6f8cae {
    z-index: 999 !important;
    background-color: transparent !important;
    transition: background-color 0.3s ease;
}

/* --- 2. لایه کرکره‌ای (Background Shutter) --- */
.elementor-2863 .elementor-element.elementor-element-f6f8cae::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #f9f9f9;
    z-index: 1;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- 3. لایه‌بندی محتوا --- */
.elementor-2863 .elementor-element.elementor-element-f6f8cae .elementor-container,
.elementor-2863 .elementor-element.elementor-element-f6f8cae .elementor-widget {
    position: relative;
    z-index: 10;
}

/* =========================================
   4. تنظیمات منو (حالت عادی و هاور)
   ========================================= */

/* الف) انیمیشن و سینک شدن رنگ آیکون */
.smh-header-menu .e-n-menu-title-text,
.smh-header-menu .e-n-menu-dropdown-icon,
.smh-header-menu .e-n-menu-dropdown-icon svg,
.smh-header-menu .e-n-menu-toggle-icon, /* اضافه شده */
.smh-header-menu .e-n-menu-toggle-icon svg { /* اضافه شده */
    transition: all 0.3s ease-in-out !important;
    fill: currentColor; 
}

/* ب) استایل هاور (قرمز شدن) */
.smh-header-menu .e-n-menu-title:hover .e-n-menu-title-text {
    color: #C9243A !important;
}
/* همزمان آیکون فلش هم قرمز شود */
.smh-header-menu .e-n-menu-title:hover .e-n-menu-dropdown-icon,
.smh-header-menu .e-n-menu-title:hover .e-n-menu-dropdown-icon svg {
    color: #C9243A !important;
    fill: #C9243A !important;
}

/* =========================================
   5. وضعیت استیکی (Sticky Scroll)
   ========================================= */

/* پایین آمدن کرکره */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects::before {
    height: 100%;
}

/* --- الف) تغییر رنگ آیتم‌های منو به مشکی --- */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .smh-header-menu .e-n-menu-title:not(:hover) .e-n-menu-title-text {
    color: #1A1A1A !important;
}
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .smh-header-menu .e-n-menu-title:not(:hover) .e-n-menu-dropdown-icon,
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .smh-header-menu .e-n-menu-title:not(:hover) .e-n-menu-dropdown-icon svg {
    color: #1A1A1A !important;
    fill: #1A1A1A !important;
}

/* --- ب) تغییر رنگ آیکون‌ها (شامل تاگل موبایل، سرچ و زبان) --- */
/* فیکس جدید: اضافه شدن آیکون تاگل منو (همبرگری/بستن) */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .e-n-menu-toggle-icon,
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .e-n-menu-toggle-icon svg,
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .e-n-menu-toggle-icon svg path {
    color: #1A1A1A !important;
    fill: #1A1A1A !important;
}

/* سایر آیکون‌ها */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .elementor-widget-icon svg path,
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .custom-lang-switcher svg path,
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .custom-lang-switcher a,
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .custom-lang-switcher span {
    color: #1A1A1A !important;
    fill: #1A1A1A !important;
    transition: all 0.3s ease;
}

/* --- پ) تنظیم دکمه (قرمز شدن در استیکی) --- */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .elementor-widget-button .elementor-button {
    background-color: #C9243A !important; 
    border: 1px solid #C9243A !important; 
    color: #FFFFFF !important; 
    transition: all 0.3s ease;
}
/* هاور دکمه در حالت استیکی */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .elementor-widget-button .elementor-button:hover {
    background-color: #a31d2f !important;
    border-color: #a31d2f !important;
    color: #FFFFFF !important;
}

/* --- ث) تغییر لوگو و فیکس سایز --- */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .elementor-widget-image img {
    content: url('https://mokarrarholding.com/ar/wp-content/uploads/2025/12/Industrial-Development-Company-logo-dark.svg');
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* =========================================
   6. فیکس‌های نهایی
   ========================================= */

/* فیکس: قرمز شدن آیکون فلش منو در حالت استیکی هنگام هاور */
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .smh-header-menu .e-n-menu-title:hover .e-n-menu-dropdown-icon svg,
.elementor-2863 .elementor-element.elementor-element-f6f8cae.elementor-sticky--effects .smh-header-menu .e-n-menu-title:hover .e-n-menu-dropdown-icon svg path {
    fill: #C9243A !important;
    color: #C9243A !important;
}

/* فیکس موبایل: جلوگیری از سفید ماندن متون */
@media (max-width: 1024px) {
    .elementor-2863 .elementor-element.elementor-element-f6f8cae .elementor-icon-list-text,
    .elementor-2863 .elementor-element.elementor-element-f6f8cae .e-n-menu-title-text, 
    .elementor-2863 .elementor-element.elementor-element-f6f8cae .elementor-heading-title a {
        color: #1A1A1A !important;
    }
}/* End custom CSS */