:root {
  --brand-900: #fdba74;
  --brand-800: #fb923c;
  --brand-700: #f97316;
  --accent: #ea580c;
}

.bg-brand-900 { background-color: var(--brand-900); }
.bg-brand-800 { background-color: var(--brand-800); }
.bg-brand-700 { background-color: var(--brand-700); }
.text-brand-700 { color: var(--brand-700); }
.from-brand-800 {
  --tw-gradient-from: var(--brand-800) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(251 146 60 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-brand-600 {
  --tw-gradient-to: #f97316 var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.ring-brand-500 { --tw-ring-color: #fb923c; }

.hero-gradient {
  background: linear-gradient(120deg, #fdba74 0%, #fb923c 45%, #f97316 100%);
}

.prose p { margin-bottom: 1rem; line-height: 1.7; }

.repair-option-card.active {
  border-color: var(--brand-700);
  background: #fff7ed;
}

.search-result-item {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.search-result-item:last-child {
  border-bottom: 0;
}

.search-result-item:hover {
  background: #fff7ed;
}

.search-panel-section-title {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.search-panel-link {
  display: block;
  padding: 8px 14px;
  font-size: 18px;
  line-height: 1.2;
  color: #111827;
}

.search-panel-link strong {
  font-weight: 800;
}

.search-product-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 10px 14px;
}

.search-product-item:hover {
  background: #fff7ed;
}

.search-rating-dots {
  display: inline-flex;
  gap: 2px;
  margin-right: 6px;
}

.search-rating-dots span {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #16a34a;
}

.search-advice-item {
  display: block;
  padding: 8px 14px 10px;
  font-size: 18px;
  line-height: 1.2;
  color: #111827;
}

.search-advice-item strong {
  font-weight: 800;
}

.config-choice {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

.config-color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  border: 1px solid #94a3b8;
}

.config-chip {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 8px 14px;
  font-weight: 600;
}

.config-choice.active,
.config-chip.active {
  border-color: #0ea5e9;
  box-shadow: inset 0 0 0 1px #0ea5e9;
}

#toast { animation: fadeOut 4s ease forwards; }
@keyframes fadeOut {
  0%,70% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}
