.cc_m7uskf44_vDZ7FAQA1b .nx-finder {
  background: var(--nx-finder-bg, var(--nx-bg));
  color: var(--nx-ink);
  scroll-margin-top: var(--nx-header-stuck-h, 86px);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__inner {
  padding-block: 32px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius-md);
  background: radial-gradient(
    ellipse 90% 120% at 100% 0%,
    color-mix(in srgb, var(--nx-glow) 22%, var(--nx-surface)),
    var(--nx-surface) 60%
  );
}

/* ---------- Quiz ---------- */

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__quiz {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__eyebrow {
  margin: 0;
  color: var(--nx-accent);
  font-size: 12px;
  letter-spacing: 2.5px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__count {
  color: var(--nx-muted);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__bar {
  height: 3px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--nx-edge, var(--nx-muted));
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--nx-accent);
  transform-origin: left;
  transition: transform var(--nx-dur-slow) var(--nx-ease);
}

/* One question at a time. Until the section has read the questions from the
 * page, the first one stands in so the quiz is there from the first paint. */
.cc_m7uskf44_vDZ7FAQA1b .nx-finder__question {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__question.is-active, .cc_m7uskf44_vDZ7FAQA1b .nx-finder__quiz:not([data-ready]) .nx-finder__questions > div > .nx-finder__question:first-child, .cc_m7uskf44_vDZ7FAQA1b .nx-finder__quiz:not([data-ready]) .nx-finder__questions > div > :first-child > .nx-finder__question {
  display: block;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__title {
  margin: 0 0 20px;
  padding: 0;
  font-size: clamp(26px, 6.6vw, 48px);
  line-height: 1.08;
  animation: cc_m7uskf44_nx-slide-up var(--nx-dur-slow) var(--nx-ease) both;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__option-cell {
  position: relative;
  animation: cc_m7uskf44_nx-slide-up var(--nx-dur-slow) var(--nx-ease) both;
  animation-delay: calc(80ms + var(--nx-i, 0) * 50ms);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--nx-edge, var(--nx-muted));
  border-radius: var(--nx-radius-sm);
  background: color-mix(in srgb, var(--nx-bg) 40%, transparent);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--nx-dur-fast) var(--nx-ease);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__option:active {
  transform: scale(0.985);
}

/* The chosen answer glows: a gold frame and tint fade in as one layer. */
.cc_m7uskf44_vDZ7FAQA1b .nx-finder__option::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--nx-accent);
  border-radius: inherit;
  background: color-mix(in srgb, var(--nx-accent) 8%, transparent);
  opacity: 0;
  transition: opacity var(--nx-dur-mid) var(--nx-ease);
  pointer-events: none;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__input:checked + .nx-finder__option::after {
  opacity: 1;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nx-raised);
  color: var(--nx-on-accent);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__mark svg {
  opacity: 0;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__input:checked + .nx-finder__option .nx-finder__mark svg {
  opacity: 1;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__input:checked + .nx-finder__option .nx-finder__mark {
  background: var(--nx-accent);
  animation: cc_m7uskf44_nx-bump var(--nx-dur-mid) var(--nx-ease);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__option-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__option-label {
  font-size: 15px;
  font-weight: 600;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__option-desc {
  color: var(--nx-muted);
  font-size: 13px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__input:focus-visible + .nx-finder__option {
  outline: 2px solid var(--nx-accent);
  outline-offset: 2px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---------- Result ---------- */

/* Phones get the result in a sheet after the last answer. */
.cc_m7uskf44_vDZ7FAQA1b .nx-finder__result {
  display: none;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  outline: none;
}

/* Rituals are child components; the section shows the winning one. */
.cc_m7uskf44_vDZ7FAQA1b .nx-finder__ritual {
  display: none;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__ritual.is-active {
  display: flex;
}

/* ---------- Result as a bottom sheet (phones and tablets) ----------
 * The rituals can only be rendered in one place, so the same result element
 * is the side panel on wide screens and a bottom sheet below them. */
.cc_m7uskf44_vDZ7FAQA1b .nx-finder__scrim {
  display: none;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__sheet-title {
  font-size: 22px;
  line-height: 1.15;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__sheet-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0 -10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--nx-ink);
  cursor: pointer;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__sheet-close:focus-visible {
  outline: 2px solid var(--nx-accent);
  outline-offset: -2px;
}

@media (max-width: 1023px) {
  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__scrim {
    position: fixed;
    inset: 0;
    z-index: var(--nx-z-overlay);
    display: block;
    background: var(--nx-scrim);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--nx-dur-mid) var(--nx-ease);
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__scrim[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__result {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--nx-z-overlay);
    display: flex;
    max-height: 94%;
    padding: 16px var(--nx-gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    border-radius: var(--nx-radius-md) var(--nx-radius-md) 0 0;
    background: var(--nx-surface);
    box-sizing: border-box;
    transform: translate3d(0, 100%, 0);
    visibility: hidden;
    transition:
      transform var(--nx-dur-mid) var(--nx-ease),
      visibility 0s linear var(--nx-dur-mid);
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__result[data-open="true"] {
    transform: none;
    visibility: visible;
    transition: transform var(--nx-dur-mid) var(--nx-ease);
  }

  /* "Live preview" is a wide-screen idea; in the sheet the title says it. */
  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__result .nx-finder__preview {
    display: none;
  }
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__result-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__preview {
  color: var(--nx-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__result-title {
  font-size: 28px;
  line-height: 1.15;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__result-text {
  max-width: 52ch;
  margin: 0;
  color: var(--nx-ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Products change one after another when the answer changes. */
.cc_m7uskf44_vDZ7FAQA1b .nx-finder__product {
  display: flex;
  gap: 14px;
  min-width: 0;
  animation: cc_m7uskf44_nx-slide-up var(--nx-dur-slow) var(--nx-ease) both;
  animation-delay: calc(var(--nx-i, 0) * var(--nx-stagger));
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__media {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 84px;
  height: 104px;
  overflow: hidden;
  border-radius: var(--nx-radius-sm);
  background: var(--nx-raised);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__num {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--nx-bg) 80%, transparent);
  color: var(--nx-accent);
  font-size: 12px;
  font-weight: 700;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__product-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__step-label {
  color: var(--nx-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__name {
  color: var(--nx-ink);
  font-size: 17px;
  line-height: 1.15;
  text-decoration: none;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__note {
  color: var(--nx-muted);
  font-size: 12px;
  line-height: 1.4;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__link {
  color: var(--nx-ink-2);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__name:focus-visible, .cc_m7uskf44_vDZ7FAQA1b .nx-finder__link:focus-visible {
  outline: 2px solid var(--nx-accent);
  outline-offset: 2px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__total {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--nx-line);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__total-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__total-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__total-label {
  color: var(--nx-muted);
  font-size: 13px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__total-value {
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  animation: cc_m7uskf44_nx-slide-up var(--nx-dur-mid) var(--nx-ease) both;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__total-note {
  color: var(--nx-ink-2);
  font-size: 12px;
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__hint {
  margin: 0;
  padding: 24px 0;
  color: var(--nx-muted);
  font-size: 14px;
}


@media (min-width: 1024px) {
  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__inner {
    padding-block: 40px 100px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__panel {
    flex-direction: row;
    align-items: stretch;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__quiz {
    flex: 0 0 46%;
    gap: 32px;
    padding: 56px;
    box-sizing: border-box;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__title {
    margin-bottom: 32px;
    line-height: 1.05;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__options {
    gap: 12px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__option {
    gap: 16px;
    padding: 16px 20px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__mark {
    width: 40px;
    height: 40px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__option-label {
    font-size: 16px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__result {
    flex: 1;
    display: flex;
    gap: 24px;
    padding: 56px 56px 56px 24px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__ritual {
    gap: 24px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__sheet-top, .cc_m7uskf44_vDZ7FAQA1b .nx-finder__sheet-foot {
    display: none;
  }

  /* On "show my ritual" the panel answers with a brief lift. */
  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__result.is-flash {
    animation: cc_m7uskf44_vDZ7FAQA1b_nx-finder-flash var(--nx-dur-slow) var(--nx-ease);
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__steps {
    flex-direction: row;
    gap: 16px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__product {
    flex: 1;
    flex-direction: column;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__media {
    width: 100%;
    height: auto;
    aspect-ratio: var(--nx-ar, 5 / 6);
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__name {
    font-size: 18px;
  }

  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__total {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
  }
}

@keyframes cc_m7uskf44_vDZ7FAQA1b_nx-finder-flash {
  0% {
    transform: translate3d(0, 8px, 0);
    opacity: 0.6;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__result.is-flash {
    animation: none;
  }
}

/* A step the shopper has not answered yet shows its first answer's product,
 * held back until they choose. */
.cc_m7uskf44_vDZ7FAQA1b .nx-finder__product {
  transition: opacity var(--nx-dur-mid) var(--nx-ease);
}

.cc_m7uskf44_vDZ7FAQA1b .nx-finder__product.is-waiting {
  opacity: 0.6;
}

/* On phones the sheet's own top bar already carries the title. */
@media (max-width: 1023px) {
  .cc_m7uskf44_vDZ7FAQA1b .nx-finder__result-title {
    display: none;
  }
}
