/* Llamas "Build your guitar": section on the page and the full-screen builder.
   Sizes are in px/clamp (the site's rem scales with viewport width). */

/* ---------- section ---------- */
.build {
  position: relative;
  z-index: 100;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #070707;
  color: #f5f0eb;
}
.build-bg {
  position: absolute;
  inset: 0;
}
.build-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
  opacity: 0.42;
  filter: saturate(0.85);
}
.build-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070707 18%, rgba(7, 7, 7, 0.7) 52%, rgba(7, 7, 7, 0.25)),
    linear-gradient(0deg, #070707, transparent 30%);
}
.build-inner {
  position: relative;
  max-width: 640px;
  padding: 14vh 6vw;
}
.build-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #d60407;
  font: 600 13px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.build-eyebrow:before {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}
.build-title {
  margin: 0;
  font: 900 clamp(64px, 9vw, 150px) / 0.9 "Big Shoulders", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.build-text {
  max-width: 44ch;
  margin: 26px 0 34px;
  color: #cfc8c2;
  font: 400 clamp(16px, 1.35vw, 20px) / 1.6 Barlow, Arial, sans-serif;
}
.build-start {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  border: 1px solid #d60407;
  background: #d60407;
  color: #fff;
  font: 600 14px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.build-start:after {
  content: "→";
  letter-spacing: 0;
  transition: transform 0.3s ease;
}
.build-start:hover,
.build-start:focus-visible {
  background: transparent;
}
.build-start:hover:after {
  transform: translateX(4px);
}
.build-note {
  margin: 18px 0 0;
  color: #8f8781;
  font: 400 13px/1.4 Barlow, Arial, sans-serif;
}

/* ---------- builder overlay ----------
   Desktop: woods | guitar | your build. Tablet upright: guitar on top, woods and build below.
   Phone: guitar on top, part tabs and woods below, actions at the bottom. Phone held sideways:
   guitar on the left, everything else on the right. */
.lb {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-columns: minmax(360px, 30%) minmax(0, 1fr) minmax(270px, 21%);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "top top top"
    "choose stage summary";
  background: radial-gradient(ellipse 45% 70% at 52% 55%, #2a0606, #0b0b0b 62%, #050505);
  color: #f5f0eb;
  font-family: Barlow, Arial, sans-serif;
  opacity: 0;
  transition: opacity 0.45s ease;
  cursor: auto;
}
.lb.is-open {
  opacity: 1;
}
/* closed: removed entirely (display: grid above would otherwise override [hidden]) */
.lb[hidden] {
  display: none;
}
.lb > * {
  min-width: 0;
}
.lb * {
  cursor: inherit;
}
.lb button {
  cursor: pointer;
}
html.lb-open .custom-cursor {
  display: none;
}
.lb-tag {
  font: 600 0.62em/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
}
.lb-tab-label .lb-tag,
.lb-sum-row dt .lb-tag {
  font-size: 1em;
}

/* header */
.lb-top {
  grid-area: top;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px 16px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 8, 8, 0.6);
}
.lb-brand {
  flex: 1;
  min-width: 0;
}
.lb-eyebrow {
  margin: 0 0 8px;
  color: #d60407;
  font: 600 12px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.lb-title {
  margin: 0;
  font: 900 40px/0.95 "Big Shoulders", Impact, sans-serif;
  text-transform: uppercase;
}
.lb-badge {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(214, 4, 7, 0.6);
  background: rgba(10, 10, 10, 0.75);
  color: #f0e6de;
  font: 600 11px/1.25 Barlow, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lb-close {
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 240, 235, 0.25);
  background: none;
  color: #f5f0eb;
  font-size: 16px;
}
.lb-close:hover {
  border-color: #d60407;
  color: #fff;
}

/* left: parts and their woods */
.lb-choose {
  grid-area: choose;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 12, 12, 0.86);
}
.lb-tabs {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.lb-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: none;
  color: #a39b95;
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
}
.lb-tab:hover {
  color: #f5f0eb;
}
.lb-tab[aria-selected="true"] {
  background: rgba(214, 4, 7, 0.13);
  color: #fff;
}
.lb-tab[aria-selected="true"]:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d60407;
}
.lb-tab-swatch,
.lb-sum-swatch {
  display: block;
  flex: none;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-size: 320% auto;
  background-position: 50% 45%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 2px 8px rgba(0, 0, 0, 0.5);
}
.lb-tab-text {
  display: grid;
  gap: 5px;
}
.lb-tab-label {
  font: 600 12px/1.1 Barlow, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lb-tab-wood {
  color: #cfc8c2;
  font: 400 14px/1.2 Barlow, Arial, sans-serif;
}
.lb-woods {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding: 28px 26px 24px;
}
.lb-part-count {
  margin: 0 0 10px;
  color: #8f8781;
  font: 600 12px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.24em;
}
.lb-part-title {
  margin: 0;
  font: 900 46px/0.95 "Big Shoulders", Impact, sans-serif;
  text-transform: uppercase;
}
.lb-hint {
  margin: 12px 0 24px;
  color: #b8b0aa;
  font-size: 15px;
  line-height: 1.55;
}
.lb-opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 22px 12px;
}
.lb-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: #cfc8c2;
  text-align: center;
}
.lb-swatch {
  display: block;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-size: 260% auto;
  background-position: 50% 45%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 -12px 20px rgba(0, 0, 0, 0.32), 0 6px 18px rgba(0, 0, 0, 0.55);
  outline: 2px solid transparent;
  outline-offset: 4px;
  transition: outline-color 0.25s ease, transform 0.25s ease;
}
.lb-opt:hover .lb-swatch {
  transform: scale(1.05);
}
.lb-opt[aria-checked="true"] .lb-swatch {
  outline-color: #d60407;
}
.lb-opt-name {
  font: 600 14px/1.2 Barlow, Arial, sans-serif;
}
.lb-opt[aria-checked="true"] .lb-opt-name {
  color: #fff;
}
.lb-steppers {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}
.lb-steppers button,
.lb-actions button {
  padding: 15px 20px;
  border: 1px solid rgba(245, 240, 235, 0.3);
  background: none;
  color: #f5f0eb;
  font: 600 12px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lb-steppers .lb-prev {
  flex: none;
  width: 52px;
  padding: 15px 0;
  letter-spacing: 0;
}
.lb-steppers .lb-next {
  flex: 1;
}
.lb-steppers .lb-next,
.lb-actions .lb-enquire {
  border-color: #d60407;
  background: #d60407;
}
.lb-steppers button:disabled {
  opacity: 0.3;
}

/* centre: the guitar */
.lb-stage {
  grid-area: stage;
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.lb-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}
.lb-viewport.is-zoomed {
  cursor: grab;
}
.lb-zoom {
  position: absolute;
  inset: 0;
  transition: transform 0.25s ease-out;
  transform-origin: 50% 50%;
}
.lb-flip {
  position: absolute;
  inset: 3% 2% 128px; /* the guitar stays clear of the view controls and the legend */
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  perspective: 1600px;
}
.lb-flip.is-back {
  transform: rotateY(180deg);
}
.lb-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.lb-back {
  transform: rotateY(180deg);
}
/* wide screens: front and back side by side, so every wood choice is visible without flipping */
@media (min-width: 801px), (orientation: landscape) {
  .lb-flip,
  .lb-flip.is-back {
    transform: none;
  }
  .lb-face {
    width: 50%;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
  .lb-front {
    left: 0;
  }
  .lb-back {
    left: 50%;
    transform: none;
  }
  .lb-face:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    text-align: center;
    color: #a39b95;
    font: 600 11px/1 Barlow, Arial, sans-serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .lb-seg-view {
    display: none !important;
  }
}
.lb-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lb-frets line {
  stroke: #d9d9d9;
  stroke-width: 1.6;
}
.lb-strings line {
  stroke: #e6e6e6;
}
.lb-strings .lb-str-shadow {
  stroke: #000;
  opacity: 0.35;
}
/* hardware that isn't confirmed yet: drawn as a dashed placeholder */
.lb-ghost * {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(233, 226, 220, 0.8);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
}
/* the part being chosen is traced in red */
.lb-focus {
  fill: none;
  stroke: #d60407;
  stroke-width: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lb[data-active="body"] .lb-focus[data-focus="body"],
.lb[data-active="top"] .lb-focus[data-focus="top"],
.lb[data-active="neck"] .lb-focus[data-focus="neck"],
.lb[data-active="fretboard"] .lb-focus[data-focus="fretboard"] {
  opacity: 0.95;
  animation: lbFocus 2.6s ease-in-out infinite;
}
@keyframes lbFocus {
  50% {
    opacity: 0.35;
  }
}
.lb-part.is-changed {
  animation: lbChange 0.8s ease;
}
@keyframes lbChange {
  0% {
    opacity: 0.4;
    filter: brightness(1.5);
  }
  to {
    opacity: 1;
    filter: none;
  }
}
.lb-view {
  position: absolute;
  left: 50%;
  bottom: 62px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}
.lb-seg {
  display: flex;
  border: 1px solid rgba(245, 240, 235, 0.25);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
}
.lb-seg button {
  min-width: 46px;
  padding: 11px 16px;
  border: 0;
  background: none;
  color: #e9e2dc;
  font: 600 12px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lb-seg button + button {
  border-left: 1px solid rgba(245, 240, 235, 0.15);
}
.lb-seg button.is-on {
  background: #d60407;
  color: #fff;
}
.lb-seg button:hover {
  color: #fff;
}
.lb-legend {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  margin: 0;
  text-align: center;
  color: #8f8781;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.lb-legend-dash {
  display: inline-block;
  width: 22px;
  margin-right: 8px;
  border-top: 2px dashed rgba(233, 226, 220, 0.75);
  vertical-align: middle;
}

/* right: the build so far */
.lb-summary {
  grid-area: summary;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding: 28px 26px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 12, 12, 0.86);
}
.lb-sum-title {
  margin: 0 0 6px;
  font: 900 34px/1 "Big Shoulders", Impact, sans-serif;
  text-transform: uppercase;
}
.lb-sum {
  margin: 0 0 18px;
}
.lb-sum-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lb-sum-row dt {
  color: #8f8781;
  font: 600 11px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.lb-sum-row.is-current dt {
  color: #d60407;
}
.lb-sum-row dd {
  margin: 0;
}
.lb-sum-wood,
.lb-sum-row.is-fixed dd {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #f5f0eb;
  font: 800 22px/1.1 "Big Shoulders", Impact, sans-serif;
  text-align: left;
  text-transform: uppercase;
}
.lb-sum-row.is-fixed dd {
  color: #cfc8c2;
}
.lb-sum-wood:after {
  content: "Change";
  margin-left: auto;
  color: #8f8781;
  font: 600 10px/1 Barlow, Arial, sans-serif;
  letter-spacing: 0.16em;
}
.lb-sum-wood:hover:after,
.lb-sum-wood:focus-visible:after {
  color: #fff;
}
.lb-sum-swatch {
  width: 24px;
}
.lb-saved {
  margin: 0 0 16px;
  color: #8f8781;
  font-size: 13px;
  line-height: 1.45;
}
.lb-actions {
  display: grid;
  gap: 10px;
}
.lb-copied {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #e9e2dc;
  font-size: 14px;
}
.lb button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.lb-opt:focus-visible {
  outline: none;
}
.lb-opt:focus-visible .lb-swatch {
  outline-color: #fff;
}

/* narrower desktops: part tabs in a 2 x 2 grid above the woods */
@media (min-width: 801px) and (max-width: 1180px) and (orientation: landscape) {
  .lb-choose {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .lb-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-tab {
    flex-direction: row;
    align-items: center;
    padding: 12px 14px;
  }
  .lb-tab:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-part-title {
    font-size: 36px;
  }
}

/* tablets held upright: guitar on top, woods and the build side by side below */
@media (min-width: 801px) and (orientation: portrait) {
  .lb {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) minmax(0, 42%);
    grid-template-areas:
      "top top"
      "stage stage"
      "choose summary";
  }
  .lb-choose {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-summary {
    padding: 20px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  /* the build list is compact here so the actions stay in view */
  .lb-sum-title {
    font-size: 28px;
  }
  .lb-sum {
    margin-bottom: 14px;
  }
  .lb-sum-row {
    gap: 6px;
    padding: 8px 0;
  }
  .lb-sum-wood,
  .lb-sum-row.is-fixed dd {
    font-size: 18px;
  }
  .lb-saved {
    display: none;
  }
  .lb-actions button {
    padding: 12px 14px;
  }
}

/* phone: guitar on top, part tabs and woods below, actions at the bottom */
@media (max-width: 800px) and (orientation: portrait) {
  .lb {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "top"
      "stage"
      "choose"
      "summary";
  }
  .lb-top {
    gap: 10px;
    padding: 12px 14px 10px 16px;
  }
  .lb-brand {
    flex: none;
  }
  .lb-eyebrow {
    display: none;
  }
  .lb-title {
    font-size: 26px;
    white-space: nowrap;
  }
  .lb-badge {
    flex: 1;
    min-width: 0;
    padding: 5px 7px;
    font-size: 9px;
    letter-spacing: 0.06em;
    text-align: center;
  }
  .lb-close {
    width: 38px;
    height: 38px;
  }
  .lb-flip {
    inset: 3% 0 54px;
  }
  .lb-view {
    bottom: 10px;
    gap: 8px;
  }
  .lb-seg button {
    min-width: 40px;
    padding: 9px 12px;
    font-size: 11px;
  }
  .lb-legend {
    top: 10px;
    bottom: auto;
    left: 12px;
    right: auto;
    max-width: 46%;
    font-size: 10px;
    text-align: left;
  }
  .lb-legend-more {
    display: none;
  }
  .lb-legend-dash {
    width: 16px;
    margin-right: 6px;
  }
  .lb-choose {
    grid-template-columns: minmax(0, 1fr);
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .lb-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    scrollbar-width: none;
  }
  .lb-tab {
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 9px 8px 9px 10px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-tab[aria-selected="true"]:before {
    top: auto;
    right: 0;
    width: auto;
    height: 3px;
  }
  .lb-tab-swatch {
    width: 20px;
  }
  .lb-tab-text {
    min-width: 0;
    max-width: 100%;
    gap: 4px;
  }
  .lb-tab-label {
    font-size: 9px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .lb-tab-wood {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lb-woods {
    overflow: visible;
    padding: 10px 16px 8px;
  }
  .lb-part-count,
  .lb-part-title,
  .lb-steppers {
    display: none;
  }
  .lb-hint {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
  }
  .lb-opts {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 6px 2px 4px;
    scrollbar-width: none;
  }
  .lb-opt {
    flex: 1 0 64px;
    gap: 8px;
  }
  .lb-swatch {
    width: 52px;
    outline-offset: 3px;
  }
  .lb-opt-name {
    font-size: 11px;
  }
  .lb-summary {
    overflow: visible;
    padding: 8px 16px calc(12px + env(safe-area-inset-bottom));
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  /* the part tabs already show the build */
  .lb-sum-title,
  .lb-sum,
  .lb-saved {
    display: none;
  }
  .lb-actions {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 8px;
  }
  .lb-actions button {
    padding: 12px 6px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .lb-copied {
    min-height: 0;
    margin: 6px 0 0;
    font-size: 12px;
  }
  .lb-copied:empty {
    display: none;
  }
}

/* phone held sideways: guitar on the left, the rest on the right */
@media (orientation: landscape) and (max-height: 500px) {
  .lb {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "stage top"
      "stage choose"
      "stage summary";
  }
  .lb-top {
    gap: 10px;
    padding: 8px 12px 8px 16px;
  }
  .lb-eyebrow {
    display: none;
  }
  .lb-title {
    font-size: 20px;
  }
  .lb-badge {
    padding: 4px 7px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .lb-close {
    width: 34px;
    height: 34px;
  }
  .lb-stage {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-flip {
    inset: 10px 0 64px;
  }
  .lb-face:before {
    bottom: -16px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .lb-view {
    bottom: 24px;
  }
  .lb-seg button {
    min-width: 34px;
    padding: 6px 10px;
    font-size: 10px;
  }
  .lb-legend {
    left: 8px;
    right: 8px;
    bottom: 4px;
    font-size: 9px;
  }
  .lb-legend-more {
    display: none;
  }
  .lb-choose {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    border-right: 0;
  }
  .lb-tabs {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-tab {
    flex: 1 1 0;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 6px 6px 6px 8px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-tab[aria-selected="true"]:before {
    top: auto;
    right: 0;
    width: auto;
    height: 2px;
  }
  .lb-tab-swatch {
    width: 18px;
  }
  .lb-tab-text {
    min-width: 0;
    gap: 3px;
  }
  .lb-tab-label {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .lb-tab-wood {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lb-woods {
    padding: 6px 14px 4px;
  }
  .lb-part-count,
  .lb-part-title,
  .lb-steppers {
    display: none;
  }
  .lb-hint {
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.35;
  }
  .lb-opts {
    display: flex;
    gap: 4px;
  }
  .lb-opt {
    flex: 1 1 0;
    gap: 5px;
    min-width: 0;
  }
  .lb-swatch {
    width: 42px;
    outline-offset: 2px;
  }
  .lb-opt-name {
    font-size: 10px;
  }
  .lb-summary {
    padding: 6px 14px 8px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-sum-title,
  .lb-sum,
  .lb-saved {
    display: none;
  }
  .lb-actions {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 6px;
  }
  .lb-actions button {
    padding: 9px 6px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .lb-copied {
    min-height: 0;
    margin: 4px 0 0;
    font-size: 11px;
  }
  .lb-copied:empty {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lb-flip,
  .lb-zoom,
  .lb {
    transition: none;
  }
  .lb-part.is-changed,
  .lb[data-active] .lb-focus {
    animation: none;
  }
}
