.ysir-pq,
.ysir-pq * {
  box-sizing: border-box;
}
.ysir-pq {
  width: 100%;
}
.ysir-pq__container.quiz-container {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ysir-pq__restore {
  text-align: center;
  margin-bottom: 15px;
}
.ysir-pq__progress.progress-bar-wrapper {
  width: 100%;
  background: #e6e6e6;
  height: 10px;
  margin: 20px 0;
  border-radius: 6px;
  overflow: hidden;
}
.ysir-pq__progress-bar.progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: #47a74e;
  transition: width .3s ease;
}
.ysir-pq__question.question h3,
.ysir-pq__result h3,
.ysir-pq__result h4 {
  margin-top: 0;
}
.ysir-pq__options.options {
  display: block;
}
.ysir-pq__option,
.ysir-pq__share-btn,
.ysir-pq__restore-btn.restore-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  color: #111;
  cursor: pointer;
  font: inherit;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.ysir-pq__option {
  width: 100%;
  display: block;
  padding: 12px;
  margin: 6px 0;
}
.ysir-pq__option:hover,
.ysir-pq__share-btn:hover,
.ysir-pq__restore-btn:hover {
  background: #eef6ef;
  border-color: #cfdcd1;
}
.ysir-pq__restore-btn.restore-btn {
  padding: 10px 18px;
}
.ysir-pq__result.result,
.ysir-pq__result-inner.result {
  width: 100%;
}
.ysir-pq__result-title {
  margin-bottom: 8px;
}
.ysir-pq__result-heading {
  margin-bottom: 12px;
}
.ysir-pq__result-desc {
  margin-bottom: 18px;
}
.ysir-pq__products {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ysir-pq__product {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.ysir-pq__product::before,
.ysir-pq__product::after {
  display: none !important;
  content: none !important;
}
.ysir-pq__product-img {
  width: 90px;
  height: 90px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  max-width: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ysir-pq--shape-circle .ysir-pq__product-img {
  border-radius: 50%;
}
.ysir-pq--shape-rounded .ysir-pq__product-img {
  border-radius: 12px;
}
.ysir-pq--shape-square .ysir-pq__product-img {
  border-radius: 0;
}
.ysir-pq__product-body {
  min-width: 0;
}
.ysir-pq__product-title {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
  margin: 0 0 3px;
}
.ysir-pq__product-title:hover {
  text-decoration: underline;
}
.ysir-pq__product-desc {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}
.ysir-pq__retake-wrap {
  text-align: center;
  margin: 20px 0 0;
}
.ysir-pq__retake.retake-btn {
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 22px;
  margin-top: 0;
  background: #1A6332;
  color: #fff;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font: inherit;
  line-height: 1.35;
  box-shadow: none;
}
.ysir-pq__share.share-buttons-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.ysir-pq__share-btn.share-btn-small {
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
}
.ysir-pq-editor-note {
  padding: 14px;
  border: 1px dashed #999;
  border-radius: 8px;
  background: #fffbe6;
  color: #444;
}
@media (max-width: 767px) {
  .ysir-pq__container.quiz-container {
    padding: 16px;
  }
  .ysir-pq__product {
    gap: 10px !important;
  }
  .ysir-pq__product-img {
    width: 72px;
    height: 72px;
  }
  .ysir-pq__share.share-buttons-wrapper {
    flex-direction: column;
  }
}
