.lsh-builder {
  --lsh-ink: #30272a;
  --lsh-muted: #786c70;
  --lsh-brand: #bd4561;
  --lsh-brand-dark: #9d304c;
  --lsh-soft: #fff0f3;
  --lsh-surface: #fff;
  --lsh-line: #eadfe1;
  --lsh-success: #33755b;
  clear: both;
  width: 100%;
  margin: 24px 0 112px;
  color: var(--lsh-ink);
  font-size: 16px;
  line-height: 1.55;
}

.lsh-builder *, .lsh-builder *::before, .lsh-builder *::after { box-sizing: border-box; }
.lsh-builder button { font: inherit; }
.lsh-builder__badge { display: inline-block; margin: 0 0 8px; padding: 5px 11px; color: var(--lsh-brand-dark); background: var(--lsh-soft); border-radius: 999px; font-size: 13px; font-weight: 700; }
.lsh-builder__title { margin: 0; color: var(--lsh-ink); font-size: clamp(25px, 4vw, 34px); line-height: 1.25; }
.lsh-builder__intro { margin: 8px 0 20px; color: var(--lsh-muted); }

.lsh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.lsh-steps span { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 7px; color: var(--lsh-muted); background: #faf6f5; border-radius: 13px; font-size: 13px; font-weight: 700; }
.lsh-steps b { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; background: var(--lsh-brand); border-radius: 50%; }

.lsh-tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lsh-tier { min-height: 126px; padding: 16px; color: var(--lsh-ink); text-align: left; background: var(--lsh-surface); border: 2px solid var(--lsh-line); border-radius: 17px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.lsh-tier:hover { transform: translateY(-2px); border-color: #d49aaa; }
.lsh-tier[aria-pressed="true"] { background: var(--lsh-soft); border-color: var(--lsh-brand); box-shadow: 0 8px 22px rgba(189, 69, 97, .13); }
.lsh-tier__count, .lsh-tier__price, .lsh-tier__label { display: block; }
.lsh-tier__count { font-size: 19px; font-weight: 800; }
.lsh-tier__price { margin-top: 5px; color: var(--lsh-brand-dark); font-size: 25px; font-weight: 800; line-height: 1.2; }
.lsh-tier__price .woocommerce-Price-amount { color: inherit; }
.lsh-tier__label { margin-top: 6px; color: var(--lsh-muted); font-size: 12px; }

.lsh-selection-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 28px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--lsh-line); }
.lsh-selection-head h3 { margin: 0; color: var(--lsh-ink); font-size: 22px; }
.lsh-selection-head p { margin: 4px 0 0; color: var(--lsh-muted); font-size: 14px; }
.lsh-progress { color: var(--lsh-success); white-space: nowrap; }

.lsh-groups { display: grid; gap: 16px; }
.lsh-group { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 20px; background: #fffcfb; border: 1px solid var(--lsh-line); border-radius: 18px; transition: border-color .18s ease, box-shadow .18s ease; }
.lsh-group.is-complete { background: #fbfffd; border-color: #a9d0bf; }
.lsh-group.needs-attention { border-color: #d89454; box-shadow: 0 0 0 4px rgba(216, 148, 84, .13); }
.lsh-group__number { display: grid; place-items: center; align-content: center; align-self: start; width: 70px; height: 70px; color: var(--lsh-brand-dark); background: var(--lsh-soft); border-radius: 19px; }
.lsh-group__number b { font-size: 23px; line-height: 1; }
.lsh-group__number span { margin-top: 5px; font-size: 11px; }

.lsh-fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.lsh-fieldset + .lsh-fieldset { margin-top: 18px; }
.lsh-fieldset legend { width: 100%; margin: 0 0 9px; padding: 0; color: var(--lsh-ink); font-weight: 800; }
.lsh-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lsh-style { min-width: 0; padding: 8px; color: var(--lsh-ink); text-align: left; background: #fff; border: 2px solid var(--lsh-line); border-radius: 14px; }
.lsh-style[aria-pressed="true"] { background: var(--lsh-soft); border-color: var(--lsh-brand); }
.lsh-style:disabled { cursor: not-allowed; opacity: .55; }
.lsh-style__image { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #faf8f5; border-radius: 10px; }
.lsh-style__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lsh-style__label { display: block; margin-top: 8px; overflow: hidden; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.lsh-style__stock { display: block; color: var(--lsh-brand-dark); font-size: 11px; }

.lsh-size-row { display: flex; flex-wrap: wrap; gap: 9px; }
.lsh-size { min-width: 58px; min-height: 46px; padding: 7px 12px; color: var(--lsh-ink); background: #fff; border: 2px solid var(--lsh-line); border-radius: 11px; font-weight: 800; }
.lsh-size[aria-pressed="true"] { color: #fff; background: var(--lsh-brand); border-color: var(--lsh-brand); }
.lsh-size:disabled { cursor: not-allowed; opacity: .45; text-decoration: line-through; }
.lsh-size small { display: block; font-size: 9px; font-weight: 400; }
.lsh-size-placeholder { margin: 0; padding: 11px 13px; color: var(--lsh-muted); background: #f8f4f3; border-radius: 10px; font-size: 14px; }
.lsh-group__summary { margin: 16px 0 0; padding-top: 12px; color: var(--lsh-muted); border-top: 1px dashed #dfd2d4; font-size: 13px; }
.lsh-group.is-complete .lsh-group__summary { color: var(--lsh-success); }
.lsh-error { margin-top: 14px; padding: 12px 14px; color: #7e2a2a; background: #fff1f1; border: 1px solid #efb9b9; border-radius: 11px; font-weight: 700; }

.lsh-sticky { position: fixed; z-index: 999; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px max(18px, calc((100vw - 1120px) / 2)) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--lsh-line); box-shadow: 0 -10px 32px rgba(63, 37, 44, .11); backdrop-filter: blur(12px); }
.lsh-sticky__summary { display: flex; gap: 24px; }
.lsh-sticky__summary span, .lsh-sticky__summary small, .lsh-sticky__summary strong { display: block; }
.lsh-sticky__summary small { color: var(--lsh-muted); font-size: 11px; }
.lsh-sticky__summary strong { color: var(--lsh-ink); font-size: 18px; }
.lsh-sticky__summary span:last-child strong { color: var(--lsh-brand-dark); }
.lsh-submit { min-height: 52px; padding: 11px 24px; color: #fff; background: var(--lsh-brand); border: 0; border-radius: 13px; box-shadow: 0 7px 18px rgba(189, 69, 97, .2); font-weight: 800; }
.lsh-submit:hover { background: var(--lsh-brand-dark); }
.lsh-submit:disabled { cursor: wait; opacity: .7; }
.lsh-from-price small { color: inherit; font-size: .65em; font-weight: 400; }
.lsh-fixed-quantity { font-weight: 700; }

@media (max-width: 780px) {
  .lsh-builder { margin-bottom: 105px; }
  .lsh-tier-grid { grid-template-columns: 1fr; }
  .lsh-tier { min-height: 0; }
  .lsh-selection-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .lsh-builder { font-size: 16px; }
  .lsh-steps { gap: 5px; }
  .lsh-steps span { gap: 4px; min-height: 44px; padding: 4px; font-size: 11px; }
  .lsh-steps b { width: 21px; height: 21px; }
  .lsh-group { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .lsh-group__number { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; height: 44px; padding: 0 13px; border-radius: 11px; }
  .lsh-group__number b { font-size: 18px; }
  .lsh-group__number span { margin: 0; }
  .lsh-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsh-size { flex: 1 1 62px; min-height: 48px; }
  .lsh-sticky { align-items: stretch; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .lsh-sticky__summary { align-items: center; gap: 12px; }
  .lsh-sticky__summary strong { font-size: 16px; }
  .lsh-submit { min-width: 142px; padding: 9px 12px; font-size: 14px; }
}

