@font-face {
  font-family: Emoji;
  src: url("../fonts/emoji.woff2");
}
@font-face {
  font-family: Flags;
  src: url("../fonts/flags.woff2");
  unicode-range: U+1F1E6-1F1FF;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #4a5568;
  font-family: Nunito, Flags, Emoji, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button {
  font: inherit;
  color: inherit;
}
input {
  font: inherit;
  color: inherit;
}
textarea {
  font: inherit;
  color: inherit;
}
select {
  font: inherit;
  color: inherit;
}
button {
  -webkit-tap-highlight-color: transparent;
}
a {
  -webkit-tap-highlight-color: transparent;
}
input {
  -webkit-tap-highlight-color: transparent;
}
textarea {
  -webkit-tap-highlight-color: transparent;
}
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1 {
  font-family: Fredoka, Flags, Emoji, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
h2 {
  font-family: Fredoka, Flags, Emoji, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
h3 {
  font-family: Fredoka, Flags, Emoji, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 20px;
}
p {
  color: #7186a6;
  margin: var(--space-md) 0;
}
button {
  border: 0;
  background: none;
}
button:focus-visible {
  outline: 3px solid #229bd0;
  outline-offset: 4px;
}
a:focus-visible {
  outline: 3px solid #229bd0;
  outline-offset: 4px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  border: 0;
  border-radius: 999px;
  background: #ff1760;
  color: white;
  text-decoration: none;
  font-weight: 800;
  padding: 14px var(--space-lg);
  min-height: 48px;
  box-shadow: 0 7px 12px #ff176040;
}
.primary:active {
  transform: translateY(2px);
}
dialog {
  border: 0;
  border-radius: 24px;
  padding: var(--space-section);
  width: min(90vw, 480px);
  box-shadow: 0 20px 80px #0004;
}
dialog::backdrop {
  background: #233345aa;
}
dialog .close {
  position: absolute;
  right: 18px;
  top: 12px;
  z-index: 3;
  background: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 26px;
}
dialog img {
  max-height: 75vh;
  margin: auto;
  border-radius: 16px;
}
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

body.quiz {
  min-height: 100vh;
}
.quiz main {
  margin: auto;
  min-height: 100vh;
}
.quiz-brand {
  display: block;
}
.progress {
  height: 2px;
  margin: 0 4px 28px;
  background: repeating-linear-gradient(
    90deg,
    #b8d1e2 0 3px,
    transparent 3px 5px
  );
  position: relative;
}
.progress-fill {
  height: 2px;
  background: linear-gradient(90deg, #1998d4, #2ebe8f, #ffc635, #ff4a92);
  width: var(--progress);
}
.quiz-card {
  background: white;
  border-radius: 24px;
  padding: 28px 21px 29px;
  box-shadow: 0 12px 18px -14px #43678690;
  position: relative;
}
.quiz-card h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}
.quiz-card header > p {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin: var(--space-xs) 0 var(--space-section);
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.option {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 18px var(--space-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 103px;
  border: 2px solid transparent;
  font-size: 14px;
  line-height: 20px;
}
.option .emoji {
  font-family: Flags, Emoji, Nunito;
  font-weight: 400;
  display: block;
  margin-bottom: 5px;
}
.option small {
  color: #7186a6;
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  margin-top: 5px;
}
.option.selected {
  border-color: #b1ecd9;
  box-shadow: 0 3px 5px #0001;
}
.option.selected:after {
  content: "✓";
  position: absolute;
  right: -5px;
  top: -5px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  background: #b5e9dd;
  font-size: 12px;
  color: #547b6e;
}
.style-card.selected:after {
  content: "✓";
  position: absolute;
  right: -5px;
  top: -5px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  background: #b5e9dd;
  font-size: 12px;
  color: #547b6e;
}
.segment.selected:after {
  content: "✓";
  position: absolute;
  right: -5px;
  top: -5px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  background: #b5e9dd;
  font-size: 12px;
  color: #547b6e;
}
.option:not(.selected):hover {
  background: #eaf3fa;
}
.click-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  color: #a1afc5;
  font-size: 13px;
  margin: var(--space-field) 0 0;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}
.click-hint span {
  font-size: 23px;
}
.age-card {
  padding-bottom: var(--space-field);
}
.quiz-proof {
  text-align: center;
  font-size: 14px;
  margin: var(--space-section) 0;
}
.quiz-footer {
  text-align: center;
  color: #81a6c7;
  font-size: 14px;
  line-height: 22px;
}
.quiz-footer p {
  color: inherit;
  margin: 0;
}
.theme-search {
  position: relative;
  margin: var(--space-xs) 0 var(--space-field);
}
.theme-search input {
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: var(--space-sm) var(--space-md) var(--space-sm) 40px;
  font-size: 14px;
}
.theme-search:before {
  content: "⌕";
  position: absolute;
  left: 14px;
  top: 7px;
  font-size: 25px;
  color: #9aa9be;
}
.theme-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-section);
}
.filter {
  border: 1px solid #e4e9ee;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  background: white;
}
.filter.active {
  border-color: #9ae3ce;
  background: #eafaf5;
  color: #009d6a;
}
.theme-option {
  min-height: 116px;
  padding: var(--space-sm) var(--space-xs);
}
.theme-option .category {
  font-size: 9px;
  font-weight: 800;
  color: #9aa7bb;
  letter-spacing: 0.7px;
  margin-bottom: var(--space-xs);
}
.theme-option .emoji {
  font-size: 28px;
}
.theme-option strong {
  font-size: 13px;
  line-height: 18px;
}
.styles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: var(--space-section);
}
.style-card {
  position: relative;
  aspect-ratio: 3/4;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
}
.style-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.style-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(transparent 55%, #24354099);
}
.style-card .style-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 14px;
}
.style-name {
  position: absolute;
  bottom: 9px;
  left: 0;
  right: 0;
  color: white;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}
