/* ============================================
   All styles scoped to .ds-quiz-wrap to avoid conflicts with your WordPress theme
============================================ */
.ds-quiz-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
/*.ds-quiz-wrap {

  --warm-white: #fdfaf6;
  --charcoal: #1e1c1a;
  --mid: #5a5450;
  --light: #a09890;
  --accent: #b5874a;
  --accent-light: #e8d5b7;
  --accent-pale: #f5ede0;
  --green: #4a6741;
  --green-light: #d4e4d2;
  --border: #e2dbd3;
  --shadow: rgba(30,28,26,0.08);
}*/
.ds-quiz-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
}

/* Progress */
.ds-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--espresso);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ds-progress-bar-wrap {
  background: var(--plush);
  border-radius: 99px;
  height: 4px;
  margin-bottom: 32px;
  overflow: hidden;
}

.ds-progress-bar-fill {
  height: 100%;
  background: #a48e79;
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card */
.ds-card {
  background: var(--plush);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid var(--coffee);
}

.ds-question-num,
.ds-result-kicker {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.ds-question-text {
  font-family: "EB Garamond", serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Options */
.ds-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none !important;
  padding: 0 !important;
}

.ds-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1.5px solid var(--coffee) !important;
  border-radius: 4px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: none !important;
}

.ds-option-btn:hover,
.ds-option-btn.ds-selected  {
  border-color: var(--espresso) !important;
  background: var(--cream) !important;
  box-shadow: 0 4px 16px rgba(181,135,74,0.12) !important;
}

.ds-option-letter {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--plush);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 1px;
}

.ds-option-btn.ds-selected .ds-option-letter {
  background: #fff;
  color: var(--espresso);
}

.ds-option-text {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.ds-option-btn.ds-selected .ds-option-text {
  color: var(--charcoal);
  font-weight: 500;
}

/* Next button */
.ds-btn-next {
  position: relative;
  display: block;
  padding: 15px 20px 15px 20px;
  font-size: 14px;
  line-height: normal;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 100%;
  -webkit-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
  -o-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
  transition: background-color .5s ease, color .5s ease, border-color .5s ease;
  text-align: center;
  box-shadow: unset !important;
  text-decoration: unset !important;
  color: var(--plush)!important;
  background-color: var(--espresso);
  border: 2px solid var(--espresso);
  overflow: hidden;
  border-radius: 4px;
  margin-top: 2rem;
  opacity: 0;

  &:hover,
  &:focus{
    color: var(--espresso)!important;
    background-color: var(--cream);
    border-color: var(--cream);
  }
}

.ds-btn-next.ds-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* Result screen */
.ds-result-screen {
  display: none;
  text-align: center;
}
.ds-result-screen.ds-show {
  display: block;
  animation: dsQuizFadeUp 0.5s ease forwards;
}

.ds-result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--coffee);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.ds-result-desc {
  max-width: 440px;
  margin: 0 auto 28px;
}

.ds-result-title {
  font-family: "EB Garamond", serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 2rem;
}
.ds-result-cta{
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0;
}

.ds-btn-cta {
  position: relative;
  display: block;
  padding: 15px 20px 15px 20px;
  font-size: 14px;
  line-height: normal;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 100%;
  -webkit-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
  -o-transition: background-color .5s ease, color .5s ease, border-color .5s ease;
  transition: background-color .5s ease, color .5s ease, border-color .5s ease;
  text-align: center;
  box-shadow: unset !important;
  text-decoration: unset !important;
  color: var(--plush)!important;
  background-color: var(--espresso);
  border: 2px solid var(--espresso);
  overflow: hidden;
  border-radius: 4px;
  margin-top: 2rem;

  &:hover,
  &:focus{
    color: var(--espresso)!important;
    background-color: var(--cream);
    border-color: var(--cream);
  }
}
#ds-result-cta{
    margin-top: 1rem;
}



.ds-btn-retake {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--coffee);
  letter-spacing: 3px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 1rem;
  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease;
  &:hover,
  &:focus{
    color: var(--espresso)!important;
  }
}



/* Animations */
@keyframes dsQuizFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ds-card.ds-slide-out { animation: dsSlideOut 0.25s ease forwards; }
.ds-card.ds-slide-in  { animation: dsSlideIn 0.3s ease forwards; }

@keyframes dsSlideOut {
  to { opacity: 0; transform: translateX(-24px); }
}
@keyframes dsSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
