/* ========================================
   ГОРОД СВОИХ — СВЕТЛАЯ ТЕМА
   ======================================== */

[data-theme="light"] {
  --bg: #f2f3f6;
  --surface: #ffffff;
  --surface2: #f8f9fb;
  --surface3: #f0f1f4;
  --text: #1a1a2e;
  --text2: #5a5a70;
  --text3: #8a8a9a;
  --border: rgba(0,0,0,0.06);
  --border-active: rgba(0,0,0,0.1);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-elevated: 0 4px 24px rgba(0,0,0,0.06);
}

/* Фон */
[data-theme="light"] body {
  background: #f2f3f6;
  color: #1a1a2e;
}

/* Хедер */
[data-theme="light"] .top-header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-theme="light"] .header-glow { display: none; }
[data-theme="light"] .header-nav a { color: #5a5a70; }
[data-theme="light"] .header-nav a:hover { color: #1a1a2e; background: rgba(0,0,0,0.03); }
[data-theme="light"] .header-nav a i { color: #4a7aa5; }
[data-theme="light"] .header-nav a:last-child { border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .header-nav a:last-child:hover { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.18); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
[data-theme="light"] .header-logo-text { background: linear-gradient(135deg, #1a1a2e, #3a3a50); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Логотип и название */
[data-theme="light"] .logo-img, [data-theme="light"] .brand-img { filter: brightness(0) !important; }
[data-theme="light"] .filters-header h3 { color: #4a7aa5; }
[data-theme="light"] .filter-group label { color: #8a8a9a; }
[data-theme="light"] .filter-group input,
[data-theme="light"] .filter-group select {
  background: #f8f9fb;
  border-color: rgba(0,0,0,0.08);
  color: #1a1a2e;
}
[data-theme="light"] .filter-group input:focus,
[data-theme="light"] .filter-group select:focus {
  border-color: #4a7aa5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74,122,165,0.08);
}

/* Кнопки */
[data-theme="light"] .btn-primary { background: #4a7aa5; color: #fff; box-shadow: 0 4px 15px rgba(74,122,165,0.2); }
[data-theme="light"] .btn-primary:hover { background: #5b8ab5; }
[data-theme="light"] .btn-ghost { border-color: rgba(0,0,0,0.1); color: #5a5a70; }
[data-theme="light"] .btn-ghost:hover { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.18); color: #1a1a2e; }

/* Карточки */
[data-theme="light"] .property-card {
  background: #fff;
  border-color: rgba(0,0,0,0.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .property-card:hover {
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .card-title { color: #1a1a2e; }
[data-theme="light"] .card-price { color: #1a1a2e !important; }
[data-theme="light"] .card-meta span { background: #f8f9fb; border-color: rgba(0,0,0,0.04); }
[data-theme="light"] .card-meta i { color: #4a7aa5; }
[data-theme="light"] .fav-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.08); color: #5a5a70; }
[data-theme="light"] .fav-btn:hover { background: rgba(0,0,0,0.08); }
[data-theme="light"] .fav-btn.active { color: #c0392b; border-color: #c0392b; background: rgba(192,57,43,0.1); }
[data-theme="light"] .new-badge { background: rgba(46,139,87,0.9); color: #fff; }

/* Статистика */
[data-theme="light"] .stat-card {
  background: #fff;
  border-color: rgba(0,0,0,0.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .stat-card:hover { border-color: rgba(0,0,0,0.08); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
[data-theme="light"] .stat-label { color: #8a8a9a; }
[data-theme="light"] .stat-value { color: #4a7aa5; }

/* Поиск */
[data-theme="light"] .search-container input {
  background: #fff !important;
  border-color: rgba(0,0,0,0.08);
  color: #1a1a2e;
}
[data-theme="light"] .found-counter { background: #fff; border-color: rgba(74,122,165,0.2); }

/* Сортировка */
[data-theme="light"] .sort-btn { background: #fff; border-color: rgba(0,0,0,0.08); color: #1a1a2e; }
[data-theme="light"] .sort-btn:hover { border-color: #4a7aa5; }
[data-theme="light"] .sort-dropdown { background: #fff; border-color: rgba(0,0,0,0.06); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
[data-theme="light"] .sort-dropdown button { color: #5a5a70; }
[data-theme="light"] .sort-dropdown button:hover { background: #f0f1f4; color: #1a1a2e; }

/* Пагинация */
[data-theme="light"] .pagination button { background: #fff; border-color: rgba(0,0,0,0.04); color: #5a5a70; }
[data-theme="light"] .pagination button:hover:not(:disabled) { background: #f8f9fb; color: #1a1a2e; }
[data-theme="light"] .pagination button.active { background: #4a7aa5; color: #fff; }

/* Мультиселекты */
[data-theme="light"] .multiselect-header { background: #f8f9fb; border-color: rgba(0,0,0,0.08); color: #5a5a70; }
[data-theme="light"] .multiselect-dropdown { background: #fff; }
[data-theme="light"] .multiselect-dropdown label { color: #5a5a70; }
[data-theme="light"] .multiselect-dropdown label:hover { background: #f0f1f4; color: #1a1a2e; }

/* Погода */
[data-theme="light"] .weather-widget button { background: #fff; border-color: rgba(0,0,0,0.06); color: #1a1a2e; }
[data-theme="light"] .weather-widget button:hover { border-color: #4a7aa5; box-shadow: 0 0 15px rgba(74,122,165,0.15); }
[data-theme="light"] .weather-popup { background: #fff; border-color: rgba(0,0,0,0.06); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
[data-theme="light"] .weather-popup .temp { background: linear-gradient(135deg, #4a7aa5, #1a1a2e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Футер */
[data-theme="light"] .site-footer { background: #fff; border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .footer-bottom { color: #8a8a9a; border-top-color: rgba(0,0,0,0.04); }

/* Попап районов */
[data-theme="light"] .district-popup-content { background: #fff; border-left-color: rgba(0,0,0,0.06); }

/* Теги фильтров */
[data-theme="light"] .filter-tag { background: #f0f1f4; border-color: rgba(74,122,165,0.3); color: #4a7aa5; }

/* Слайдер */
[data-theme="light"] #pMinRange::-webkit-slider-thumb,
[data-theme="light"] #pMaxRange::-webkit-slider-thumb {
  background: #4a7aa5;
  border-color: #5b8ab5;
  box-shadow: 0 0 12px rgba(74,122,165,0.4);
}
[data-theme="light"] #pMinRange::-webkit-slider-runnable-track { background: rgba(0,0,0,0.1); }
[data-theme="light"] #pMaxRange::-webkit-slider-runnable-track { background: transparent !important; }

/* Сетка фона */
[data-theme="light"] .bg-grid { opacity: 0.4; }
[data-theme="light"] .particle { background: #4a7aa5; box-shadow: 0 0 8px #5b8ab5; }

/* Скелетоны */
[data-theme="light"] .skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 75%);
}

/* Скроллбар */
[data-theme="light"] .filters-sidebar { scrollbar-color: rgba(0,0,0,0.1) transparent; }
[data-theme="light"] .property-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .filters-sidebar,
[data-theme="light"] .search-container input,
[data-theme="light"] .sort-btn,
[data-theme="light"] .pagination button {
  border-color: rgba(0,0,0,0.04) !important;
}
[data-theme="light"] .filter-group input,
[data-theme="light"] .filter-group select {
  border-color: rgba(0,0,0,0.06) !important;
}
