.lls-configurator {
  --lls-ink: #171a1f;
  --lls-muted: #716c64;
  --lls-ivory: #fbf7ef;
  --lls-paper: #fffdf8;
  --lls-gold: #b18a39;
  --lls-gold-soft: rgba(177, 138, 57, .12);
  --lls-blue: #315b68;
  --lls-line: #e4d7bf;
  margin: 2rem 0;
  padding: clamp(1.15rem, 3vw, 2.25rem);
  border: 1px solid var(--lls-line);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0, rgba(177, 138, 57, .08), transparent 34%),
    var(--lls-paper);
  box-shadow: 0 24px 70px rgba(65, 51, 28, .10);
  color: var(--lls-ink);
}

.lls-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--lls-line);
}

.lls-kicker {
  margin: 0;
  color: var(--lls-gold);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lls-brand-row > span {
  color: var(--lls-muted);
  font-size: .69rem;
  font-weight: 700;
}

.lls-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1.65rem;
}

.lls-intro h2 {
  margin: 0 0 .45rem !important;
  color: var(--lls-ink);
  font-family: inherit;
  font-size: clamp(1.85rem, 4vw, 3rem) !important;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.lls-intro p {
  max-width: 42rem;
  margin: 0;
  color: var(--lls-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.lls-live-total {
  min-width: 150px;
  padding: .75rem 1rem;
  border: 1px solid var(--lls-line);
  border-radius: .9rem;
  background: rgba(255, 255, 255, .72);
  text-align: right;
}

.lls-live-total span,
.lls-live-total small,
.lls-live-total strong {
  display: block;
}

.lls-live-total span {
  color: var(--lls-muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lls-live-total strong {
  margin: .15rem 0;
  color: var(--lls-ink);
  font-size: 1.18rem;
}

.lls-live-total small {
  color: var(--lls-muted);
  font-size: .62rem;
}

.lls-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .3rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.lls-progress li {
  position: relative;
  color: #8a847b;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}

.lls-progress li::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: .82rem;
  left: -50%;
  width: 100%;
  height: 1px;
  background: var(--lls-line);
}

.lls-progress li:first-child::before { display: none; }

.lls-progress span {
  position: relative;
  z-index: 1;
  width: 1.68rem;
  height: 1.68rem;
  margin: 0 auto .42rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--lls-line);
  border-radius: 50%;
  background: var(--lls-paper);
  font-size: .68rem;
  font-weight: 800;
}

.lls-progress li.is-active,
.lls-progress li.is-complete { color: var(--lls-ink); }

.lls-progress li.is-active span {
  color: #fff;
  border-color: var(--lls-ink);
  background: var(--lls-ink);
  box-shadow: 0 0 0 4px rgba(23, 26, 31, .08);
}

.lls-progress li.is-complete span {
  color: #fff;
  border-color: var(--lls-gold);
  background: var(--lls-gold);
}

.lls-progress li.is-complete::before,
.lls-progress li.is-active::before { background: var(--lls-gold); }

.lls-step[hidden],
.lls-rx-panel[hidden],
.lls-height[hidden] { display: none !important; }

.lls-step.is-active { animation: lls-fade-in .24s ease both; }

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

.lls-step-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  margin-bottom: 1.3rem;
  align-items: start;
}

.lls-step-heading > span {
  padding-top: .04rem;
  color: var(--lls-gold);
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.lls-step-heading h3 {
  margin: 0 0 .35rem !important;
  color: var(--lls-ink);
  font-size: 1.28rem !important;
  font-weight: 650;
}

.lls-step-heading p {
  margin: 0;
  color: var(--lls-muted);
  font-size: .88rem;
  line-height: 1.48;
}

.lls-choices {
  display: grid;
  gap: .7rem;
}

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

.lls-choice {
  position: relative;
  min-height: 88px;
  padding: 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
  border: 1px solid var(--lls-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 22px rgba(75, 56, 26, .04);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.lls-choice:hover {
  transform: translateY(-1px);
  border-color: rgba(177, 138, 57, .65);
  box-shadow: 0 12px 28px rgba(75, 56, 26, .08);
}

.lls-choice:has(input:focus-visible) {
  outline: 3px solid rgba(49, 91, 104, .22);
  outline-offset: 2px;
}

.lls-choice:has(input:checked) {
  border-color: var(--lls-gold);
  background: linear-gradient(135deg, rgba(255,255,255,.98), var(--lls-gold-soft));
  box-shadow: 0 0 0 2px rgba(177, 138, 57, .13);
}

.lls-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lls-check {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
  border: 1px solid #aaa197;
  border-radius: 50%;
  background: #fff;
}

input[type="checkbox"] + .lls-check { border-radius: .32rem; }

.lls-choice input:checked + .lls-check {
  border: 4px solid var(--lls-gold);
  background: #fff;
}

.lls-choice-copy { min-width: 0; }
.lls-choice-copy strong,
.lls-choice-copy small { display: block; }
.lls-choice-copy strong { color: var(--lls-ink); font-size: .94rem; font-weight: 750; }
.lls-choice-copy small { margin-top: .22rem; color: var(--lls-muted); font-size: .76rem; line-height: 1.4; }
.lls-price-tag { color: var(--lls-gold); font-size: .74rem; font-weight: 850; white-space: nowrap; }

.lls-choice.is-recommended {
  margin-top: .35rem;
  border-color: var(--lls-blue);
}

.lls-choice.is-recommended::after {
  content: attr(data-recommendation);
  position: absolute;
  top: -.68rem;
  right: .75rem;
  padding: .24rem .58rem;
  border-radius: 999px;
  color: #fff;
  background: var(--lls-blue);
  box-shadow: 0 5px 14px rgba(49, 91, 104, .18);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.lls-recommendation,
.lls-treatment-tip {
  margin-bottom: 1.15rem;
  padding: 1rem 1.05rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .8rem;
  border: 1px solid rgba(177, 138, 57, .35);
  border-radius: 1rem;
  background: var(--lls-gold-soft);
}

.lls-recommendation::before,
.lls-treatment-tip::before {
  content: "✓";
  grid-row: 1 / 4;
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--lls-gold);
  font-size: .8rem;
  font-weight: 900;
}

.lls-recommendation > span,
.lls-treatment-tip > span {
  color: var(--lls-gold);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lls-recommendation strong,
.lls-treatment-tip strong {
  margin-top: .1rem;
  color: var(--lls-ink);
  font-size: .95rem;
}

.lls-recommendation p,
.lls-treatment-tip p {
  margin: .18rem 0 0;
  color: var(--lls-muted);
  font-size: .78rem;
  line-height: 1.42;
}

.lls-thickness {
  height: 90px;
  margin-bottom: 1.1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  align-items: end;
  border-bottom: 1px solid var(--lls-line);
}

.lls-thickness div {
  display: grid;
  place-items: end center;
  border: 1px solid rgba(49, 91, 104, .13);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(49, 91, 104, .25), rgba(49, 91, 104, .05));
}

.lls-thickness div:nth-child(1) { height: 76px; }
.lls-thickness div:nth-child(2) { height: 58px; }
.lls-thickness div:nth-child(3) { height: 45px; }
.lls-thickness div:nth-child(4) { height: 34px; }
.lls-thickness span { padding-bottom: .28rem; color: var(--lls-ink); font-size: .66rem; font-weight: 850; }

.lls-rx-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
}

.lls-rx-modes label { position: relative; }
.lls-rx-modes input { position: absolute; opacity: 0; }

.lls-rx-modes span {
  min-height: 78px;
  display: grid;
  place-content: center;
  gap: .16rem;
  padding: .7rem;
  border: 1px solid var(--lls-line);
  border-radius: .9rem;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: .18s ease;
}

.lls-rx-modes strong { color: var(--lls-ink); font-size: .8rem; }
.lls-rx-modes small { color: var(--lls-muted); font-size: .66rem; font-weight: 600; }
.lls-rx-modes input:checked + span { color: #fff; border-color: var(--lls-ink); background: var(--lls-ink); }
.lls-rx-modes input:checked + span strong,
.lls-rx-modes input:checked + span small { color: #fff; }
.lls-rx-modes input:focus-visible + span { outline: 3px solid rgba(49, 91, 104, .22); outline-offset: 2px; }

.lls-rx-panel {
  padding: 1.05rem;
  border: 1px solid var(--lls-line);
  border-radius: 1rem;
  background: rgba(251, 247, 239, .82);
}

.lls-rx-guide {
  margin-bottom: .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--lls-line);
}

.lls-rx-guide strong,
.lls-rx-guide span { display: block; }
.lls-rx-guide strong { font-size: .82rem; }
.lls-rx-guide span { margin-top: .2rem; color: var(--lls-muted); font-size: .68rem; line-height: 1.45; }

.lls-rx-grid {
  display: grid;
  grid-template-columns: 34px repeat(4, minmax(0, 1fr));
  gap: .45rem;
  align-items: center;
  margin-bottom: .5rem;
}

.lls-rx-head { color: var(--lls-muted); font-size: .64rem; font-weight: 850; text-align: center; }
.lls-rx-grid > strong { color: var(--lls-gold); font-size: .75rem; }

.lls-rx-grid input,
.lls-measures input {
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: .56rem;
  border: 1px solid #d8c9ae;
  border-radius: .58rem;
  background: #fff;
  color: var(--lls-ink);
}

.lls-rx-grid input:focus,
.lls-measures input:focus {
  outline: 3px solid rgba(49, 91, 104, .14);
  border-color: var(--lls-blue);
}

.lls-measures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .68rem;
  margin-top: 1rem;
}

.lls-measures label {
  color: var(--lls-ink);
  font-size: .7rem;
  font-weight: 800;
}

.lls-measures label small {
  display: block;
  margin-top: .08rem;
  color: var(--lls-muted);
  font-size: .6rem;
  font-weight: 600;
}

.lls-measures input { display: block; margin-top: .3rem; }

.lls-measure-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin-top: .85rem;
}

.lls-measure-help > div {
  padding: .65rem;
  border-radius: .65rem;
  background: #fff;
}

.lls-measure-help strong,
.lls-measure-help span { display: block; }
.lls-measure-help strong { color: var(--lls-gold); font-size: .68rem; }
.lls-measure-help span { margin-top: .15rem; color: var(--lls-muted); font-size: .66rem; line-height: 1.4; }

.lls-file {
  min-height: 130px;
  display: grid;
  place-items: center;
  gap: .6rem;
  padding: 1rem;
  border: 1px dashed var(--lls-gold);
  border-radius: .85rem;
  background: #fff;
  text-align: center;
  cursor: pointer;
}

.lls-file input { max-width: 100%; }
.lls-file span strong,
.lls-file span small { display: block; }
.lls-file span strong { color: var(--lls-ink); font-size: .82rem; }
.lls-file span small { margin-top: .15rem; color: var(--lls-muted); font-size: .67rem; }
.lls-callout,
.lls-note { margin: 0; color: var(--lls-muted); font-size: .82rem; line-height: 1.5; }

.lls-summary-list {
  display: grid;
  gap: 0;
  border-block: 1px solid var(--lls-line);
}

.lls-summary-row {
  padding: .72rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--lls-line);
  font-size: .82rem;
}

.lls-summary-row:last-child { border-bottom: 0; }
.lls-summary-row span { color: var(--lls-muted); }
.lls-summary-row strong { max-width: 65%; text-align: right; }

.lls-total {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.lls-total span { color: var(--lls-muted); font-size: .82rem; }
.lls-total strong { color: var(--lls-ink); font-size: 1.5rem; }

.lls-professional-review {
  margin-top: 1rem;
  padding: .85rem;
  display: grid;
  border-left: 3px solid var(--lls-gold);
  border-radius: 0 .65rem .65rem 0;
  background: var(--lls-gold-soft);
}

.lls-professional-review strong { font-size: .76rem; }
.lls-professional-review span { margin-top: .2rem; color: var(--lls-muted); font-size: .69rem; line-height: 1.45; }

.lls-confirm {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  color: var(--lls-muted);
  font-size: .77rem;
  line-height: 1.45;
  cursor: pointer;
}

.lls-confirm input { margin-top: .18rem; accent-color: var(--lls-gold); }

.lls-error {
  margin-top: 1rem;
  padding: .8rem;
  border: 1px solid #efc7bf;
  border-radius: .65rem;
  color: #862d25;
  background: #fdf0ed;
  font-size: .8rem;
  font-weight: 750;
}

.lls-navigation {
  margin-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}

.lls-navigation-note {
  flex: 1;
  color: var(--lls-muted);
  font-size: .66rem;
  text-align: center;
}

.lls-navigation button {
  min-height: 46px;
  padding: .72rem 1.25rem;
  border: 1px solid var(--lls-ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}

.lls-navigation button:hover { transform: translateY(-1px); }
.lls-back { color: var(--lls-ink); background: transparent; }
.lls-next { color: #fff; background: var(--lls-ink); }

form.cart.lls-configurable-form .single_add_to_cart_button { display: none !important; }

form.cart.lls-configurable-form.lls-ready .single_add_to_cart_button {
  width: 100%;
  min-height: 52px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: .8rem;
  border-radius: 999px;
  color: #fff;
  background: var(--lls-ink);
}

form.cart.lls-configurable-form.lls-ready .lls-navigation { display: none; }

@media (max-width: 720px) {
  .lls-configurator { padding: 1rem; border-radius: 1rem; }
  .lls-brand-row { align-items: flex-start; }
  .lls-brand-row > span { max-width: 9rem; text-align: right; }
  .lls-intro-grid { grid-template-columns: 1fr; }
  .lls-live-total { display: flex; justify-content: space-between; align-items: center; text-align: left; }
  .lls-live-total small { display: none; }
  .lls-progress li { font-size: 0; }
  .lls-progress span { font-size: .66rem; }
  .lls-choices--two,
  .lls-rx-modes { grid-template-columns: 1fr; }
  .lls-rx-modes span { min-height: 62px; }
  .lls-rx-grid { grid-template-columns: 26px repeat(4, minmax(45px, 1fr)); gap: .25rem; }
  .lls-rx-grid input { padding: .35rem; font-size: .74rem; }
  .lls-measures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lls-measure-help { grid-template-columns: 1fr; }
  .lls-navigation { flex-wrap: wrap; }
  .lls-navigation-note { order: 3; flex-basis: 100%; }
  .lls-summary-row { display: grid; gap: .22rem; }
  .lls-summary-row strong { max-width: none; text-align: left; }
}
