.mt-1{ margin-top: 10px !important;}
.mt-2{ margin-top: 20px !important;}
.mt-3{ margin-top: 30px !important;}
.mt-4{ margin-top: 40px !important;}
.mt-5{ margin-top: 50px !important;}

.mb-1{ margin-bottom: 10px !important;}
.mb-2{ margin-bottom: 20px !important;}
.mb-3{ margin-bottom: 30px !important;}
.mb-4{ margin-bottom: 40px !important;}
.mb-5{ margin-bottom: 50px !important;}

.my-1{ margin-top: 10px !important; margin-bottom: 10px !important;}
.my-2{ margin-top: 20px !important; margin-bottom: 20px !important;}
.my-3{ margin-top: 30px !important; margin-bottom: 30px !important;}
.my-4{ margin-top: 40px !important; margin-bottom: 40px !important;}
.my-5{ margin-top: 50px !important; margin-bottom: 50px !important;}

a.float-wathsapp {
    position: fixed;
    left: 30px;
    bottom: 31px;
    background: white;
    border-radius: 50px;
    height: 55px;
    width: 55px;
    z-index: 12000000002125;
    box-shadow: 0 0 8px 0px #00000026;
}

.isearch ul{
	margin-bottom: 10px;
	border: 1px solid #eee; 
	border-radius: 10px;
	line-height: 10px;
	padding: 10px;
}

.isearch ul li{
padding: 10px; 
font-size:12px;

}


.top-header-contact > div .number, .nav-responsive-contact > div .number {
    font-size: 14px !important;
}



/* =========================================================
   IMN COUNTRY CARDS
   Completely isolated from existing card styles
   ========================================================= */

.imn-country-section {
    width: 100%;
    direction: rtl;
    overflow: hidden;
}

.imn-country-section .container {
    width: 100%;
}


/* ---------------------------------------------------------
   Slider
   --------------------------------------------------------- */

.imn-country-slider {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;

    overflow-x: auto !important;
    overflow-y: hidden;
    cursor: grab;

    padding: 25px 0 30px;

    direction: rtl;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: #bdbdbd transparent;
}

.imn-country-slider.imn-is-dragging {
    cursor: grabbing;
    scroll-behavior: auto !important;
    scroll-snap-type: none;
}


/* نمایش اسکرول در مرورگرهای مبتنی بر WebKit */
.imn-country-slider::-webkit-scrollbar {
    display: block;
    height: 6px;
}

.imn-country-slider::-webkit-scrollbar-track {
    background: transparent;
}

.imn-country-slider::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

/* ---------------------------------------------------------
   Card
   --------------------------------------------------------- */

.imn-country-card {
    position: relative;

    /* flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    height: 120px; */

    flex: 0 0 360px;
    min-width: 0;
    height: 120px;


    display: flex;
    align-items: center;

    padding: 20px 28px;

    border-radius: 24px;

    color: #fff !important;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;

    text-decoration: none !important;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.10);

    scroll-snap-align: start;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


/* لایه بسیار ملایم روی عکس */

.imn-country-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.02),
            rgba(0,0,0,.08)
        );

    pointer-events: none;
}


/* افکت هاور */

.imn-country-card:hover {
    color: #fff !important;

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16);
}


/* ---------------------------------------------------------
   Flag
   --------------------------------------------------------- */

.imn-country-flag {
    position: absolute;

    left: 24px;
    top: 50%;

    width: 92px;
    height: 92px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: rgba(255,255,255,.92);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px;

    box-shadow:
        0 4px 12px rgba(0,0,0,.12);

    z-index: 2;
}


/* تصویر واقعی پرچم */

.imn-country-flag-image {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}


/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.imn-country-content {
    position: relative;

    z-index: 3;

    width: 100%;

    padding-left: 105px;

    text-align: right;
}


/* ---------------------------------------------------------
   Title
   --------------------------------------------------------- */

.imn-country-title {
    margin: 0 0 14px;

    color: #fff !important;

    font-size: 25px;
    font-weight: 500;

    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;
}