.style-card.selected {
  border-color: #8cd9c5;
  box-shadow: 0 3px 4px #0003;
}
.styles-grid.has-selection .style-card:not(.selected) {
  opacity: 0.5;
}
.zoom-style {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4a556880;
  color: white;
  font-size: 19px;
  z-index: 2;
}
.field {
  display: block;
  margin-top: 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}
.field input {
  display: block;
  width: 100%;
  border: 2px solid #d5dce6;
  background: white;
  border-radius: 16px;
  padding: 13px var(--space-sm);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin-top: var(--space-xs);
  outline: none;
}
.field textarea {
  display: block;
  width: 100%;
  border: 2px solid #d5dce6;
  background: white;
  border-radius: 16px;
  padding: 13px var(--space-sm);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin-top: var(--space-xs);
  outline: none;
}
.field select {
  display: block;
  width: 100%;
  border: 2px solid #d5dce6;
  background: white;
  border-radius: 16px;
  padding: 13px var(--space-sm);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  margin-top: var(--space-xs);
  outline: none;
}
.field input:focus {
  border-color: #64cbb4;
}
.field textarea:focus {
  border-color: #64cbb4;
}
.field select:focus {
  border-color: #64cbb4;
}
.field input::placeholder {
  color: #9da9bc;
}
.field textarea::placeholder {
  color: #9da9bc;
}
.field textarea {
  min-height: 76px;
  resize: vertical;
}
.field small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #7186a6;
  margin-top: 4px;
}
.help {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #7186a6;
  margin-top: 4px;
}
.segments {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}
.segment {
  flex: 1;
  border: 2px solid #e1e6ec;
  border-radius: 16px;
  padding: 11px var(--space-xs);
  font-size: 14px;
  position: relative;
  background: white;
}
.segment.selected {
  border-color: #aeead7;
  box-shadow: 0 3px 4px #0001;
}
.person-form {
  margin-top: var(--space-section);
}
.upload-tips {
  background: #f8fafc;
  border-radius: 16px;
  padding: 18px 14px;
  margin: var(--space-section) 0;
  font-size: 13px;
}
.upload-tips > strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 14px;
  color: #8495ad;
}
.tip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  font-size: 12px;
}
.tip-grid span {
  font-size: 23px;
  display: block;
  margin-bottom: 4px;
}
.upload-box {
  border: 2px dashed #d3dce7;
  border-radius: 20px;
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: #7186a6;
  padding: var(--space-field);
}
.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.upload-box .upload-icon {
  font-size: 32px;
  color: #9bb0c8;
}
.upload-box img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
}
.upload-box.has-photo {
  padding: 0;
  border-color: #aeead7;
}
.delete-photo {
  position: absolute;
  right: 8px;
  top: 8px;
  background: #667085;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 4px #0002;
}
.photo-privacy {
  font-size: 12px;
  color: #9aa9bd;
  text-align: center;
  line-height: 18px;
  margin: var(--space-sm) 0 0;
}
.preview-box {
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  background: #f8fafc;
  padding: 36px var(--space-field);
  text-align: center;
  margin-top: 28px;
}
.preview-box p {
  font-size: 14px;
}
.spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #e5eaf0;
  border-top-color: #ffaaca;
  margin: 0 auto var(--space-section);
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.error-message {
  font-size: 13px;
  color: #e04468;
  text-align: center;
  margin-top: var(--space-md);
}
.quiz-card .review-actions .primary {
  padding: var(--space-sm) var(--space-field);
  font-size: 14px;
}
.age-card header > p {
  margin-bottom: var(--space-section);
}
.age-card h1 {
  white-space: normal;
}
.no-results {
  grid-column: 1/-1;
  text-align: center;
  font-size: 14px;
}
.quiz::before {
  content: "";
  inset: 0;
  pointer-events: none;
  box-shadow: inset 9px 0 15px -12px #26486260;
}
@media (min-width: 600px) {
  .quiz main {
    padding-top: var(--space-section);
  }
  .quiz-card {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
  .age-card h1 {
    white-space: normal;
  }
}
.option {
  font-weight: 700;
}
.option strong {
  font-weight: 700;
}
.option .emoji {
  font-size: 28px;
  line-height: 32px;
}
.quiz-proof {
  font-weight: 700;
}
.age-card header > p:not(.intro-note) {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-section);
}
.age-card .options {
  transform: translateY(-3px);
}
.age-card .click-hint {
  margin-top: 18px;
}
.quiz-footer {
  margin-top: var(--space-field);
}
.quiz-card .field {
  font-weight: 700;
}
.segment {
  font-weight: 700;
}
.option.selected {
  background: #f1f5f9;
}
body.quiz {
  position: relative;
  background: linear-gradient(180deg, #eaf6ff 0%, #d4edff 30%, #a6dbff 90%);
}
.quiz::before {
  position: absolute;
}
.quiz:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 30px 32px;
  border-color: transparent transparent #99d1f5 transparent;
  pointer-events: none;
}

