.quiz-wave-frame {
  position: relative;
  display: grid !important;
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  height: auto !important;
  aspect-ratio: auto !important;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}
.quiz-wave-white {
  position: relative !important;
  inset: auto !important;
  grid-area: 1 / 1;
  width: 100%;
  min-height: 600px;
  align-self: stretch;
  background: #fff;
  border-radius: 10px;
}
.quiz-wave-mask {
  position: relative !important;
  inset: auto !important;
  grid-area: 1 / 1;
  width: 100%;
  min-height: 600px;
  height: auto !important;
  align-self: stretch;
  overflow: hidden;
  border-radius: inherit;
}
.quiz-wave-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  /* The supplied artwork already contains the organic white centre. */
  object-fit: fill;
  opacity: 0.8;
}
.quiz-wave-overlay {
  position: absolute;
  inset: 0;
  /* The exported artwork already contains its own translucent overlay. */
  background: transparent;
}
.quiz-wave-content {
  position: relative !important;
  grid-area: 1 / 1;
  z-index: 1;
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
  min-height: 600px;
  height: auto !important;
  aspect-ratio: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-card {
  padding: 20px 0;
  text-align: center;
}
.quiz-intro-line1 {
  color: #5a545d;
  font-size: 14px;
  letter-spacing: 1.4px;
}
.quiz-intro-title {
  color: #5a545d;
  font-size: 32px !important;
  font-weight: 500;
  letter-spacing: 3.2px;
  margin: 25px 0 20px !important;
	border: none !important;
	padding: 0 !important;
		line-height:0.8 !important;;
}
.quiz-intro-title span {
  display: block;
  font-size: 14px;
  letter-spacing: 1.4px;
  margin-top: 5px;
	line-height:2;
}
.quiz-btn-primary {
  background: #5a545d;
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 30px;
  width: 208px;
}
.quiz-intro-time {
  color: #5a545d;
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-top: 10px;
}
.quiz-question-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}
.quiz-question-heading {
  width: 300px;
  flex-shrink: 0;
  align-self: center;
  color: #5a545d;
}
.quiz-question-number {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}
.quiz-question-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
}
.quiz-question-body {
  width: 400px;
  display: flex;
  flex-direction: column;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 354px;
  overflow-y: auto;
	    justify-content: center;
}
.quiz-option {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #5a545d;
  border-radius: 10px;
  background: #f3f3f3;
  color: #5a545d;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s, color 0.15s;
}
.quiz-option:hover:not(:has(input:checked)) {
  background: #7d7680;
  color: #f3f3f3;
}
.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz-option:has(input:checked) {
  background: #5a545d;
  color: #f3f3f3;
}
.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  margin-top: 10px;
}
.quiz-btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #5a545d;
  border: 1px solid #5a545d;
  border-radius: 200px;
  color: #f3f3f3;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  height: 42px;
  padding: 0 20px;
}
.quiz-error-text {
  color: #b3261e;
  font-size: 12px;
  margin: 5px 0 0;
}
.quiz-error-text:empty {
  display: none;
}
.quiz-result-layout {
  text-align: center;
}
.quiz-result-heading {
  color: #5a545d;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px !important;
}
#quiz-result-chart {
  display: block;
  width: min(280px, 100%) !important;
  height: auto !important;
  max-width: 280px;
  max-height: 280px;
  margin: 0 auto;
}
.quiz-result-badges {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}
.quiz-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quiz-badge-circle {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.quiz-badge-label {
  font-size: 14px;
}
.quiz-result-type-label {
  color: #5a545d;
  font-size: 14px;
  font-weight: 400;
  margin: 20px 0 0;
}
#quiz-view-products-btn {
  margin-top: 40px;
}
.quiz-btn-outline {
  background: transparent;
  color: #5a545d;
  border: 1px solid #5a545d;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.quiz-result-products {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.quiz-product-card {
  width: 200px;
  text-align: center;
}
.quiz-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 0;
}
.quiz-product-card-name {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 !important;
}
.quiz-product-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: #5a545d;
  border: 1px solid #5a545d;
  color: #f3f3f3;
  border-radius: 200px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
  text-decoration: none;
}
.quiz-product-card-link:hover {
  text-decoration: none !important;
  color: #ffffff !important;
  background: #6f6874;
  border-color: #6f6874;
}

@media (max-width: 850px) {
  .quiz-wave-frame {
    min-width: 0;
    min-height: 600px;
    height: auto !important;
    aspect-ratio: auto !important;
  }

  .quiz-wave-content {
    min-height: 600px;
    height: auto !important;
    aspect-ratio: auto !important;
        padding: 36px 20px;
  }

  .quiz-question-screen,
  .quiz-card,
  .quiz-question-layout,
  .quiz-result-layout {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .quiz-question-layout {
    flex-direction: column;
    gap: 20px;
  }

  .quiz-question-heading {
    width: 100%;
    align-self: auto;
    text-align: center;
  }

  .quiz-question-number {
    font-size: 26px;
  }

  .quiz-question-title {
    font-size: 16px;
    margin-top: 6px;
  }

  .quiz-question-body {
    width: 100%;
    min-width: 0;
  }

  .quiz-options {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .quiz-option {
    padding: 9px 14px;
    font-size: 13px;
  }

  .quiz-result-badges {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .quiz-badge {
    gap: 7px;
  }

  .quiz-badge-circle {
    width: 34px;
    height: 34px;
  }

  #quiz-view-products-btn {
    margin-top: 24px;
  }

  .quiz-result-products {
    margin-top: 28px;
  }

  .quiz-product-card {
    width: min(180px, 100%);
  }
}

@media (max-width: 359px) {
  .quiz-wave-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  #quiz-result-chart {
    width: min(260px, 100%) !important;
    max-width: 260px;
    max-height: 260px;
  }

  .quiz-btn-nav {
    height: 40px;
    padding: 0 15px;
    font-size: 12px;
  }
}