/* ---------------------------------------------------------
   Bottom action
   --------------------------------------------------------- */

.imn-country-action {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 12px;

    direction: rtl;
}


.imn-country-action-text {
    color: #fff;

    font-size: 13px;
    font-weight: 400;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   Button
   --------------------------------------------------------- */

.imn-country-button {
    width: 78px;
    height: 27px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    background: #fff;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 2px 5px rgba(0,0,0,.08);
}


.imn-country-arrow {
    font-size: 17px;

    line-height: 1;

    margin-top: -2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .imn-country-slider {
        gap: 16px;

        padding-left: 12px;
        padding-right: 12px;
    }

    .imn-country-card {
        flex-basis: calc((100% - 32px) / 3);

        height: 150px;

        padding: 18px 22px;

        border-radius: 21px;
    }

    .imn-country-flag {
        width: 76px;
        height: 76px;

        left: 18px;
    }

    .imn-country-content {
        padding-left: 88px;
    }

    .imn-country-title {
        font-size: 20px;
    }

    .imn-country-action-text {
        font-size: 12px;
    }

    .imn-country-button {
        width: 68px;
        height: 25px;

        font-size: 10px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   IMN - MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .imn-country-section {
        width: 100%;
        overflow: hidden;
    }

    .imn-country-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }


    /* -----------------------------------------------------
       Slider
       ----------------------------------------------------- */

    .imn-country-slider {

        gap: 10px;

        padding-top: 18px;
        padding-bottom: 22px;

        overflow-x: auto;
        overflow-y: hidden;

        direction: rtl;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;
    }


    /* -----------------------------------------------------
       کارت
       ----------------------------------------------------- */

    .imn-country-card {

        /*
         * نتیجه:
         * 2 کارت کامل
         * + یک تکه کوچک از کارت سوم
         */

        flex: 0 0 calc((100% - 20px) / 2.0);

        height: 70px;
        min-height: 70px;

        padding: 12px 10px;

        border-radius: 16px;

        scroll-snap-align: start;

        z-index: 0;
    }


    /* -----------------------------------------------------
       پرچم
       ----------------------------------------------------- */

    .imn-country-flag {

        width: 48px;
        height: 48px;

        left: 9px;

        top: 50%;

        padding: 3px;

        transform: translateY(-50%);
    }


    /* -----------------------------------------------------
       محتوای کارت
       ----------------------------------------------------- */

    .imn-country-content {

        /*
         * فضای سمت چپ را برای پرچم رزرو می‌کنیم
         * تا متن هیچ‌وقت روی پرچم نیفتد.
         */

        padding-left: 57px;

        padding-right: 2px;

        width: 100%;

        text-align: right;
    }


    /* -----------------------------------------------------
       عنوان
       ----------------------------------------------------- */

    .imn-country-title {

        margin: 0 0 7px;

        font-size: 11px;

        line-height: 1.55;

        font-weight: 500;

        white-space: normal;

        display: -webkit-box;

        -webkit-line-clamp: 2;

        -webkit-box-orient: vertical;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* -----------------------------------------------------
       بخش پایین
       ----------------------------------------------------- */

    .imn-country-action {

        gap: 5px;

        display: flex;

        align-items: center;

        justify-content: flex-start;


    }


    .imn-country-action-text {

        font-size: 7px;

        white-space: nowrap;
    }


    /* -----------------------------------------------------
       دکمه
       ----------------------------------------------------- */

    .imn-country-button {

        width: 45px;

        height: 19px;

        font-size: 7px;

        gap: 2px;

        flex-shrink: 0;
    }


    .imn-country-arrow {

        font-size: 10px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .imn-country-slider {
        gap: 10px;
    }

    .imn-country-card {

        flex-basis: calc((100% - 20px) / 1.9);

        height: 75px;
        min-height: 75px;

        padding: 10px 11px;

        border-radius: 15px;
    }

    .imn-country-flag {

        width: 46px;
        height: 46px;

        left: 8px;

        padding: 3px;
    }

    .imn-country-content {

        padding-left: 53px;
    }

    .imn-country-title {

        font-size: 11px;

        margin-bottom: 5px;
    }

    .imn-country-action-text {

        font-size: 7px;
    }

    .imn-country-button {

        width: 43px;
        height: 18px;

        font-size: 6.5px;
    }
}



@media only screen and (max-width: 767px) {

    .tour-item {
        height: auto !important;
    }

    .top-header-wrapper {
        padding: 10px 0;
    }

    .top-header-wrapper > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        flex-wrap: nowrap;
    }

    /* منوی همبرگری اصلی */
    .top-header-btn-nav {
        order: 1;
        flex: 0 0 51px;

        width: 51px;
        height: 51px;

        margin: 0;
    }

    /* لوگو */
    .top-header-logo {
        order: 2;

        flex: 0 0 auto;

        margin: 0 auto;
        max-width: 150px;
    }

    .top-header-logo img {
        width: auto !important;
        height: auto !important;
        max-width: 150px;
        max-height: 35px;
    }

    /* wrapper منوی جدید */
    .mgx-nav-wrapper {
        order: 3;

        width: auto !important;
        flex: 0 0 auto;
        background: transparent;
    }

    /*
     * همبرگری که داخل mgx-nav-wrapper است
     * چون یک همبرگری دیگر در ابتدای هدر داریم،
     * این یکی نباید در چیدمان دیده شود.
     */
    .mgx-nav-hamburger {
        display: none !important;
    }

    /* اطلاعات تماس در موبایل */
    .top-header-contact {
        display: none !important;
    }

    /* جستجو */
    .top-header-search-btn {
        order: 4;

        flex: 0 0 48px;

        width: 48px;
        height: 48px;

        margin: 0 0 0 14px;
    }

    /* ================================
       پروفایل - کاربر لاگین شده
       ================================ */

    .top-header-auth-box {
        order: 5;

        flex: 0 0 auto;
        margin: 0;
    }

    .top-header-auth-box-info {
        width: 38px;
        height: 38px;
    }

    .top-header-auth-box-info img {
        width: 38px;
        height: 38px;

        margin: 0;
    }

    /*
     * اعلان قرمز روی پروفایل
     */
    .notify-badge {
        right: -5px !important;
        top: -6px !important;

        padding: 0 5px !important;

        min-width: 18px;
        height: 18px;

        line-height: 18px;
        font-size: 10px !important;
    }

    /* ================================
       پروفایل - کاربر لاگین نشده
       ================================ */

    .top-header-auth {
        order: 5;

        flex: 0 0 48px;
        width: 48px;
        height: 48px;

        padding: 0 !important;
        margin: 0;

        border-radius: 16px !important;

        background-color: #ff0e0e !important;

        box-shadow: none;
    }

    .top-header-auth .icon-user-2 {
        display: block !important;

        font-size: 38px !important;
        line-height: 38px !important;

        margin: 0 !important;
    }

    /* منوی بازشونده */
    .mgx-nav-menu {
        z-index: 99999;
    }

    
    

}

.cyprus-flag{
    background-image: url('/themes/home/assets/Ellipse9002.png'); 
    width: 89.55px; 
    height: 89.55px;
}

/* @media only screen and (max-width: 767px) {
    .cyprus-flag{
        background-image: url('/themes/home/assets/Ellipse9002.png'); 
        width: 89.55px; 
        height: 89.55px;
    }
} */

.footer {
  z-index: 0 !important;
}


/* =========================================
   اصلاح فوتر
   ========================================= */

/* =========================================
   MOBILE / TABLET
   ========================================= */

@media only screen and (max-width: 991px) {

    /* -----------------------------------------
       خود فوتر
       ----------------------------------------- */

    /* .footer {
        overflow-x: hidden;
    } */

    .footer .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }


    /* -----------------------------------------
       ردیف اصلی فوتر
       ----------------------------------------- */

    .footer > .container > .row {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .footer > .container > .row > .col-lg-4,
    .footer > .container > .row > .col-lg-8 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }


    /* -----------------------------------------
       ستون اصلی دوم
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 {
        margin-top: 10px;
    }


    /* -----------------------------------------
       ردیف داخلی:
       دسترسی + ارتباط + نقشه + اینماد
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row {
        display: flex !important;
        flex-wrap: wrap !important;

        width: 100%;
        max-width: 100%;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box;
    }


    /* -----------------------------------------
       دسترسی سریع
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .col-lg-2 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;

        padding-left: 0;
        padding-right: 0;

        margin-bottom: 30px;

        box-sizing: border-box;

        order: 1 !important;
    }

    .footer-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        width: 100%;
        max-width: 100%;

        margin-bottom: 30px;
    }

    .footer-nav li {
        width: 100%;
    }

    .footer-nav li:not(:last-child) {
        margin: 0 0 12px 0 !important;
    }


    /* -----------------------------------------
       ارتباط با مهردادگردی
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .col-lg-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;

        padding-left: 0;
        padding-right: 0;

        margin-bottom: 30px;

        box-sizing: border-box;

        order: 2 !important;
    }

    .footer-contact {
        display: block !important;

        width: 100%;
        max-width: 100%;
    }

    .footer-contact li,
    .footer-contact li:nth-child(n+2),
    .footer-contact li:nth-child(3) {
        display: flex !important;

        width: 100% !important;
        max-width: 100% !important;

        flex: none !important;

        justify-content: flex-start !important;

        margin-bottom: 20px;

        box-sizing: border-box;
    }

    .footer-contact li > div {
        min-width: 0;
        max-width: 100%;

        margin-right: 20px;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* -----------------------------------------
       نقشه + اینماد
       
       مهم:
       این دو ستون مستقیماً فرزند row داخلی هستند.
       هر دو دقیقاً 50 درصد عرض row را می‌گیرند.
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .col-6.col-lg-3 {
        width: 48% !important;
        max-width: 48% !important;
        flex: 0 0 48% !important;

        box-sizing: border-box;

        padding-left: 6px;
        padding-right: 6px;

        margin: 0;

        order: 3 !important;
    }


    /* -----------------------------------------
       خود ستون نقشه
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .iframe {
        min-width: 0;
    }

    .footer .iframe iframe {
        display: block;

        width: 100% !important;
        max-width: 100% !important;

        height: 220px;

        box-sizing: border-box;

        border-radius: 12px;

        box-shadow: none;
    }


    /* -----------------------------------------
       ستون اینماد
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .col-6:not(.iframe) {
        display: flex;

        align-items: flex-start;
        justify-content: center;

        min-width: 0;
    }

    .footer > .container > .row > .col-lg-8 > .row > .col-6:not(.iframe) img {
        display: block;

        width: auto !important;
        max-width: 100% !important;

        height: auto;
    }


    /* -----------------------------------------
       Newsletter
       ----------------------------------------- */

    .footer-newsletter {
        width: 100%;
        max-width: 100%;

        margin-bottom: 32px;

        box-sizing: border-box;
    }


    /* -----------------------------------------
       عنوان‌های فوتر
       ----------------------------------------- */

    .footer-title {
        margin-bottom: 15px;
    }


    /* -----------------------------------------
       بخش پایین فوتر
       ----------------------------------------- */

    .footer-bottom {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        overflow: hidden;

        padding: 15px 10px 12px;

        margin-left: 0;
        margin-right: 0;
        margin-top: 26px;

        box-sizing: border-box;
    }

    .footer-socials {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;

        margin-bottom: 30px;
    }

    .footer-socials ul {
        display: flex;
        align-items: center;
        justify-content: center;

        margin: 16px 0 0;
    }

    .footer-copyright {
        width: 100%;
        max-width: 100%;

        margin-right: 0;

        text-align: center;

        overflow-wrap: anywhere;
        word-break: break-word;
    }
}


/* =========================================
   MOBILE کوچک
   ========================================= */

@media only screen and (max-width: 575px) {

    .footer > .container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }


    /* -----------------------------------------
       نقشه + اینماد
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .col-6.col-lg-3 {
        padding-left: 1px;
        padding-right: 1px;
    }

    .footer .iframe iframe {
        height: 200px;
    }


    /* -----------------------------------------
       متن تماس
       ----------------------------------------- */

    .footer-contact li {
        font-size: 13px;
    }


    /* -----------------------------------------
       اینماد
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .col-6:not(.iframe) img {
        max-width: 200px !important;
    }
}


/* =========================================
   DESKTOP
   ========================================= */

@media only screen and (min-width: 992px) {

    /* -----------------------------------------
       ردیف اصلی
       ----------------------------------------- */

    .footer > .container > .row {
        box-sizing: border-box;
        gap: 0 !important;
    }


    /* -----------------------------------------
       ردیف داخلی
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row {
        box-sizing: border-box;

        /*
         * اجازه نمی‌دهیم محتویات داخلی
         * عرض ستون col-lg-8 را بشکند.
         */
        min-width: 0;
    }


    /* -----------------------------------------
       تمام ستون‌های ردیف داخلی
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > [class*="col-"] {
        min-width: 0;
        box-sizing: border-box;
    }


    /* -----------------------------------------
       نقشه
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .iframe {
        min-width: 0;
    }

    .footer .iframe iframe {
        display: block;

        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box;
    }


    /* -----------------------------------------
       اینماد
       ----------------------------------------- */

    .footer > .container > .row > .col-lg-8 > .row > .col-lg-3:not(.iframe) {
        min-width: 0;
    }

    .footer > .container > .row > .col-lg-8 > .row > .col-lg-3:not(.iframe) img {
        max-width: 100%;
        height: auto;
    }


    /* -----------------------------------------
       جلوگیری از بیرون زدن متن
       ----------------------------------------- */

    .footer-contact,
    .footer-nav,
    .footer-newsletter {
        min-width: 0;
        max-width: 100%;
    }

    .footer-contact li > div {
        min-width: 0;
        max-width: 100%;

        overflow-wrap: anywhere;
        word-break: break-word;
    }
}



