@media (max-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 16px;
    }
}

/* کوچک‌تر شدن فونت در سایز موبایل */
@media (max-width: 990px) {
    #Panel-Main-Content > .menunav > .end > .first  .order {
        width: 28px !important;
        height: 28px !important;
      }
    #Panel-Main-Content .downloads .downloads-container .orderbody{
        flex-wrap: wrap;
    }
    #Panel-Main-Content .downloads .downloads-container .orderbody li.line{
        border-left: none;
        padding-right: 15px;
        margin:8px 0;
        display: flex;
        align-items: center;    
    }
    #Panel-Main-Content .downloads .downloads-container .orderbody li.first a{
        border-left:none;
    }
    #Panel-Main-Content .downloads .downloads-container .orderbody li.end .detaillink{
        font-size: 10px;
    }
    #Panel-Main-Content .downloads .downloads-container .orderbody li.end .downloadlink{
        font-size: 10px;
    }
    /* استایل اصلی منو */
    #Panel-Main-Menu > .inside > .end{
        width: 100% !important;
    }
    #Panel-Main-Menu > .inside > .first{
        width: 100% !important;
    }
    #Panel-Main-Menu {
        position: absolute;
        top: 0;
        right: -900px; /* شروع از خارج صفحه */
        z-index: 1000;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 20px;
        width: 70%;
    }

    #Panel-Main-Menu.mobile-visible {
        transform: translateX(-900px); /* حرکت به چپ */
    }

    /* بک‌دراپ */
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .sidebar-backdrop.visible {
        opacity: 1;
        visibility: visible;
    }

    #Panel-Main-Content .address .addressslice{
        text-align: center;
    }
    #Panel-Main-Content > .wallet > .charge > .first > .input div{
        margin: 0 0 8px 0;
    }
    #Panel-Main-Content > .wallet{
        width: 100% !important;
    }
    #Panel-Main-Content > .wallet > .ballance .first,.charge .first{
        margin: 5px auto;
    }
    #Panel-Main-Content > .menunav > .end > .first i{
        width: 15px !important;
        height: 15px !important;
    }
    #Panel-Main-Content > .menunav > .end > .first > .lang{
        font-size: 13px !important;
    }
    #Panel-Main-Content > .menunav > .end > .end > p{
        font-size: 12px !important;
        font-weight: 400 !important;
        height: 35px !important;
        width: 140px !important;
    }
    #Panel-Main-Content > .menunav > .end > .first > *{
        width: 28px !important;
        height: 28px !important;
    }
    #Panel-Main-Content > .notif {
        font-size: 10px !important;
        min-height: 40px !important;
    }
    #Panel-Main-Content > .notif img{
        width: 15px !important;
        height: 15px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .left > p{
        font-size: 10px !important;
        line-height: 15px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack{
        padding: 21px 15% 21px 0 !important;
        height: 75px !important;
        margin-bottom: 10px;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .right > span{
        width: 30px !important;
        height: 30px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .right > span::before{
        width: 25px !important;
        height: 20px !important;
        right: -8px !important;
        bottom: -4px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack::after{
        height: 75px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .left > span {
        font-size: 10px !important;
        line-height: 20px !important;
    }
    #Panel-Main-Content > .panel-part2 > .first > p{
        font-size: 14px !important;
    }
    #Panel-Main-Content > .panel-part2 > .first > a{
        padding: 6px 6px !important;
        font-size: 12px !important;
    }
    #Panel-Main-Content > .panel-part2 > .end > .main-notification > .first > .title > p{
        font-size: 14px !important;
    }
    #Panel-Main-Content > .panel-part2 > .end > .main-notification > .end > p{
        font-size: 12px !important;
    }
    #Panel-Main-Content > .panel-part2 > .end > .main-notification > .first > .date > p{
        font-size: 12px !important;
    }
    #Panel-Main-Content > .panel-part2 > .first > .ring{
        width: 14.5px !important;
        height: 17px !important;
    }
    #Panel-Main-Content > .panel-part2 > .first > .user{
        width: 22.5px !important;
        height: 23px !important;
    }
    #Panel-Main-Content > .panel-part3 > .one > .bestproduct{
        width: 100% !important;
        margin-bottom: 10px;
    }
    #Panel-Main-Content > .panel-part3 > .one > .bestproduct > .first > a{
        padding: 6px 6px !important;
        font-size: 12px !important;    
    }
    #Panel-Main-Content > .panel-part3 > .two > .favorits > .first > a{
        padding: 6px 6px !important;
        font-size: 12px !important;    
    }
    #Panel-Main-Content > .panel-part3 > .two > .favorits{
        width: 100% !important;
    }

    
}

/* کوچک‌تر شدن فونت در موبایل‌های خیلی کوچک */
@media (max-width: 576px) {
    .notif {
        font-size: 12px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .left > p{
        font-size: 9px !important;
        line-height: 15px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack{
        padding: 21px 0px !important;
        height: 75px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .right > span{
        width: 30px !important;
        height: 30px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .right > span::before{
        width: 25px !important;
        height: 20px !important;
        right: -8px !important;
        bottom: -4px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack::after{
        height: 75px !important;
    }
    #Panel-Main-Content > .panel-part1 .subtrack > .left > span {
        font-size: 10px !important;
        line-height: 20px !important;
    }
}