@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap");

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.wf-page {
  --ink: #271c22;
  --brand: #61233d;
  --soft: #f7eef1;
  --accent: #e6b7c8;
  --line: rgba(39, 28, 34, .18);
  --paper: #fff;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
}

.wf-mium {
  --ink: #1f2530;
  --brand: #1f2530;
  --soft: #dcecff;
  --accent: #ffe95c;
  --pink: #ffb3cc;
  --green: #b6e96c;
  --line: rgba(31, 37, 48, .2);
  --paper: #fffdf8;
  font-family: Manrope, sans-serif;
}

.wf-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  letter-spacing: .12em;
  text-align: center;
}

.wf-ticker { justify-content: space-around; }

.wf-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 74px;
  padding: 0 max(18px, 5vw);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.wf-home { font-size: 14px; font-weight: 800; }

.wf-brand {
  font: 600 18px "Playfair Display", serif;
  letter-spacing: .01em;
}

.wf-mium .wf-brand {
  font: 800 15px Manrope, sans-serif;
  letter-spacing: .12em;
}

.wf-cart {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.wf-cart b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.wf-mium .wf-cart {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
}

.wf-mium .wf-cart b {
  width: auto;
  height: auto;
  border: 0;
}

.wf-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 106px);
  min-height: 610px;
}

.wf-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(35px, 5vw, 76px);
  overflow: hidden;
  background: var(--soft);
}

.wf-visual::before,
.wf-visual::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  border-radius: 50%;
  content: "";
}

.wf-visual::before { width: 62%; aspect-ratio: 1; }
.wf-visual::after { width: 44%; aspect-ratio: 1; }

.wf-visual-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  height: min(68vh, 570px);
  border-radius: 220px 220px 24px 24px;
  background: rgba(255, 255, 255, .4);
  overflow: hidden;
}

.wf-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wf-visual-card {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 70px);
  bottom: clamp(24px, 5vw, 62px);
  display: grid;
  min-width: 235px;
  padding: 17px 19px;
  border: 1px solid var(--brand);
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 30px rgba(39, 28, 34, .12);
}

.wf-visual-card small { font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.wf-visual-card strong { margin: 4px 0; font: 600 20px "Playfair Display", serif; }
.wf-visual-card > span { color: var(--brand); font-size: 22px; font-weight: 700; }

.wf-mium .wf-visual {
  background: linear-gradient(145deg, #caeaff, #ffe6ef);
}

.wf-mium .wf-visual::before,
.wf-mium .wf-visual::after { display: none; }

.wf-mium .wf-visual-frame {
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: #fff;
  box-shadow: 9px 9px 0 var(--pink);
}

.wf-mium .wf-visual-frame img { object-fit: cover; }

.wf-mium .wf-visual-card {
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--accent);
}

.wf-mium .wf-visual-card strong { font: 800 18px Manrope, sans-serif; }
.wf-mium .wf-visual-card > span { color: var(--ink); }

.wf-form-side,
.wf-cart-side {
  display: grid;
  place-items: center;
  padding: clamp(30px, 6vw, 85px);
  background: var(--paper);
}

.wf-question { width: min(100%, 610px); }

.wf-progress {
  height: 3px;
  margin-bottom: 34px;
  background: var(--line);
}

.wf-progress i {
  display: block;
  height: 100%;
  background: var(--brand);
}

.wf-eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.wf-question h1,
.wf-summary-intro h1 {
  margin: 0;
  font: 600 clamp(38px, 4.2vw, 62px)/1.02 "Playfair Display", serif;
  letter-spacing: -.03em;
}

.wf-mium .wf-question h1,
.wf-mium .wf-summary-intro h1 {
  font: 800 clamp(38px, 4.2vw, 62px)/.98 Manrope, sans-serif;
  letter-spacing: -.055em;
}

.wf-hint {
  margin: 17px 0 25px;
  color: color-mix(in srgb, var(--ink) 70%, #fff);
  font-size: 15px;
  line-height: 1.5;
}

.wf-answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.wf-answers label { cursor: pointer; }
.wf-answers input { position: absolute; opacity: 0; pointer-events: none; }

.wf-answers span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 14px;
  transition: .18s ease;
}

.wf-answers span b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  font-size: 10px;
}

.wf-answers input:checked + span {
  border-color: var(--brand);
  background: var(--soft);
  color: var(--brand);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--brand);
}

