/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 16 2026 | 00:18:25 */
/* =======================================================
   6. MetNet Desktop Category Mega Menu (V 2.0.1)
   Architecture: Desktop-Only (@media min-width: 1025px), Telecom SVGs
   Fix: Removed WoodMart Default Inner UL Square Border
   ======================================================= */

@media (min-width: 1025px) {

    /* ۱. اصلاح کادر بیرونی منو و حذف خط چهارگوش داخلی قالب */
    .wd-dropdown-cats {
        background: #f8fafc !important;
        border: 1px solid #dbe3ee !important;
        border-top: none !important;
        border-radius: 0 0 16px 16px !important;
        padding: 10px !important;
        box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.14) !important;
    }

    .wd-dropdown-cats .wd-nav-vertical,
    .wd-dropdown-cats > ul {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .wd-dropdown-cats .wd-nav-vertical > li.menu-item {
        background: #ffffff !important;
        color: #0f172a !important;
        border-radius: 12px !important;
        margin-bottom: 8px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
        position: relative !important;
        border: 1px solid #e2e8f0 !important;
        transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                    border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.22s ease !important;
    }

    .wd-dropdown-cats .wd-nav-vertical > li.menu-item:last-child {
        margin-bottom: 0 !important;
    }

    .wd-dropdown-cats .menu-item > a {
        display: flex !important;
        align-items: center !important;
        padding: 10px 12px !important;
        text-decoration: none !important;
        font-weight: 800 !important;
        font-size: 0.92rem !important;
        color: #0f172a !important;
        position: relative !important;
        z-index: 1 !important;
        transition: color 0.2s ease !important;
    }

    .wd-dropdown-cats .menu-item > a span.nav-link-text {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* ۲. افکت هاور دسکتاپ */
    @media (hover: hover) and (pointer: fine) {
        .wd-dropdown-cats .wd-nav-vertical > li.menu-item:hover {
            transform: translate3d(-3px, 0, 0) !important;
            background: #eff6ff !important;
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1) !important;
            border-color: #93c5fd !important;
        }

        .wd-dropdown-cats .wd-nav-vertical > li.menu-item:hover > a {
            color: #1d4ed8 !important;
        }
    }

    /* ۳. قاب آیکون‌های برداری مخابراتی (تک‌رنگ آبی لاجوردی هماهنگ با سایت) */
    .wd-dropdown-cats .menu-item > a span.nav-link-text::before {
        content: "" !important;
        display: inline-block !important;
        width: 34px !important;
        height: 34px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        background-color: #eff6ff !important;
        border: 1px solid #bfdbfe !important;
        background-size: 20px 20px !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        flex-shrink: 0 !important;
        transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease !important;
    }

    /* ۱) دستگاه تقویت آنتن و ریپیتر — کلاس mm-device */
    .wd-dropdown-cats .menu-item.mm-device > a span.nav-link-text::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='14' width='20' height='6' rx='2'/%3E%3Cpath d='M6 14V6'/%3E%3Cpath d='M18 14V6'/%3E%3Cpath d='M9 6a5 5 0 0 1 6 0'/%3E%3Ccircle cx='7' cy='17' r='1' fill='%232563eb'/%3E%3Ccircle cx='11' cy='17' r='1' fill='%232563eb'/%3E%3C/svg%3E") !important;
    }

    /* ۲) لوازم جانبی (آنتن، کابل و متعلقات) — کلاس mm-accessory */
    .wd-dropdown-cats .menu-item.mm-accessory > a span.nav-link-text::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.9 16.1C1 12.2 1 5.8 4.9 1.9'/%3E%3Cpath d='M7.8 4.7a6.14 6.14 0 0 0-.8 7.5'/%3E%3Ccircle cx='12' cy='9' r='2'/%3E%3Cpath d='M16.2 4.8c2 2 2.26 5.1.8 7.47'/%3E%3Cpath d='M19.1 1.9a9.96 9.96 0 0 1 0 14.1'/%3E%3Cpath d='M9.5 18h5'/%3E%3Cpath d='m8 22 4-11 4 11'/%3E%3C/svg%3E") !important;
    }

    /* ۳) قطعات و ماژول‌های مخابراتی — کلاس mm-parts */
    .wd-dropdown-cats .menu-item.mm-parts > a span.nav-link-text::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3Cpath d='M9 1v3'/%3E%3Cpath d='M15 1v3'/%3E%3Cpath d='M9 20v3'/%3E%3Cpath d='M15 20v3'/%3E%3Cpath d='M20 9h3'/%3E%3Cpath d='M20 15h3'/%3E%3Cpath d='M1 9h3'/%3E%3Cpath d='M1 15h3'/%3E%3C/svg%3E") !important;
    }

    @media (hover: hover) and (pointer: fine) {
        .wd-dropdown-cats .wd-nav-vertical > li.menu-item:hover > a span.nav-link-text::before {
            background-color: #ffffff !important;
            border-color: #60a5fa !important;
            transform: scale(1.06) !important;
        }
    }

    /* فوکوس کیبورد */
    .wd-dropdown-cats .menu-item > a:focus-visible {
        outline: 2px solid #2563eb !important;
        outline-offset: 2px !important;
        border-radius: 12px !important;
    }

    /* ۴. زیرمنوها (با اصلاح سینتکس transition) */
    .wd-dropdown-cats .sub-menu {
        padding-right: 0 !important;
        list-style: none !important;
        transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .wd-dropdown-cats .sub-menu li a {
        padding: 8px 14px !important;
        font-size: 13px !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
        display: block !important;
        margin-bottom: 6px !important;
        color: #475569 !important;
        border: 1px solid #e2e8f0 !important;
        transition: color 0.22s ease,
                    transform 0.22s ease,
                    background-color 0.22s ease,
                    border-color 0.22s ease !important;
    }

    @media (hover: hover) and (pointer: fine) {
        .wd-dropdown-cats .sub-menu li a:hover {
            background: #eff6ff !important;
            color: #2563eb !important;
            transform: translate3d(-4px, 0, 0) !important;
            border-color: #bfdbfe !important;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .wd-dropdown-cats .menu-item,
    .wd-dropdown-cats .sub-menu,
    .wd-dropdown-cats .sub-menu li a,
    .wd-dropdown-cats .menu-item > a span.nav-link-text::before {
        transition: none !important;
        transform: none !important;
    }
}