.stihl-expert-finder {
  --stihl-primary: #ff6a00;
  --stihl-radius: 14px;
  --stihl-font: "DM Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --stihl-bg: #f7f4ef;
  --stihl-card: #ffffff;
  --stihl-text: #1f1f1d;
  --stihl-muted: #5f615b;
  --stihl-border: #efe4d7;
  color: var(--stihl-text);
  font-family: var(--stihl-font);
}

.stihl-expert-finder * {
  box-sizing: border-box;
}

.stihl-finder-shell {
  background: linear-gradient(135deg, #fff7ef 0%, #f6f2eb 100%);
  border: 1px solid var(--stihl-border);
  border-radius: var(--stihl-radius);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  padding: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.stihl-finder-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.stihl-finder-title {
  font-size: 28px;
  margin: 0 0 6px 0;
}

.stihl-finder-subtitle {
  margin: 0;
  color: var(--stihl-muted);
  font-size: 16px;
}

.stihl-finder-restart {
  background: transparent;
  border: 1px solid var(--stihl-border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--stihl-text);
  cursor: pointer;
}

.stihl-finder-restart:focus,
.stihl-finder-restart:hover {
  border-color: var(--stihl-primary);
  color: var(--stihl-primary);
}

.stihl-finder-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.stihl-finder-progress-info {
  font-size: 14px;
  color: var(--stihl-muted);
}

.stihl-finder-progress-track {
  flex: 1;
  background: #efe9e0;
  border-radius: 999px;
  height: 10px;
  position: relative;
  overflow: hidden;
}

.stihl-finder-progress-bar {
  background: var(--stihl-primary);
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.stihl-finder-question {
  margin-bottom: 18px;
}

.stihl-finder-question-title {
  font-size: 22px;
  margin: 0 0 14px 0;
}

.stihl-finder-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.stihl-finder-option {
  background: var(--stihl-card);
  border: 1px solid var(--stihl-border);
  border-radius: var(--stihl-radius);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.stihl-finder-option:focus,
.stihl-finder-option:hover {
  border-color: var(--stihl-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.stihl-finder-option.is-selected {
  border-color: var(--stihl-primary);
  box-shadow: 0 10px 18px rgba(255, 106, 0, 0.18);
}

.stihl-finder-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 106, 0, 0.12);
  color: var(--stihl-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.stihl-finder-option-title {
  font-size: 16px;
  margin: 0 0 6px 0;
}

.stihl-finder-option-desc {
  margin: 0;
  color: var(--stihl-muted);
  font-size: 14px;
}

.stihl-finder-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.stihl-finder-button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  cursor: pointer;
  background: var(--stihl-primary);
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.stihl-finder-button:focus,
.stihl-finder-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.stihl-finder-button.secondary {
  background: #ffffff;
  color: var(--stihl-text);
  border: 1px solid var(--stihl-border);
}

.stihl-finder-button.secondary:focus,
.stihl-finder-button.secondary:hover {
  border-color: var(--stihl-primary);
  color: var(--stihl-primary);
}

.stihl-finder-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.stihl-finder-results {
  display: grid;
  gap: 16px;
}

.stihl-finder-results-header {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.stihl-finder-results-title {
  font-size: 24px;
  margin: 0;
}

.stihl-finder-results-desc {
  margin: 0;
  color: var(--stihl-muted);
}

.stihl-finder-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.stihl-finder-product-card {
  background: var(--stihl-card);
  border: 1px solid var(--stihl-border);
  border-radius: var(--stihl-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.stihl-finder-product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--stihl-primary);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.stihl-finder-product-image {
  width: 100%;
  border-radius: 12px;
  background: #f3eee8;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stihl-finder-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stihl-finder-product-title {
  font-size: 16px;
  margin: 0;
}

.stihl-finder-product-desc {
  font-size: 14px;
  margin: 0;
  color: var(--stihl-muted);
}

.stihl-finder-product-meta {
  font-size: 14px;
  color: var(--stihl-text);
  font-weight: 600;
}

.stihl-finder-product-link {
  text-decoration: none;
  color: var(--stihl-primary);
  font-weight: 600;
}

.stihl-finder-next-steps {
  background: #ffffff;
  border: 1px solid var(--stihl-border);
  border-radius: var(--stihl-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stihl-finder-next-steps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stihl-finder-alert {
  background: #fff2e6;
  border: 1px solid #ffd9b3;
  border-radius: 12px;
  padding: 12px;
  color: #6d3b00;
  font-size: 14px;
}

@media (max-width: 720px) {
  .stihl-finder-shell {
    padding: 18px;
  }

  .stihl-finder-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stihl-finder-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .stihl-finder-button {
    width: 100%;
  }
}
