.fico-quiz {
  max-width: 760px;
  margin: 40px auto;
  padding: 32px;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(99, 42, 98, 0.12);
  font-family: inherit;
  color: #4a2f3f;
}

.fico-quiz * { box-sizing: border-box; }

.fico-quiz__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .65;
  margin-bottom: 10px;
}

.fico-quiz__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.fico-quiz__text {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 24px;
  color: #444;
}

.fico-quiz__progress {
  height: 8px;
  width: 100%;
  background: rgba(106, 42, 109, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 0 24px;
}

.fico-quiz__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6f2f73 0%, #c67a42 100%);
  border-radius: 999px;
  transition: width .25s ease;
}

.fico-quiz__options {
  display: grid;
  gap: 12px;
}

.fico-quiz__option,
.fico-quiz__button {
  border: 1px solid rgba(106, 42, 109, 0.18);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fffaf5;
  color: #4a2f3f;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  line-height: 1.35;
  transition: all .18s ease;
}

.fico-quiz__option:hover,
.fico-quiz__button:hover {
  transform: translateY(-1px);
  background: #f6eadf;
  border-color: #c67a42;
}

.fico-quiz__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.fico-quiz__button--primary {
  text-align: center;
  background: #6f2f73;
  color: #fff;
  border-color: #6f2f73;
  font-weight: 700;
}

.fico-quiz__button--primary:hover { background: #5b245e; color: #fff; border-color: #5b245e; }

.fico-quiz__button--ghost { background: transparent; }

.fico-quiz__result-card {
  border: 1px solid rgba(106, 42, 109, 0.14);
  border-radius: 20px;
  padding: 22px;
  margin: 18px 0;
  background: #fffaf5;
}

.fico-quiz__products {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.fico-quiz__product {
  border-left: 4px solid #6f2f73;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
}

.fico-quiz__product strong { display: block; margin-bottom: 4px; }

.fico-quiz__urgency {
  margin: 22px 0;
  padding: 18px;
  border-radius: 16px;
  background: #f6eadf;
  border: 1px solid rgba(198, 122, 66, .28);
  font-style: italic;
  color: #4a2f3f;
}

.fico-quiz__small {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

.fico-quiz__error {
  color: #9c1f1f;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .fico-quiz { margin: 20px auto; padding: 22px; border-radius: 18px; }
  .fico-quiz__text { font-size: 16px; }
}

.fico-quiz__product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  border-left: 4px solid #6f2f73;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.fico-quiz__product-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 14px;
  background: #fffaf5;
  padding: 6px;
}

.fico-quiz__product-content strong {
  display: block;
  margin-bottom: 6px;
}

.fico-quiz__product-content span {
  display: block;
}

.fico-quiz__product-price {
  margin-top: 8px;
  font-weight: 700;
}

.fico-quiz__product--featured {
  position: relative;
  border-left-width: 6px;
}

.fico-quiz__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #c67a42;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

@media (max-width: 600px) {
  .fico-quiz__product {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .fico-quiz__product-image {
    width: 72px;
    height: 72px;
  }
}


/* FICO visual tuning */
.fico-quiz__eyebrow {
  color: #6f2f73;
  font-weight: 700;
}

.fico-quiz__option:hover,
.fico-quiz__button:hover {
  box-shadow: 0 10px 24px rgba(106, 42, 109, 0.10);
}

.fico-quiz__button--primary {
  border-radius: 999px;
  padding: 15px 28px;
  box-shadow: 0 12px 28px rgba(106, 42, 109, 0.22);
}

.fico-quiz__button--ghost {
  color: #6f2f73;
  border-color: rgba(106, 42, 109, .22);
}

.fico-quiz__product {
  border-color: rgba(106, 42, 109, 0.14);
}

.fico-quiz__product--featured {
  border-left-color: #c67a42;
}

.fico-quiz__product-price,
.fico-quiz__product-price .amount,
.fico-quiz__product-price .woocommerce-Price-amount,
.fico-quiz__product-price .woocommerce-Price-currencySymbol {
  white-space: nowrap;
}

.fico-quiz__product-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f6eadf;
  color: #6f2f73;
  font-weight: 800;
  line-height: 1;
}

.fico-quiz__product-price del {
  opacity: .55;
  margin-right: 6px;
  font-weight: 500;
}

.fico-quiz__product-price ins {
  text-decoration: none;
}

.fico-quiz__badge {
  background: #c67a42;
  color: #fff;
}

@media (max-width: 420px) {
  .fico-quiz__product-content strong {
    font-size: 15px;
  }
  .fico-quiz__product-content span:not(.woocommerce-Price-currencySymbol) {
    font-size: 14px;
  }
  .fico-quiz__product-price {
    font-size: 14px;
  }
}