[hidden] {
  display: none !important;
}

.review-confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.generated-previews {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin: var(--space-section) 0 var(--space-sm);
}
.generated-card {
  margin: 0;
  padding: 10px;
  background: #f6faff;
  border: 1px solid #dfeaf4;
  border-radius: 18px;
  overflow: hidden;
}
.generated-card figcaption {
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  margin: 2px 0 10px;
}
.generated-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.generated-placeholder {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fffdf8;
  border-radius: 12px;
  padding: var(--space-sm);
  text-align: center;
}
.generated-placeholder .spinner {
  width: 36px;
  height: 36px;
  margin: 0 0 var(--space-sm);
}
.generated-placeholder span {
  font-size: 30px;
  color: #ff8fac;
}
.generated-placeholder p {
  font-size: 13px;
  line-height: 20px;
  margin: 0;
  color: #8094ae;
}
.preview-note {
  font-size: 13px;
  text-align: center;
  line-height: 20px;
  margin: var(--space-sm) 0 var(--space-field);
}
.retry-preview {
  display: block;
  margin: var(--space-sm) auto var(--space-section);
  border: 1px solid #c4e6db;
  background: #effaf5;
  border-radius: 99px;
  padding: 10px var(--space-field);
  font-weight: 800;
  font-size: 14px;
  color: #159776;
}
@media (max-width: 370px) {
  .generated-card {
    padding: var(--space-xs);
  }
  .generated-card img {
    height: 190px;
  }
  .generated-placeholder {
    height: 190px;
  }
}

.preview-comparison {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 360px;
  margin: var(--space-section) auto var(--space-sm);
  border: 4px solid white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 24px #0002;
  background: #f6faff;
  --split: 50%;
}
.preview-comparison img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-comparison .original-photo {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.preview-comparison .divider {
  position: absolute;
  left: var(--split);
  top: 0;
  bottom: 0;
  width: 3px;
  background: white;
  pointer-events: none;
}
.preview-comparison .divider:after {
  content: "↔";
  position: absolute;
  top: 48%;
  left: -19px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.preview-comparison input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  margin: 0;
}
.preview-comparison:focus-within {
  outline: 3px solid #229bd0;
  outline-offset: 4px;
}
.preview-comparison .compare-labels {
  position: absolute;
  bottom: 14px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: white;
  text-shadow: 0 1px 3px #000;
  pointer-events: none;
}
.generated-previews .generated-card img {
  height: auto;
  max-height: 460px;
  aspect-ratio: 2/3;
}

.quiz-video {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: 18px;
  background: #000;
  margin: var(--space-section) auto 0;
}

#discount-popup {
  max-height: calc(100dvh - 32px);
  border: 0;
  text-align: center;
  background: #fffdf7;
  box-shadow: 0 24px 70px #26374855;
  overflow: auto;
}
#discount-popup::backdrop {
  background: #24374c88;
  backdrop-filter: blur(4px);
}
#discount-popup .close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 24px;
}
#discount-popup .discount-amount {
  font-family: Fredoka;
  color: #ff1760;
}

.review-price-card {
  margin-top: 28px;
  padding: var(--space-section) 18px;
  border: 2px solid #ffe18a;
  border-radius: 22px;
  background: #fffaf0;
  text-align: center;
}
.review-price-card > span {
  font-size: 13px;
  font-weight: 800;
  color: #9a7b35;
}
.review-price-card h2 {
  font-size: 27px;
  margin: 10px 0;
}
.review-price-card p {
  font-size: 14px;
  line-height: 22px;
  margin: 10px 0 0;
}
.sales-testimonials {
  margin-top: 36px;
}
.sales-faq {
  margin-top: 36px;
}
.sales-testimonials h2 {
  font-size: 24px;
  line-height: 30px;
  text-align: center;
}
.sales-faq h2 {
  font-size: 24px;
  line-height: 30px;
  text-align: center;
}
.sales-faq details {
  padding: 17px 0;
  border-bottom: 1px solid #e3eaf1;
}
.sales-faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}
.sales-faq details p {
  font-size: 14px;
  line-height: 23px;
  margin: var(--space-sm) 0 0;
}
.sales-faq h2 {
  margin-bottom: var(--space-sm);
}
.sales-dedication {
  padding: var(--space-field);
  background: #fff8ed;
  border-radius: 18px;
  text-align: center;
  margin: 22px 0;
}
.sales-dedication > span {
  font-size: 12px;
  font-weight: 800;
  color: #a88448;
}
.sales-dedication h3 {
  font-size: 18px;
  margin-top: var(--space-sm);
}
.sales-dedication p {
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 0;
}

