/* Mobile Bottom Navigation Bar - Complete Styles */
@media (max-width: 991px) {
    /* Main container for mobile bottom navigation */
    .area-widget-header-fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10001;
        display: block !important;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    /* Row container */
    .widget-header-fixed {
        padding: 0;
        height: 60px;
    }
    
    /* Equal spacing for each column */
    .widget-header-fixed .col-4 {
        padding: 0;
        height: 100%;
    }
    
    /* Widget header wrapper */
    .widget-header {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    /* Links styling */
    .widget-header a {
        color: #666;
        transition: color 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
        text-decoration: none;
        position: relative;
    }
    
    /* Icon styling */
    .widget-header a i {
        font-size: 1.3rem;
    }
    
    /* Active state */
    .widget-header a:active {
        color: #d1a04d;
    }
    
    /* Badge count for wishlist */
    .widget-header .badge_count {
        position: absolute;
        top: 8px;
        right: calc(50% - 20px);
        min-width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 11px;
        background: #ff4444;
        color: #fff;
        border-radius: 9px;
        padding: 0 4px;
        text-align: center;
    }
    
    /* Account user section - make entire area clickable */
    .account-user {
        cursor: pointer;
        position: relative;
        z-index: 100;
    }
    
    /* Ensure h-100 works properly */
    .widget-header.h-100,
    .account-user.h-100 {
        height: 100% !important;
    }
    
    /* استایل‌های منوی کاربری به فایل simple-mobile-menu.css منتقل شد */
    
    /* Make sure icons are visible */
    .area-widget-header-fixed .widget-header i {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Prevent text selection on mobile */
    .area-widget-header-fixed {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Debug styles - remove after testing */
    .area-widget-header-fixed .account-user {
        /* background-color: rgba(255, 0, 0, 0.1); */
    }
    
    /* Remove absolute positioning that might cause issues */
    .area-widget-header-fixed .col-4 {
        position: relative;
        height: 100%;
    }
    
    .area-widget-header-fixed .widget-header {
        height: 100%;
    }
    
    .area-widget-header-fixed .account-user {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Prevent font size cascade to other menus */
    body:not(.area-widget-header-fixed) .dropdown-item {
        font-size: inherit;
    }
    

}

/* Hide on desktop */
@media (min-width: 992px) {
    .area-widget-header-fixed {
        display: none !important;
    }
}
