#wizard-card-6 .ai-form-container {
  padding-bottom: 80px;
}

#wizard-card-6 .ai-form-subheading {
  margin-bottom: 0;
}
/* CLEAN: */
.title-purple {
  color: #5c3a92;
  font-size: 20px;
  text-align: center;
  margin-bottom: 8px;
  font-family: "Paymon";
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 2%;
}

/* CLEAN: */
.subtitle {
  margin-bottom: 20px;
  color: #100424;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-top: 16px;
  font-family: "Lato";
}

.book-cover img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-top: 12px;
}

.book-subtitle {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 12px;
  flex-direction: row;
  margin-top: 20px;
}

.tags span {
  background: #fff;
  color: #100424;
  padding: 12px 31px;
  border-radius: 12px;
  font-size: 14px;
  width: calc((100% - 12px) / 2);
  height: 79px;
  border: 1px solid #e2e8f0;
  font-weight: 400;
  line-height: 20px;
}

.features {
  margin-top: 25px;
}

.features h4,
.reviews h4 {
  margin-bottom: 10px;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  text-align: left;
  padding-bottom: 10px;
}

.features h4 {
  margin-bottom: 16px;
}

.features ul {
  padding-left: 0;
  color: #100424;
  font-size: 14px;
  list-style: none;
  text-align: left;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  line-height: 22px;
}

.features li {
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

li img {
  width: 16px;
  height: 16px;
  margin-top: 2px; /* tweak this to fine-tune vertical alignment */
}

.features ul span {
  font-size: 18px;
}

.review-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reviews h4 {
  margin-bottom: 4px;
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.review {
  display: flex;
  background: #fff;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
  max-width: 343px;
  margin: 0 auto;
}

.review-client {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-right: 12px;
}

.review-content strong {
  display: block;
  font-size: 14px;
}

.review-client-name-date {
  line-height: 22px;
}

.review-client-name-date strong {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

.review-date {
  color: #64748b;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
}

.stars {
  color: #f5b301;
  margin: 4px 0;
  margin-left: auto;
  font-size: 14px;
}

.review-text {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  margin: 0;
}

.book-thumbs {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.book-thumbs img {
  width: 53px;
  height: 53px;
  border-radius: 6px;
}

.cta {
  /* margin-top: -80px; */
  text-align: center;
  width: 100%;
  padding: 20px;
  background: #fff;
  color: white;
  /* transition: transform 0.3s ease, opacity 0.3s ease; */
}
#cta:not(.sticky-cta) {
  /* transform: translateY(0); */
}

.cta button:hover {
  background: #f57f17;
}

.cta button {
  background: #ef8429;
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  transition: background 0.3s;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1%;
  border: solid 1px #ef8429;
  box-shadow: 0px 1px 2px 0px #c05800;
  text-transform: inherit;
}

#cta-stop-trigger .back-btn {
  margin-top: 20px;
}

body .btn-primary,
#wizard-card-6 .btn-alt {
  text-transform: inherit;
  width: 100%;
  min-height: 46px;
  transition: background 0.3s;
  font-family: "Inter";
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -1%;
  padding: 14px 24px;
  border-radius: 8px;
}

#wizard-card-6 .btn-alt {
  background: transparent;
  color: #141b34;
}
#wizard-card-6 .btn-alt:focus {
  background: transparent;
  color: #141b34;
}

body .btn-primary {
  background-color: #ef8429;
  color: white;
  border: solid 1px #ef8429;
}

#wizard-card-6 .btn-alt.request-preview {
  width: 308px;
  min-height: 56px;
}

#wizard-card-6 .btn-alt:hover {
  background-color: white;
  color: #ef8429;
}

.back-btn {
  background: #e9eef4 !important;
  color: #100424 !important;
  font-family: "Inter" !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 140%;
  letter-spacing: -1%;
  padding: 10px 12px !important;
  min-width: auto !important;
}
.prod-image-container {
  width: 100% !important;
  height: auto !important;
}
.book-cover-img {
  width: 90%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  padding: 50px 30px 80px 40px;
}

/* Not only in reponsive: */
.sticky-cta {
  position: fixed;
  bottom: 0;
  z-index: 99;
  right: 0;
  left: 0;
}

@media (max-width: 767px) {
}

/* New Cover Preview - 18.5.2025 */
.cover-preview-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Ensures height = width */
  background-image: url("/wp-content/plugins/talesofme-book-form-wizard/assets/images/step-6/book-cover-preview-mockup.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-preview-overlay {
  width: 80%;
  height: 80%;
  background-image: url("/wp-content/plugins/talesofme-book-form-wizard/assets/images/step-6/book-cover-preview-bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Changed from flex-end to space-between */
  align-items: center;
  padding: 10px 5px 0; /* Preserved from your version */
  text-align: center;
}

.cover-preview-text {
  font-family: "Calson", serif;
  align-self: stretch; /* Optional: ensures text spans width */
}

.cover-preview-title {
  font-size: 28px;
  font-weight: 700; /*bold*/
  color: #f3e2a9;
  margin: 0;
  line-height: 1.2;
}

.cover-preview-subtitle {
  font-weight: 600; /*semi-bold*/
  font-size: 14px;
  color: #eaf6f1;
  margin: 0;
  line-height: 1.2;
}

.cover-preview-portrait {
  max-height: 80%;
  object-fit: contain;
}

.tom-popup {
  opacity: 0;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9998;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.tom-popup.show {
  opacity: 1;
  pointer-events: all;
}

.tom-popup_modal {
  position: absolute;
  width: 100%;
  left: 50%;
  bottom: 0%;
  transform: translate(-50%, 100%);
  transition: transform 0.4s ease;
}

.tom-popup.show .tom-popup_modal {
  transform: translate(-50%, 0%);
}

.tom-popup__close {
  display: block;
  padding: 5px;
  line-height: 0;
  border: 1px solid #bbb;
  border-radius: 999px;
  top: 13px;
  right: 13px;
  position: absolute;
}

.tom-popup__close:hover {
  background-color: #5c3a92;
  border-color: #5c3a92;
}

.tom-popup__close > svg {
  fill: #5c3a92;
}

.tom-popup__close:hover > svg {
  fill: white;
}

.tom-popup_modal {
  padding: 20px 12px;
  background-color: #fdfbf6;
  max-width: 440px;
  border-radius: 12px 12px 0px 0px;
}

.tom_rp h4 {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  margin-bottom: 0;
}

.tom_rp > p {
  margin-top: 6px;
  font-size: 16px;
  color: #636363;
  text-align: center;
}

.tom_rp > h4 {
  margin-top: 20px;
  color: #100424;
  font-family: "Nunito", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0px;
}

.tom_rp_card {
  margin-top: 12px;
  margin-bottom: 12px;
  background-color: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 16px;
}

.tom_rp .tom_rp_card input,
.tom_rp textarea {
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.tom_rp .tom_rp_card input:first-of-type {
  margin-top: 0;
}

.tom_rp textarea {
  padding: 8px 22px;
  overflow: hidden;
}

.tom_rp .tom_rp_card input:focus {
  outline: none;
  border-color: #ef8429;
}

.tom_rp span {
  color: #636363;
}
.tom_rp span.form-note {
  font-size: 14px;
}

.tom_rp button {
  margin-top: 20px;
}

#wizard-card-6 .next-btn .price-strike {
  text-decoration: line-through;
}