.book-stage {
  padding: var(--space-section) 18px 34px;
  perspective: 1100px;
  overflow: hidden;
  margin: 6px -var(--space-xs) 0;
}
.book-mockup {
  position: relative;
  width: min(175px, 65%);
  aspect-ratio: 2/3;
  margin: 0 auto;
  transform: rotateY(-13deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(12px 20px 16px #26384e35);
}
.book-front {
  position: absolute;
  inset: 0;
  border-radius: 3px 9px 9px 3px;
  overflow: hidden;
  background: #f2e7cf;
  box-shadow:
    inset 2px 0 3px #0003,
    2px 2px 3px #0002;
  z-index: 2;
}
.book-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.book-front:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #0003 0,
    transparent 3%,
    #fff5 4%,
    transparent 7%,
    transparent 94%,
    #ffffff30 100%
  );
  border: 1px solid #ffffff35;
  border-radius: inherit;
}
.book-spine {
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #0002;
  box-shadow: 1px 0 2px #fff4;
}
.book-pages {
  position: absolute;
  top: 5px;
  bottom: -1px;
  left: 6px;
  right: -10px;
  border-radius: 3px 8px 8px 3px;
  background: repeating-linear-gradient(90deg, #f8f3e9 0 1px, #dcd6c9 1px 2px);
  transform: translateZ(-5px);
  box-shadow: 2px 3px 2px #0002;
}
@media (prefers-reduced-motion: reduce) {
  .book-mockup {
    transform: none;
  }
}
.quiz-brand {
  width: 146px;
  height: 62px;
  object-fit: contain;
}
.sales-security-seals {
  margin: var(--space-lg) auto;
  max-width: 380px;
}
.sales-security-seals img {
  display: block;
  width: 100%;
  height: auto;
}

.quiz-video-player {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-height: 560px;
  margin: var(--space-section) auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}
.quiz-video-player .quiz-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: 0;
}
.video-play-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #15803de8;
  color: #fff;
  box-shadow: 0 4px 24px #0005;
  border: 2px solid #fff9;
  z-index: 1;
}
.video-play-toggle span {
  font-size: 34px;
  line-height: 1;
}
.video-play-toggle:not(.is-playing) span {
  margin-left: 5px;
}
.video-play-toggle.is-playing {
  opacity: 0;
  pointer-events: none;
}
.video-play-toggle:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.option.selected::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #24b98d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  box-shadow: 0 2px 4px #17463820;
  pointer-events: none;
  z-index: 3;
}

.style-card.selected::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #24b98d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  box-shadow: 0 2px 4px #17463820;
  pointer-events: none;
  z-index: 3;
}

.segment.selected::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #24b98d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  box-shadow: 0 2px 4px #17463820;
  pointer-events: none;
  z-index: 3;
}

.gift-included {
  margin: 22px 0 18px;
  padding: var(--space-sm);
  background: #eafaf3;
  border-radius: 14px;
  color: #218d6e;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.gift-addons {
  display: grid;
  gap: 14px;
}
.gift-addon {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  padding: 18px 14px;
  border: 2px solid #dce6f0;
  border-radius: 18px;
  background: #f8fbff;
  cursor: pointer;
}
.gift-addon.selected {
  border-color: #61cbb0;
  background: #effcf6;
}
.gift-addon input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #16a34a;
}
.gift-addon-art {
  width: 58px;
  height: 68px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 10px;
}
.gift-addon-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.gift-addon-copy strong {
  font-size: 15px;
  line-height: 20px;
}
.gift-addon-copy > span {
  font-size: 12px;
  line-height: 18px;
  color: #7186a6;
}
.gift-addon-copy b {
  font-size: 16px;
  color: #ff1760;
}
.offer-receipt {
  margin-top: var(--space-section);
  padding: var(--space-md);
  border-radius: 16px;
  background: #f8fafc;
  font-size: 13px;
}
.offer-receipt > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 5px 0;
}
.offer-receipt > div > span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}
.offer-receipt > .offer-total {
  border-top: 1px solid #dce5ee;
  margin-top: var(--space-xs);
  padding-top: var(--space-sm);
  font-size: 17px;
}
.offer-total > strong:last-child {
  color: #16a34a;
}
@media (max-width: 370px) {
  .gift-addon {
    padding: 14px 10px;
    gap: var(--space-xs);
  }
  .gift-addon-art {
    width: 44px;
    height: 56px;
  }
  .gift-addon-copy strong {
    font-size: 14px;
  }
}

