:root {
  --jade: #00896b;        /* سبز یشمی */
  --jade-dark: #006b54;
  --turquoise: #17c3ce;   /* آبی فیروزه‌ای - سرمایه‌گذاری */
  --white: #ffffff;
  --bg: #f5f7f6;
  --text: #222;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: Tahoma, "Vazirmatn", sans-serif; }
body { background: var(--bg); color: var(--text); padding-bottom: 70px; }

/* هدر */
.header {
  background: var(--jade); color: var(--white);
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
}
.logo { width: 48px; height: 48px; border-radius: 8px; background: var(--white); }
.header-titles h1 { font-size: 1.05rem; }
.subtitle { font-size: .75rem; opacity: .85; }

/* جستجو */
.search-bar { display: flex; gap: 8px; padding: 12px 16px; background: var(--white); }
.search-bar input, .search-bar select {
  padding: 10px; border: 1px solid #ddd; border-radius: 10px; font-size: .9rem;
}
.search-bar input { flex: 1; }

/* دسته‌بندی‌ها */
.categories {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px;
}
.cat {
  background: var(--white); border: 1px solid #e5e5e5; border-radius: 12px;
  padding: 14px 6px; text-align: center; text-decoration: none; color: var(--text);
  font-size: 1.4rem; display: flex; flex-direction: column; gap: 6px;
}
.cat span { font-size: .78rem; }
.cat:active { border-color: var(--jade); }
.cat-invest { border-color: var(--turquoise); color: var(--turquoise); }

/* آگهی‌ها */
.section-title { padding: 0 16px 8px; font-size: 1rem; color: var(--jade-dark); }
.listings { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.listing-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  display: flex; border: 1px solid #eee;
}
.listing-card img { width: 120px; height: 110px; object-fit: cover; }
.listing-info { padding: 10px; flex: 1; }
.listing-info h3 { font-size: .9rem; margin-bottom: 4px; }
.listing-info p { font-size: .78rem; color: #666; }
.price { color: var(--jade); font-weight: bold; font-size: .85rem; margin-top: 6px; display: block; }
.card-actions { display: flex; gap: 6px; margin-top: 8px; }
.btn-call, .btn-whatsapp {
  font-size: .75rem; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: #fff;
}
.btn-call { background: var(--jade); }
.btn-whatsapp { background: #25d366; }

/* منوی پایین */
.bottom-nav {
  position: fixed; bottom: 0; right: 0; left: 0;
  background: var(--white); border-top: 1px solid #e0e0e0;
  display: flex; justify-content: space-around; padding: 6px 0; z-index: 100;
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: #888; font-size: 1.1rem;
}
.nav-item span { font-size: .65rem; }
.nav-item.active { color: var(--jade); }
.nav-invest { color: var(--turquoise); }
.nav-plus .plus {
  background: var(--jade); color: #fff; width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-top: -14px; box-shadow: 0 2px 8px rgba(0,137,107,.4);
}