.kdw-kadewus {
  --kdw-font-body: "Lora", Georgia, serif;
  --kdw-font-ui: "Lora", Georgia, serif;
  box-sizing: border-box;
  color: var(--kdw-heading, #242424);
  font-family: var(--kdw-font-body);
  margin-inline: auto;
  max-inline-size: var(--kdw-container, 1200px);
  padding: clamp(16px, 3vw, 36px);
}

.kdw-kadewus *,
.kdw-kadewus *::before,
.kdw-kadewus *::after {
  box-sizing: inherit;
}

.kdw-kadewus [hidden] {
  display: none !important;
}

.kdw-kadewus .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  block-size: 1px;
  inline-size: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
}

.kdw-kadewus__panel {
  background: var(--kdw-surface, #fff);
  border: 1px solid var(--kdw-border, #d8d8d8);
  border-radius: var(--kdw-radius-lg, 20px);
  box-shadow: var(--kdw-shadow-md, 0 16px 40px rgb(0 0 0 / 8%));
  min-block-size: 520px;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px);
  position: relative;
}

.kdw-kadewus__screen {
  animation: kdw-kadewus-enter 240ms ease both;
  margin-inline: auto;
  max-inline-size: 920px;
}

.kdw-kadewus__eyebrow,
.kdw-kadewus__progress-text,
.kdw-kadewus__match,
.kdw-kadewus__meta {
  color: var(--kdw-red-dark, #a80001);
  font-family: var(--kdw-font-ui, "Lora", Georgia, serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.kdw-kadewus__eyebrow {
  align-items: center;
  display: flex;
  gap: 12px;
}

.kdw-kadewus__eyebrow::before {
  background: var(--kdw-gradient-main, linear-gradient(135deg, #ff4a4b 0%, #fa0607 48%, #a80001 100%));
  border-radius: 999px;
  block-size: 3px;
  content: "";
  flex: 0 0 52px;
  inline-size: 52px;
}

.kdw-kadewus h1,
.kdw-kadewus h2,
.kdw-kadewus h3,
.kdw-kadewus legend {
  color: var(--kdw-heading, #242424);
  font-family: var(--kdw-font-heading, "Cinzel Decorative", Georgia, serif);
  font-feature-settings: "kern" 0;
  font-kerning: none;
  font-weight: 700;
  line-height: 1.2;
  text-rendering: geometricPrecision;
}

.kdw-kadewus h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 0 0 20px;
  max-inline-size: 820px;
}

.kdw-kadewus h2 {
  font-size: clamp(27px, 4vw, 40px);
  margin: 0 0 16px;
}

.kdw-kadewus h3 {
  font-size: clamp(20px, 2vw, 25px);
  margin: 0 0 8px;
}

@media (min-width: 980px) {
  .kdw-kadewus [data-kadewus-results-title][data-result-mode="standard"] {
    font-size: clamp(29px, calc(2.5vw + 3px), 34px);
    white-space: nowrap;
  }
}

.kdw-kadewus h3 a {
  color: inherit;
  text-decoration: none;
}

.kdw-kadewus h3 a:hover {
  color: var(--kdw-red-dark, #a80001);
}

.kdw-kadewus__double-o {
  display: inline-block;
  margin-inline-end: .08em;
}

.kdw-kadewus__lead {
  color: var(--kdw-text, #4a4a4a);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  margin: 0 0 26px;
  max-inline-size: 760px;
}

.kdw-kadewus__desktop-break {
  display: none;
}

@media (min-width: 980px) {
  .kdw-kadewus__desktop-break {
    display: block;
  }
}

.kdw-kadewus__benefits {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.kdw-kadewus__benefits li {
  align-items: center;
  display: flex;
  gap: 11px;
}

.kdw-kadewus__benefits li::before {
  background: var(--kdw-red, #fa0607);
  border-radius: 50%;
  color: #fff;
  content: "✓";
  display: grid;
  flex: 0 0 24px;
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  font-weight: 800;
  inline-size: 24px;
  place-items: center;
}

.kdw-kadewus__button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: var(--kdw-radius-md, 12px);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--kdw-font-ui, "Lora", Georgia, serif);
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-block-size: 52px;
  padding: 13px 24px;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.kdw-kadewus__button--primary {
  background: var(--kdw-red-dark, #a80001);
  color: #fff;
}

.kdw-kadewus__button--primary:hover {
  background: var(--kdw-red-deep, #5a0001);
  color: #fff;
  transform: translateY(-1px);
}

.kdw-kadewus [data-kadewus-start],
.kdw-kadewus [data-kadewus-next],
.kdw-kadewus__card-cta[data-cta-type="choose_variant"],
.kdw-kadewus__card-cta[data-cta-type="add_to_cart"] {
  border: 0;
  background: linear-gradient(135deg, #a80001 0%, #5a0001 100%);
  color: #fff;
}

.kdw-kadewus [data-kadewus-start]:hover,
.kdw-kadewus [data-kadewus-next]:hover,
.kdw-kadewus__card-cta[data-cta-type="choose_variant"]:hover,
.kdw-kadewus__card-cta[data-cta-type="add_to_cart"]:hover {
  border: 0;
  background: linear-gradient(135deg, #5a0001 0%, #a80001 100%);
  color: #fff;
}

.kdw-kadewus__button--secondary {
  background: #fff;
  border-color: var(--kdw-heading, #242424);
  color: var(--kdw-heading, #242424);
}

.kdw-kadewus__button--secondary:hover {
  background: var(--kdw-heading, #242424);
  color: #fff;
}

.kdw-kadewus [data-kadewus-back],
.kdw-kadewus [data-kadewus-edit],
.kdw-kadewus [data-kadewus-restart] {
  background: #fff;
  border-color: var(--kdw-heading, #242424);
  color: var(--kdw-heading, #242424) !important;
}

.kdw-kadewus [data-kadewus-back]:hover,
.kdw-kadewus [data-kadewus-edit]:hover,
.kdw-kadewus [data-kadewus-restart]:hover {
  background: var(--kdw-heading, #242424);
  box-shadow: 0 10px 24px rgb(36 36 36 / 18%);
  color: #fff !important;
}

.kdw-kadewus__button--ghost {
  background: transparent;
  color: var(--kdw-red-dark, #a80001);
}

.kdw-kadewus__button--ghost:hover {
  background: var(--kdw-bg, #f3f3f3);
}

.kdw-kadewus__button[aria-disabled="true"],
.kdw-kadewus__button:disabled {
  cursor: wait;
  opacity: .68;
  pointer-events: none;
}

.kdw-kadewus__progress-wrap {
  margin-block-end: clamp(30px, 5vw, 54px);
}

@media (min-width: 621px) {
  .kdw-kadewus__progress-wrap {
    margin-block-end: clamp(15px, 2.5vw, 27px);
  }
}

.kdw-kadewus__progress-text {
  color: var(--kdw-text, #4a4a4a);
  letter-spacing: .04em;
  margin-block-end: 10px;
}

.kdw-kadewus__progress {
  background: var(--kdw-bg, #f3f3f3);
  border-radius: 999px;
  block-size: 7px;
  overflow: hidden;
}

.kdw-kadewus__progress span {
  background: linear-gradient(90deg, var(--kdw-red-light, #ff4a4b), var(--kdw-red, #fa0607), var(--kdw-red-dark, #a80001));
  block-size: 100%;
  display: block;
  inline-size: 16.666%;
  transition: inline-size 220ms ease;
}

.kdw-kadewus__question {
  border: 0;
  margin: 0;
  padding: 0;
}

.kdw-kadewus__question legend {
  border: 0;
  border-block-end: 0;
  font-size: clamp(25px, 4vw, 38px);
  margin: 0;
  padding: 0;
}

.kdw-kadewus__hint {
  color: var(--kdw-text, #4a4a4a);
  line-height: 1.65;
  margin: 12px 0 24px;
}

.kdw-kadewus__answers {
  display: grid;
  gap: 12px;
}

.kdw-kadewus__answer {
  cursor: pointer;
  display: block;
  min-block-size: 52px;
  position: relative;
}

.kdw-kadewus__answer input {
  block-size: 1px;
  inline-size: 1px;
  opacity: 0;
  position: absolute;
}

.kdw-kadewus__answer span {
  align-items: center;
  background: #fff;
  border: 2px solid var(--kdw-border, #d8d8d8);
  border-radius: var(--kdw-radius-md, 12px);
  display: flex;
  font-family: var(--kdw-font-ui, "Lora", Georgia, serif);
  font-weight: 650;
  min-block-size: 52px;
  padding: 13px 18px 13px 52px;
  position: relative;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.kdw-kadewus__answer span::before {
  border: 2px solid #777;
  border-radius: 50%;
  content: "";
  inset-inline-start: 18px;
  block-size: 20px;
  inline-size: 20px;
  position: absolute;
}

.kdw-kadewus__answer input[type="checkbox"] + span::before {
  border-radius: 5px;
}

.kdw-kadewus__answer input:checked + span {
  background: rgb(250 6 7 / 5%);
  border-color: var(--kdw-red, #fa0607);
  color: var(--kdw-red-dark, #a80001);
}

.kdw-kadewus__answer input:checked + span::before {
  background: var(--kdw-red, #fa0607);
  border-color: var(--kdw-red, #fa0607);
  box-shadow: inset 0 0 0 4px #fff;
}

.kdw-kadewus__field-error {
  color: var(--kdw-red-dark, #a80001);
  font-family: var(--kdw-font-ui, "Lora", Georgia, serif);
  font-weight: 700;
  margin: 14px 0 0;
}

.kdw-kadewus__navigation,
.kdw-kadewus__result-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-block-start: 30px;
}

.kdw-kadewus__loading,
.kdw-kadewus__error-screen {
  max-inline-size: 680px;
  padding-block: clamp(40px, 9vw, 110px);
  text-align: center;
}

.kdw-kadewus__spinner {
  animation: kdw-kadewus-spin 800ms linear infinite;
  border: 5px solid var(--kdw-bg, #f3f3f3);
  border-radius: 50%;
  border-top-color: var(--kdw-red, #fa0607);
  display: inline-block;
  block-size: 54px;
  inline-size: 54px;
  margin-block-end: 24px;
}

.kdw-kadewus__cards {
  display: grid;
  gap: 22px;
  margin-block-start: 34px;
}

.kdw-kadewus__card {
  background: #fff;
  border: 1px solid var(--kdw-border, #d8d8d8);
  border-radius: var(--kdw-radius-lg, 20px);
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  overflow: hidden;
}

.kdw-kadewus__match {
  background: var(--kdw-red-deep, #5a0001);
  color: #fff;
  margin: 0;
  min-block-size: 42px;
  padding: 13px 18px;
  text-align: center;
}

.kdw-kadewus__card[data-rank="1"] .kdw-kadewus__match {
  background: #fd2a2b;
  color: #fff;
}

.kdw-kadewus__cover {
  background: var(--kdw-bg, #f3f3f3);
  display: block;
  overflow: hidden;
}

.kdw-kadewus__cover span {
  display: block;
}

.kdw-kadewus__cover img {
  aspect-ratio: 3 / 4;
  display: block;
  inline-size: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.kdw-kadewus__cover:hover img {
  transform: scale(1.025);
}

.kdw-kadewus__card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.kdw-kadewus__meta {
  margin-block-end: 9px;
}

.kdw-kadewus__author,
.kdw-kadewus__construction,
.kdw-kadewus__availability {
  color: var(--kdw-text, #4a4a4a);
  font-size: 14px;
  margin: 0;
}

.kdw-kadewus__author {
  font-style: italic;
  margin-block-end: 13px;
}

.kdw-kadewus__why {
  color: var(--kdw-text, #4a4a4a);
  line-height: 1.6;
  margin: 12px 0;
}

.kdw-kadewus__construction {
  border-block-start: 1px solid var(--kdw-border, #d8d8d8);
  margin-block-start: auto;
  padding-block-start: 13px;
}

.kdw-kadewus__purchase {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block-start: 18px;
}

.kdw-kadewus__price {
  align-items: baseline;
  color: var(--kdw-heading, #242424);
  display: flex;
  flex-wrap: nowrap;
  font-family: var(--kdw-font-ui, "Lora", Georgia, serif);
  font-size: 20px;
  font-weight: 800;
  gap: 8px;
  margin: 0 0 4px;
  white-space: nowrap;
}

.kdw-kadewus__price > .woocommerce-Price-amount,
.kdw-kadewus__price > del,
.kdw-kadewus__price > ins {
  align-items: baseline;
  display: inline-flex;
  flex: 0 0 auto;
  white-space: nowrap;
}

.kdw-kadewus__price .woocommerce-Price-amount,
.kdw-kadewus__price .woocommerce-Price-currencySymbol,
.kdw-kadewus__price bdi {
  white-space: nowrap;
}

.kdw-kadewus__price del {
  color: #777;
  font-size: 14px;
  font-weight: 500;
}

.kdw-kadewus__price ins {
  color: var(--kdw-red-dark, #a80001);
  text-decoration: none;
}

.kdw-kadewus__availability::before {
  background: #248742;
  border-radius: 50%;
  content: "";
  display: inline-block;
  block-size: 8px;
  inline-size: 8px;
  margin-inline-end: 6px;
}

.kdw-kadewus__availability[data-status="backorder"]::before {
  background: #b66a00;
}

.kdw-kadewus__card-cta {
  flex: 0 0 auto;
  inline-size: 100%;
  margin-block-start: 2px;
  padding-inline: 17px;
}

.kdw-kadewus__card-cta.is-loading::after {
  animation: kdw-kadewus-spin 700ms linear infinite;
  border: 2px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  border-top-color: #fff;
  content: "";
  block-size: 16px;
  inline-size: 16px;
  margin-inline-start: 8px;
}

.kdw-kadewus__text-link {
  color: var(--kdw-red-dark, #a80001);
  font-family: var(--kdw-font-ui, "Lora", Georgia, serif);
  font-weight: 800;
  min-block-size: 48px;
  padding: 13px 4px;
}

.kdw-kadewus button:focus-visible,
.kdw-kadewus a:focus-visible,
.kdw-kadewus input:focus-visible + span,
.kdw-kadewus [tabindex="-1"]:focus-visible {
  outline: 3px solid var(--kdw-heading, #242424);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .kdw-kadewus__answers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .kdw-kadewus__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kdw-kadewus__card[data-rank="1"] {
    order: 2;
  }

  .kdw-kadewus__card[data-rank="2"] {
    order: 1;
  }

  .kdw-kadewus__card[data-rank="3"] {
    order: 3;
  }
}

@media (max-width: 620px) {
  .kdw-kadewus {
    padding: 8px;
  }

  .kdw-kadewus__eyebrow::before {
    flex-basis: 26px;
    inline-size: 26px;
  }

  .kdw-kadewus [data-kadewus-screen="start"] h1 {
    font-size: clamp(23px, 6.6vw, 26px);
  }

  .kdw-kadewus [data-kadewus-screen="start"] .kdw-kadewus__lead {
    font-size: 15px;
  }

  .kdw-kadewus__benefits li {
    font-size: 13px;
  }

  .kdw-kadewus__benefits li:nth-child(2) {
    line-height: 1.45;
  }

  .kdw-kadewus__answer span {
    line-height: 1.5;
  }

  .kdw-kadewus__panel {
    border-radius: var(--kdw-radius-md, 12px);
    min-block-size: 0;
  }

  .kdw-kadewus__navigation,
  .kdw-kadewus__result-actions,
  .kdw-kadewus__purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .kdw-kadewus__navigation .kdw-kadewus__button,
  .kdw-kadewus__result-actions .kdw-kadewus__button,
  .kdw-kadewus__card-cta {
    inline-size: 100%;
  }

  .kdw-kadewus__result-actions .kdw-kadewus__text-link {
    text-align: center;
  }

  .kdw-kadewus__navigation [data-kadewus-back] {
    order: 2;
  }
}

@media (max-width: 359px) {
  .kdw-kadewus {
    padding: 4px;
  }

  .kdw-kadewus__panel {
    padding: 20px 16px;
  }

  .kdw-kadewus h1 {
    font-size: 28px;
  }

  .kdw-kadewus h2 {
    font-size: 25px;
  }

  .kdw-kadewus__question legend {
    font-size: 23px;
  }

  .kdw-kadewus__answer span {
    padding: 12px 14px 12px 46px;
  }

  .kdw-kadewus__answer span::before {
    inset-inline-start: 15px;
  }

  .kdw-kadewus__cards {
    gap: 16px;
  }

  .kdw-kadewus__card-body {
    padding: 18px 16px;
  }

  .kdw-kadewus__price {
    font-size: 18px;
    gap: 6px;
  }

  .kdw-kadewus__price del {
    font-size: 12px;
  }

  .kdw-kadewus__button {
    padding-inline: 16px;
  }
}

@keyframes kdw-kadewus-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes kdw-kadewus-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .kdw-kadewus *,
  .kdw-kadewus *::before,
  .kdw-kadewus *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