.wf-answers input:checked + span b {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.wf-answers input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.wf-mium .wf-answers span {
  border: 2px solid var(--ink);
  border-radius: 15px;
  box-shadow: 4px 4px 0 var(--pink);
}

.wf-mium .wf-answers span b { border-color: var(--ink); color: var(--ink); }

.wf-mium .wf-answers input:checked + span {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.wf-mium .wf-answers input:checked + span b { background: var(--ink); color: #fff; }

.wf-actions { margin-top: 26px; }

.wf-actions button,
.wf-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}

.wf-actions button span,
.wf-checkout span { font-size: 22px; }

.wf-actions > p {
  margin: 10px 0 0;
  color: color-mix(in srgb, var(--ink) 60%, #fff);
  font-size: 11px;
  text-align: center;
}

.wf-mium .wf-actions button,
.wf-mium .wf-checkout { border-radius: 99px; background: var(--ink); }

.wf-summary-layout {
  background: linear-gradient(90deg, var(--soft) 0 52%, var(--paper) 52%);
}

.wf-summary-intro {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 7vw, 105px);
  overflow: hidden;
}

.wf-summary-intro > p:not(.wf-eyebrow) {
  max-width: 600px;
  margin: 20px 0 25px;
  font-size: 16px;
  line-height: 1.55;
}

.wf-answer-summary {
  max-width: 610px;
  border-top: 1px solid var(--line);
}

.wf-answer-summary > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.wf-answer-summary span { color: color-mix(in srgb, var(--ink) 58%, #fff); }
.wf-answer-summary strong { text-align: right; }

.wf-intro-product {
  position: absolute;
  right: 5%;
  bottom: 3%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px 10px 8px;
  border: 1px solid var(--brand);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
}

.wf-intro-product img { width: 65px; height: 65px; object-fit: contain; }
.wf-intro-product span { display: grid; }
.wf-intro-product small { font-size: 9px; letter-spacing: .08em; }
.wf-intro-product strong { margin-top: 3px; font-size: 13px; }

.wf-mium .wf-summary-layout {
  background: linear-gradient(120deg, #dcecff 0 52%, var(--paper) 52%);
}

.wf-mium .wf-intro-product {
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
  background: var(--accent);
}

.wf-cart-card {
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid var(--brand);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(39, 28, 34, .1);
}

.wf-mium .wf-cart-card {
  border: 2px solid var(--ink);
  border-radius: 23px;
  box-shadow: 9px 9px 0 var(--pink);
}

.wf-cart-heading,
.wf-cart-line,
.wf-cart-total { display: flex; align-items: center; justify-content: space-between; }

.wf-cart-heading {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.wf-cart-product {
  display: grid;
  grid-template-columns: 95px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

.wf-cart-product img {
  width: 95px;
  height: 95px;
  border-radius: 13px;
  background: var(--soft);
  object-fit: contain;
}

.wf-mium .wf-cart-product img { background: linear-gradient(145deg, #caeaff, #ffe6ef); }
.wf-cart-product h2 { margin: 0 0 6px; font-size: 18px; }
.wf-cart-product p { margin: 0 0 7px; color: #777; font-size: 11px; line-height: 1.4; }
.wf-cart-product small { font-size: 10px; font-weight: 700; text-transform: uppercase; }
.wf-cart-product > strong { align-self: start; font-size: 15px; }

.wf-cart-line {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.wf-cart-total {
  margin-top: 8px;
  padding: 18px 0;
  border-top: 4px solid var(--ink);
}

.wf-cart-total small { color: #888; font-size: 10px; }
.wf-cart-total strong { color: var(--brand); font-size: 27px; }
.wf-mium .wf-cart-total strong { color: var(--ink); }

.wf-checkout-row { display: grid; grid-template-columns: 56px 1fr; gap: 11px; }

.wf-back {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
  font-size: 22px;
}

.wf-mium .wf-back { border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); }
.wf-checkout.is-disabled { opacity: .48; cursor: not-allowed; }

.wf-config-note {
  margin: 8px 0 0;
  color: #8a5b00;
  font-size: 10px;
  text-align: center;
}

.wf-reassurance {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  color: #777;
  font-size: 9px;
}

@media (min-width: 851px) and (max-height: 760px) {
  .wf-visual { padding: 32px 5vw; }
  .wf-visual-frame { height: 500px; }
  .wf-form-side,
  .wf-cart-side { padding: 30px 6vw; }
  .wf-progress { margin-bottom: 22px; }
  .wf-hint { margin: 12px 0 18px; }
  .wf-actions { margin-top: 20px; }
  .wf-summary-intro { padding-top: 45px; padding-bottom: 45px; }
}

@media (max-width: 850px) {
  .wf-topbar { height: 32px; font-size: 9px; }
  .wf-ticker span:nth-child(2) { display: none; }

  .wf-header {
    grid-template-columns: 1fr auto;
    height: 62px;
    padding: 0 16px;
  }

  .wf-brand { display: none; }
  .wf-cart { grid-column: 2; }

  .wf-layout {
    display: block;
    height: calc(100svh - 94px);
    min-height: 0;
    overflow: hidden;
  }

  .wf-visual {
    height: 235px;
    padding: 14px 22px;
  }

  .wf-visual::before { width: 230px; }
  .wf-visual::after { width: 165px; }

  .wf-visual-frame {
    width: 260px;
    height: 218px;
    border-radius: 95px 95px 15px 15px;
  }

  .wf-visual-card {
    right: 16px;
    bottom: 14px;
    min-width: 175px;
    padding: 10px 12px;
  }

  .wf-visual-card strong { font-size: 15px; }
  .wf-visual-card > span { font-size: 17px; }

  .wf-mium .wf-visual-frame {
    width: min(82vw, 340px);
    border-radius: 19px;
    box-shadow: 5px 5px 0 var(--pink);
  }

  .wf-mium .wf-visual-card { min-width: 160px; box-shadow: 4px 4px 0 var(--ink); }

  .wf-form-side {
    display: block;
    height: calc(100% - 235px);
    padding: 22px 16px 14px;
  }

  .wf-question {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .wf-progress { margin-bottom: 19px; }
  .wf-eyebrow { margin-bottom: 7px; font-size: 9px; }
  .wf-question h1 { font-size: 31px; line-height: 1.02; }
  .wf-hint { margin: 10px 0 15px; font-size: 12px; line-height: 1.4; }
  .wf-answers { gap: 8px; }
  .wf-answers span { min-height: 52px; padding: 7px 10px; font-size: 12px; }
  .wf-answers span b { width: 24px; height: 24px; }

  .wf-actions {
    margin-top: auto;
    padding-top: 14px;
  }

  .wf-actions button { min-height: 54px; }
  .wf-actions > p { margin-top: 7px; }

  .wf-summary-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(250px, 39%) 1fr;
    background: var(--soft);
    overflow: hidden;
  }

  .wf-summary-intro {
    justify-content: flex-start;
    padding: 25px 18px 16px;
  }

  .wf-summary-intro h1 { max-width: 330px; font-size: 34px; }
  .wf-summary-intro > p:not(.wf-eyebrow) { margin: 10px 0 14px; font-size: 12px; }
  .wf-answer-summary { max-width: 100%; }
  .wf-answer-summary > div { grid-template-columns: 105px 1fr; padding: 8px 0; font-size: 11px; }
  .wf-intro-product { display: none; }

  .wf-cart-side {
    display: block;
    padding: 13px 16px 16px;
    background: var(--paper);
  }

  .wf-cart-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 16px;
    border-radius: 14px;
    box-shadow: none;
  }

  .wf-mium .wf-cart-card { box-shadow: 5px 5px 0 var(--pink); }
  .wf-cart-heading { padding-bottom: 10px; }
  .wf-cart-product { grid-template-columns: 68px 1fr auto; gap: 10px; padding: 12px 0; }
  .wf-cart-product img { width: 68px; height: 68px; }
  .wf-cart-product h2 { font-size: 14px; }
  .wf-cart-product p { font-size: 9px; }
  .wf-cart-line { padding: 7px 0; }
  .wf-cart-total { margin-top: auto; padding: 11px 0; }
  .wf-cart-total strong { font-size: 22px; }
  .wf-checkout-row { grid-template-columns: 52px 1fr; }
  .wf-back, .wf-checkout { min-height: 52px; }
  .wf-reassurance { margin-top: 10px; }
}

@media (max-width: 390px), (max-width: 850px) and (max-height: 760px) {
  .wf-visual { height: 205px; }
  .wf-form-side { height: calc(100% - 205px); padding-top: 15px; }
  .wf-progress { margin-bottom: 13px; }
  .wf-question h1 { font-size: 27px; }
  .wf-hint { margin: 7px 0 10px; }
  .wf-answers span { min-height: 46px; }
  .wf-actions { padding-top: 9px; }
  .wf-summary-layout { grid-template-rows: 230px 1fr; }
  .wf-summary-intro { padding-top: 17px; }
  .wf-summary-intro h1 { font-size: 30px; }
  .wf-summary-intro > p:not(.wf-eyebrow) { display: none; }
}
