/* ============================================================
   ACTOREIN — Apple-style mobile menu (<= 900px)
   Full-screen sheet, large typography, hairline lists and a
   quiet top bar. Loaded after every other sheet (priority 210)
   so it owns the mobile menu look in LTR and RTL alike.
   ============================================================ */
@media (max-width: 900px) {
    :root { --mm-pad: max(20px, calc((100% - 640px) / 2)); }

    /* ---------- Surface ---------- */
    body .nc-sheet .nc-sheet__overlay {
        background: rgba(8, 19, 31, 0.18) !important;
    }

    body .nc-sheet .nc-sheet__panel {
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        max-height: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
        opacity: 0;
        transform: translateY(-14px);
        transition: opacity 0.24s ease, transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, sans-serif;
        -webkit-font-smoothing: antialiased;
    }
    body .nc-sheet.is-open .nc-sheet__panel {
        opacity: 1;
        transform: translateY(0);
    }

    /* ---------- Top bar ---------- */
    body .nc-sheet .nc-sheet__hero {
        flex: 0 0 auto;
        padding: calc(8px + env(safe-area-inset-top)) var(--mm-pad) 4px !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #1d1d1f;
    }
    body .nc-sheet .nc-sheet__hero::before,
    body .nc-sheet .nc-sheet__hero::after {
        display: none !important;
        content: none !important;
    }
    body .nc-sheet .nc-sheet__hero-top { align-items: center; min-height: 52px; }

    body .nc-sheet .nc-sheet__brand {
        padding: 4px 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    body .nc-sheet .nc-sheet__brand-img { height: 28px !important; width: auto; }

    body .nc-sheet .nc-sheet__close {
        width: 44px !important;
        height: 44px !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: transparent !important;
        color: #1d1d1f !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        transition: background 0.15s ease, opacity 0.15s ease;
    }
    body .nc-sheet .nc-sheet__close svg { width: 19px; height: 19px; }
    body .nc-sheet .nc-sheet__close:hover,
    body .nc-sheet .nc-sheet__close:active {
        background: rgba(0, 0, 0, 0.05) !important;
        transform: none !important;
    }

    /* ---------- Search ---------- */
    body .nc-sheet .nc-sheet__search {
        height: 44px !important;
        margin: 12px 0 0 !important;
        padding: 0 12px !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: #f5f5f7 !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    body .nc-sheet .nc-sheet__search:focus-within {
        background: #f0f0f2 !important;
        border: 0 !important;
    }
    body .nc-sheet .nc-sheet__search svg { width: 16px; height: 16px; color: #6e6e73 !important; }
    body .nc-sheet .nc-sheet__search input {
        font-size: 16px !important;
        color: #1d1d1f !important;
        text-align: start;
    }
    body .nc-sheet .nc-sheet__search input::placeholder {
        color: #6e6e73 !important;
        opacity: 1;
    }

    /* ---------- Scroll body ---------- */
    body .nc-sheet .nc-sheet__body {
        flex: 1 1 auto;
        padding: 6px var(--mm-pad) calc(26px + env(safe-area-inset-bottom)) !important;
        background: #ffffff !important;
        -webkit-overflow-scrolling: touch;
    }

    body .nc-sheet .nc-sheet__kicker {
        margin: 24px 0 4px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        color: #6e6e73 !important;
    }
    body .nc-sheet .nc-sheet__kicker::after { display: none !important; content: none !important; }
    body .nc-sheet .nc-sheet__body > .nc-sheet__kicker:first-of-type { display: none !important; }

    /* ---------- Primary navigation ---------- */
    body .nc-sheet .nc-sheet__nav {
        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
    }
    body .nc-sheet .nc-sheet__nav > ul > li {
        border-bottom: 1px solid #d2d2d7 !important;
    }
    body .nc-sheet .nc-sheet__nav > ul > li:first-child {
        border-top: 1px solid #d2d2d7 !important;
    }
    body .nc-sheet .nc-sheet__nav > ul > li > a {
        margin: 0 !important;
        padding: 15px 0 !important;
        min-height: 58px;
        gap: 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #1d1d1f !important;
        font-size: 26px !important;
        font-weight: 600 !important;
        letter-spacing: -0.022em !important;
        line-height: 1.2 !important;
        text-transform: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    body .nc-sheet .nc-sheet__nav > ul > li > a:active { opacity: 0.55; }
    body .nc-sheet .nc-sheet__nav > ul > li > a::before { display: none !important; content: none !important; }
    body .nc-sheet .nc-sheet__nav > ul > li:not(.menu-item-has-children) > a::after {
        display: none !important;
        content: none !important;
    }
    body .nc-sheet .nc-sheet__nav > ul > li > a::after {
        width: 7px !important;
        height: 7px !important;
        border-width: 1.4px !important;
        border-color: #c7c7cc !important;
    }

    /* Sub-links: quiet, one step smaller. */
    body .nc-sheet .nc-sheet__nav .sub-menu {
        margin: 0 0 8px !important;
        padding-inline-start: 18px !important;
        padding-inline-end: 0 !important;
        border: 0 !important;
        gap: 0 !important;
    }
    body .nc-sheet .nc-sheet__nav .sub-menu a {
        padding: 9px 0 !important;
        min-height: 0;
        font-size: 16px !important;
        font-weight: 400 !important;
        letter-spacing: -0.01em !important;
        color: #424245 !important;
    }
    body .nc-sheet .nc-sheet__nav .sub-menu a.nc-sheet__sub-all {
        padding: 10px 0 !important;
        border-bottom: 1px solid #e8e8ed !important;
        color: #0071e3 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
    }

    /* ---------- Quick access ---------- */
    body .nc-sheet .nc-sheet__contact {
        gap: 0 !important;
        margin: 0 !important;
    }
    body .nc-sheet .nc-sheet__contact-item,
    body .nc-sheet .nc-sheet__contact-item--primary {
        padding: 14px 0 !important;
        gap: 12px !important;
        border: 0 !important;
        border-bottom: 1px solid #d2d2d7 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        min-height: 0;
    }
    body .nc-sheet .nc-sheet__contact-item:first-child {
        border-top: 1px solid #d2d2d7 !important;
    }
    body .nc-sheet .nc-sheet__contact-item:active { opacity: 0.55; transform: none !important; }

    body .nc-sheet .nc-sheet__nav-ico,
    body .nc-sheet .nc-sheet__contact-item--primary .nc-sheet__nav-ico {
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 22px !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #0071e3 !important;
        box-shadow: none !important;
    }
    body .nc-sheet .nc-sheet__nav-ico svg { width: 20px; height: 20px; }

    body .nc-sheet .nc-sheet__contact-text small {
        font-size: 12px !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        color: #6e6e73 !important;
    }
    body .nc-sheet .nc-sheet__contact-text strong,
    body .nc-sheet .nc-sheet__contact-item--primary .nc-sheet__contact-text strong {
        font-size: 16px !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em !important;
        color: #1d1d1f !important;
    }
    body .nc-sheet .nc-sheet__contact .nc-sheet__contact-item::after {
        width: 6px !important;
        height: 6px !important;
        border-width: 1.4px !important;
        border-color: #c7c7cc !important;
    }

    /* ---------- Language ---------- */
    body .nc-sheet .nc-sheet__lang-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    body .nc-sheet .nc-sheet__lang-item {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        border: 0 !important;
        border-radius: 9px !important;
        background: #f5f5f7 !important;
        color: #1d1d1f !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: -0.01em !important;
        -webkit-tap-highlight-color: transparent;
    }
    body .nc-sheet .nc-sheet__lang-item:active { opacity: 0.6; }
    body .nc-sheet .nc-sheet__lang-item.is-active {
        background: #1d1d1f !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    body .nc-sheet .nc-sheet__flag {
        width: 20px !important;
        height: 14px !important;
        border-radius: 2px !important;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    }
    body .nc-sheet .nc-sheet__code { display: none !important; }

    body .nc-sheet .nc-sheet__footer { display: none !important; }

    /* ---------- Entrance ---------- */
    @media (prefers-reduced-motion: no-preference) {
        body .nc-sheet.is-open .nc-sheet__nav > ul > li {
            animation: mm-rise 0.5s cubic-bezier(0.32, 0.72, 0, 1) both;
        }
        body .nc-sheet.is-open .nc-sheet__nav > ul > li:nth-child(1) { animation-delay: 0.02s; }
        body .nc-sheet.is-open .nc-sheet__nav > ul > li:nth-child(2) { animation-delay: 0.05s; }
        body .nc-sheet.is-open .nc-sheet__nav > ul > li:nth-child(3) { animation-delay: 0.08s; }
        body .nc-sheet.is-open .nc-sheet__nav > ul > li:nth-child(4) { animation-delay: 0.11s; }
        body .nc-sheet.is-open .nc-sheet__nav > ul > li:nth-child(5) { animation-delay: 0.14s; }
        body .nc-sheet.is-open .nc-sheet__nav > ul > li:nth-child(n + 6) { animation-delay: 0.17s; }
    }
    @keyframes mm-rise {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    html.ac-access-motion body .nc-sheet .nc-sheet__nav > ul > li { animation: none !important; }
    @media (prefers-reduced-motion: reduce) {
        body .nc-sheet .nc-sheet__panel { transition: opacity 0.01s linear; transform: none; }
        body .nc-sheet .nc-sheet__nav > ul > li { animation: none !important; }
    }

    /* ---------- Persian ---------- */
    html[lang^="fa"] body .nc-sheet .nc-sheet__panel { font-family: Tahoma, Arial, sans-serif; }
    html[lang^="fa"] body .nc-sheet .nc-sheet__nav > ul > li > a {
        letter-spacing: normal !important;
        font-size: 24px !important;
    }
    html[lang^="fa"] body .nc-sheet .nc-sheet__search input { font-size: 16px !important; }

    /* ---------- Dark appearance ---------- */
    html.ac-access-dark body .nc-sheet .nc-sheet__panel { background: #000000 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__body { background: #000000 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__hero { color: #f5f5f7; }
    html.ac-access-dark body .nc-sheet .nc-sheet__close { color: #f5f5f7 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__close:hover,
    html.ac-access-dark body .nc-sheet .nc-sheet__close:active { background: rgba(255, 255, 255, 0.1) !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__search { background: #1d1d1f !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__search svg { color: #86868b !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__search:focus-within { background: #232325 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__search input { color: #f5f5f7 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__search input::placeholder { color: #86868b !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__nav > ul > li,
    html.ac-access-dark body .nc-sheet .nc-sheet__contact-item,
    html.ac-access-dark body .nc-sheet .nc-sheet__contact-item:first-child {
        border-color: #424245 !important;
    }
    html.ac-access-dark body .nc-sheet .nc-sheet__nav > ul > li > a { color: #f5f5f7 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__nav > ul > li > a::after { border-color: #86868b !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__nav .sub-menu a { color: #a1a1a6 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__nav .sub-menu a.nc-sheet__sub-all {
        color: #2997ff !important;
        border-color: #424245 !important;
    }
    html.ac-access-dark body .nc-sheet .nc-sheet__contact-text strong,
    html.ac-access-dark body .nc-sheet .nc-sheet__contact-item--primary .nc-sheet__contact-text strong { color: #f5f5f7 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__contact-text small { color: #86868b !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__nav-ico,
    html.ac-access-dark body .nc-sheet .nc-sheet__contact-item--primary .nc-sheet__nav-ico { color: #2997ff !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__contact .nc-sheet__contact-item::after { border-color: #86868b !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__lang-item { background: #1d1d1f !important; color: #f5f5f7 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__lang-item.is-active { background: #f5f5f7 !important; color: #000000 !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__kicker { color: #86868b !important; }
    html.ac-access-dark body .nc-sheet .nc-sheet__flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
    html.ac-access-dark body .nc-sheet .nc-sheet__overlay { background: rgba(0, 0, 0, 0.5) !important; }

    /* ---------- Forced contrast ---------- */
    html.ac-access-contrast body .nc-sheet .nc-sheet__nav > ul > li,
    html.ac-access-contrast body .nc-sheet .nc-sheet__contact-item { border-color: currentColor !important; }
    html.ac-access-contrast body .nc-sheet .nc-sheet__lang-item { border: 1px solid currentColor !important; }
}
