/**
 * Mobile Navigation CSS - منوی ناوبری موبایل صدتیک
 * ✅ حذف تعریف‌های تکراری فونت و استفاده از Font Manager متمرکز
 * 
 * @package SadTik\Modules\MobileNav
 * @version 2.0.2 - حذف تعاریف تکراری فونت و استانداردسازی
 */

/* ============================================================
   ✅ فونت‌ها توسط Font Manager متمرکز بارگذاری می‌شوند
   ❌ تعریف @font-face در این فایل حذف شد
   ============================================================ */

/* Container Wrapper - Fixed at bottom */
.tik100-mobile-nav-wrapper {
    position: fixed;
    bottom: 5px;
    left: 10px;
    right: 10px;
    z-index: 99999;
    font-family: inherit;
}

/* Main Bar Design */
.tik100-mobile-nav {
    background: linear-gradient(90deg, #003399 0%, #0052cc 100%);
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 8px 25px rgba(0, 51, 153, 0.4);
    height: 59px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Standard Nav Items */
.tik100-mobile-nav .nav-item {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: inherit;
}

.tik100-mobile-nav .nav-item:hover,
.tik100-mobile-nav .nav-item:active {
    transform: translateY(-3px);
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.tik100-mobile-nav .nav-item:focus-visible {
    outline: 2px solid #FFD800;
    outline-offset: 2px;
    border-radius: 8px;
}

.tik100-mobile-nav .nav-item:active {
    transform: translateY(0px) scale(0.95);
}

/* Cart Badge Style (عدد روی سبد خرید) */
.cart-badge {
    position: absolute;
    top: 13px;
    right: 0px;
    background-color: #FF0000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #fff;
    font-family: inherit;
}

/* CTA Button (Insert Ad) */
.nav-item-cta {
    background-color: #FF6600;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.5);
    height: 40px;
    margin-right: auto;
    transition: all 0.3s ease;
    animation: tik100Pulse 2s infinite;
    white-space: nowrap;
    font-family: inherit;
}

.nav-item-cta:hover {
    background-color: #fff;
    color: #FF6600;
    transform: scale(1.02);
}

.nav-item-cta:focus-visible {
    outline: 2px solid #FFD800;
    outline-offset: 2px;
}

.nav-item-cta i {
    font-size: 12px;
    background: #fff;
    color: #FF6600;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item-cta:hover i {
    background: #FF6600;
    color: #fff;
}

@keyframes tik100Pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 102, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

/* دسترسی پذیری - کاهش انیمیشن */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
    
    .nav-item-cta {
        animation: none;
    }
    
    .tik100-mobile-nav .nav-item:hover,
    .tik100-mobile-nav .nav-item:active {
        transform: none;
    }
    
    .nav-item-cta:hover {
        transform: none;
    }
}

/* ریسپانسیو برای صفحه‌های خیلی کوچک */
@media (max-width: 380px) {
    .tik100-mobile-nav-wrapper {
        bottom: 3px;
        left: 5px;
        right: 5px;
    }
    
    .tik100-mobile-nav {
        padding: 0 6px;
        height: 54px;
        border-radius: 12px;
    }
    
    .tik100-mobile-nav .nav-item {
        font-size: 24px;
        padding: 0 5px;
    }
    
    .nav-item-cta {
        font-size: 11px;
        padding: 0 10px;
        height: 34px;
    }
    
    .nav-item-cta i {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    
    .cart-badge {
        top: 10px;
        right: -2px;
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
}