body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #1f2933;
  background: #f5f7fa;
}

a {
  color: #0b5cad;
}

.site-header {
  background: #152238;
  color: #ffffff;
}

.site-header nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-header a {
  color: #ffffff;
  text-decoration: none;
}

.brand {
  font-weight: 700;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px;
}

.toolbar,
.filters,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.toolbar {
  justify-content: space-between;
  margin-bottom: 24px;
}

.filters,
.facet-panel,
.product-form,
.detail {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
select,
textarea {
  font: inherit;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  padding: 8px;
}

textarea {
  width: 100%;
  box-sizing: border-box;
}

.button,
button {
  display: inline-block;
  border: 0;
  border-radius: 6px;
  padding: 9px 14px;
  background: #0b5cad;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

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

.product-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 16px;
}

dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 12px;
}

dt {
  font-weight: 700;
}

pre {
  background: #f0f4f8;
  border-radius: 6px;
  overflow: auto;
  padding: 12px;
}

.errors {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.active-filter {
  background: #e6f6ff;
  border-radius: 8px;
  padding: 12px 16px;
}

.facet-group {
  margin-top: 14px;
}

.facet-group h3 {
  margin-bottom: 8px;
}

.facet-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facet {
  border: 1px solid #bcccdc;
  border-radius: 6px;
  padding: 6px 10px;
  background: #ffffff;
  text-decoration: none;
}

.facet.active {
  background: #0b5cad;
  color: #ffffff;
  border-color: #0b5cad;
}
