.mf-quiz-root {
  --mf-primary: #123832;
  --mf-primary-light: #1f5a4e;
  --mf-accent: #c1552c;
  --mf-line: #dcdaca;
  --mf-ink: #1b1f1b;
  --mf-ink-soft: #5b5f55;
  --mf-radius: 14px;
  max-width: 640px;
  margin: 0 auto;
  font-family: inherit;
  color: var(--mf-ink);
}
.mf-quiz-root * { box-sizing: border-box; }
.mf-loading { text-align: center; padding: 40px 0; color: var(--mf-ink-soft); }

.mf-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.mf-progress i { flex: 1; height: 5px; border-radius: 3px; background: var(--mf-line); }
.mf-progress i.done { background: var(--mf-primary); }

.mf-q { font-size: 24px; margin: 0 0 6px; font-weight: 600; }
.mf-sub { color: var(--mf-ink-soft); font-size: 14px; margin-bottom: 24px; }

.mf-opts { display: flex; flex-direction: column; gap: 10px; }
.mf-opt {
  border: 1.5px solid var(--mf-line);
  border-radius: var(--mf-radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.mf-opt:hover { border-color: var(--mf-primary-light); background: #f2f6f3; }

.mf-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.mf-btn {
  border: 1px solid var(--mf-line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  cursor: pointer;
}
.mf-btn:hover { border-color: var(--mf-primary); color: var(--mf-primary); }
.mf-step-label { font-size: 12px; color: var(--mf-ink-soft); }

.mf-results h3 { font-size: 22px; margin-bottom: 16px; }
.mf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .mf-cards { grid-template-columns: 1fr; } }

.mf-card {
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.mf-card img { width: 100%; height: 140px; object-fit: cover; display: block; background: #f2f2ee; }
.mf-card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mf-card-body h4 { font-size: 15px; margin: 0; }
.mf-card-price { font-weight: 600; }
.mf-card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.mf-card-actions a {
  text-align: center;
  padding: 9px 10px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.mf-view { border: 1px solid var(--mf-line); color: var(--mf-ink); }
.mf-add { background: var(--mf-primary); color: #fff; }

.mf-restart { margin-top: 20px; text-align: center; }
.mf-error { color: var(--mf-accent); text-align: center; padding: 20px 0; }
