/*
 * Khalaj Mobile & Tablet Header v1.0.30
 * Clean final CSS: header-only stronger typography, drawer font restored, wider logo spacing, mobile/tablet only.
 */

.khm-header,
.khm-overlay,
.khm-panel {
    display: none;
}

.khm-header,
.khm-header *,
.khm-panel,
.khm-panel *,
.khm-overlay,
.khm-search-drawer,
.khm-search-drawer * {
    box-sizing: border-box !important;
}

.khm-header a,
.khm-panel a,
.khm-header button,
.khm-panel button,
.khm-search-drawer button,
.khm-header b,
.khm-header span,
.khm-header i,
.khm-panel b,
.khm-panel em,
.khm-panel i,
.khm-panel span,
.khm-panel ul,
.khm-panel li {
    text-decoration: none !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.khm-header button,
.khm-panel button,
.khm-search-drawer button {
    appearance: none !important;
    -webkit-appearance: none !important;
}

html body.khm-current-lang-fa .khm-header,
html body.khm-current-lang-fa .khm-panel,
html body.khm-current-lang-ar .khm-header,
html body.khm-current-lang-ar .khm-panel,
html body.khm-current-lang-fa .khm-search-drawer,
html body.khm-current-lang-ar .khm-search-drawer {
    font-family: 'Khalaj Peyda Mobile', Peyda, IRANSans, Tahoma, Arial, sans-serif !important;
}

html body.khm-current-lang-en .khm-header,
html body.khm-current-lang-en .khm-panel,
html body.khm-current-lang-en .khm-search-drawer {
    font-family: 'Khalaj Inter Light Mobile', Inter, Arial, sans-serif !important;
}

/* v1.0.25: page-safe font isolation. Some Elementor pages override fonts after normal body-class rules; bind fonts directly to the plugin language classes too. */
html body .khm-header.khm-lang-fa,
html body .khm-header.khm-lang-fa *:not(svg):not(path),
html body .khm-header.khm-lang-ar,
html body .khm-header.khm-lang-ar *:not(svg):not(path) {
    font-family: 'Khalaj Peyda Mobile Strong', 'Khalaj Peyda Mobile', Peyda, IRANSans, Tahoma, Arial, sans-serif !important;
    font-style: normal !important;
}

html body .khm-header.khm-lang-en,
html body .khm-header.khm-lang-en *:not(svg):not(path) {
    font-family: 'Khalaj Inter Light Mobile Strong', 'Khalaj Inter Light Mobile', Inter, Arial, sans-serif !important;
    font-style: normal !important;
}

html body .khm-panel.khm-lang-fa,
html body .khm-panel.khm-lang-fa *:not(svg):not(path),
html body .khm-search-drawer.khm-lang-fa,
html body .khm-search-drawer.khm-lang-fa *:not(svg):not(path),
html body .khm-panel.khm-lang-ar,
html body .khm-panel.khm-lang-ar *:not(svg):not(path),
html body .khm-search-drawer.khm-lang-ar,
html body .khm-search-drawer.khm-lang-ar *:not(svg):not(path) {
    font-family: 'Khalaj Peyda Mobile', Peyda, IRANSans, Tahoma, Arial, sans-serif !important;
    font-style: normal !important;
    font-synthesis: none !important;
}

html body .khm-panel.khm-lang-en,
html body .khm-panel.khm-lang-en *:not(svg):not(path),
html body .khm-search-drawer.khm-lang-en,
html body .khm-search-drawer.khm-lang-en *:not(svg):not(path) {
    font-family: 'Khalaj Inter Light Mobile', Inter, Arial, sans-serif !important;
    font-style: normal !important;
    font-synthesis: none !important;
}

html body.khm-mobile-header-enabled .khm-header .khm-menu-toggle__text,
html body.khm-mobile-header-enabled .khm-header .khm-search-toggle__text,
html body.khm-mobile-header-enabled .khm-header .khm-account-link__text {
    font-size: 13px !important;
    font-weight: var(--khm-header-fw, 600) !important;
    line-height: 1.34 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    text-rendering: auto !important;
}

html body.khm-menu-open,
html body.khm-search-open {
    overflow-x: hidden !important;
}

@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled .khm-header {
        position: fixed !important;
        z-index: 1000004 !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: var(--khm-header-h) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: var(--khm-header-bg) !important;
        border: 0 !important;
        border-bottom: 1px solid var(--khm-border) !important;
        border-radius: 0 !important;
        box-shadow: 0 5px 18px rgba(17, 24, 39, .07) !important;
        color: var(--khm-text) !important;
    }

    .admin-bar .khm-header {
        top: 46px !important;
    }

    html body.khm-mobile-header-enabled .khm-header__inner {
        width: 100% !important;
        height: 100% !important;
        display: grid !important;
        grid-template-columns: 90px 102px minmax(102px, 1fr) 82px !important;
        direction: rtl !important;
        align-items: stretch !important;
        background: var(--khm-header-bg) !important;
    }

    html body.khm-mobile-header-enabled .khm-header__cell {
        min-width: 0 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--khm-text) !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 6px !important;
        margin: 0 !important;
        line-height: normal !important;
    }

    html body.khm-mobile-header-enabled .khm-search-toggle {
        border-inline-start: 1px solid var(--khm-border) !important;
        border-inline-end: 1px solid var(--khm-border) !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle,
    html body.khm-mobile-header-enabled .khm-search-toggle {
        cursor: pointer !important;
        flex-direction: row !important;
        gap: 6px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled .khm-search-toggle__text,
    html body.khm-mobile-header-enabled .khm-account-link__text {
        display: inline-flex !important;
        align-items: center !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        clip: auto !important;
        clip-path: none !important;
        color: var(--khm-text) !important;
        background: transparent !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: var(--khm-header-fw, 600) !important;
        font-style: normal !important;
        line-height: 1.34 !important;
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        text-indent: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle__text {
        max-width: 40px !important;
    }

    html body.khm-mobile-header-enabled .khm-search-toggle__text {
        max-width: 50px !important;
    }

    html body.khm-mobile-header-enabled .khm-account-link {
        gap: 2px !important;
        flex-direction: row !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        justify-content: center !important;
        padding-inline: 2px !important;
    }

    html body.khm-mobile-header-enabled .khm-account-link__text {
        max-width: 94px !important;
    }

    html body.khm-mobile-header-enabled .khm-header__icon-btn svg,
    html body.khm-mobile-header-enabled .khm-account-link__icon svg {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        stroke: currentColor !important;
        fill: none !important;
        display: block !important;
    }

    html body.khm-mobile-header-enabled .khm-account-link__icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-logo {
        direction: ltr !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow: visible !important;
        padding-left: 6vw !important;
        padding-right: 0 !important;
        min-width: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-logo img {
        width: auto !important;
        max-width: 56px !important;
        height: auto !important;
        max-height: 52px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        transform: none !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-fallback {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        color: var(--khm-text) !important;
        font-size: 20px !important;
        font-weight: var(--khm-header-fw, 600) !important;
        line-height: 1.2 !important;
        direction: ltr !important;
        transform: none !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-mark {
        position: relative !important;
        width: 46px !important;
        height: 46px !important;
        display: inline-block !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-mark i,
    html body.khm-mobile-header-enabled .khm-logo-mark b {
        position: absolute !important;
        width: 24px !important;
        height: 34px !important;
        border-radius: 3px !important;
        display: block !important;
        transform: rotate(35deg) !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-mark i {
        top: 2px !important;
        right: 15px !important;
        background: linear-gradient(145deg, var(--khm-green), #3FAE3A) !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-mark b {
        bottom: 2px !important;
        left: 3px !important;
        background: linear-gradient(145deg, var(--khm-blue), #1555D1) !important;
    }

    html body.khm-mobile-header-enabled .khm-search-drawer {
        position: absolute !important;
        z-index: 1000005 !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        display: none !important;
        padding: 12px 14px !important;
        background: var(--khm-header-bg) !important;
        border-bottom: 1px solid var(--khm-border) !important;
        box-shadow: 0 14px 28px rgba(17, 24, 39, .10) !important;
    }

    html body.khm-search-open .khm-search-drawer {
        display: block !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form {
        width: 100% !important;
        min-height: 44px !important;
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) 74px !important;
        align-items: center !important;
        gap: 8px !important;
        border: 1px solid var(--khm-border) !important;
        border-radius: 3px !important;
        padding: 0 8px !important;
        background: #fff !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__input {
        width: 100% !important;
        height: 42px !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--khm-text) !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        outline: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__submit {
        height: 34px !important;
        border: 0 !important;
        border-radius: 3px !important;
        background: var(--khm-blue) !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
    }

    html body.khm-mobile-header-enabled .khm-overlay {
        position: fixed !important;
        z-index: 1000001 !important;
        top: var(--khm-header-h) !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100dvh - var(--khm-header-h)) !important;
        display: block !important;
        background: rgba(0, 0, 0, var(--khm-overlay-opacity)) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity .24s ease, visibility .24s ease !important;
    }

    .admin-bar .khm-overlay {
        top: calc(46px + var(--khm-header-h)) !important;
        height: calc(100dvh - 46px - var(--khm-header-h)) !important;
    }

    html body.khm-menu-open .khm-overlay {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html body.khm-mobile-header-enabled .khm-panel {
        position: fixed !important;
        z-index: 1000002 !important;
        top: var(--khm-header-h) !important;
        right: 0 !important;
        bottom: 0 !important;
        width: min(var(--khm-panel-w), var(--khm-panel-max)) !important;
        max-width: calc(100vw - 14px) !important;
        height: calc(100dvh - var(--khm-header-h)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
        background: var(--khm-panel-bg) !important;
        color: var(--khm-text) !important;
        border: 0 !important;
        border-left: 1px solid var(--khm-border) !important;
        border-radius: 0 !important;
        box-shadow: -16px 0 42px rgba(17, 24, 39, .14) !important;
        transform: translateX(105%) !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform .28s ease, visibility .28s ease !important;
        padding: 14px 0 22px 0 !important;
    }

    .admin-bar .khm-panel {
        top: calc(46px + var(--khm-header-h)) !important;
        height: calc(100dvh - 46px - var(--khm-header-h)) !important;
    }

    html body.khm-menu-open .khm-panel {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html body.khm-mobile-header-enabled .khm-panel__top,
    html body.khm-mobile-header-enabled .khm-panel__close,
    html body.khm-mobile-header-enabled .khm-panel__logo,
    html body.khm-mobile-header-enabled .khm-panel__top .khm-logo,
    html body.khm-mobile-header-enabled .khm-panel__top img {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    html body.khm-mobile-header-enabled .khm-lang-tabs {
        width: calc(100% - 58px) !important;
        min-height: 36px !important;
        height: 36px !important;
        margin: 0 auto 14px auto !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        border: 1px solid var(--khm-border) !important;
        border-radius: 3px !important;
        background: #fff !important;
        overflow: hidden !important;
    }

    html body.khm-mobile-header-enabled .khm-lang-tabs__item {
        position: relative !important;
        height: 36px !important;
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--khm-text) !important;
        background: transparent !important;
        border: 0 !important;
        border-inline-start: 1px solid var(--khm-border) !important;
        border-radius: 0 !important;
        font-family: inherit !important;
        font-size: 12.8px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        text-decoration: none !important;
    }

    html body.khm-mobile-header-enabled .khm-lang-tabs__item:last-child {
        border-inline-start: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-lang-tabs__item.is-active {
        color: var(--khm-blue) !important;
    }

    html body.khm-mobile-header-enabled .khm-lang-tabs__item.is-active::after {
        content: "" !important;
        position: absolute !important;
        right: 24px !important;
        left: 24px !important;
        bottom: 0 !important;
        height: 2px !important;
        background: var(--khm-blue) !important;
        border-radius: 3px 3px 0 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel__nav {
        width: calc(100% - 58px) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        direction: rtl !important;
    }

    html body.khm-mobile-header-enabled .khm-panel__nav--misc {
        margin-top: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel__nav:empty,
    html body.khm-mobile-header-enabled .khm-panel__nav--misc:empty {
        display: none !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu,
    html body.khm-mobile-header-enabled .khm-panel-menu ul,
    html body.khm-mobile-header-enabled .khm-submenu,
    html body.khm-mobile-header-enabled .khm-submenu ul {
        list-style: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__li,
    html body.khm-mobile-header-enabled .khm-submenu__li {
        list-style: none !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__li::before,
    html body.khm-mobile-header-enabled .khm-panel-menu__li::after,
    html body.khm-mobile-header-enabled .khm-submenu__li::before,
    html body.khm-mobile-header-enabled .khm-submenu__li::after {
        content: none !important;
        display: none !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__li {
        border-bottom: 1px solid var(--khm-border) !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__row,
    html body.khm-mobile-header-enabled .khm-submenu__row {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        align-items: center !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        cursor: pointer !important;
        font-family: inherit !important;
        line-height: 1.4 !important;
        text-align: right !important;
        direction: rtl !important;
        color: var(--khm-text) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__row {
        min-height: 56px !important;
        grid-template-columns: 20px minmax(0, 1fr) 26px !important;
        column-gap: 10px !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu__row {
        min-height: 40px !important;
        grid-template-columns: 14px minmax(0, 1fr) 22px !important;
        column-gap: 8px !important;
        color: #4B5563 !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-title-text {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        clip: auto !important;
        clip-path: none !important;
        border: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        font-family: inherit !important;
        font-style: normal !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        text-align: right !important;
        direction: rtl !important;
        text-indent: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        color: var(--khm-text) !important;
        font-size: 15.5px !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu__title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        color: #4B5563 !important;
        font-size: 13.8px !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__icon,
    html body.khm-mobile-header-enabled .khm-submenu__line {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__icon {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu__line {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__icon::before,
    html body.khm-mobile-header-enabled .khm-submenu__line::before {
        content: "" !important;
        display: block !important;
        border-radius: 3px !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__icon::before {
        width: 12px !important;
        height: 12px !important;
        background: var(--khm-blue) !important;
        box-shadow: 0 4px 10px rgba(37, 99, 235, .20) !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu__line::before {
        width: 8px !important;
        height: 8px !important;
        background: var(--khm-blue) !important;
        box-shadow: 0 3px 8px rgba(37, 99, 235, .18) !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu--misc > .khm-panel-menu__li > .khm-panel-menu__row .khm-panel-menu__icon::before,
    html body.khm-mobile-header-enabled .khm-panel-menu__li--misc > .khm-panel-menu__row .khm-panel-menu__icon::before {
        background: var(--khm-green) !important;
        box-shadow: 0 4px 10px rgba(114, 201, 75, .22) !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__arrow,
    html body.khm-mobile-header-enabled .khm-submenu__arrow {
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: var(--khm-text) !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        font-style: normal !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__arrow {
        grid-column: 3 !important;
        width: 26px !important;
        height: 26px !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu__arrow {
        grid-column: 3 !important;
        width: 22px !important;
        height: 22px !important;
        color: #6B7280 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__arrow svg {
        width: 18px !important;
        height: 18px !important;
        display: block !important;
        transition: transform .2s ease !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu__arrow svg {
        width: 16px !important;
        height: 16px !important;
        display: block !important;
        transition: transform .2s ease !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__arrow:empty,
    html body.khm-mobile-header-enabled .khm-submenu__arrow:empty {
        visibility: hidden !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__li.is-active > .khm-panel-menu__row .khm-panel-menu__title,
    html body.khm-mobile-header-enabled .khm-submenu__li.is-active > .khm-submenu__row .khm-submenu__title {
        color: var(--khm-blue) !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__li.is-open > .khm-panel-menu__row .khm-panel-menu__arrow svg,
    html body.khm-mobile-header-enabled .khm-submenu__li.is-open > .khm-submenu__row .khm-submenu__arrow svg {
        transform: rotate(180deg) !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu {
        display: none !important;
        width: 100% !important;
        padding: 0 28px 11px 0 !important;
        margin: -2px 0 0 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__li.is-open > .khm-submenu,
    html body.khm-mobile-header-enabled .khm-submenu__li.is-open > .khm-submenu,
    html body.khm-mobile-header-enabled .is-open > .khm-submenu {
        display: block !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu .khm-submenu {
        padding: 0 18px 8px 0 !important;
        margin-top: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-support-box {
        width: calc(100% - 58px) !important;
        min-height: 76px !important;
        margin: 20px auto 0 auto !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 54px !important;
        align-items: center !important;
        gap: 10px !important;
        border: 1px solid rgba(114, 201, 75, .42) !important;
        border-radius: 3px !important;
        background: linear-gradient(180deg, rgba(114, 201, 75, .10), rgba(114, 201, 75, .05)) !important;
        color: var(--khm-text) !important;
        padding: 9px 11px !important;
        text-decoration: none !important;
    }

    html body.khm-mobile-header-enabled .khm-support-box__text {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        min-width: 0 !important;
        text-align: right !important;
    }

    html body.khm-mobile-header-enabled .khm-support-box__text strong {
        color: #4EA83C !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
    }

    html body.khm-mobile-header-enabled .khm-support-box__text em {
        color: var(--khm-text) !important;
        font-family: inherit !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        font-style: normal !important;
        line-height: 1.45 !important;
    }

    html body.khm-mobile-header-enabled .khm-support-box__icon {
        display: flex !important;
        justify-content: center !important;
        color: #61B94A !important;
    }

    html body.khm-mobile-header-enabled .khm-support-box__icon svg {
        width: 44px !important;
        height: 44px !important;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    :root {
        --khm-header-h: var(--khm-header-h-tablet);
        --khm-panel-w: var(--khm-panel-w-tablet);
    }

    html body.khm-mobile-header-enabled .khm-header__inner {
        grid-template-columns: 188px 156px minmax(210px, 1fr) 134px !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle,
    html body.khm-mobile-header-enabled .khm-search-toggle {
        gap: 8px !important;
        padding-inline: 10px !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled .khm-search-toggle__text,
    html body.khm-mobile-header-enabled .khm-account-link__text {
        font-size: 13px !important;
        font-weight: var(--khm-header-fw, 600) !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle__text {
        max-width: 68px !important;
    }

    html body.khm-mobile-header-enabled .khm-search-toggle__text {
        max-width: 82px !important;
    }

    html body.khm-mobile-header-enabled .khm-account-link__text {
        max-width: 170px !important;
    }

    html body.khm-mobile-header-enabled .khm-header__icon-btn svg,
    html body.khm-mobile-header-enabled .khm-account-link__icon svg {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }

    html body.khm-mobile-header-enabled .khm-logo {
        padding-left: 6vw !important;
    }

    html body.khm-mobile-header-enabled .khm-logo img {
        max-width: 88px !important;
        max-height: 64px !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-mark {
        width: 56px !important;
        height: 56px !important;
    }

    html body.khm-mobile-header-enabled .khm-lang-tabs {
        width: calc(100% - 110px) !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    html body.khm-mobile-header-enabled .khm-panel__nav,
    html body.khm-mobile-header-enabled .khm-support-box {
        width: calc(100% - 78px) !important;
    }

    html body.khm-mobile-header-enabled .khm-panel-menu__title {
        font-size: 16px !important;
    }

    html body.khm-mobile-header-enabled .khm-submenu__title {
        font-size: 13.8px !important;
    }
}

@media (max-width: 420px) {
    :root {
        --khm-header-h: var(--khm-header-h-mobile);
        --khm-panel-w: var(--khm-panel-w-mobile);
    }

    html body.khm-mobile-header-enabled .khm-header__inner {
        grid-template-columns: 86px 96px minmax(92px, 1fr) 78px !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle,
    html body.khm-mobile-header-enabled .khm-search-toggle {
        gap: 4px !important;
        padding-inline: 5px !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled .khm-search-toggle__text,
    html body.khm-mobile-header-enabled .khm-account-link__text {
        font-size: 13px !important;
        font-weight: var(--khm-header-fw, 600) !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle__text {
        max-width: 38px !important;
    }

    html body.khm-mobile-header-enabled .khm-search-toggle__text {
        max-width: 46px !important;
    }

    html body.khm-mobile-header-enabled .khm-account-link__text {
        max-width: 84px !important;
    }

    html body.khm-mobile-header-enabled .khm-header__icon-btn svg,
    html body.khm-mobile-header-enabled .khm-account-link__icon svg {
        width: 23px !important;
        height: 23px !important;
        min-width: 23px !important;
        min-height: 23px !important;
    }

    html body.khm-mobile-header-enabled .khm-logo {
        padding-left: 6vw !important;
    }

    html body.khm-mobile-header-enabled .khm-logo img {
        max-width: 54px !important;
        max-height: 50px !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-mark {
        width: 44px !important;
        height: 44px !important;
    }

    html body.khm-mobile-header-enabled .khm-lang-tabs,
    html body.khm-mobile-header-enabled .khm-panel__nav,
    html body.khm-mobile-header-enabled .khm-support-box {
        width: calc(100% - 40px) !important;
    }
}

@media (max-width: 360px) {
    html body.khm-mobile-header-enabled .khm-header__inner {
        grid-template-columns: 80px 88px minmax(82px, 1fr) 72px !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle,
    html body.khm-mobile-header-enabled .khm-search-toggle {
        gap: 3px !important;
        padding-inline: 4px !important;
    }

    html body.khm-mobile-header-enabled .khm-menu-toggle__text {
        max-width: 34px !important;
    }

    html body.khm-mobile-header-enabled .khm-search-toggle__text {
        max-width: 40px !important;
    }

    html body.khm-mobile-header-enabled .khm-account-link__text {
        max-width: 74px !important;
    }

    html body.khm-mobile-header-enabled .khm-logo img {
        max-width: 50px !important;
        max-height: 46px !important;
    }

    html body.khm-mobile-header-enabled .khm-logo-mark {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (min-width: 1025px) {
    html body.khm-mobile-header-enabled {
        padding-top: 0 !important;
    }

    html body.khm-mobile-header-enabled.khm-menu-open,
    html body.khm-mobile-header-enabled.khm-search-open {
        overflow: auto !important;
        overflow-x: hidden !important;
    }

    html body .khm-header,
    html body .khm-overlay,
    html body .khm-panel,
    .khm-header,
    .khm-overlay,
    .khm-panel {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: none !important;
    }
}

html body.khm-desktop-scope {
    padding-top: 0 !important;
}

html body.khm-desktop-scope .khm-header,
html body.khm-desktop-scope .khm-overlay,
html body.khm-desktop-scope .khm-panel {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
}


/* v1.0.23: force visibly stronger header typography and safer logo spacing */
@media (max-width: 1024px) {
    html body.khm-current-lang-fa.khm-mobile-header-enabled .khm-header,
    html body.khm-current-lang-ar.khm-mobile-header-enabled .khm-header {
        font-family: 'Khalaj Peyda Mobile Strong', 'Khalaj Peyda Mobile', Peyda, IRANSans, Tahoma, Arial, sans-serif !important;
        font-synthesis: weight !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-header {
        font-family: 'Khalaj Inter Light Mobile Strong', 'Khalaj Inter Light Mobile', Inter, Arial, sans-serif !important;
        font-synthesis: weight !important;
    }

    html body.khm-mobile-header-enabled .khm-header .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled .khm-header .khm-search-toggle__text,
    html body.khm-mobile-header-enabled .khm-header .khm-account-link__text {
        font-size: 13px !important;
        font-weight: var(--khm-header-fw, 600) !important;
        line-height: 1.34 !important;
        letter-spacing: 0 !important;
        -webkit-text-stroke: 0 !important;
        text-shadow: none !important;
    }

    html body.khm-mobile-header-enabled .khm-logo {
        padding-left: 6vw !important;
        padding-inline-start: 6vw !important;
    }

    html body.khm-mobile-header-enabled .khm-logo img,
    html body.khm-mobile-header-enabled .khm-logo-fallback {
        transform: none !important;
    }
}

@media (max-width: 420px) {
    html body.khm-mobile-header-enabled .khm-logo {
        padding-left: 6vw !important;
        padding-inline-start: 6vw !important;
    }
}


/* v1.0.24: soften header action color and make English drawer menu LTR/left aligned */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled .khm-header,
    html body.khm-mobile-header-enabled .khm-header__cell,
    html body.khm-mobile-header-enabled .khm-header__icon-btn,
    html body.khm-mobile-header-enabled .khm-account-link,
    html body.khm-mobile-header-enabled .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled .khm-search-toggle__text,
    html body.khm-mobile-header-enabled .khm-account-link__text {
        color: #374151 !important;
    }

    html body.khm-mobile-header-enabled .khm-header__icon-btn svg,
    html body.khm-mobile-header-enabled .khm-account-link__icon svg {
        color: #374151 !important;
        stroke: #374151 !important;
    }

    html body.khm-mobile-header-enabled .khm-header .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled .khm-header .khm-search-toggle__text,
    html body.khm-mobile-header-enabled .khm-header .khm-account-link__text {
        -webkit-text-stroke: .045px rgba(55, 65, 81, .72) !important;
        text-shadow: none !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-panel {
        right: auto !important;
        left: 0 !important;
        border-left: 0 !important;
        border-right: 1px solid var(--khm-border) !important;
        box-shadow: 16px 0 42px rgba(17, 24, 39, .14) !important;
        transform: translateX(-105%) !important;
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-current-lang-en.khm-menu-open .khm-panel {
        transform: translateX(0) !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-panel__nav,
    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-panel-menu,
    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-submenu {
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-panel-menu__row,
    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-submenu__row {
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-menu-title-text,
    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-panel-menu__title,
    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-submenu__title {
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-submenu {
        padding: 0 0 8px 18px !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-support-box {
        grid-template-columns: 54px minmax(0, 1fr) !important;
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-support-box__icon {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled .khm-support-box__text {
        grid-column: 2 !important;
        grid-row: 1 !important;
        text-align: left !important;
    }
}


/* v1.0.26: English header itself must be LTR/left-aligned, not only the side drawer. */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-header__inner,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-header__inner {
        direction: ltr !important;
        text-align: left !important;
        grid-template-columns: 90px 102px minmax(102px, 1fr) 82px !important;
    }

    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-header__cell,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-header__cell,
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-menu-toggle,
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-search-toggle,
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-account-link,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-menu-toggle,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-search-toggle,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-account-link {
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-menu-toggle,
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-search-toggle,
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-account-link,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-menu-toggle,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-search-toggle,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-account-link {
        flex-direction: row !important;
        justify-content: center !important;
    }

    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-search-toggle__text,
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-account-link__text,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-search-toggle__text,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-account-link__text {
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-logo,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-logo {
        direction: ltr !important;
        justify-content: flex-end !important;
        padding-left: 0 !important;
        padding-inline-start: 0 !important;
        padding-right: 4vw !important;
        padding-inline-end: 4vw !important;
    }
}


/* v1.0.30 final: strong font only on header; side drawer/search typography stays clean and normal. */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled #khmHeader.khm-lang-fa,
    html body.khm-mobile-header-enabled #khmHeader.khm-lang-ar,
    html body.khm-mobile-header-enabled #khmHeader.khm-lang-fa *:not(svg):not(path),
    html body.khm-mobile-header-enabled #khmHeader.khm-lang-ar *:not(svg):not(path) {
        font-family: 'Khalaj Peyda Header Force', 'Khalaj Peyda Mobile', Peyda, IRANSans, Tahoma, Arial, sans-serif !important;
        font-synthesis: weight !important;
    }

    html body.khm-mobile-header-enabled #khmHeader.khm-lang-en,
    html body.khm-mobile-header-enabled #khmHeader.khm-lang-en *:not(svg):not(path) {
        font-family: 'Khalaj Inter Header Force', 'Khalaj Inter Light Mobile', Inter, Arial, sans-serif !important;
        font-synthesis: weight !important;
    }

    html body.khm-mobile-header-enabled #khmHeader .khm-menu-toggle__text,
    html body.khm-mobile-header-enabled #khmHeader .khm-search-toggle__text,
    html body.khm-mobile-header-enabled #khmHeader .khm-account-link__text {
        font-size: 13px !important;
        font-weight: var(--khm-header-fw, 600) !important;
        line-height: 1.34 !important;
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        letter-spacing: 0 !important;
        -webkit-text-stroke: 0 !important;
        text-shadow: none !important;
        text-rendering: auto !important;
        -webkit-font-smoothing: auto !important;
        overflow: hidden !important;
    }
}


/* v1.0.30: hard reset drawer typography so header font weight never affects the slide panel. */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled #khmPanel,
    html body.khm-mobile-header-enabled #khmPanel *:not(svg):not(path) {
        font-synthesis: none !important;
        text-shadow: none !important;
        -webkit-text-stroke: 0 !important;
        text-rendering: auto !important;
        -webkit-font-smoothing: auto !important;
    }

    html body.khm-mobile-header-enabled #khmPanel.khm-lang-fa,
    html body.khm-mobile-header-enabled #khmPanel.khm-lang-fa *:not(svg):not(path),
    html body.khm-mobile-header-enabled #khmPanel.khm-lang-ar,
    html body.khm-mobile-header-enabled #khmPanel.khm-lang-ar *:not(svg):not(path) {
        font-family: 'Khalaj Peyda Mobile', Peyda, IRANSans, Tahoma, Arial, sans-serif !important;
    }

    html body.khm-mobile-header-enabled #khmPanel.khm-lang-en,
    html body.khm-mobile-header-enabled #khmPanel.khm-lang-en *:not(svg):not(path) {
        font-family: 'Khalaj Inter Light Mobile', Inter, Arial, sans-serif !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-menu-title-text,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu__title,
    html body.khm-mobile-header-enabled #khmPanel .khm-submenu__title,
    html body.khm-mobile-header-enabled #khmPanel .khm-lang-tabs__item,
    html body.khm-mobile-header-enabled #khmPanel .khm-support-box__text strong,
    html body.khm-mobile-header-enabled #khmPanel .khm-support-box__text em {
        font-weight: 500 !important;
        line-height: inherit !important;
    }
}

/* v1.0.31: English header account icon spacing - keep icon away from the divider line. */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-account-link,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-account-link {
        justify-content: flex-start !important;
        padding-left: clamp(14px, 3.2vw, 24px) !important;
        padding-right: 4px !important;
        gap: 7px !important;
    }

    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-account-link__icon,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-account-link__icon {
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html body.khm-mobile-header-enabled.khm-current-lang-en .khm-account-link__text,
    html body.khm-mobile-header-enabled .khm-header.khm-lang-en .khm-account-link__text {
        max-width: calc(100% - 34px) !important;
    }
}


/* v1.0.34: professional manual misc menu area - iconless and visually separate from product/main menu. */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled #khmPanel .khm-panel__nav--misc {
        width: calc(100% - 58px) !important;
        margin: 17px auto 0 auto !important;
        padding: 10px !important;
        background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
        border: 1px solid rgba(229, 231, 235, .96) !important;
        border-radius: 3px !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 10px 24px rgba(17, 24, 39, .035) !important;
        overflow: hidden !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel__misc-heading {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 24px !important;
        margin: 0 0 8px 0 !important;
        padding: 0 2px 8px 2px !important;
        color: #6B7280 !important;
        border-bottom: 1px dashed rgba(209, 213, 219, .92) !important;
        background: transparent !important;
        font-family: inherit !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        text-align: right !important;
        direction: rtl !important;
        letter-spacing: 0 !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__li,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__li {
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__icon,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__line,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__icon::before,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__line::before {
        content: none !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 22px !important;
        column-gap: 8px !important;
        min-height: 42px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        background: #FFFFFF !important;
        border: 1px solid rgba(229, 231, 235, .9) !important;
        border-radius: 3px !important;
        color: #374151 !important;
        box-shadow: 0 1px 0 rgba(17, 24, 39, .025) !important;
        transition: background .18s ease, border-color .18s ease, color .18s ease !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row:hover,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row:focus {
        background: #F9FAFB !important;
        border-color: rgba(114, 201, 75, .48) !important;
        color: #1F2937 !important;
        outline: none !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__title {
        grid-column: 1 !important;
        color: #374151 !important;
        font-size: 13.8px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        text-align: right !important;
        direction: rtl !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__arrow {
        grid-column: 2 !important;
        width: 22px !important;
        height: 22px !important;
        color: #72C94B !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__arrow svg {
        width: 16px !important;
        height: 16px !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu {
        padding: 6px 12px 4px 0 !important;
        margin: 0 8px 0 0 !important;
        border-right: 1px solid rgba(114, 201, 75, .34) !important;
        background: transparent !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 20px !important;
        column-gap: 6px !important;
        min-height: 34px !important;
        padding: 0 8px !important;
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 3px !important;
        color: #6B7280 !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__title {
        grid-column: 1 !important;
        color: #6B7280 !important;
        font-size: 12.8px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        text-align: right !important;
        direction: rtl !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__arrow {
        grid-column: 2 !important;
        width: 20px !important;
        height: 20px !important;
        color: #72C94B !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel__misc-heading,
    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__title,
    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__title {
        direction: ltr !important;
        text-align: left !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu {
        padding: 6px 0 4px 12px !important;
        margin: 0 0 0 8px !important;
        border-right: 0 !important;
        border-left: 1px solid rgba(114, 201, 75, .34) !important;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    html body.khm-mobile-header-enabled #khmPanel .khm-panel__nav--misc {
        width: calc(100% - 78px) !important;
        padding: 12px !important;
    }
}

@media (max-width: 420px) {
    html body.khm-mobile-header-enabled #khmPanel .khm-panel__nav--misc {
        width: calc(100% - 40px) !important;
        margin-top: 15px !important;
        padding: 9px !important;
    }
}

/* v1.0.35: manual misc menu as support-box-like blue cards, no icons, separated from product menu. */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled #khmPanel .khm-panel__nav--misc {
        width: calc(100% - 58px) !important;
        margin: 18px auto 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel__misc-heading {
        width: 100% !important;
        min-height: 28px !important;
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        background: transparent !important;
        border: 0 !important;
        color: #64748B !important;
        font-family: inherit !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
        text-align: center !important;
        direction: rtl !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel__misc-heading::before,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel__misc-heading::after {
        content: "" !important;
        display: block !important;
        height: 1px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        background: linear-gradient(90deg, rgba(37,99,235,0), rgba(37,99,235,.22), rgba(37,99,235,0)) !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc {
        display: flex !important;
        flex-direction: column !important;
        gap: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        border: 1px solid rgba(37, 99, 235, .18) !important;
        border-radius: 3px !important;
        background: linear-gradient(180deg, rgba(37, 99, 235, .075), rgba(37, 99, 235, .045)) !important;
        box-shadow: 0 1px 0 rgba(255,255,255,.85) inset !important;
        overflow: hidden !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__li::before,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__li::after,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__li::before,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__li::after {
        content: none !important;
        display: none !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__icon,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__line,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__icon::before,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__line::before {
        content: none !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        border: 0 !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 24px !important;
        column-gap: 8px !important;
        width: 100% !important;
        min-height: 52px !important;
        margin: 0 !important;
        padding: 0 13px !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #1D4ED8 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        outline: none !important;
        align-items: center !important;
        text-align: right !important;
        direction: rtl !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row:hover,
    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row:focus {
        background: rgba(37, 99, 235, .055) !important;
        color: #1E40AF !important;
        outline: none !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__title {
        grid-column: 1 !important;
        color: #1D4ED8 !important;
        font-family: inherit !important;
        font-size: 13.8px !important;
        font-weight: 500 !important;
        line-height: 1.55 !important;
        text-align: right !important;
        direction: rtl !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__arrow {
        grid-column: 2 !important;
        width: 24px !important;
        height: 24px !important;
        color: #1D4ED8 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__arrow svg {
        width: 16px !important;
        height: 16px !important;
        display: block !important;
        transition: transform .2s ease !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu {
        width: calc(100% - 26px) !important;
        padding: 7px 0 10px 0 !important;
        margin: -3px auto 0 auto !important;
        background: transparent !important;
        border-top: 1px solid rgba(37, 99, 235, .13) !important;
        border-right: 0 !important;
        border-left: 0 !important;
        border-bottom: 0 !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 20px !important;
        column-gap: 6px !important;
        width: 100% !important;
        min-height: 34px !important;
        padding: 0 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 3px !important;
        color: #2563EB !important;
        text-align: right !important;
        direction: rtl !important;
        align-items: center !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__title {
        grid-column: 1 !important;
        color: #2563EB !important;
        font-family: inherit !important;
        font-size: 12.8px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
        text-align: right !important;
        direction: rtl !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__arrow {
        grid-column: 2 !important;
        width: 20px !important;
        height: 20px !important;
        color: #2563EB !important;
    }

    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel__misc-heading,
    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row,
    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__title,
    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__row,
    html body.khm-current-lang-en.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-submenu__title {
        direction: ltr !important;
        text-align: left !important;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    html body.khm-mobile-header-enabled #khmPanel .khm-panel__nav--misc {
        width: calc(100% - 78px) !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row {
        min-height: 56px !important;
        padding-inline: 15px !important;
    }
}

@media (max-width: 420px) {
    html body.khm-mobile-header-enabled #khmPanel .khm-panel__nav--misc {
        width: calc(100% - 40px) !important;
        margin-top: 16px !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc {
        gap: 8px !important;
    }

    html body.khm-mobile-header-enabled #khmPanel .khm-panel-menu--misc .khm-panel-menu__row {
        min-height: 50px !important;
        padding-inline: 12px !important;
    }
}

/* v1.0.36: categorized product search drawer. Scoped only to the search drawer, preserving header/menu styles. */
@media (max-width: 1024px) {
    html body.khm-mobile-header-enabled .khm-search-drawer {
        padding: 12px 14px 14px !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form.khm-search-form--product {
        width: 100% !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 9px !important;
        border: 1px solid var(--khm-border) !important;
        border-radius: 3px !important;
        padding: 11px !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(17, 24, 39, .08) !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__field {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__label {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        color: var(--khm-muted) !important;
        font-family: inherit !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__select,
    html body.khm-mobile-header-enabled .khm-search-form__input {
        width: 100% !important;
        max-width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        border: 1px solid var(--khm-border) !important;
        border-radius: 3px !important;
        background: #F9FAFB !important;
        color: var(--khm-text) !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 42px !important;
        outline: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 11px !important;
        appearance: auto !important;
        -webkit-appearance: auto !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__select:focus,
    html body.khm-mobile-header-enabled .khm-search-form__input:focus {
        border-color: var(--khm-blue) !important;
        background: #fff !important;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, .10) !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__submit {
        width: 100% !important;
        height: 40px !important;
        min-height: 40px !important;
        border: 0 !important;
        border-radius: 3px !important;
        background: var(--khm-blue) !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 40px !important;
        cursor: pointer !important;
        padding: 0 12px !important;
        margin: 0 !important;
        text-align: center !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__error {
        display: none !important;
        width: 100% !important;
        margin: -1px 0 0 !important;
        padding: 8px 10px !important;
        border-radius: 3px !important;
        background: #FEF2F2 !important;
        color: #B91C1C !important;
        font-family: inherit !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.7 !important;
    }

    html body.khm-mobile-header-enabled .khm-search-form__error.is-active {
        display: block !important;
    }

    html body.khm-mobile-header-enabled .khm-search-drawer.khm-lang-fa .khm-search-form,
    html body.khm-mobile-header-enabled .khm-search-drawer.khm-lang-ar .khm-search-form {
        direction: rtl !important;
        text-align: right !important;
    }

    html body.khm-mobile-header-enabled .khm-search-drawer.khm-lang-en .khm-search-form {
        direction: ltr !important;
        text-align: left !important;
    }
}
