body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0c0e12;
  color: #e0e6ff;
}

header {
  background: #080a10;
  border-bottom: 1px solid #22263a;
  padding: 1rem 1.5rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
}

.subtitle {
  margin: 0.4rem 0 0;
  color: rgba(224, 230, 255, 0.7);
  font-size: 0.95rem;
}

main {
  max-width: 1160px;
  margin: 1.5rem auto;
  padding: 0 1.5rem 3rem;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-size: 0.85rem;
  color: rgba(224, 230, 255, 0.8);
}

input,
select {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: #e0e6ff;
  padding: 0.9rem 1rem;
}

input::placeholder,
select option {
  color: rgba(224, 230, 255, 0.6);
}

.button {
  border: 1px solid rgba(128, 192, 255, 0.24);
  border-radius: 999px;
  background: rgba(128, 192, 255, 0.12);
  color: #b8d4ff;
  text-decoration: none;
  padding: 0.9rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card,
.detail-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card img,
.detail-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-content,
.detail-content {
  padding: 1rem;
}

.card-title,
.detail-title {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  line-height: 1.3;
}

.meta {
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(224, 230, 255, 0.75);
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.summary {
  margin-bottom: 1rem;
  color: rgba(224, 230, 255, 0.9);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e0e6ff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
}

.page-button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1rem;
}

thead {
  background: rgba(255, 255, 255, 0.04);
}

th,
td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .header-inner,
  .price-row {
    flex-direction: column;
    align-items: stretch;
  }
}
