/* Luman Care Finder — mobile-first and fully scoped to avoid theme collisions. */
.lcf {
  --lcf-ink: #11110f;
  --lcf-muted: #696760;
  --lcf-line: #dedbd3;
  --lcf-paper: #f4f1e9;
  --lcf-card: #fff;
  --lcf-accent: #c8a66a;
  --lcf-accent-soft: #eadfc9;
  --lcf-success: #275d43;
  --lcf-error: #a02e2e;
  --lcf-radius: 18px;
  color: var(--lcf-ink);
  background: var(--lcf-paper);
  border: 1px solid rgba(17, 17, 15, .09);
  border-radius: 24px;
  box-sizing: border-box;
  font-family: inherit;
  margin: 0 auto;
  max-width: 1160px;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.lcf *,
.lcf *::before,
.lcf *::after {
  box-sizing: border-box;
}

.lcf button,
.lcf input {
  font: inherit;
}

.lcf button:focus-visible,
.lcf a:focus-visible,
.lcf input:focus-visible + .lcf__choice-box {
  outline: 3px solid rgba(39, 93, 67, .35);
  outline-offset: 3px;
}

.lcf__delivery {
  align-items: center;
  background: var(--lcf-ink);
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 650;
  gap: 8px;
  justify-content: center;
  letter-spacing: .02em;
  min-height: 40px;
  padding: 9px 16px;
  text-align: center;
}

.lcf__delivery svg {
  flex: 0 0 auto;
}

.lcf__header,
.lcf__progress,
.lcf__form {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  padding-left: 18px;
  padding-right: 18px;
}

.lcf__header {
  padding-bottom: 24px;
  padding-top: 32px;
}

.lcf__eyebrow {
  color: #806635;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.lcf__header h2,
.lcf__result-heading h3 {
  color: var(--lcf-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 8.2vw, 56px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
  margin: 0;
  max-width: 780px;
}

.lcf__intro,
.lcf__result-heading > p:last-child {
  color: var(--lcf-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 17px 0 0;
  max-width: 700px;
}

.lcf__progress {
  padding-bottom: 8px;
}

.lcf__progress-meta {
  color: var(--lcf-muted);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: .08em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.lcf__progress-track {
  background: #ded9cd;
  border-radius: 20px;
  height: 3px;
  overflow: hidden;
}

.lcf__progress-track span {
  background: var(--lcf-ink);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width .28s ease;
}

.lcf__form {
  padding-bottom: 26px;
}

.lcf__step {
  animation: lcf-fade-in .26s ease both;
  padding: 25px 0 0;
}

.lcf__step[hidden],
.lcf [hidden] {
  display: none !important;
}

.lcf__step-heading {
  align-items: flex-start;
  display: flex;
  gap: 13px;
  margin-bottom: 28px;
}

.lcf__step-heading > span {
  align-items: center;
  border: 1px solid var(--lcf-line);
  border-radius: 50%;
  color: #806635;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 10px;
  font-weight: 750;
  height: 34px;
  justify-content: center;
  letter-spacing: .08em;
}

.lcf__step-heading h3 {
  color: var(--lcf-ink);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 620;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 2px 0 7px;
}

.lcf__step-heading p {
  color: var(--lcf-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.lcf__question {
  border: 0;
  margin: 0 0 24px;
  min-width: 0;
  padding: 0;
}

.lcf__question legend {
  color: var(--lcf-ink);
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  margin: 0 0 11px;
  padding: 0;
  text-transform: uppercase;
  width: 100%;
}

.lcf__choices {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr;
}

.lcf__choice {
  cursor: pointer;
  display: block;
  margin: 0;
  min-width: 0;
  position: relative;
}

.lcf__choice input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.lcf__choice-box {
  align-items: center;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--lcf-line);
  border-radius: 14px;
  display: grid;
  gap: 2px 12px;
  grid-template-columns: minmax(0, 1fr) 19px;
  min-height: 69px;
  padding: 12px 14px;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lcf__choice-box strong {
  color: var(--lcf-ink);
  font-size: 14px;
  font-weight: 680;
  grid-column: 1;
  line-height: 1.25;
}

.lcf__choice-box small {
  color: var(--lcf-muted);
  font-size: 11px;
  grid-column: 1;
  line-height: 1.35;
}

.lcf__choice-box i {
  border: 1px solid #aaa69d;
  border-radius: 50%;
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 19px;
  position: relative;
  width: 19px;
}

.lcf__choice input[type="checkbox"] + .lcf__choice-box i {
  border-radius: 5px;
}

.lcf__choice input:checked + .lcf__choice-box {
  background: #fff;
  border-color: var(--lcf-ink);
  box-shadow: 0 8px 24px rgba(17, 17, 15, .07);
}

.lcf__choice input:checked + .lcf__choice-box i {
  background: var(--lcf-ink);
  border-color: var(--lcf-ink);
}

.lcf__choice input:checked + .lcf__choice-box i::after {
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  height: 8px;
  left: 6px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 4px;
}

.lcf__question--invalid .lcf__choice-box {
  border-color: rgba(160, 46, 46, .5);
}

.lcf__question-error {
  color: var(--lcf-error);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  margin: 10px 0 0;
}

.lcf__nav,
.lcf__result-actions {
  align-items: stretch;
  border-top: 1px solid var(--lcf-line);
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 29px;
  padding-top: 18px;
}

.lcf__button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  justify-content: center;
  letter-spacing: .055em;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}

.lcf__button--primary {
  background: var(--lcf-ink);
  color: #fff;
  flex: 1 1 auto;
}

.lcf__button--primary:hover {
  background: #36342f;
  color: #fff;
  transform: translateY(-1px);
}

.lcf__button--ghost {
  background: transparent;
  border-color: #aaa69d;
  color: var(--lcf-ink);
  flex: 0 1 auto;
}

.lcf__button--ghost:hover {
  background: rgba(255, 255, 255, .7);
  color: var(--lcf-ink);
}

.lcf__button:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.lcf__status {
  color: var(--lcf-error);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.4;
  margin: 14px 0 0;
  min-height: 0;
  text-align: center;
}

.lcf__status:empty {
  display: none;
}

.lcf__status.is-success {
  color: var(--lcf-success);
}

.lcf__step--results {
  padding-top: 31px;
}

.lcf__loading {
  align-items: center;
  color: var(--lcf-muted);
  display: flex;
  flex-direction: column;
  font-size: 14px;
  justify-content: center;
  min-height: 310px;
  text-align: center;
}

.lcf__spinner {
  animation: lcf-spin .8s linear infinite;
  border: 2px solid #d1cdc3;
  border-radius: 50%;
  border-top-color: var(--lcf-ink);
  display: block;
  height: 36px;
  margin-bottom: 14px;
  width: 36px;
}

.lcf__result-heading {
  margin-bottom: 25px;
}

.lcf__result-heading h3 {
  font-size: clamp(29px, 7.5vw, 45px);
}

.lcf__products {
  display: grid;
  gap: 11px;
}

.lcf__product {
  background: var(--lcf-card);
  border: 1px solid var(--lcf-line);
  border-radius: var(--lcf-radius);
  display: grid;
  gap: 14px;
  grid-template-columns: 90px minmax(0, 1fr);
  overflow: hidden;
  padding: 12px;
  position: relative;
  transition: opacity .2s ease, border-color .2s ease;
}

.lcf__product.is-deselected {
  opacity: .48;
}

.lcf__product-media {
  align-self: start;
  aspect-ratio: 1 / 1.12;
  background: #f2f0eb;
  border-radius: 12px;
  display: block;
  overflow: hidden;
}

.lcf__product-media img {
  height: 100%;
  object-fit: contain;
  padding: 5px;
  width: 100%;
}

.lcf__product-copy {
  min-width: 0;
  padding: 2px 1px 1px 0;
}

.lcf__product-topline {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 7px;
}

.lcf__product-slot {
  color: #806635;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lcf__product-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--lcf-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  min-height: 44px;
  min-width: 44px;
  padding: 3px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lcf__product h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0;
}

.lcf__product h4 a {
  color: var(--lcf-ink);
  text-decoration: none;
}

.lcf__product-reason {
  color: var(--lcf-muted);
  font-size: 11px;
  line-height: 1.38;
  margin: 7px 0;
}

.lcf__product.is-unavailable {
  box-shadow: inset 0 0 0 1px var(--lcf-error);
}

.lcf__product-error {
  color: var(--lcf-error);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin: 8px 0 12px;
}

.lcf__product-bottom {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  justify-content: space-between;
}

.lcf__product-price {
  color: var(--lcf-ink);
  font-size: 14px;
  font-weight: 760;
}

.lcf__replace {
  background: transparent;
  border: 0;
  color: var(--lcf-ink);
  cursor: pointer;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .05em;
  min-height: 44px;
  min-width: 44px;
  padding: 5px 0;
  text-decoration: underline;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.lcf__summary {
  background: var(--lcf-ink);
  border-radius: var(--lcf-radius);
  color: #fff;
  margin-top: 14px;
  padding: 17px;
}

.lcf__summary-row {
  align-items: baseline;
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

.lcf__summary-row span {
  color: rgba(255, 255, 255, .67);
  font-size: 12px;
}

.lcf__summary-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  white-space: nowrap;
}

.lcf__shipping-progress {
  background: rgba(255, 255, 255, .19);
  border-radius: 20px;
  height: 4px;
  margin: 13px 0 9px;
  overflow: hidden;
}

.lcf__shipping-progress span {
  background: var(--lcf-accent);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.lcf__shipping-message {
  align-items: center;
  color: rgba(255, 255, 255, .75);
  display: flex;
  font-size: 11px;
  gap: 7px;
  line-height: 1.4;
  margin: 0;
}

.lcf__shipping-message.is-free {
  color: #dcebdc;
}

.lcf__shipping-message svg {
  flex: 0 0 auto;
}

.lcf__result-actions {
  flex-wrap: wrap;
}

.lcf__result-actions .lcf__button {
  flex: 1 1 100%;
}

.lcf__cart-link {
  background: var(--lcf-success);
  color: #fff;
  flex: 1 1 100%;
}

.lcf__cart-link:hover {
  background: #347757;
  color: #fff;
}

.lcf__noscript {
  background: #fff2cc;
  color: var(--lcf-ink);
  margin: 0;
  padding: 15px;
  text-align: center;
}

@media (min-width: 480px) {
  .lcf__header,
  .lcf__progress,
  .lcf__form {
    padding-left: 26px;
    padding-right: 26px;
  }

  .lcf__choices--row,
  .lcf__choices--wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcf__product {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

@media (min-width: 760px) {
  .lcf__header {
    padding-bottom: 34px;
    padding-top: 56px;
  }

  .lcf__header,
  .lcf__progress,
  .lcf__form {
    padding-left: 48px;
    padding-right: 48px;
  }

  .lcf__step {
    padding-top: 36px;
  }

  .lcf__choices--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lcf__choices--wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lcf__choice-box {
    min-height: 83px;
    padding: 15px 16px;
  }

  .lcf__nav .lcf__button--primary {
    flex: 0 0 auto;
    min-width: 230px;
  }

  .lcf__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcf__result-actions .lcf__button {
    flex: 0 0 auto;
  }

  .lcf__result-actions .lcf__button--primary,
  .lcf__result-actions .lcf__cart-link {
    min-width: 260px;
  }

  .lcf__summary {
    padding: 20px 22px;
  }
}

@media (hover: hover) {
  .lcf__choice:hover .lcf__choice-box {
    border-color: #aaa69d;
    transform: translateY(-1px);
  }
}

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

@keyframes lcf-fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

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