/* مخفی کردن در موبایل */
@media (max-width: 1000px) {
    .desktop-bottom-nav {
        display: none !important;
    }
}

/* نمایش در دسکتاپ */
@media (min-width: 1001px) {
    .desktop-bottom-nav {
        position: fixed;
        bottom: 20px; /* فاصله از پایین صفحه */
        left: 50%; /* وسط چین کردن */
        transform: translateX(-50%);
        background: white;
        border-radius: 30px; /* گوشه‌های کاملا گرد */
        z-index: 1000;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
        display: block;
        padding: 0 1rem;
        width: max-content;
        min-width: 450px; /* حداقل عرض برای ظاهر بهتر */
    }

    .nav-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70px;
        gap: 3.5rem;
        overflow: visible;
    }

    .nav-bump {
        position: absolute;
        top: -28px;
        width: 65px;
        height: 31px;
        background: white;
        border-radius: 50px 50px 0 0;
        pointer-events: none;
        z-index: 2;
        box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.04);
        will-change: left;
        transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.5rem 1.5rem;
        color: #6b7280;
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        position: relative;
        z-index: 3;
        cursor: pointer;
        min-width: 80px;
        border: none;
        background: transparent;
        font-family: inherit;
    }

    .nav-item i {
        font-size: 1.5rem;
        transition: all 0.3s ease;
        color: #6b7280;
    }

    .nav-item span {
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-item.active i {
        font-size: 2rem;
        transform: translateY(-14px);
        color: #3b82f6;
        margin-bottom: 1rem;
    }

    .nav-item.active span {
        opacity: 0;
    }
}