.optional-details {
  margin: var(--space-field) 0;
  text-align: left;
  border-top: 1px solid #e1e8ef;
  padding-top: var(--space-md);
}
.optional-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #526784;
}
.optional-details[open] summary {
  margin-bottom: var(--space-md);
}
.more-options {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: 0;
  color: #526784;
  text-decoration: underline;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.progress {
  width: auto;
  max-width: 100%;
  min-width: 0;
}
.progress-fill {
  max-width: 100%;
}
.progress-label {
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  max-width: calc(100% - 12px);
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: 10px;
  background: white;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
:root {
  --ui-gutter: 16px;
  --ui-card-x: 20px;
  --ui-space: 24px;
  --ui-gap: 12px;
  --ui-button-height: 52px;
}
.quiz main {
  max-width: 600px;
  padding: var(--space-section) var(--page-gutter) var(--space-lg);
}
.quiz-brand {
  margin: 0 auto var(--space-section);
}
.quiz .progress {
  margin: 0 4px var(--space-section);
}
.quiz .quiz-card {
  padding: var(--space-section) var(--ui-card-x);
  border-radius: 24px;
  min-width: 0;
}
.quiz .quiz-card.age-card {
  padding: var(--space-section) var(--ui-card-x);
  border-radius: 24px;
  min-width: 0;
}
.quiz .quiz-card header {
  margin: 0 0 var(--space-section);
}
.quiz .quiz-card header h1 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  overflow-wrap: anywhere;
}
.quiz .quiz-card header > p {
  margin: var(--space-xs) 0 0;
  text-align: center;
}
.quiz .age-card header > p:not(.intro-note) {
  margin: var(--space-xs) 0 0;
  text-align: center;
}
.quiz .quiz-card h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}
.quiz .retry-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  padding: var(--space-sm) var(--space-md);
  border-radius: 999px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
}
#discount-popup .primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  padding: var(--space-sm) var(--space-md);
  border-radius: 999px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
}
.quiz .more-options {
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz .click-hint {
  font-size: 13px;
  line-height: 20px;
  margin: var(--space-section) 0 0;
  gap: var(--space-xs);
  white-space: normal;
}
.quiz .age-card .click-hint {
  font-size: 13px;
  line-height: 20px;
  margin: var(--space-section) 0 0;
  gap: var(--space-xs);
  white-space: normal;
}
.quiz .more-options + .click-hint {
  margin-top: var(--space-sm);
}
.quiz .options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: 0;
  transform: none;
}
.quiz .styles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: 0;
  transform: none;
}
.quiz .option {
  min-height: 132px;
  padding: var(--space-md) 10px;
  border-radius: 16px;
  min-width: 0;
}
.quiz .theme-option {
  min-height: 132px;
  padding: var(--space-md) 10px;
  border-radius: 16px;
  min-width: 0;
}
.quiz .option strong {
  overflow-wrap: anywhere;
}
.quiz .theme-option strong {
  overflow-wrap: anywhere;
}
.quiz .option small {
  margin-top: 6px;
}
.quiz .option .emoji {
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 6px;
}
.quiz .theme-option .category {
  margin-bottom: 6px;
}
.quiz .person-form > .field {
  margin-top: var(--space-field);
  font-size: 14px;
  line-height: 20px;
}
.quiz .person-form > .field:first-child {
  margin-top: 0;
}
.quiz .field {
  font-size: 14px;
  line-height: 20px;
  margin-top: var(--space-field);
}
.quiz .field input {
  font-size: 16px;
  line-height: 22px;
  min-height: 52px;
  border-radius: 14px;
  margin-top: var(--space-xs);
  padding: 13px var(--space-sm);
  min-width: 0;
}
.quiz .field textarea {
  font-size: 16px;
  line-height: 22px;
  border-radius: 14px;
  margin-top: var(--space-xs);
  padding: 13px var(--space-sm);
  min-width: 0;
}
.quiz .theme-search input {
  line-height: 22px;
  border-radius: 14px;
  padding: 13px var(--space-sm);
  min-width: 0;
}
.quiz .field textarea {
  min-height: 104px;
}
.quiz .field small {
  margin-top: 6px;
}
.quiz .segments {
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}
.quiz .segment {
  min-width: 0;
  min-height: 48px;
  padding: var(--space-sm) var(--space-xs);
  font-size: 14px;
  line-height: 20px;
  border-radius: 14px;
}
.quiz .optional-details {
  margin: var(--space-section) 0 0;
  padding-top: var(--space-md);
}
.quiz .optional-details summary {
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
}
.quiz .optional-details[open] summary {
  margin-bottom: var(--space-md);
}
.quiz .optional-details .field:first-of-type {
  margin-top: 0;
}
.quiz .theme-search input {
  margin-top: 0;
}
.quiz .theme-filters {
  gap: var(--space-xs);
  margin-bottom: var(--space-section);
}
.quiz .filter {
  padding: var(--space-xs) var(--space-sm);
  line-height: 18px;
}
.quiz .zoom-style {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.quiz .upload-tips {
  margin: 0 0 var(--space-section);
  padding: var(--space-md);
  border-radius: 16px;
}
.quiz .upload-box {
  min-height: 160px;
  border-radius: 18px;
}
.quiz .upload-box.has-photo img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  max-height: none;
}
.quiz .photo-privacy {
  margin: var(--space-md) 0 0;
  text-align: center;
}
.quiz .delete-photo {
  width: 44px;
  height: 44px;
}
.quiz .quiz-video-player {
  margin: 0;
  width: 100%;
  aspect-ratio: 1;
}
.quiz .preview-comparison {
  margin: 0 auto;
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
}
.quiz .preview-note {
  font-size: 13px;
  line-height: 20px;
  margin: var(--space-md) 0 0;
}
.quiz .generated-previews {
  margin: 0;
}
.quiz .retry-preview {
  margin: var(--space-section) 0 0;
}
.quiz .gift-included {
  margin: 0 0 var(--space-section);
  padding: var(--space-sm);
  font-size: 13px;
  line-height: 20px;
}
.quiz .gift-addons {
  gap: var(--space-sm);
}
.quiz .gift-addon {
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-sm);
  border-radius: 16px;
}
.quiz .gift-addon input {
  width: 20px;
  height: 20px;
}
.quiz .gift-addon-art {
  width: 48px;
  height: 60px;
}
.quiz .gift-addon-copy {
  gap: var(--space-xs);
}
.quiz .gift-addon-copy b {
  font-size: 16px;
  line-height: 22px;
}
.quiz .offer-receipt {
  margin-top: var(--space-section);
  padding: var(--space-md);
  text-align: left;
}
.quiz .offer-receipt > div {
  padding: 6px 0;
  gap: var(--space-sm);
  align-items: flex-start;
}
.quiz .offer-receipt > div > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.quiz .offer-total {
  padding-top: var(--space-sm);
  margin-top: var(--space-xs);
  font-size: 16px;
  line-height: 24px;
}
.quiz .book-stage {
  margin: 0;
  padding: var(--space-md) var(--space-sm) var(--space-section);
}
.quiz .sales-dedication {
  padding: var(--space-md);
  text-align: left;
}
.quiz .sales-testimonials {
  margin-top: var(--space-section);
}
.quiz .sales-faq {
  margin-top: var(--space-section);
}
.quiz .review-price-card {
  margin-top: var(--space-lg);
  padding: var(--space-field) var(--space-md);
  border-radius: 18px;
}
.quiz .review-price-card h2 {
  margin: var(--space-xs) 0;
  font-size: 24px;
  line-height: 30px;
}
.quiz .review-price-card > p {
  margin: var(--space-xs) 0 0;
}
.quiz .sales-faq h2 {
  margin-bottom: var(--space-xs);
}
.quiz .sales-faq details {
  padding: var(--space-md) 0;
}
.quiz .sales-faq details p {
  font-size: 14px;
  line-height: 22px;
  margin-top: var(--space-sm);
}
.quiz .quiz-proof {
  margin: var(--space-section) 0;
  font-size: 13px;
  line-height: 20px;
}
.quiz .quiz-footer {
  margin-top: var(--space-section);
  font-size: 12px;
  line-height: 20px;
}
#discount-popup {
  width: calc(100vw - 32px);
  max-width: 420px;
  padding: var(--space-section) var(--space-field);
  border-radius: 24px;
}
#discount-popup .gift {
  font-size: 44px;
  line-height: 52px;
  margin: 0 0 var(--space-md);
}
#discount-popup h2 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
}
#discount-popup p {
  font-size: 15px;
  line-height: 22px;
  margin: var(--space-md) 0 0;
}
#discount-popup .discount-amount {
  font-size: 36px;
  line-height: 44px;
  margin: var(--space-section) 0 0;
}
#discount-popup .discount-price {
  font-size: 16px;
  line-height: 24px;
  margin: var(--space-xs) 0 0;
}
#discount-popup .primary {
  margin: var(--space-section) 0 0;
}
#discount-popup .primary + p {
  margin-top: var(--space-section);
  font-size: 12px;
  line-height: 18px;
}
@media (max-width: 350px) {
  .quiz .gift-addon {
    gap: var(--space-xs);
    padding: 14px 10px;
  }
  .quiz .gift-addon-art {
    width: 40px;
    height: 52px;
  }
}