.footer > .container > .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.footer > .container > .row > .col-lg-8 > .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

.footer > .container > .row > .col-lg-8 > .row {
    gap: 0 !important;
}


@media only screen and (max-width: 991px) {

    .footer-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 15px;
    }

    .footer-nav li {
        width: auto !important;
        flex: 0 0 auto !important;
    }

    .footer-nav li:not(:last-child) {
        margin: 0 !important;
    }

    .footer-nav li a {
        white-space: nowrap;
    }
}

@media only screen and (max-width: 991px) {

    .footer-contact {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 15px;
    }

    .footer-contact li {
        width: auto !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
    }

    .footer-contact li > div {
        margin-right: 5px;
        white-space: nowrap;
    }
}


@media only screen and (max-width: 991px) {

    /* =========================================
       1. دسترسی سریع
       افقی + شکستن به خط بعد
       ========================================= */

    .footer-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;

        width: 100%;
        max-width: 100%;

        align-items: center;
        justify-content: flex-start;

        gap: 8px 15px;

        margin: 0 !important;
    }

    .footer-nav li {
        width: auto !important;
        max-width: 100%;

        flex: 0 0 auto !important;

        margin: 0 !important;

        min-width: 0;
    }

    .footer-nav li a {
        display: block;

        white-space: nowrap;
    }


    /* =========================================
       2. ارتباط با مهردادگردی
       افقی + شکستن به خط بعد
       ========================================= */

    .footer-contact {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;

        width: 100%;
        max-width: 100%;

        align-items: center;
        justify-content: flex-start;

        gap: 10px 15px;

        margin: 0 !important;
    }

    .footer-contact li {
        display: flex !important;

        width: auto !important;
        max-width: 100%;

        flex: 0 1 auto !important;

        min-width: 0;

        margin: 0 !important;
    }

    .footer-contact li > div {
        min-width: 0;
        max-width: 100%;

        margin-right: 5px;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* =========================================
       3. نقشه + اینماد
       همیشه دو ستون
       ========================================= */

    .footer > .container > .row > .col-lg-8 > .row
    > .col-6.col-lg-3 {
        width: 50% !important;
        max-width: 50% !important;

        flex: 0 0 50% !important;

        min-width: 0;

        box-sizing: border-box;
    }


    /* نقشه */
    .footer .iframe {
        min-width: 0;
    }

    .footer .iframe iframe {
        display: block;

        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box;
    }


    /* اینماد */
    .footer > .container > .row > .col-lg-8 > .row
    > .col-6:not(.iframe) {
        min-width: 0;

        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .footer > .container > .row > .col-lg-8 > .row
    > .col-6:not(.iframe) img {
        display: block;

        max-width: 100% !important;
        height: auto;
    }
}


@media only screen and (max-width: 991px) {

    .footer-newsletter .title {
        display: flex !important;
        align-items: flex-start !important;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .footer-newsletter .title i {
        flex: 0 0 auto;
    }

    .footer-newsletter .title {
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal !important;
    }
}

@media (max-width: 480px) {
  .footer > .container > .row  {
    padding: 0 !important;
    gap: 0 !important;
  }
}


.bbtn {
  border-radius: 10px !important;
}



@media (max-width: 768px) {
  .titlebar {
    margin-top: -60px !important;
  }
}






.istmconc {
  width: 40% !important;
}





/* =========================================
   TABLET OVERRIDES
   فقط مخصوص تبلت
   ========================================= */



/* =========================================
   TABLET - حفظ ابعاد دکمه‌های هدر
   ========================================= */


/* =========================================
   TABLET - FIX HEADER BUTTON SIZES
   جلوگیری از کوچک شدن دکمه‌های هدر
   ========================================= */

@media only screen and (min-width: 769px) and (max-width: 991px) {

    /* جلوگیری از فشرده شدن دکمه‌ها */
    .top-header-btn-nav,
    .top-header-search-btn,
    .top-header-contact,
    .top-header-auth {
        flex-shrink: 0 !important;
    }

    /* دکمه همبرگری */
    .top-header-btn-nav {
        box-sizing: border-box !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }

    /* دکمه جستجو */
    .top-header-search-btn {
        box-sizing: border-box !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
    }

    /* بخش واتساپ و پشتیبانی */
    .top-header-contact {
        flex-shrink: 0 !important;
        min-width: max-content !important;
    }

    .top-header-contact img {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        flex-shrink: 0 !important;
        object-fit: contain !important;
    }

    .tour-box {
        padding: 10px 12px;
    }

     .imn-country-flag {
        width: 50px !important;
        height: 50px !important;
        left: 15px !important;
    }

    .imn-country-card {
        height: 100px !important;
        padding: 15px 10px !important;
    }
}




@media screen and (min-width: 769px) and (max-width: 1100px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }
}



/* =========================================
   MGX MOBILE MENU - FIX
   ========================================= */

@media (max-width: 991px) {

    /* هدر نباید یک لایه تمام‌صفحه بسازد */
    .top-header,
    .top-header-wrapper {
        position: relative;
    }

    /* والد منو فقط به اندازه محتوای خودش باشد */
    .mgx-nav-wrapper {
        position: static !important;
        width: auto !important;
        flex: 0 0 auto !important;
        z-index: auto !important;
        pointer-events: none;
    }

    /* منوی بسته کاملاً از تعامل خارج باشد */
    .mgx-nav-wrapper .mgx-nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;

        width: 85% !important;
        max-width: 360px !important;
        height: 100vh !important;
        height: 100dvh !important;

        display: flex !important;
        flex-direction: column !important;

        background: #fff !important;
        padding-top: 70px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

        z-index: 100000 !important;

        transform: translateX(100%) !important;
        visibility: hidden !important;
        pointer-events: none !important;

        transition:
            transform 0.3s ease,
            visibility 0s linear 0.3s !important;
    }

    /* منوی باز */
    .mgx-nav-wrapper
    .mgx-nav-checkbox:checked ~ .mgx-nav-menu {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transition:
            transform 0.3s ease,
            visibility 0s !important;
    }

    /* آیتم‌های منو */
    .mgx-nav-wrapper .mgx-nav-list {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .mgx-nav-wrapper .mgx-nav-item {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mgx-nav-wrapper .mgx-nav-link {
        width: 100% !important;
        padding: 14px 24px !important;
    }

    .mgx-nav-wrapper .mgx-nav-link::after {
        display: none !important;
    }

    /* زیرمنوها در ابتدا بسته باشند */
    .mgx-nav-wrapper .mgx-dropdown-menu,
    .mgx-nav-wrapper .mgx-megamenu {
        position: static !important;
        display: none !important;

        width: 100% !important;
        max-width: 100% !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
    }

    /* زیرمنو فقط با کلاس is-open باز شود */
    .mgx-nav-wrapper
    .mgx-has-dropdown.is-open > .mgx-dropdown-menu {
        display: block !important;
    }

    .mgx-nav-wrapper
    .mgx-has-megamenu.is-open > .mgx-megamenu {
        display: block !important;
    }

    .mgx-nav-wrapper .mgx-megamenu-grid {
        grid-template-columns: 1fr !important;
    }
}





/* ۹۹۲ پیکسل و بیشتر */
@media (min-width: 992px) {
    /* استایل صفحه */
    .tour-section .row {
        margin-top: -50px;
    }
}

/* از ۷۶۸ تا ۹۹۱ پیکسل */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* استایل صفحه */
  
}

/* از ۴۰۰ تا ۷۶۷ پیکسل */
@media (min-width: 400px) and (max-width: 767.98px) {
    /* استایل صفحه */
    
}

/* کمتر از ۴۰۰ پیکسل */
@media (max-width: 399.98px) {
    /* استایل صفحه */
}


/* فقط برای ردیف‌هایی که یک یا دو کارت دارند */
.tour-section .row.fffm-center-few {
    justify-content: center !important;
}

.tour-section .row.fffm-center-few > .cpm {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}

.tour-section .row.fffm-center-few .tour-box {
    margin-left: auto !important;
    margin-right: auto !important;
}



.search-loading {
    padding: 12px 8px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.search-loading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    vertical-align: -3px;
    border: 2px solid #ddd;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: search-spin 0.7s linear infinite;
}

.search-error {
    padding: 12px 8px;
    text-align: center;
    color: #dc3545;
    font-size: 13px;
}

@keyframes search-spin {
    to {
        transform: rotate(360deg);
    }
}


@media screen and (max-width: 768px) {
    .modal input,
    .modal select,
    .modal textarea {
        font-size: 16px !important;
    }
}



.icon-whatsapp::before {
  content: "\e93c" !important;
}



/* ==========================================
   Country sections
   ========================================== */

.tour-section {
    position: relative;
    padding-top: 0 !important;
    margin-top: 0;
}

/* والد بنر و خدمات */
.tour-section .country-hero {
    position: relative;
    isolation: isolate;

    height: clamp(320px, 36vw, 470px);
    margin-bottom: 95px;
}

/* تصویر بنر */
.tour-section .country-hero > .tour-section-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    z-index: -1;
    pointer-events: none;
}

