@media (max-width: 959px) {

    /* Do not change BeTheme drawer position, width, transform or z-index. */

    .ait-mobile-search {
        width: 100%;
        margin: 18px 0 14px;
        padding-bottom: 14px;
        border-bottom: 1px solid #e5e7eb;
    }

    .ait-search-box {
        display: flex;
        align-items: center;
        width: 100%;
        background: #f7f8f9;
        border: 1px solid #e1e5e9;
        border-radius: 10px;
        overflow: hidden;
    }

    .ait-search-box input[type="search"] {
        flex: 1;
        min-width: 0;
        height: 44px;
        margin: 0 !important;
        padding: 0 12px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 14px;
    }

    .ait-search-box button {
        width: 44px;
        height: 44px;
        border: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        cursor: pointer;
        font-size: 16px;
    }

    .ait-mobile-utilities {
        width: 100%;
        margin-top: 14px;
        padding: 14px 0;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .ait-language-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 42px;
        color: #1f2937;
        font-size: 14px;
        font-weight: 600;
    }

    .ait-language-links {
        display: flex;
        gap: 5px;
    }

    .ait-language-links a,
    .ait-language-links span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 32px;
        height: 28px;
        padding: 0 6px;
        border: 1px solid #e1e5e9;
        border-radius: 7px;
        background: #fff;
        color: #4b5563;
        text-decoration: none;
        font-size: 11px;
        font-weight: 800;
    }

    .ait-language-links .is-current {
        background: #f8ad40;
        border-color: #f8ad40;
        color: #17191d;
    }

    .ait-utility-link {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 42px;
        padding: 4px 6px;
        border-radius: 8px;
        color: #1f2937 !important;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
    }

    .ait-utility-link:hover {
        background: #f7f8f9;
    }

    .ait-mobile-contact {
        width: 100%;
        margin-top: 14px;
        padding: 15px;
        border-radius: 12px;
        background: #1f2937;
        color: #fff;
    }

    .ait-contact-title {
        margin-bottom: 10px;
        color: #f8ad40;
        font-size: 12px;
        font-weight: 800;
    }

    .ait-contact-link {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 8px 0;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 14px;
    }

    .ait-contact-button {
        display: inline-block;
        margin-top: 8px;
        padding: 10px 14px;
        border-radius: 8px;
        background: #f8ad40;
        color: #17191d !important;
        text-decoration: none !important;
        font-size: 13px;
        font-weight: 800;
    }

    html[dir="rtl"] .ait-language-row,
    body.rtl .ait-language-row {
        direction: rtl;
    }

    html[dir="rtl"] .ait-utility-link,
    body.rtl .ait-utility-link,
    html[dir="rtl"] .ait-contact-link,
    body.rtl .ait-contact-link {
        direction: rtl;
    }
}


@media (max-width: 959px) {
    .ait-search-box button,
    .ait-search-box button i {
        color: #4b5563 !important;
        background: transparent !important;
    }
}


/* v1.5 multilingual / RTL refinements */
html[dir="rtl"] .ait-mobile-search,
body.rtl .ait-mobile-search,
html[dir="rtl"] .ait-mobile-utilities,
body.rtl .ait-mobile-utilities,
html[dir="rtl"] .ait-mobile-contact,
body.rtl .ait-mobile-contact {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ait-search-box input[type="search"],
body.rtl .ait-search-box input[type="search"] {
    text-align: right !important;
}

html[dir="rtl"] .ait-language-row,
body.rtl .ait-language-row {
    flex-direction: row;
}

html[dir="rtl"] .ait-utility-link,
body.rtl .ait-utility-link,
html[dir="rtl"] .ait-contact-link,
body.rtl .ait-contact-link {
    flex-direction: row;
    justify-content: flex-start;
}