.quiz .progress-label {
  width: max-content;
  max-width: calc(100% - 12px);
  white-space: nowrap;
}
.quiz .styles-grid.has-selection .style-card:not(.selected) {
  opacity: 1;
}
.quiz .options {
  grid-auto-rows: 1fr;
}
.quiz .more-options {
  width: 100%;
  min-height: 44px;
  margin: var(--space-md) 0 0;
  padding: var(--space-xs) var(--space-sm);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #526784;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiz .theme-tools {
  margin: 0 0 var(--space-field);
  text-align: center;
}
.quiz .theme-tools > summary {
  display: inline-block;
  min-height: 44px;
  padding: 10px var(--space-xs);
  cursor: pointer;
  color: #526784;
  font-size: 14px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
}
.quiz .theme-tools > summary::-webkit-details-marker {
  display: none;
}
.quiz .theme-tools[open] > summary {
  margin-bottom: var(--space-sm);
}
.quiz .theme-tools .theme-filters {
  margin-bottom: 0;
  text-align: left;
}
.quiz .theme-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-field);
  margin-top: var(--space-md);
}
.quiz .theme-pagination button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid #dce6f0;
  border-radius: 10px;
  color: #526784;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}
.quiz .theme-pagination button:disabled {
  opacity: 0.3;
}
.quiz .theme-page-count {
  min-width: 56px;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.quiz .gift-addon {
  align-items: center;
}
.quiz .gift-addon.selected {
  align-items: center;
}
.quiz .gift-addon input {
  margin: 0;
  align-self: center;
}
.quiz .gift-addon-art {
  align-self: center;
}
.quiz-card.step-enter {
  animation: quiz-step-enter 220ms ease-out both;
}
@keyframes quiz-step-enter {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-card.step-enter {
    animation: none;
  }
}
.quiz .quiz-card header > p {
  font-size: 16px;
  line-height: 24px;
  color: #526784;
}
.quiz .age-card header > p:not(.intro-note) {
  font-size: 16px;
  line-height: 24px;
  color: #526784;
}
.quiz .option strong {
  font-size: 15px;
  line-height: 21px;
}
.quiz .theme-option strong {
  font-size: 15px;
  line-height: 21px;
}
.quiz .style-name {
  font-size: 15px;
  line-height: 21px;
}
.quiz .option small {
  font-size: 14px;
  line-height: 20px;
  color: #526784;
}
.quiz .theme-option .category {
  font-size: 11px;
  line-height: 15px;
  color: #526784;
  letter-spacing: 0.3px;
}
.quiz .help {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.quiz .field small {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.quiz .photo-privacy {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.quiz .tip-grid {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.quiz .upload-tips > strong {
  font-size: 12px;
  line-height: 18px;
  color: #526784;
}
.quiz .upload-box {
  color: #526784;
}
.quiz .theme-search {
  margin: 0 0 var(--space-xs);
}
.quiz .theme-search input {
  font-size: 16px;
  min-height: 52px;
  padding-left: 40px;
}
.quiz .theme-tools {
  margin-bottom: var(--space-field);
}
.quiz .filter {
  min-height: 44px;
  font-size: 14px;
  color: #526784;
}
.quiz .filter.active {
  color: #08754f;
}
.quiz .gift-addon-copy strong {
  font-size: 15px;
  line-height: 21px;
}
.quiz .gift-addon-copy > span {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.quiz .gift-addon-copy p {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.quiz .gift-addon-copy small {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.quiz .offer-receipt {
  font-size: 15px;
  line-height: 23px;
}
.quiz .offer-receipt .offer-total {
  font-size: 20px;
  line-height: 28px;
}
.quiz .click-hint {
  color: #526784;
}
.quiz .theme-page-count {
  color: #526784;
}
.quiz .quiz-footer {
  color: #486780;
}
.quiz .quiz-footer a {
  color: inherit;
}
.quiz .sales-faq summary {
  font-size: 16px;
  line-height: 24px;
}
.quiz .sales-faq p {
  font-size: 15px;
  line-height: 23px;
  color: #526784;
}
.quiz .review-price-card > p {
  font-size: 15px;
  line-height: 23px;
  color: #526784;
}
#discount-popup p:not(:last-child) {
  font-size: 16px;
  line-height: 24px;
  color: #526784;
}
.quiz .quiz-card h1 {
  overflow-wrap: anywhere;
}
.quiz .quiz-card h2 {
  overflow-wrap: anywhere;
}

.quiz .preview-box p {
  color: #526784;
}

.quiz .optional-details summary {
  color: #526784;
}

.quiz .gift-included {
  color: #526784;
}
.quiz .field input::placeholder {
  color: #64748b;
}
.quiz .field textarea::placeholder {
  color: #64748b;
}

.quiz .gift-addon-art.gift-addon-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f0eafa;
  color: #7560aa;
  align-self: center;
}
.gift-addon-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}
@media (max-width: 350px) {
  .quiz .gift-addon-art.gift-addon-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .gift-addon-icon svg {
    width: 24px;
    height: 24px;
  }
}

.quiz .sales-video {
  margin-top: var(--space-section);
}
.quiz .sales-video h2 {
  text-align: center;
}
.quiz .sales-video > p {
  text-align: center;
  font-size: 15px;
  line-height: 23px;
  color: #526784;
  margin: var(--space-xs) 0 var(--space-md);
}
.quiz .sales-video .quiz-video-player {
  margin: 0;
}

.quiz .sales-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.sales-proof-avatars {
  display: flex;
  padding-left: 0;
  flex-shrink: 0;
}
.sales-proof-avatars img {
  width: 28px;
  height: 28px;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
}
.sales-proof-avatars img + img {
  margin-left: -var(--space-xs);
}
.price-anchor-old {
  font-size: 15px;
  line-height: 23px;
  color: #526784;
}
.price-anchor-new {
  font-family: Fredoka, Nunito, sans-serif;
  font-size: 38px;
  line-height: 46px;
  font-weight: 600;
  color: #16a34a;
  margin: 6px 0;
}
.price-anchor-tag {
  font-size: 14px;
  line-height: 21px;
  color: #cb124c;
  font-weight: 700;
}
.quiz .sales-bonuses h2 {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin-bottom: var(--space-md);
}
.bonus-list {
  display: grid;
  gap: var(--space-sm);
}
.bonus-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--space-md) var(--space-sm);
  background: #f8fafc;
  border-radius: 16px;
}
.bonus-thumb {
  width: 56px;
  height: 56px;
  position: relative;
  flex-shrink: 0;
}
.bonus-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.bonus-ribbon {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ffd36c;
  color: #574013;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 800;
}
.bonus-info {
  min-width: 0;
}
.bonus-info strong {
  font-size: 15px;
  line-height: 21px;
  display: block;
}
.bonus-info p {
  font-size: 14px;
  line-height: 21px;
  color: #526784;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}

.quiz .sales-review-list {
  margin-top: var(--space-section);
}
.quiz .sales-testimonials .review-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: var(--space-sm);
}
.quiz .sales-testimonials .review-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 10px;
}
.quiz .sales-testimonials .review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px #0001;
}
.quiz .sales-testimonials .review-info {
  min-width: 0;
}
.quiz .sales-testimonials .review-info h4 {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #4a5568;
  margin: 0;
}
.quiz .sales-testimonials .review-stars {
  color: #c78b12;
  font-size: 12px;
  line-height: 18px;
  margin-top: 2px;
  letter-spacing: 1px;
}
.quiz .sales-testimonials .review-text {
  font-size: 14px;
  color: #526784;
  line-height: 21px;
  font-weight: 400;
}
.quiz .sales-testimonials .review-text strong {
  color: #4a5568;
  font-weight: 700;
}
.quiz .sales-testimonials .review-date {
  font-size: 12px;
  line-height: 18px;
  color: #64748b;
  margin-top: var(--space-xs);
  display: block;
  font-weight: 500;
}

.quiz .progress[hidden] {
  display: none;
}
.quiz .intro-promo {
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
  padding: 10px var(--space-sm);
  background: #fff2d2;
  color: #835d21;
  border-radius: 12px;
  margin-bottom: var(--space-field);
}
.quiz .intro-card h1 {
  font-size: 27px;
  line-height: 33px;
}
.intro-card h1 em {
  font-style: normal;
  color: #ff1760;
}
.intro-hero {
  width: 86%;
  margin: var(--space-field) auto;
}
.intro-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.quiz .intro-description {
  font-size: 16px;
  line-height: 24px;
  color: #526784;
  text-align: center;
  margin: 0;
}
.intro-description strong {
  color: #4a5568;
}

.quiz .original-price-card {
  background: #fff8e8;
  box-shadow: none;
  text-align: center;
}
.quiz .original-price-card .price-anchor-tag {
  font-size: 13px;
  line-height: 20px;
}
.quiz .sales-bonuses {
  margin-top: var(--space-section);
}
.quiz .sales-social-proof {
  margin: 0 0 var(--space-section);
}
.quiz .sales-dedication {
  margin-top: var(--space-section);
}
.quiz .sales-security-seals {
  margin: var(--space-section) auto 0;
}

.quiz .quiz-card .review-actions .primary {
  background: #15803d;
  color: #fff;
  animation: checkout-green-pulse 2s ease-out infinite;
  box-shadow: 0 4px 10px #15803d20;
}
.quiz .quiz-card .review-actions .primary:hover {
  background: #166534;
}
@keyframes checkout-green-pulse {
  0% {
    box-shadow:
      0 0 0 0 #15803d80,
      0 4px 10px #15803d20;
  }
  70% {
    box-shadow:
      0 0 0 12px #15803d00,
      0 4px 10px #15803d20;
  }
  100% {
    box-shadow:
      0 0 0 0 #15803d00,
      0 4px 10px #15803d20;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quiz .quiz-card .review-actions .primary {
    animation: none;
  }
}
.quiz .original-price-card {
  padding: var(--space-section) var(--space-field);
  border: 1px solid #f1dfb8;
  border-radius: 20px;
  margin-top: var(--space-section);
}
.quiz .original-price-card .price-anchor-old {
  font-size: 14px;
  line-height: 22px;
  color: #718096;
}
.quiz .original-price-card .price-anchor-new {
  font-size: 42px;
  line-height: 50px;
  margin: 4px 0 14px;
  color: #12834e;
}
.quiz .original-price-card div.price-anchor-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: #ffefd0;
  font-size: 12px;
  line-height: 18px;
  color: #9a6525;
}
.sales-selected-extras {
  margin-top: var(--space-field);
  padding-top: var(--space-md);
  border-top: 1px solid #ecd8ac;
  text-align: left;
  display: grid;
  gap: var(--space-sm);
}
.quiz .original-price-card .sales-extras-heading {
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
  color: #718096;
  margin: 0 0 2px;
}
.sales-selected-extras > div {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 21px;
  color: #526784;
}
.sales-selected-extras > div > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.sales-selected-extras .sales-included-check {
  flex: 0 0 18px;
  color: #12834e;
  font-weight: 800;
}
.sales-selected-extras > div > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.price-anchor-old del {
  color: #c65a64;
  font-size: 13px;
}
#discount-popup .discount-price del {
  color: #c65a64;
  font-size: 13px;
}
#discount-popup .discount-price strong {
  color: #12834e;
  font-size: 22px;
}
.offer-book-row > span:first-child {
  font-weight: 700;
}
.offer-book-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}
.offer-book-price del {
  font-size: 12px;
  color: #c65a64;
}
.offer-book-price strong {
  font-size: 20px;
  line-height: 28px;
  color: #12834e;
}
@media (max-width: 600px) {
  .quiz .offer-receipt > .offer-book-row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xs);
  }
  .offer-book-row > span:first-child {
    font-size: 14px;
    line-height: 20px;
  }
  .offer-book-price {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    flex-shrink: 0;
  }
  .offer-book-price strong {
    font-size: 18px;
    line-height: 25px;
  }
  .offer-book-price del {
    font-size: 12px;
    line-height: 18px;
  }
}
.quiz .preview-box {
  padding: var(--space-section) var(--card-inline);
  margin-top: var(--space-section);
}
