.page {
  padding: 30px 0 60px;
}

.pageHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.pageTitle {
  font-family: 'Orbitron', 'Cairo', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-primary);
}

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.filterGroup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filterTitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--electric-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.priceDisplay {
  font-family: 'Orbitron', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.filterBtn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.83rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
  font-family: inherit;
}

[dir="rtl"] .filterBtn { text-align: right; }

.filterBtn:hover {
  background: rgba(0,209,255,0.06);
  color: var(--text-primary);
}

.filterActive {
  background: rgba(0,209,255,0.1) !important;
  border-color: rgba(0,209,255,0.3) !important;
  color: var(--electric-blue) !important;
}

/* Main */
.main {}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

.viewToggle {
  display: flex;
  gap: 4px;
}

.viewBtn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewActive {
  background: rgba(0,209,255,0.1);
  border-color: var(--electric-blue);
  color: var(--electric-blue);
}

.listGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Empty State */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}

.emptyIcon { font-size: 3rem; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .filterGroup { min-width: 180px; flex: 1; }
}

@media (max-width: 480px) {
  .sidebar { flex-direction: column; }
  .filterGroup { min-width: auto; }
  .pageHeader { flex-direction: column; align-items: flex-start; }
}
