```css
/* =========================================================
   خودرو اردبیل - استایل شبیه دیوار
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00b368;
    --primary-dark: #008c4a;
    --primary-light: #e6f7ed;
    --accent: #fbbf24;
    --bg: #f5f7fa;
    --card: #ffffff;
    --text: #1e2b3c;
    --text-light: #7a8a9e;
    --text-muted: #b0bec5;
    --border: #eef0f3;
    --success: #10b981;
    --danger: #ef4444;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
    padding-bottom: 80px;
}

/* =========================================================
   Container
   ========================================================= */

.app-container {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
    background: var(--card);
    min-height: 100vh;
    box-shadow: var(--shadow);
    position: relative;
}

@media (min-width: 768px) {
    body {
        padding: 0;
        display: flex;
        justify-content: center;
        background: var(--bg);
    }
    .app-container {
        min-height: 100vh;
        box-shadow: 0 0 30px rgba(0,0,0,0.1);
    }
}

/* =========================================================
   Header
   ========================================================= */

.header {
    background: var(--card);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.2s;
}

.menu-btn:hover {
    opacity: 0.7;
}

.logo-section h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-section h1 span {
    color: var(--primary);
}

.logo-section p {
    font-size: 10px;
    color: var(--text-light);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    padding: 4px;
}

.header-btn:hover {
    opacity: 0.7;
}

.header-btn.primary {
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* =========================================================
   Location Bar
   ========================================================= */

.location-bar {
    padding: 10px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.location-bar i {
    color: var(--primary);
    font-size: 16px;
}

.location-bar .change {
    color: var(--primary);
    font-size: 12px;
    margin-right: auto;
    cursor: pointer;
    font-weight: 400;
}

.location-bar .change:hover {
    text-decoration: underline;
}

/* =========================================================
   Filter Chips
   ========================================================= */

.filter-chips {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    padding: 6px 14px;
    background: #f0f2f5;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip i {
    font-size: 12px;
    color: var(--text-muted);
}

.chip:hover {
    background: #e5e7eb;
}

.chip.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.chip.active i {
    color: var(--primary);
}

/* =========================================================
   Result Meta
   ========================================================= */

.result-meta {
    padding: 12px 16px 6px;
    font-size: 13px;
    color: var(--text-light);
    background: var(--card);
}

.result-meta i {
    margin-left: 4px;
}

/* =========================================================
   Ads List
   ========================================================= */

.ads-list {
    background: var(--card);
    display: flex;
    flex-direction: column;
}

.ad-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.1s ease;
    cursor: pointer;
}

.ad-item:hover {
    background: #fafbfc;
}

.ad-item:active {
    background: #f0f2f5;
}

.ad-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    background: #f0f2f5;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 28px;
}

.ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-info {
    flex: 1;
    min-width: 0;
}

.ad-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ad-title .badge {
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 1px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.ad-title .badge.featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.ad-title .badge.urgent {
    background: var(--danger);
    color: white;
}

.ad-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    flex-wrap: wrap;
}

.ad-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ad-meta i {
    font-size: 11px;
    color: #9aabbf;
}

.ad-location {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ad-location i {
    font-size: 11px;
    color: #9aabbf;
}

.ad-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    margin-right: 8px;
    min-width: 70px;
    text-align: left;
}

.ad-price small {
    font-weight: 400;
    font-size: 11px;
    color: var(--text-light);
    margin-right: 2px;
}

/* =========================================================
   Empty State
   ========================================================= */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
    color: var(--primary);
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 12px;
}

.empty-state a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.empty-state a:hover {
    text-decoration: underline;
}

/* =========================================================
   Bottom Navigation - Like Divar
   ========================================================= */

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 6px 0 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    width: 100%;
    z-index: 200;
}

@media (min-width: 768px) {
    .bottom-nav {
        max-width: 430px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    cursor: pointer;
    padding: 4px 8px;
}

.nav-item i {
    font-size: 22px;
    color: #4a5a6e;
    transition: color 0.2s ease;
}

.nav-item.active i {
    color: var(--primary);
}

.nav-item.active {
    color: var(--text);
    font-weight: 500;
}

.nav-item:hover i {
    color: var(--primary);
}

.nav-item .badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.nav-item.center {
    position: relative;
    top: -18px;
}

.nav-item.center .icon-circle {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0, 179, 104, 0.35);
    transition: transform 0.2s ease;
}

.nav-item.center .icon-circle:hover {
    transform: scale(1.05);
}

.nav-item.center .icon-circle:active {
    transform: scale(0.95);
}

.nav-item.center span {
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
}

/* =========================================================
   Mobile Menu
   ========================================================= */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 501;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mobile-menu .menu-close {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-menu .menu-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.mobile-menu .menu-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.mobile-menu .menu-header h3 span {
    color: var(--primary);
}

.mobile-menu .menu-header p {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.menu-item:hover {
    color: var(--primary);
}

.menu-item i {
    width: 24px;
    text-align: center;
    color: var(--primary);
    font-size: 18px;
}

.menu-item.danger {
    color: var(--danger);
}

.menu-item.danger i {
    color: var(--danger);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 480px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .login-container {
        padding: 12px;
        margin: 20px auto;
    }
    
    .login-card {
        padding: 20px 16px;
    }
    
    .hero h2 {
        font-size: 19px;
    }
    
    .ad-card {
        min-width: 220px;
    }
    
    .ad-image {
        height: 140px;
    }
}

@media (max-width: 360px) {
    .categories {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .category-card {
        padding: 12px 8px;
    }
    
    .category-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}