/* دکمه اسکرول */
.tour-section .country-hero > .btn-scroll {
    position: absolute !important;

    top: 12px !important;
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;
    margin: 0 !important;

    z-index: 5;
}

/* آیکون دکمه */
.tour-section .country-hero > .btn-scroll i {
    margin-top: 0 !important;
}

/* والد کارت‌های خدمات */
.tour-section .country-topics-container {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -45px;

    width: 100%;
    max-width: 100%;

    z-index: 2;
}

/* ردیف خدمات */
.tour-section .country-topics-container .items-tour {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;

    width: 100%;
    height: auto;

    margin: 0 auto !important;
    padding: 0 12px !important;

    transform: none !important;
    box-sizing: border-box;
}

/* کارت‌های خدمات */
.tour-section .country-topics-container .items-tour > .col {
    flex: 0 0 auto;

    width: auto;
    max-width: 100%;

    margin: 0 !important;
    box-sizing: border-box;
}

/* محتوای هر کارت */
.tour-section .country-topics-container .tour-box {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

/* عنوان خدمات */
.tour-section .country-topics-container .pom {
    margin-right: 0;
}

/* عنوان اسلایدرها */
.tour-section .section_posts .titlebar .titp {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 12px;
}

/* جلوگیری از تأثیر ارتفاع بنر روی اسلایدرها */
.tour-section .hero_post_sect {
    position: relative;
    margin-top: 0;
}

/* لپ‌تاپ و تبلت */
@media (min-width: 768px) and (max-width: 991.98px) {
    .tour-section .country-hero {
        height: 360px;
        margin-bottom: 90px;
    }

    .tour-section .country-topics-container {
        bottom: -40px;
    }
}

/* موبایل */
@media (max-width: 767.98px) {
    .tour-section .country-hero {
        height: 223px;
        margin-bottom: 85px;
    }

    .tour-section .country-hero > .tour-section-bg {
        background-position: center top;
        background-size: cover;
    }

    .tour-section .country-topics-container {
        bottom: -40px;
        padding: 0 8px;
    }

    .tour-section .country-topics-container .items-tour {
        gap: 8px 0;
        padding: 0 !important;
    }

    .tour-section .country-topics-container .items-tour > .col {
        flex: 0 0 33.333333%;
        width: 33.333333%;
        max-width: 33.333333%;

        padding: 4px !important;
    }

    .tour-section .country-topics-container .items-tour.fffm-center-few > .col {
        flex: 0 0 33.333333%;
        width: 33.333333%;
        max-width: 33.333333%;
    }

    .tour-section .country-topics-container .tour-box {
        max-width: 100%;
    }
}

/* موبایل باریک */
@media (max-width: 399.98px) {
    .tour-section .country-topics-container .items-tour > .col,
    .tour-section .country-topics-container .items-tour.fffm-center-few > .col {
        flex-basis: 50%;
        width: 50%;
        max-width: 50%;
    }
}



/* قرارگیری کارت‌های خدمات روی لبه پایینی بنر */
.tour-section .country-topics-container {
    bottom: 0 !important;
    transform: translateY(50%);
}

/* تنظیم فاصله پایین بنر برای جلوگیری از تداخل با اسلایدر */
.tour-section .country-hero {
    margin-bottom: 130px;
    margin-top: 30px;
}

/* موبایل */
@media (max-width: 767.98px) {
    .tour-section .country-hero {
        margin-bottom: 120px;
    }
}

/* مانیتورهای بزرگ */
@media (min-width: 1400px) {
    .tour-section .country-hero > .btn-scroll {
        top: -5px !important;
    }
}

/* لپ‌تاپ و مانیتورهای متوسط */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .tour-section .country-hero > .btn-scroll {
        top: 0 !important;
    }
}

/* تبلت و نمایشگرهای کوچک */
@media (max-width: 991.98px) {
    .tour-section .country-hero > .btn-scroll {
        top: -10px !important;
    }
}

@media (max-width: 767.98px) {
    .tour-section .country-hero > .btn-scroll {
        top: -25px !important;
    }
}
/* Full product images: retain all edges on cards, including legacy posters. */
.tour-item .image img { object-fit: contain !important; object-position: center !important; }

html body .tour-item .image a img{object-fit:contain!important;object-position:center!important;}

html body .tour-item .image a img{object-fit:contain!important;object-position:center!important;}

html body .slick-carousel .tour-item .image a.cmpmo img{object-fit:contain!important;object-position:center!important;}
