.bo-premium-configurator,
.bo-premium-configurator * {
  box-sizing: border-box;
}

.bo-premium-configurator {
  --bo-cfg-bg: #fbfaf7;
  --bo-cfg-panel: #fbfaf7;
  --bo-cfg-visual: #ffffff;
  --bo-cfg-surface: #ffffff;
  --bo-cfg-ink: #171511;
  --bo-cfg-muted: rgba(28, 25, 20, .56);
  --bo-cfg-line: rgba(42, 36, 29, .12);
  --bo-cfg-soft: rgba(42, 36, 29, .045);
  --bo-cfg-accent: #2b2822;
  --bo-cfg-accent-2: #7b6a55;
  --bo-cfg-active: #f0ece4;
  --bo-cfg-focus: #a08a6f;
  --bo-cfg-shadow: 0 26px 74px rgba(31, 27, 22, .065);
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) clamp(14px, 3vw, 34px);
  color: var(--bo-cfg-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.bo-cfg-shell {
  background: linear-gradient(180deg, #ffffff 0%, var(--bo-cfg-bg) 100%);
  border: 1px solid var(--bo-cfg-line);
  border-radius: 10px;
  overflow: clip;
  box-shadow: var(--bo-cfg-shadow);
}

.bo-cfg-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: clamp(18px, 3vw, 32px);
  border-bottom: 1px solid var(--bo-cfg-line);
}

.bo-cfg-kicker,
.bo-cfg-step,
.bo-cfg-fine {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--bo-cfg-muted);
}

.bo-cfg-title {
  margin: 8px 0 0;
  font-size: clamp(31px, 4.2vw, 62px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: 0;
}

.bo-cfg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  min-height: min(760px, calc(100vh - 150px));
}

.bo-cfg-stage {
  position: relative;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 28px);
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  gap: 14px;
}

.bo-cfg-toolbar,
.bo-cfg-actions,
.bo-cfg-row,
.bo-cfg-tabs,
.bo-cfg-module-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bo-cfg-tabs {
  justify-content: space-between;
}

.bo-cfg-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(42, 36, 29, .14);
  border-radius: 999px;
  background: rgba(255, 253, 248, .64);
  color: rgba(23, 21, 17, .74);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.bo-cfg-view[aria-pressed="true"],
.bo-cfg-button--dark {
  background: var(--bo-cfg-accent);
  border-color: var(--bo-cfg-accent);
  color: #f8f4ec;
}

.bo-cfg-view:hover,
.bo-cfg-button:hover,
.bo-cfg-chip:hover {
  border-color: rgba(123, 106, 85, .36);
  background: rgba(255, 253, 248, .96);
}

.bo-cfg-button--dark:hover {
  background: #1f1d19;
  border-color: #1f1d19;
}

.bo-cfg-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  background: #ffffff;
  border: 1px solid var(--bo-cfg-line);
  border-radius: 8px;
  overflow: hidden;
}

.bo-cfg-preview {
  max-width: min(86%, 860px);
  max-height: 82%;
  object-fit: contain;
  display: block;
  filter: saturate(.96) contrast(.98);
}

.bo-cfg-visual--image .bo-cfg-preview {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.bo-cfg-visual-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--bo-cfg-muted);
  font-size: 12px;
  pointer-events: none;
  z-index: 3;
}

.bo-cfg-dim-overlay {
  position: absolute;
  inset: 18px 22px 54px;
  pointer-events: none;
  z-index: 2;
  color: rgba(39, 34, 28, .66);
  font-size: 12px;
}

.bo-cfg-dim-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(42, 36, 29, .12);
  border-radius: 999px;
  background: rgba(255, 253, 248, .76);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.bo-cfg-dim-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(77, 66, 53, .34);
}

.bo-cfg-dim-tag--w {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.bo-cfg-dim-tag--d {
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}

.bo-cfg-dim-tag--h {
  right: 0;
  top: 18px;
}

.bo-cfg-dim-tag--modules {
  left: 0;
  top: 0;
  max-width: min(420px, 70%);
  white-space: normal;
  line-height: 1.35;
}

.bo-cfg-dim-tag--modules::before {
  display: none;
}

.bo-cfg-canvas3d {
  width: 100%;
  height: 100%;
  min-height: 260px;
  perspective: 980px;
  display: grid;
  place-items: center;
}

.bo-cfg-real3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bo-cfg-real3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: none;
}

.bo-cfg-visual.is-awaiting-3d .bo-cfg-real3d {
  opacity: 0;
}

.bo-cfg-real3d.is-dragging canvas {
  cursor: grabbing;
}

.bo-cfg-scene-tools {
  position: absolute;
  left: 18px;
  top: 58px;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: min(430px, calc(100% - 36px));
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(42, 36, 29, .12);
  border-radius: 8px;
  background: rgba(255, 253, 248, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(27, 24, 19, .07);
}

.bo-cfg-scene-tools strong,
.bo-cfg-scene-tools span {
  display: block;
}

.bo-cfg-scene-tools strong {
  font-size: 13px;
  font-weight: 500;
}

.bo-cfg-scene-tools span {
  margin-top: 2px;
  color: var(--bo-cfg-muted);
  font-size: 11px;
}

.bo-cfg-scene-actions {
  display: flex;
  gap: 6px;
}

.bo-cfg-model3d {
  position: relative;
  width: 72%;
  max-width: 620px;
  height: 180px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-28deg);
  transition: transform .24s ease;
}

.bo-cfg-model3d.is-side { transform: rotateX(62deg) rotateZ(-7deg); }
.bo-cfg-model3d.is-front { transform: rotateX(68deg) rotateZ(0deg); }

.bo-cfg-block3d {
  position: absolute;
  bottom: 0;
  border-radius: 18px;
  background: var(--fabric-color, #d8d0c2);
  border: 1px solid rgba(35, 30, 24, .10);
  box-shadow: 0 30px 54px rgba(27, 24, 19, .12);
}

.bo-cfg-schema {
  position: relative;
  z-index: 2;
  width: min(96%, 980px);
  aspect-ratio: 16 / 10;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 18px;
}

.bo-cfg-plan {
  position: relative;
  width: 100%;
  height: 100%;
}

.bo-cfg-plan-module {
  position: absolute;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0;
  font-size: 12px;
  color: rgba(23, 21, 17, .76);
  appearance: none;
  cursor: pointer;
  outline: none;
  transform-origin: center;
  transition: filter .14s ease, opacity .14s ease;
}

.bo-cfg-plan-module img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 16px 24px rgba(36, 32, 26, .10));
}

.bo-cfg-plan-module span {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 92%;
  transform: translate(-50%, -50%);
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: rgba(28, 25, 21, .62);
  opacity: 0;
  pointer-events: none;
}

.bo-cfg-plan-module:hover span,
.bo-cfg-plan-module.is-selected span {
  opacity: 1;
}

.bo-cfg-plan-module.is-selected img {
  filter: drop-shadow(0 18px 28px rgba(16, 14, 12, .14));
}

.bo-cfg-plan-module.is-empty {
  border: 1px solid rgba(20, 18, 15, .10);
  border-radius: 18px;
  background: #f3f0e9;
}

.bo-cfg-dim-line {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--bo-cfg-muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.bo-cfg-dim-line--w {
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
}

.bo-cfg-dim-line--d {
  right: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}

.bo-cfg-panel {
  min-width: 0;
  background: var(--bo-cfg-panel);
  border-left: 1px solid var(--bo-cfg-line);
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: none;
  overflow: hidden;
}

.bo-cfg-panel-summary {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--bo-cfg-line);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
}

.bo-cfg-panel-summary div {
  min-width: 0;
}

.bo-cfg-panel-summary span {
  display: block;
  margin-bottom: 3px;
  color: var(--bo-cfg-muted);
  font-size: 11px;
}

.bo-cfg-panel-summary strong {
  display: block;
  overflow: hidden;
  color: var(--bo-cfg-ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bo-cfg-panel-summary-price {
  grid-column: 1 / -1;
  padding-top: 2px;
  font-size: 20px;
  line-height: 1.15;
}

.bo-cfg-panel-flow {
  min-height: 0;
  overflow: auto;
  padding: 8px clamp(16px, 2vw, 24px) 18px;
}

.bo-cfg-panel-cta {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--bo-cfg-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.bo-cfg-panel-cta .bo-cfg-button--dark {
  grid-column: 1 / -1;
}

.bo-cfg-panel-section {
  padding: 0;
  border-top: 1px solid var(--bo-cfg-line);
}

.bo-cfg-panel-section:first-child {
  border-top: 0;
}

.bo-cfg-panel-details {
  background: transparent;
}

.bo-cfg-panel-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  color: var(--bo-cfg-ink);
}

.bo-cfg-panel-details summary::-webkit-details-marker {
  display: none;
}

.bo-cfg-panel-details summary span {
  font-size: 13px;
  font-weight: 500;
}

.bo-cfg-panel-details summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(23, 21, 17, .6);
  border-bottom: 1px solid rgba(23, 21, 17, .6);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.bo-cfg-panel-details[open] summary::after {
  transform: rotate(225deg);
}

.bo-cfg-panel-details-body {
  padding: 0 0 16px;
}

.bo-cfg-label {
  display: block;
  margin: 0 0 9px;
  color: var(--bo-cfg-muted);
  font-size: 12px;
}

.bo-cfg-select,
.bo-cfg-input,
.bo-cfg-textarea {
  width: 100%;
  border: 1px solid rgba(42, 36, 29, .13);
  border-radius: 8px;
  background: var(--bo-cfg-surface);
  color: var(--bo-cfg-ink);
  font: inherit;
  font-size: 14px;
  min-height: 42px;
  padding: 10px 12px;
}

.bo-cfg-textarea {
  resize: vertical;
  min-height: 92px;
}

.bo-cfg-select:focus,
.bo-cfg-input:focus,
.bo-cfg-textarea:focus {
  outline: 1px solid rgba(160, 138, 111, .72);
  border-color: rgba(160, 138, 111, .58);
}

.bo-cfg-range-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.bo-cfg-range {
  width: 100%;
  accent-color: var(--bo-cfg-accent);
}

.bo-cfg-module,
.bo-cfg-fabric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(42, 36, 29, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  padding: 10px;
  margin-bottom: 8px;
  text-align: left;
  color: var(--bo-cfg-ink);
}

.bo-cfg-module:has(.bo-cfg-module-preview) {
  grid-template-columns: 98px minmax(0, 1fr) auto;
}

.bo-cfg-module-preview {
  width: 98px;
  height: 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 29, .09);
  border-radius: 7px;
  background: #fff;
}

.bo-cfg-module-preview img {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  object-position: center;
}

.bo-cfg-module-preview.is-empty {
  background: repeating-linear-gradient(135deg, rgba(42,36,29,.04), rgba(42,36,29,.04) 6px, rgba(255,253,248,.8) 6px, rgba(255,253,248,.8) 12px);
}

.bo-cfg-module-preview.is-empty img {
  display: none;
}

.bo-cfg-module strong,
.bo-cfg-fabric strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.bo-cfg-module span,
.bo-cfg-fabric span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--bo-cfg-muted);
}

.bo-cfg-chip,
.bo-cfg-counter {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid rgba(42, 36, 29, .13);
  border-radius: 999px;
  background: var(--bo-cfg-surface);
  display: inline-grid;
  place-items: center;
  color: var(--bo-cfg-ink);
}

.bo-cfg-chip[disabled] {
  opacity: .38;
  cursor: default;
}

.bo-cfg-chip[data-module-add] {
  background: var(--bo-cfg-accent);
  border-color: var(--bo-cfg-accent);
  color: #fffaf2;
}

.bo-cfg-chip[data-module-add]:hover {
  background: #1f1d19;
  border-color: #1f1d19;
}

.bo-cfg-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(43, 37, 29, .24);
  background-color: var(--swatch, #ddd);
  background-image: var(--swatch-image, none);
  background-size: cover;
  background-position: center;
}

.bo-cfg-fabric.is-active,
.bo-cfg-module.is-active {
  border-color: rgba(92, 78, 60, .52);
  background: linear-gradient(180deg, #f4f0e8 0%, #ebe4d8 100%);
}

.bo-cfg-module-group {
  border: 1px solid rgba(42, 36, 29, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
  overflow: clip;
  transition: border-color .18s ease, background .18s ease;
}

.bo-cfg-module-group[open] {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(123, 106, 85, .30);
}

.bo-cfg-module-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 11px 12px;
  cursor: pointer;
  list-style: none;
  background: rgba(255, 255, 255, .62);
}

.bo-cfg-module-group summary::-webkit-details-marker {
  display: none;
}

.bo-cfg-module-group summary::after {
  content: none;
  display: none;
}

.bo-cfg-module-group[open] summary::after {
  transform: none;
}

.bo-cfg-module-group summary span {
  min-width: 0;
}

.bo-cfg-module-group-main {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.bo-cfg-module-group-preview {
  width: 94px;
  height: 50px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 29, .10);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f7f4ed 100%);
}

.bo-cfg-module-group-preview canvas,
.bo-cfg-module-group-preview img {
  width: 100%;
  height: 100%;
  display: block;
}

.bo-cfg-module-group-preview img {
  object-fit: contain;
  object-position: center;
}

.bo-cfg-module-group-preview.is-empty img {
  display: none;
}

.bo-cfg-module-sketch {
  position: relative;
  width: var(--sketch-w, 68px);
  height: var(--sketch-h, 34px);
  border: 1px solid rgba(115, 104, 88, .22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(222,216,203,.32)),
    #eee9dd;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 8px 16px rgba(50, 43, 34, .08);
}

.bo-cfg-module-sketch::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 8%;
  height: 24%;
  border-radius: 999px;
  background: rgba(255, 253, 247, .76);
  box-shadow: 0 1px 3px rgba(50, 43, 34, .10);
}

.bo-cfg-module-sketch span {
  position: absolute;
  inset: 36% 12% auto;
  height: 1px;
  background: rgba(115, 104, 88, .18);
}

.bo-cfg-module-sketch--chaise::after {
  content: "";
  position: absolute;
  left: 44%;
  right: 8%;
  bottom: -24%;
  height: 42%;
  border: 1px solid rgba(115, 104, 88, .18);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: rgba(238, 233, 221, .82);
}

.bo-cfg-module-group summary strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.bo-cfg-module-group summary em {
  display: block;
  margin-top: 3px;
  color: var(--bo-cfg-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bo-cfg-module-group summary small {
  padding: 5px 8px;
  border: 1px solid rgba(42, 36, 29, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: rgba(23, 21, 17, .62);
  font-size: 11px;
  white-space: nowrap;
}

.bo-cfg-module-sizes {
  display: grid;
  gap: 7px;
  padding: 8px;
}

.bo-cfg-module--size {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 0;
  min-height: 60px;
  background: rgba(255, 255, 255, .82);
  cursor: default;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.bo-cfg-module--size:hover {
  border-color: rgba(92, 78, 60, .34);
  background: #fff;
}

.bo-cfg-module--size.is-active {
  box-shadow: inset 0 0 0 1px rgba(92, 78, 60, .18);
}

.bo-cfg-module--size.is-active .bo-cfg-module-preview {
  border-color: rgba(92, 78, 60, .30);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(232,224,210,.82));
}

.bo-cfg-module--size .bo-cfg-module-actions {
  gap: 6px;
  flex-wrap: nowrap;
}

.bo-cfg-module--size strong {
  font-size: 13px;
}

.bo-cfg-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  color: var(--bo-cfg-ink);
  font-size: 14px;
}

.bo-cfg-toggle {
  width: 44px;
  height: 24px;
  border: 1px solid var(--bo-cfg-line);
  border-radius: 999px;
  background: #ded8cd;
  position: relative;
}

.bo-cfg-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 2px;
  left: 3px;
  border-radius: 50%;
  background: #fffdf8;
  transition: transform .16s ease;
}

.bo-cfg-option input:checked + .bo-cfg-toggle {
  background: #6f604d;
}

.bo-cfg-option input:checked + .bo-cfg-toggle::after {
  transform: translateX(18px);
}

.bo-cfg-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bo-cfg-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 4px 0 8px;
  color: var(--bo-cfg-ink);
  font-size: 13px;
  line-height: 1.35;
}

.bo-cfg-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--bo-cfg-accent);
}

.bo-cfg-layout-card {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(42, 36, 29, .12);
  border-radius: 8px;
  background: var(--bo-cfg-soft);
  margin: 10px 0;
}

.bo-cfg-layout-card strong {
  font-size: 14px;
  font-weight: 500;
}

.bo-cfg-layout-card span {
  color: var(--bo-cfg-muted);
  font-size: 12px;
}

.bo-cfg-transform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.bo-cfg-size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 8px;
}

.bo-cfg-transform-grid .bo-cfg-button {
  min-width: 0;
  padding: 0 8px;
}

.bo-cfg-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(42, 36, 29, .12);
  border-radius: 8px;
  background: var(--bo-cfg-soft);
}

.bo-cfg-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
}

.bo-cfg-summary-row span:first-child {
  color: var(--bo-cfg-muted);
}

.bo-cfg-price {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
}

.bo-cfg-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(42, 36, 29, .14);
  border-radius: 999px;
  background: var(--bo-cfg-surface);
  color: var(--bo-cfg-ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.bo-cfg-button:disabled {
  opacity: .48;
  cursor: default;
}

.bo-cfg-button--wide {
  width: 100%;
}

.bo-cfg-warnings {
  display: grid;
  gap: 8px;
}

.bo-cfg-warning {
  border-left: 2px solid var(--bo-cfg-accent-2);
  padding: 8px 10px;
  background: rgba(123, 106, 85, .095);
  color: rgba(28, 25, 20, .70);
  font-size: 13px;
}

.bo-cfg-form {
  display: grid;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
}

.bo-cfg-form-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.bo-cfg-form-footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(42, 36, 29, .10);
  background: #FBFAF7;
  box-shadow: 0 -14px 28px rgba(251, 250, 247, .96);
}

.bo-cfg-form-footer .bo-cfg-button--dark {
  min-height: 54px;
  border-color: #161616;
  background: #161616 !important;
  color: #FFFFFF !important;
  opacity: 1;
  box-shadow: none;
}

.bo-cfg-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 21, 17, .38);
  backdrop-filter: blur(8px);
}

.bo-cfg-modal-card {
  position: relative;
  box-sizing: border-box;
  width: min(92vw, 720px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(42, 36, 29, .14);
  border-radius: 10px;
  background: #FBFAF7;
  box-shadow: 0 28px 90px rgba(23, 21, 17, .24);
}

.bo-cfg-modal-card *,
.bo-cfg-modal-card *::before,
.bo-cfg-modal-card *::after {
  box-sizing: border-box;
}

.bo-cfg-modal-scroll {
  width: 100%;
  max-width: 100%;
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 38px 30px;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.bo-cfg-modal-card h3 {
  margin: 6px 0 8px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
}

.bo-cfg-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(42, 36, 29, .14);
  border-radius: 50%;
  background: var(--bo-cfg-surface);
  color: var(--bo-cfg-ink);
  cursor: pointer;
}

.bo-cfg-modal-summary {
  margin: 14px 0;
  padding: 10px 12px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(42, 36, 29, .10);
  border-radius: 8px;
  background: rgba(255, 253, 248, .62);
}

.bo-cfg-modal-summary summary {
  cursor: pointer;
  color: var(--bo-cfg-ink);
  font-size: 13px;
}

.bo-cfg-modal-summary pre {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
  color: rgba(23, 21, 17, .70);
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
}

.bo-cfg-status {
  min-height: 18px;
  color: var(--bo-cfg-muted);
  font-size: 13px;
}

.bo-cfg-lead-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .08);
  background: #fff;
  color: var(--bo-cfg-muted);
  font-size: 14px;
}

.bo-cfg-lead-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.bo-cfg-copy-ok {
  color: #50624f;
}

body.bo-cfg-lock {
  overflow: hidden;
}

@media (min-width: 1061px) {
  .bo-config:has(.bo-premium-configurator) {
    padding-top: 0;
    padding-bottom: 0;
  }

  .bo-config:has(.bo-premium-configurator) .bo-config__head {
    display: none;
  }

  .bo-config:has(.bo-premium-configurator) .bo-config__frame {
    margin-top: 0;
  }

  .bo-config:has(.bo-premium-configurator) .bo-container {
    width: min(100%, 1720px);
  }

  .bo-premium-configurator {
    width: min(100%, 1720px);
    padding: 10px 16px;
  }

  .bo-cfg-shell {
    display: grid;
    grid-template-rows: 1fr;
    height: calc(100vh - 92px);
    min-height: 620px;
    max-height: 840px;
  }

  .bo-cfg-head {
    display: none;
  }

  .bo-cfg-layout {
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 392px;
  }

  .bo-cfg-stage {
    min-height: 0;
    padding: 12px;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
  }

  .bo-cfg-actions {
    display: none;
  }

  .bo-cfg-toolbar {
    min-height: 34px;
    gap: 6px;
  }

  .bo-cfg-view {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .bo-cfg-visual {
    min-height: 0;
    height: 100%;
  }

  .bo-cfg-visual-note {
    bottom: 10px;
    font-size: 11px;
  }

  .bo-cfg-scene-tools {
    top: 48px;
    left: 14px;
    max-width: min(520px, calc(100% - 28px));
    padding: 8px 10px;
  }

  .bo-cfg-panel-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
    padding: 11px 14px;
  }

  .bo-cfg-panel-summary span {
    margin-bottom: 1px;
    font-size: 10px;
  }

  .bo-cfg-panel-summary strong {
    font-size: 12px;
  }

  .bo-cfg-panel-summary-price {
    grid-column: auto;
    padding-top: 0;
    font-size: 16px;
    text-align: right;
  }

  .bo-cfg-panel-flow {
    padding: 4px 14px 10px;
  }

  .bo-cfg-panel-cta {
    padding: 10px 14px;
  }

  .bo-cfg-panel-details summary {
    min-height: 38px;
  }

  .bo-cfg-panel-details-body {
    padding-bottom: 10px;
  }

  .bo-cfg-summary {
    padding: 10px;
    gap: 5px;
  }

  .bo-cfg-summary-row {
    font-size: 12px;
  }

  .bo-cfg-module-group summary {
    min-height: 58px;
    padding: 8px 10px;
  }

  .bo-cfg-module-sizes {
    gap: 5px;
    padding: 0 6px 6px;
  }

  .bo-cfg-module,
  .bo-cfg-fabric {
    gap: 8px;
    padding: 7px;
    margin-bottom: 6px;
  }

  .bo-cfg-module:has(.bo-cfg-module-preview) {
    grid-template-columns: 74px minmax(0, 1fr) auto;
  }

  .bo-cfg-module-group-main {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
  }

  .bo-cfg-module-group-preview {
    width: 72px;
    height: 40px;
  }

  .bo-cfg-module-preview {
    width: 74px;
    height: 50px;
  }

  .bo-cfg-module strong,
  .bo-cfg-fabric strong {
    font-size: 12px;
  }

  .bo-cfg-module span,
  .bo-cfg-fabric span,
  .bo-cfg-fine {
    font-size: 11px;
  }

  .bo-cfg-chip,
  .bo-cfg-counter {
    min-width: 28px;
    min-height: 28px;
  }

  .bo-cfg-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .bo-cfg-size-grid,
  .bo-cfg-transform-grid {
    gap: 6px;
    margin: 8px 0 6px;
  }

  .bo-cfg-select,
  .bo-cfg-input,
  .bo-cfg-textarea {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (max-width: 1060px) {
  .bo-cfg-head {
    grid-template-columns: 1fr;
  }

  .bo-cfg-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bo-cfg-panel {
    position: sticky;
    bottom: 0;
    z-index: 8;
    max-height: 58vh;
    border-left: 0;
    border-top: 1px solid var(--bo-cfg-line);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -16px 50px rgba(31, 27, 22, .10);
  }

  .bo-cfg-stage {
    min-height: 58vh;
  }
}

@media (max-width: 620px) {
  .bo-premium-configurator {
    padding-left: 0;
    padding-right: 0;
  }

  .bo-cfg-shell {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .bo-cfg-title {
    font-size: 34px;
  }

  .bo-cfg-stage {
    padding: 12px;
  }

  .bo-cfg-visual {
    min-height: 330px;
  }

  .bo-cfg-range-row {
    grid-template-columns: 1fr 76px;
  }
}

/* Luxury presentation layer */
.bo-premium-configurator {
  --bo-cfg-bg: #F5F1EA;
  --bo-cfg-panel: #FBFAF7;
  --bo-cfg-visual: #F3F0EA;
  --bo-cfg-surface: #FFFDF9;
  --bo-cfg-ink: #161616;
  --bo-cfg-muted: #8A8379;
  --bo-cfg-line: rgba(0, 0, 0, .08);
  --bo-cfg-accent: #171717;
  --bo-cfg-shadow: 0 34px 90px rgba(34, 30, 24, .11);
  width: min(100%, 1660px);
  padding: clamp(32px, 5vw, 76px) clamp(18px, 3vw, 42px);
  background: radial-gradient(circle at 50% 0, rgba(255,255,255,.72), rgba(245,241,234,0) 42%);
  font-family: "Gilroy", "Gilroy Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.bo-cfg-shell {
  border-radius: 30px;
  border: 1px solid rgba(28, 24, 20, .08);
  background: #FBFAF7;
  box-shadow: var(--bo-cfg-shadow);
  overflow: clip;
}

.bo-cfg-head {
  padding: clamp(30px, 3.4vw, 54px) clamp(34px, 4vw, 66px) clamp(18px, 2vw, 28px);
  border-bottom: 0;
  align-items: start;
}

.bo-cfg-head::after {
  content: "готово к обсуждению";
  justify-self: end;
  align-self: start;
  margin-top: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  color: #716a60;
  font-size: 13px;
  line-height: 1;
  background: rgba(255,255,255,.42);
}

.bo-cfg-kicker {
  color: transparent;
  font-size: 0;
}

.bo-cfg-kicker::before {
  content: "beds.one";
  display: block;
  color: #161616;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 500;
}

.bo-cfg-kicker::after {
  content: "индивидуальная конфигурация";
  display: block;
  margin-top: 14px;
  color: var(--bo-cfg-muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 400;
}

.bo-cfg-title {
  margin-top: 18px;
  font-size: clamp(54px, 5vw, 74px);
  line-height: .94;
  font-weight: 400;
}

.bo-cfg-subtitle {
  margin: 14px 0 0;
  color: var(--bo-cfg-muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.25;
  font-weight: 400;
}

.bo-cfg-summary {
  display: none;
}

.bo-cfg-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  min-height: clamp(650px, 68vh, 820px);
  padding: 0 clamp(18px, 3vw, 48px) clamp(24px, 3vw, 48px);
  gap: clamp(22px, 3vw, 42px);
}

.bo-cfg-stage {
  padding: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
}

.bo-cfg-toolbar {
  order: 3;
  min-height: 42px;
  justify-content: space-between;
  padding: 0 2px;
}

.bo-cfg-view {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.46);
  color: #756f66;
  font-size: 13px;
}

.bo-cfg-view[aria-pressed="true"] {
  background: #171717;
  border-color: #171717;
  color: #fffaf2;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-view[aria-pressed="true"] {
  background: #171717 !important;
  border-color: #171717 !important;
  color: #fffaf2 !important;
}

.bo-cfg-visual {
  min-height: 560px;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.96) 0, rgba(243,240,234,.98) 58%, #EEE9DF 100%);
}

.bo-cfg-visual--plan {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}

.bo-cfg-visual::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 16%;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(50,42,32,.16), rgba(50,42,32,0) 70%);
  pointer-events: none;
  z-index: 1;
}

.bo-cfg-visual--plan::after {
  display: none;
}

.bo-cfg-show-3d {
  position: relative;
  z-index: 5;
  min-width: 170px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #171717;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(34,30,24,.10);
}

.bo-cfg-real3d {
  z-index: 2;
}

.bo-cfg-dim-overlay {
  inset: 26px 32px 60px;
  z-index: 3;
  font-size: 12px;
  color: #8A8379;
}

.bo-cfg-dim-tag {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  letter-spacing: 0;
}

.bo-cfg-dim-tag::before {
  width: 46px;
  background: rgba(22,22,22,.28);
}

.bo-cfg-dim-tag--w,
.bo-cfg-dim-tag--d,
.bo-cfg-dim-tag--h {
  opacity: .92;
}

.bo-cfg-dim-tag--modules {
  left: 24px;
  top: 20px;
  max-width: 48%;
  padding: 7px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: #8A8379;
}

.bo-cfg-visual-note {
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: #8A8379;
  font-size: 12px;
}

.bo-cfg-scene-tools {
  top: 70px;
  left: 28px;
  transform: translateX(0);
  border-radius: 14px;
  border-color: rgba(0,0,0,.08);
  background: rgba(251,250,247,.72);
  box-shadow: 0 22px 52px rgba(34, 30, 24, .08);
}

.bo-cfg-panel {
  align-self: stretch;
  border-left: 0;
  border-radius: 24px;
  background: rgba(255,253,249,.74);
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}

.bo-cfg-panel-summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 30px 30px 24px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  background: transparent;
  backdrop-filter: none;
}

.bo-cfg-spec-block {
  display: grid;
  gap: 7px;
  padding: 0 0 25px;
  margin: 0 0 25px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.bo-cfg-spec-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.bo-cfg-spec-block span,
.bo-cfg-spec-block em {
  color: var(--bo-cfg-muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.35;
}

.bo-cfg-spec-block > strong {
  color: #161616;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 600;
}

.bo-cfg-spec-price > strong {
  font-size: 32px;
}

.bo-cfg-spec-block ul {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.bo-cfg-spec-block li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  color: #161616;
  font-size: 15px;
}

.bo-cfg-spec-block li strong {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.bo-cfg-panel-flow {
  padding: 18px 30px 28px;
  scrollbar-width: thin;
}

.bo-cfg-panel-details summary {
  min-height: 44px;
}

.bo-cfg-panel-details summary span {
  color: #423d36;
  font-size: 13px;
  font-weight: 500;
}

.bo-cfg-panel-cta {
  gap: 10px;
  padding: 18px 30px 24px;
  border-top: 1px solid rgba(0,0,0,.07);
  background: rgba(251,250,247,.94);
}

.bo-cfg-button {
  min-height: 44px;
  border-radius: 999px;
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.58);
  color: #171717;
  font-size: 14px;
}

.bo-cfg-button--dark {
  background: #171717;
  border-color: #171717;
  color: #fffaf2;
}

.bo-cfg-actions {
  justify-content: center;
}

@media (min-width: 1061px) {
  .bo-premium-configurator {
    width: min(100%, 1660px);
    padding: clamp(24px, 3vw, 54px) clamp(18px, 2.6vw, 42px);
  }

  .bo-cfg-shell {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .bo-cfg-head {
    display: grid;
  }

  .bo-cfg-layout {
    height: auto;
    min-height: clamp(620px, 67vh, 800px);
    grid-template-columns: minmax(0, 1fr) minmax(350px, 410px);
  }

  .bo-cfg-stage {
    padding: 0;
  }

  .bo-cfg-actions {
    display: flex;
  }

  .bo-cfg-visual {
    min-height: clamp(520px, 58vh, 720px);
  }

  .bo-cfg-panel-summary {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 28px 22px;
  }

  .bo-cfg-panel-summary-price {
    text-align: left;
  }

  .bo-cfg-panel-flow {
    padding: 16px 28px 24px;
  }

  .bo-cfg-panel-cta {
    padding: 18px 28px 24px;
  }
}

@media (max-width: 1280px) and (min-width: 1061px) {
  .bo-cfg-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
  }

  .bo-cfg-title {
    font-size: 56px;
  }

  .bo-cfg-spec-price > strong {
    font-size: 28px;
  }
}

@media (max-width: 1060px) {
  .bo-premium-configurator {
    padding: 18px 10px 28px;
  }

  .bo-cfg-shell {
    border-radius: 24px;
  }

  .bo-cfg-head {
    padding: 26px 24px 12px;
  }

  .bo-cfg-head::after {
    justify-self: start;
  }

  .bo-cfg-layout {
    padding: 0 16px 20px;
    gap: 18px;
  }

  .bo-cfg-stage {
    min-height: 0;
  }

  .bo-cfg-visual {
    min-height: 430px;
  }

  .bo-cfg-panel {
    position: static;
    max-height: none;
    border-radius: 22px;
  }
}

@media (max-width: 620px) {
  .bo-cfg-shell {
    border-radius: 0;
  }

  .bo-cfg-title {
    font-size: 44px;
  }

  .bo-cfg-visual {
    min-height: 360px;
    border-radius: 20px;
  }

  .bo-cfg-panel-summary,
  .bo-cfg-panel-flow,
  .bo-cfg-panel-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bo-cfg-spec-block > strong {
    font-size: 22px;
  }
}

/* Technical luxury specification layer */
.bo-premium-configurator {
  --bo-bg: #F4F1EA;
  --bo-sheet: #FBFAF7;
  --bo-panel: #F7F4EE;
  --bo-line: rgba(22, 22, 22, .10);
  --bo-line-strong: rgba(22, 22, 22, .22);
  --bo-text: #161616;
  --bo-muted: #8A8379;
  --bo-soft: #B6AEA3;
  --bo-accent: #161616;
  --bo-cfg-bg: var(--bo-bg);
  --bo-cfg-panel: var(--bo-panel);
  --bo-cfg-visual: #F6F3EE;
  --bo-cfg-surface: var(--bo-sheet);
  --bo-cfg-ink: var(--bo-text);
  --bo-cfg-muted: var(--bo-muted);
  --bo-cfg-line: var(--bo-line);
  --bo-cfg-accent: var(--bo-accent);
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(24px, 3.6vw, 56px) clamp(16px, 2.8vw, 40px);
  background: var(--bo-bg);
  color: var(--bo-text);
  font-family: "Gilroy", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

.bo-cfg-shell {
  display: block;
  max-width: 1360px;
  margin: 0 auto;
  border: 1px solid var(--bo-line);
  border-radius: 28px;
  background: var(--bo-sheet);
  box-shadow: 0 24px 70px rgba(26, 23, 18, .075);
  overflow: clip;
}

.bo-cfg-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: clamp(32px, 4vw, 56px) clamp(32px, 4.2vw, 64px) clamp(22px, 2.4vw, 32px);
  border-bottom: 1px solid var(--bo-line);
  align-items: start;
}

.bo-cfg-head::after {
  content: none;
}

.bo-cfg-identity {
  grid-column: span 7;
  min-width: 0;
}

.bo-cfg-kicker {
  margin: 0;
  color: var(--bo-text);
  font-size: 23px;
  line-height: 1.1;
  font-weight: 500;
}

.bo-cfg-kicker::before,
.bo-cfg-kicker::after {
  content: none;
}

.bo-cfg-overline {
  margin: 18px 0 0;
  color: var(--bo-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bo-cfg-title {
  margin: 18px 0 0;
  color: var(--bo-text);
  font-size: clamp(52px, 4.8vw, 68px);
  line-height: .95;
  font-weight: 400;
  letter-spacing: 0;
}

.bo-cfg-subtitle {
  margin: 14px 0 0;
  color: var(--bo-muted);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.35;
  font-weight: 400;
  text-transform: none !important;
}

.bo-cfg-meta {
  grid-column: 9 / span 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-self: start;
  padding: 0;
}

.bo-cfg-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bo-line);
}

.bo-cfg-meta span,
.bo-cfg-spec-head span,
.bo-cfg-spec-block > span {
  color: var(--bo-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bo-cfg-meta strong {
  min-width: 0;
  color: var(--bo-text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
  text-align: right;
}

.bo-cfg-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  min-height: 0;
  padding: clamp(24px, 3.2vw, 48px) clamp(32px, 4.2vw, 64px) 28px;
  align-items: start;
}

.bo-cfg-stage {
  grid-column: span 8;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 18px;
  min-width: 0;
  align-self: start;
}

.bo-cfg-panel {
  grid-column: span 4;
  align-self: start;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  max-height: clamp(620px, 72vh, 760px);
  border: 1px solid var(--bo-line);
  border-radius: 24px;
  background: var(--bo-panel);
  box-shadow: none;
  overflow: hidden;
}

.bo-cfg-toolbar {
  order: 1;
  min-height: 36px;
  padding: 0;
  justify-content: space-between;
}

.bo-cfg-toolbar .bo-cfg-row {
  gap: 8px;
}

.bo-cfg-view {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--bo-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .54);
  color: #5f584f;
  font-size: 12px;
  font-weight: 400;
}

.bo-cfg-view[aria-pressed="true"] {
  border-color: var(--bo-accent);
  background: var(--bo-accent);
  color: #fffaf2;
}

.bo-cfg-view:focus-visible,
.bo-cfg-button:focus-visible,
.bo-cfg-chip:focus-visible {
  outline: 1px solid var(--bo-accent);
  outline-offset: 3px;
}

.bo-cfg-visual {
  order: 2;
  min-height: 0;
  height: clamp(470px, 48vh, 560px);
  border: 1px solid var(--bo-line);
  border-radius: 22px;
  background: #F8F6F1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
}

.bo-cfg-visual::after {
  left: 20%;
  right: 20%;
  bottom: 18%;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(34, 29, 22, .12), rgba(34, 29, 22, 0) 72%);
}

.bo-cfg-real3d {
  z-index: 2;
}

.bo-cfg-dim-overlay {
  inset: 32px 36px 56px;
  z-index: 4;
  pointer-events: none;
  --bo-dim-half: 96px;
}

.bo-cfg-dim-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: rgba(248, 246, 241, .82);
  color: #777067;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: none;
  text-transform: uppercase;
}

.bo-cfg-dim-tag::before,
.bo-cfg-dim-tag::after {
  content: "";
  position: absolute;
  background: rgba(22, 22, 22, .34);
}

.bo-cfg-dim-tag--w {
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
}

.bo-cfg-dim-tag--w::before {
  left: calc(var(--bo-dim-half, 96px) * -1);
  right: calc(var(--bo-dim-half, 96px) * -1);
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.bo-cfg-dim-tag--w::after {
  left: calc(var(--bo-dim-half, 96px) * -1);
  top: calc(50% - 5px);
  width: 1px;
  height: 10px;
  box-shadow: calc(var(--bo-dim-half, 96px) * 2) 0 0 rgba(22, 22, 22, .34);
  transform: rotate(18deg);
}

.bo-cfg-dim-tag--d {
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.bo-cfg-dim-tag--d::before {
  left: calc(var(--bo-dim-half, 86px) * -1);
  right: calc(var(--bo-dim-half, 86px) * -1);
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.bo-cfg-dim-tag--d::after {
  left: calc(var(--bo-dim-half, 86px) * -1);
  top: calc(50% - 5px);
  width: 1px;
  height: 10px;
  box-shadow: calc(var(--bo-dim-half, 86px) * 2) 0 0 rgba(22, 22, 22, .34);
  transform: rotate(18deg);
}

.bo-cfg-dim-tag--h {
  right: 34px;
  top: 30px;
}

.bo-cfg-dim-tag--h::before {
  left: -38px;
  top: 50%;
  width: 30px;
  height: 1px;
}

.bo-cfg-dim-tag--h::after {
  left: -40px;
  top: calc(50% - 5px);
  width: 1px;
  height: 10px;
  transform: rotate(18deg);
}

.bo-cfg-dim-tag--modules {
  left: 22px;
  top: 22px;
  max-width: min(560px, 52%);
  border-radius: 4px;
  border-color: var(--bo-line);
  background: rgba(251, 250, 247, .78);
  color: var(--bo-muted);
  justify-content: flex-start;
}

.bo-cfg-dim-tag.is-positioned {
  transition: left .18s ease, top .18s ease;
}

.bo-cfg-dim-tag--modules::before,
.bo-cfg-dim-tag--modules::after {
  content: none;
}

.bo-cfg-visual--view-top .bo-cfg-dim-tag--h {
  display: none;
}

.bo-cfg-visual--view-top .bo-cfg-dim-tag--w {
  bottom: 58px;
}

.bo-cfg-visual--view-top .bo-cfg-dim-tag--d {
  right: 48px;
}

.bo-cfg-visual-note {
  left: 24px;
  right: 24px;
  bottom: 20px;
  color: var(--bo-muted);
  font-size: 12px;
  line-height: 1.35;
}

.bo-cfg-actions {
  order: 3;
  display: none;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
}

.bo-cfg-panel-summary {
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--bo-line);
  background: transparent;
}

.bo-cfg-spec-head {
  display: grid;
  gap: 8px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--bo-line);
}

.bo-cfg-spec-head strong {
  color: var(--bo-text);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .04em;
}

.bo-cfg-spec-block {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--bo-line);
}

.bo-cfg-spec-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.bo-cfg-spec-block > strong {
  color: var(--bo-text);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
}

.bo-cfg-spec-price > strong {
  font-size: clamp(28px, 2.15vw, 34px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none !important;
}

.bo-cfg-spec-block em {
  max-width: 300px;
  color: var(--bo-muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.bo-cfg-spec-block dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.bo-cfg-spec-block dl div,
.bo-cfg-spec-block li {
  display: grid;
  grid-template-columns: minmax(96px, .52fr) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
}

.bo-cfg-spec-block dt,
.bo-cfg-spec-block li span {
  color: var(--bo-muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 400;
}

.bo-cfg-spec-block dd,
.bo-cfg-spec-block li strong {
  margin: 0;
  color: var(--bo-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.bo-cfg-panel-flow {
  padding: 16px 28px 26px;
  min-height: 0;
  overflow: auto;
  scrollbar-color: rgba(22, 22, 22, .34) transparent;
}

.bo-cfg-panel-details summary {
  min-height: 42px;
  padding: 0;
}

.bo-cfg-panel-details summary span {
  color: var(--bo-text);
  font-size: 13px;
  font-weight: 500;
}

.bo-cfg-panel-details-body {
  padding-bottom: 18px;
}

.bo-cfg-panel-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 18px 28px 24px;
  border-top: 1px solid var(--bo-line);
  background: rgba(251, 250, 247, .92);
}

.bo-cfg-panel-cta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}

.bo-cfg-live-summary {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(22, 22, 22, .08);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--bo-text);
}

.bo-cfg-live-summary-row,
.bo-cfg-live-summary-grid {
  display: grid;
  gap: 8px;
}

.bo-cfg-live-summary-row--top,
.bo-cfg-live-summary-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
}

.bo-cfg-live-summary span {
  color: var(--bo-muted);
  font-size: 11px;
}

.bo-cfg-live-summary strong {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.bo-cfg-live-summary p,
.bo-cfg-live-summary em {
  margin: 0;
  color: var(--bo-muted);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.bo-cfg-live-summary em {
  color: var(--bo-soft);
  font-style: normal;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-summary {
  display: none;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: baseline;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-head span {
  grid-column: 1 / -1;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-block {
  gap: 6px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-block:nth-of-type(n+3) {
  display: none;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-block > span {
  font-size: 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-block dl {
  gap: 5px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-block dl div {
  grid-template-columns: minmax(72px, .5fr) minmax(0, 1fr);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-price > strong {
  font-size: 22px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-price em {
  display: none;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-flow {
  order: 1;
  padding-top: 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  order: 3;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 18px clamp(28px, 3.2vw, 48px) 14px;
  border-bottom: 1px solid rgba(22, 22, 22, .06);
  background: rgba(251, 250, 247, .68);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-identity {
  grid-column: auto;
  min-width: 0;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-kicker {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-overline {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.25;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-title {
  margin-top: 8px;
  font-size: clamp(38px, 3.4vw, 48px);
  line-height: .96;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-subtitle {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.25;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-meta {
  display: none;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-layout {
  align-items: start;
  padding-top: 20px;
  padding-bottom: 20px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-stage {
  gap: 12px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-visual {
  height: clamp(500px, 56vh, 660px);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-controls {
  display: none;
  order: 3;
  grid-template-columns: minmax(180px, 1fr) 96px 96px minmax(144px, auto) minmax(220px, 1fr);
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(22, 22, 22, .06);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 18px 44px rgba(31, 28, 22, .04);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-controls span {
  display: block;
  margin-bottom: 6px;
  color: var(--bo-muted);
  font-size: 10px;
  line-height: 1;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-select,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-size {
  display: grid;
  min-width: 0;
  box-sizing: border-box;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-controls .bo-cfg-select,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-controls .bo-cfg-input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 13px;
  border-color: rgba(22, 22, 22, .075);
  background: #FFFFFF;
  font-size: 13px;
  box-sizing: border-box;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-move,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-rotate {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-move,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-rotate {
  min-height: 40px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-move .bo-cfg-chip {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-color: rgba(22, 22, 22, .07);
  background: #FBFAF7;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-rotate {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-rotate .bo-cfg-button {
  min-height: 36px;
  padding: 0 13px;
  border-color: rgba(22, 22, 22, .065);
  background: #FBFAF7;
  font-size: 12px;
  white-space: nowrap;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel {
  position: sticky;
  top: 16px;
  height: min(760px, calc(100vh - 230px));
  min-height: 520px;
  max-height: calc(100vh - 230px);
  grid-template-rows: minmax(0, 1fr) auto;
  border-color: rgba(22, 22, 22, .075);
  background: #FFFFFF;
  overflow: hidden;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-flow {
  background: #FFFFFF;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 18px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group {
  border-color: rgba(22, 22, 22, .06);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: none;
  overflow: hidden;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group[open] {
  background: #FFFFFF;
  border-color: rgba(22, 22, 22, .10);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group summary {
  min-height: 58px;
  padding: 8px 10px;
  background: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group-main {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group-preview {
  width: 96px;
  height: 62px;
  border-radius: 8px;
  background: #FAF9F6;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group summary strong {
  font-size: 15px;
  font-weight: 500;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group summary em {
  max-width: 220px;
  color: var(--bo-muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group-range {
  display: block;
  max-width: 220px;
  margin-top: 2px;
  color: rgba(22, 22, 22, .78);
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group summary small {
  align-self: center;
  border-color: rgba(22, 22, 22, .06);
  background: #FFFFFF;
  color: var(--bo-muted);
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-sizes {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-add-sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  padding: 0 0 8px;
  background: linear-gradient(#FFFFFF 0%, #FFFFFF 72%, rgba(255, 255, 255, 0));
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-add-sticky .bo-cfg-button {
  min-height: 44px;
  border-radius: 999px;
  border-color: #161616 !important;
  background: #161616 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 54px;
  padding: 8px 14px;
  border: 1px solid rgba(22, 22, 22, .10);
  border-radius: 0;
  background: #FFFFFF;
  color: var(--bo-text);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice__size {
  display: block;
  font-weight: 500;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice__price {
  display: block;
  color: var(--bo-muted);
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice.is-active .bo-cfg-size-choice__price {
  color: rgba(255, 255, 255, .72);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice:hover {
  border-color: rgba(22, 22, 22, .22);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice.is-active {
  border-color: #161616;
  background: #161616;
  color: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice em {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 10px;
  font-style: normal;
  line-height: 18px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-choice:not(.is-active) em {
  background: rgba(22, 22, 22, .12);
  color: var(--bo-text);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-selected-note {
  padding: 8px 10px;
  border: 1px solid rgba(22, 22, 22, .08);
  border-radius: 8px;
  background: #FAF9F6;
  color: var(--bo-muted);
  font-size: 11px;
  line-height: 1.35;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module--size {
  border: 1px solid rgba(22, 22, 22, .06);
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: none;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module.is-active,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module--size.is-active {
  border-color: rgba(22, 22, 22, .14);
  background: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module.is-quote,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module--size.is-quote {
  border-color: rgba(22, 22, 22, .14);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module--custom {
  background: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-quote-mark {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(22, 22, 22, .10);
  border-radius: 999px;
  color: var(--bo-text);
  background: #FFFFFF;
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module strong {
  font-size: 13px;
  font-weight: 500;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module span {
  color: var(--bo-muted);
  font-size: 11px;
  line-height: 1.35;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 22, 22, .08);
  border-radius: 10px;
  background: #FAF9F6;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size * {
  box-sizing: border-box;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size > div,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size .bo-cfg-button {
  grid-column: 1 / -1;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size strong,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size span {
  display: block;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size strong {
  font-size: 13px;
  font-weight: 500;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size span {
  margin-top: 2px;
  color: var(--bo-muted);
  font-size: 11px;
  line-height: 1.35;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--bo-muted);
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size .bo-cfg-input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 0;
  background: #FFFFFF;
  font-size: 17px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size .bo-cfg-button {
  min-height: 48px;
  margin-top: 2px;
  border-radius: 999px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size .bo-cfg-button--dark {
  border-color: #161616;
  background: #161616;
  color: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-selected-controls {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-layout-card {
  padding: 10px 12px;
  border: 1px solid rgba(22, 22, 22, .08);
  border-radius: 12px;
  background: #FAF9F6;
  color: var(--bo-muted);
  font-size: 12px;
  line-height: 1.35;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-editor label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--bo-muted);
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-editor .bo-cfg-input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-transform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-transform-grid .bo-cfg-button,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-selected-actions .bo-cfg-button {
  min-height: 34px;
  padding: 0 8px;
  font-size: 12px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-selected-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta .bo-cfg-button {
  min-height: 42px;
  opacity: 1 !important;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta .bo-cfg-button--dark {
  background: #171717 !important;
  border-color: #171717 !important;
  color: #fffaf2 !important;
}

/* Final edit-mode refinements */
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size {
  gap: 8px;
  padding: 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size span {
  font-size: 10px;
  line-height: 1.25;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size label {
  gap: 4px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size .bo-cfg-input {
  min-height: 36px;
  font-size: 14px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size .bo-cfg-button,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size .bo-cfg-button--dark {
  min-height: 40px;
  border-color: #161616 !important;
  background: #161616 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-controls {
  grid-template-columns: minmax(190px, 250px) 110px 110px auto minmax(210px, auto);
  gap: 8px;
  padding: 10px;
  justify-content: start;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-move .bo-cfg-chip {
  width: 34px;
  height: 34px;
  min-height: 34px;
}

.bo-cfg-warning {
  border-left: 1px solid rgba(22, 22, 22, .18);
  padding: 8px 10px;
  background: #FFFFFF;
  color: rgba(22, 22, 22, .68);
  font-size: 12px;
  line-height: 1.35;
}

.bo-cfg-modal {
  background: rgba(22, 22, 22, .78);
  backdrop-filter: blur(5px);
}

.bo-cfg-modal-card {
  background: #FBFAF7;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .30);
}

.bo-cfg-modal .bo-cfg-modal-card {
  width: min(92vw, 720px);
  padding: 0;
  overflow: hidden;
  background: #FBFAF7;
}

.bo-cfg-modal .bo-cfg-modal-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 28px 38px 30px;
}

.bo-cfg-modal .bo-cfg-form-footer .bo-cfg-button--dark {
  border-color: #161616 !important;
  background: #161616 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.bo-cfg-modal .bo-cfg-input,
.bo-cfg-modal .bo-cfg-textarea {
  max-width: 100%;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-layout-card {
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(22, 22, 22, .06);
  border-radius: 12px;
  background: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-layout-card.is-quote {
  border-color: rgba(22, 22, 22, .12);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-layout-card strong {
  font-size: 15px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-layout-card em {
  color: var(--bo-text);
  font-style: normal;
  font-size: 12px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-editor {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 22, 22, .06);
  border-radius: 12px;
  background: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-editor-head strong {
  color: var(--bo-text);
  font-size: 14px;
  font-weight: 500;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-editor-head span {
  color: var(--bo-muted);
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-grid {
  gap: 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-grid .bo-cfg-label {
  gap: 6px;
  color: var(--bo-muted);
  font-size: 12px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-grid .bo-cfg-input {
  min-height: 42px;
  border-radius: 10px;
  border-color: rgba(22, 22, 22, .075);
  background: #FFFFFF;
  font-size: 18px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-size-grid small {
  color: var(--bo-soft);
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-spec-price.is-quote > strong {
  font-size: 20px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-dim-tag {
  border-radius: 3px;
  border-color: rgba(22, 22, 22, .055);
  background: rgba(255, 255, 255, .42);
  color: #8A8379;
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-chip {
  border-color: rgba(22, 22, 22, .07);
  background: #FFFFFF;
  color: #39342e;
  box-shadow: none;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-chip:not(:disabled):hover {
  border-color: rgba(22, 22, 22, .16);
  background: #FBFAF7;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-actions .bo-cfg-chip {
  width: 34px;
  height: 34px;
  min-height: 34px;
  font-size: 15px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-actions .bo-cfg-chip[data-module-add] {
  background: #161616;
  color: #FFFFFF;
  border-color: #161616;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-actions .bo-cfg-chip[data-module-remove]:disabled {
  color: rgba(22, 22, 22, .22);
  background: rgba(255, 255, 255, .58);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-details {
  border-top-color: rgba(22, 22, 22, .06);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-details summary {
  min-height: 38px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  position: sticky;
  bottom: 0;
  z-index: 8;
  align-self: end;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 12px 18px 16px;
  border-top-color: rgba(22, 22, 22, .06);
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px);
  box-shadow: 0 -14px 30px rgba(255, 255, 255, .9);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions .bo-cfg-button {
  min-height: 50px;
  width: 100%;
  padding-inline: 12px;
  font-size: 14px;
  white-space: normal;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary {
  gap: 6px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #FFFFFF;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary-row--top,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary-grid {
  gap: 6px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary-row--top,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary-grid > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary span {
  color: var(--bo-muted);
  font-size: 11px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary strong {
  min-width: max-content;
  font-size: 13px;
  font-weight: 500;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary em {
  display: none;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-actions {
  display: none;
}

.bo-cfg-button {
  min-height: 44px;
  border: 1px solid var(--bo-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: var(--bo-text);
  font-size: 14px;
  line-height: 1.1;
  font-weight: 400;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  text-transform: none !important;
}

.bo-cfg-button:hover {
  transform: translateY(-1px);
  border-color: var(--bo-line-strong);
}

.bo-cfg-button--dark {
  background: var(--bo-accent);
  border-color: var(--bo-accent);
  color: #fffaf2;
}

.bo-cfg-button--dark:hover {
  background: #2A2A2A;
}

.bo-cfg-panel-cta .bo-cfg-button--dark {
  grid-column: auto;
  background: var(--bo-accent) !important;
  border-color: var(--bo-accent) !important;
  color: #fffaf2 !important;
}

.bo-cfg-export-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(32px, 4.2vw, 64px) 24px;
  border-top: 1px solid var(--bo-line);
  color: var(--bo-muted);
  font-size: 12px;
  line-height: 1.3;
}

.bo-cfg-shell[data-bo-mode="presentation"] .bo-cfg-panel-flow,
.bo-cfg-shell[data-bo-mode="presentation"] .bo-cfg-toolbar,
.bo-cfg-shell[data-bo-mode="presentation"] .bo-cfg-scene-tools,
.bo-cfg-shell[data-bo-mode="export"] .bo-cfg-panel-flow,
.bo-cfg-shell[data-bo-mode="export"] .bo-cfg-toolbar,
.bo-cfg-shell[data-bo-mode="export"] .bo-cfg-actions,
.bo-cfg-shell[data-bo-mode="export"] .bo-cfg-panel-cta,
.bo-cfg-shell[data-bo-mode="export"] .bo-cfg-scene-tools {
  display: none;
}

.bo-cfg-shell[data-bo-mode="export"] {
  width: 1360px;
  min-height: 850px;
  box-shadow: none;
}

.bo-cfg-scene-tools {
  left: 50%;
  top: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  max-width: min(520px, calc(100% - 28px));
  min-width: 0;
  padding: 7px 8px 7px 11px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .9);
  border-color: rgba(22, 22, 22, .08);
  box-shadow: 0 14px 36px rgba(31, 28, 22, .075);
  transform: translateX(-50%);
  transition: left .16s ease, top .16s ease, opacity .16s ease;
  user-select: none;
  -webkit-user-select: none;
}

.bo-cfg-scene-tools.is-attached {
  transform: none;
}

.bo-cfg-scene-tools strong {
  max-width: 136px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.25;
}

.bo-cfg-scene-tools span {
  display: none;
}

.bo-cfg-scene-tools .bo-cfg-chip {
  min-width: 32px;
  width: auto;
  height: 28px;
  padding: 0 9px;
  font-size: 12px;
}

.bo-cfg-scene-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 5px;
}

@media (min-width: 1061px) {
  .bo-premium-configurator {
    max-width: 1480px;
    padding: clamp(24px, 3.6vw, 56px) clamp(16px, 2.8vw, 40px);
  }

  .bo-cfg-shell {
    max-height: none;
  }

  .bo-cfg-layout {
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bo-cfg-stage {
    grid-column: span 8;
  }

  .bo-cfg-panel {
    grid-column: span 4;
  }
}

@media (max-width: 1280px) and (min-width: 1061px) {
  .bo-cfg-head,
  .bo-cfg-layout,
  .bo-cfg-export-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .bo-cfg-stage {
    grid-column: span 8;
  }

  .bo-cfg-panel {
    grid-column: span 4;
  }

  .bo-cfg-title {
    font-size: 58px;
  }

  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-controls {
    grid-template-columns: minmax(180px, 1fr) 96px 96px minmax(144px, auto);
  }

  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-rotate {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .bo-cfg-panel-summary,
  .bo-cfg-panel-flow,
  .bo-cfg-panel-cta {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 1060px) {
  .bo-premium-configurator {
    padding: 16px 10px 28px;
  }

  .bo-cfg-head {
    grid-template-columns: 1fr;
    padding: 28px 24px 20px;
  }

  .bo-cfg-identity,
  .bo-cfg-meta {
    grid-column: auto;
  }

  .bo-cfg-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .bo-cfg-meta div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bo-cfg-meta strong {
    text-align: left;
  }

  .bo-cfg-layout {
    grid-template-columns: 1fr;
    padding: 20px 18px 22px;
  }

  .bo-cfg-stage,
  .bo-cfg-panel {
    grid-column: auto;
  }

  .bo-cfg-stage {
    grid-template-rows: auto auto auto;
  }

  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-controls {
    grid-template-columns: 1fr 1fr;
  }

  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-select,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-move,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-rotate {
    grid-column: 1 / -1;
  }

  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-field-rotate {
    justify-content: flex-start;
  }

  .bo-cfg-panel {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .bo-cfg-panel-cta-actions {
    grid-template-columns: 1fr;
  }

  .bo-cfg-export-footer {
    padding: 18px 24px 24px;
  }
}

@media (max-width: 620px) {
  .bo-cfg-shell {
    border-radius: 0;
  }

  .bo-cfg-title {
    font-size: 44px;
  }

  .bo-cfg-meta {
    grid-template-columns: 1fr;
  }

  .bo-cfg-stage {
    grid-template-rows: auto auto auto;
  }

  .bo-cfg-visual {
    min-height: 360px;
    border-radius: 18px;
  }

  .bo-cfg-panel-summary,
  .bo-cfg-panel-flow,
  .bo-cfg-panel-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bo-cfg-panel-cta {
    grid-template-columns: 1fr;
  }

  .bo-cfg-export-footer {
    display: grid;
    gap: 6px;
  }
}

/* beds.one white site-aligned skin */
.bo-premium-configurator {
  --bo-cfg-bg: #ffffff;
  --bo-cfg-panel: #ffffff;
  --bo-cfg-visual: #ffffff;
  --bo-cfg-surface: #ffffff;
  --bo-cfg-ink: #111111;
  --bo-cfg-muted: rgba(17, 17, 17, .52);
  --bo-cfg-soft: rgba(17, 17, 17, .36);
  --bo-cfg-line: rgba(17, 17, 17, .09);
  --bo-cfg-line-strong: rgba(17, 17, 17, .2);
  --bo-cfg-accent: #111111;
  --bo-cfg-active: #f7f7f7;
  --bo-cfg-shadow: none;
  width: 100%;
  max-width: none;
  padding: 0;
  background: #ffffff;
}

.bo-premium-configurator,
.bo-premium-configurator *,
.bo-premium-configurator *::before,
.bo-premium-configurator *::after {
  box-sizing: border-box;
}

.bo-cfg-shell,
.bo-cfg-shell[data-bo-mode="edit"] {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0 !important;
  background: #ffffff;
  box-shadow: none;
  overflow: visible;
}

.bo-cfg-head,
.bo-cfg-layout,
.bo-cfg-export-footer {
  width: min(100%, 1560px);
  margin: 0 auto;
}

.bo-cfg-head {
  padding: 28px clamp(28px, 4.6vw, 76px) 24px;
  border-bottom: 1px solid var(--bo-cfg-line);
  background: #ffffff;
}

.bo-cfg-brand {
  font-size: 22px;
  letter-spacing: 0;
}

.bo-cfg-kicker {
  color: var(--bo-cfg-muted);
  font-size: 12px;
  letter-spacing: .08em;
}

.bo-cfg-title {
  font-size: clamp(52px, 5vw, 72px);
  line-height: .94;
}

.bo-cfg-subtitle {
  color: #161616;
  font-size: 18px;
}

.bo-cfg-meta {
  display: none;
}

.bo-cfg-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: clamp(24px, 3vw, 44px);
  padding: 24px clamp(28px, 4.6vw, 76px) 52px;
  background: #ffffff !important;
}

.bo-cfg-stage {
  gap: 16px;
  padding: 0;
  background: #ffffff !important;
}

.bo-cfg-toolbar {
  gap: 10px;
}

.bo-cfg-view,
.bo-cfg-button,
.bo-cfg-chip,
.bo-cfg-select,
.bo-cfg-input,
.bo-cfg-textarea,
.bo-cfg-custom-size input,
.bo-cfg-modal input,
.bo-cfg-modal textarea {
  border-radius: 2px !important;
}

.bo-cfg-view {
  min-height: 42px;
  padding: 0 18px;
  border-color: rgba(17, 17, 17, .08);
  background: #ffffff;
  color: rgba(17, 17, 17, .68);
}

.bo-cfg-view[aria-pressed="true"],
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-view[aria-pressed="true"] {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

.bo-cfg-visual {
  min-height: clamp(620px, 62vh, 780px);
  border: 0;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none;
}

.bo-cfg-visual::after {
  display: none;
}

.bo-cfg-visual-note {
  left: 0;
  right: auto;
  bottom: 0;
  color: rgba(17, 17, 17, .68);
}

.bo-cfg-dim-tag,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-dim-tag {
  border-radius: 0 !important;
  border-color: transparent;
  background: rgba(255, 255, 255, .84);
  color: rgba(17, 17, 17, .56);
  box-shadow: none;
}

.bo-cfg-scene-tools {
  border-radius: 2px !important;
  border-color: rgba(17, 17, 17, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 32px rgba(17, 17, 17, .06);
}

.bo-cfg-panel {
  height: auto;
  max-height: none;
  border-left: 1px solid var(--bo-cfg-line);
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
}

.bo-cfg-panel-summary,
.bo-cfg-panel-flow,
.bo-cfg-panel-cta {
  padding-left: 24px;
  padding-right: 0;
  background: #ffffff;
}

.bo-cfg-panel-summary {
  position: static;
  padding-top: 0;
  padding-bottom: 18px;
}

.bo-cfg-panel-flow {
  padding-top: 0;
}

.bo-cfg-panel-cta,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  position: sticky;
  bottom: 0;
  z-index: 7;
  padding-top: 16px;
  padding-bottom: 18px;
  border-top: 1px solid var(--bo-cfg-line);
  background: #ffffff;
  box-shadow: 0 -18px 34px rgba(255, 255, 255, .92);
}

.bo-cfg-live-summary,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary,
.bo-cfg-module-group,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group,
.bo-cfg-custom-size,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size,
.bo-cfg-modal-card {
  border-radius: 0 !important;
  background: #ffffff;
  border-color: rgba(17, 17, 17, .09);
  box-shadow: none;
}

.bo-cfg-module-group[open],
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group[open] {
  background: #ffffff;
  border-color: rgba(17, 17, 17, .16);
}

.bo-cfg-module,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module {
  border-radius: 0 !important;
  background: #ffffff;
  border-color: rgba(17, 17, 17, .08);
  box-shadow: none;
}

.bo-cfg-module--size.is-active,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module--size.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.bo-cfg-module--size.is-active small,
.bo-cfg-module--size.is-active em,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module--size.is-active small,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module--size.is-active em {
  color: rgba(255, 255, 255, .72);
}

.bo-cfg-module-preview,
.bo-cfg-module-group-preview,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group-preview {
  border-radius: 0 !important;
  background: #ffffff;
  border-color: rgba(17, 17, 17, .08);
}

.bo-cfg-module--size.is-active .bo-cfg-module-preview {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(255, 255, 255, .38);
}

.bo-cfg-button,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-button {
  border-color: rgba(17, 17, 17, .12);
  background: #ffffff;
  color: #111111;
  box-shadow: none;
}

.bo-cfg-button--dark,
.bo-cfg-panel-cta .bo-cfg-button--dark,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta .bo-cfg-button--dark,
.bo-cfg-modal .bo-cfg-form-footer .bo-cfg-button--dark {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

.bo-cfg-chip,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-chip {
  background: #ffffff;
  border-color: rgba(17, 17, 17, .1);
  box-shadow: none;
}

.bo-cfg-module-actions .bo-cfg-chip[data-module-add],
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-actions .bo-cfg-chip[data-module-add] {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.bo-cfg-select,
.bo-cfg-input,
.bo-cfg-textarea,
.bo-cfg-custom-size input {
  border-color: rgba(17, 17, 17, .12);
  background: #ffffff;
  box-shadow: none;
}

.bo-cfg-export-footer {
  padding: 20px clamp(28px, 4.6vw, 76px) 28px;
  border-top: 1px solid var(--bo-cfg-line);
  color: rgba(17, 17, 17, .56);
}

.bo-cfg-modal-card {
  background: #ffffff !important;
  color: #111111;
}

@media (min-width: 1061px) {
  .bo-premium-configurator {
    max-width: none;
    padding: 0;
  }

  .bo-cfg-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bo-cfg-stage {
    grid-column: span 8;
  }

  .bo-cfg-panel {
    grid-column: span 4;
  }
}

@media (max-width: 1200px) and (min-width: 1061px) {
  .bo-cfg-head,
  .bo-cfg-layout,
  .bo-cfg-export-footer {
    padding-left: 36px;
    padding-right: 36px;
  }

  .bo-cfg-layout {
    gap: 24px;
  }
}

@media (max-width: 1060px) {
  .bo-premium-configurator {
    padding: 0;
  }

  .bo-cfg-head,
  .bo-cfg-layout,
  .bo-cfg-export-footer {
    width: 100%;
  }

  .bo-cfg-layout {
    padding: 20px;
  }

  .bo-cfg-panel {
    border-left: 0;
    border-top: 1px solid var(--bo-cfg-line);
    padding-top: 20px;
  }

  .bo-cfg-panel-summary,
  .bo-cfg-panel-flow,
  .bo-cfg-panel-cta {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .bo-cfg-head {
    padding: 24px 18px 20px;
  }

  .bo-cfg-layout {
    padding: 16px 14px 28px;
  }

  .bo-cfg-visual {
    min-height: 430px;
    border-radius: 0 !important;
  }
}

/* Final right-panel polish: no nested horizontal scroll, visible CTA. */
.bo-cfg-panel,
.bo-cfg-panel-summary,
.bo-cfg-panel-flow,
.bo-cfg-panel-cta {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden !important;
}

.bo-cfg-panel-flow {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable;
}

.bo-cfg-panel *,
.bo-cfg-panel *::before,
.bo-cfg-panel *::after {
  box-sizing: border-box;
  max-width: 100%;
}

.bo-cfg-panel-details,
.bo-cfg-panel-details-body,
.bo-cfg-module-group,
.bo-cfg-module,
.bo-cfg-module-card,
.bo-cfg-module-sizes,
.bo-cfg-custom-size,
.bo-cfg-live-summary {
  max-width: 100%;
  overflow-x: clip;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel {
  overflow: hidden !important;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-summary,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-flow,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  padding-left: 22px;
  padding-right: 22px;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 -18px 34px rgba(255, 255, 255, .96);
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions .bo-cfg-button {
  min-height: 56px;
  width: 100%;
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.12;
  justify-content: center;
  text-align: center;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions .bo-cfg-button:not(.bo-cfg-button--dark) {
  border: 1px solid rgba(17, 17, 17, .28) !important;
  background: #ffffff !important;
  color: #111111 !important;
}

.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions .bo-cfg-button:not(.bo-cfg-button--dark):hover {
  border-color: rgba(17, 17, 17, .48) !important;
  background: #f8f8f8 !important;
}

@media (max-width: 1060px) {
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-summary,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-flow,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions {
    grid-template-columns: 1fr;
  }
}

/* Clean frameless presentation for product pages. */
.bo-product-section.bo-config.bo-config--premium,
.bo-product-section.bo-config,
.bo-config.bo-config--premium {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
}

.bo-premium-configurator {
  --bo-cfg-line: transparent;
  --bo-cfg-line-strong: rgba(17, 17, 17, .14);
  background: #ffffff !important;
}

.bo-cfg-head,
.bo-cfg-layout,
.bo-cfg-export-footer {
  border: 0 !important;
  background: #ffffff !important;
}

.bo-cfg-head {
  padding-top: 22px;
  padding-bottom: 18px;
}

.bo-cfg-layout {
  padding-top: 18px;
}

.bo-cfg-stage,
.bo-cfg-panel,
.bo-cfg-panel-summary,
.bo-cfg-panel-flow,
.bo-cfg-panel-cta,
.bo-cfg-live-summary,
.bo-cfg-module-group,
.bo-cfg-module,
.bo-cfg-custom-size,
.bo-cfg-panel-details,
.bo-cfg-panel-details-body {
  border-color: transparent !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.bo-cfg-panel {
  border-left: 0 !important;
  border-top: 0 !important;
}

.bo-cfg-panel-summary,
.bo-cfg-panel-flow,
.bo-cfg-panel-cta,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-summary,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-flow,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  padding-left: 16px;
  padding-right: 0;
}

.bo-cfg-panel-cta,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  border-top: 0 !important;
  box-shadow: none !important;
}

.bo-cfg-module-group,
.bo-cfg-module-group[open],
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group[open],
.bo-cfg-module,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module,
.bo-cfg-custom-size,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-custom-size,
.bo-cfg-live-summary,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-live-summary {
  border-color: transparent !important;
}

.bo-cfg-module-group + .bo-cfg-module-group {
  margin-top: 4px;
}

.bo-cfg-module-preview,
.bo-cfg-module-group-preview,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-module-group-preview {
  border-color: rgba(17, 17, 17, .06) !important;
}

.bo-cfg-view {
  border-color: transparent !important;
  background: transparent;
}

.bo-cfg-view:hover,
.bo-cfg-view:focus-visible {
  border-color: rgba(17, 17, 17, .1) !important;
  background: #ffffff;
}

.bo-cfg-view[aria-pressed="true"],
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-view[aria-pressed="true"] {
  border-color: #111111 !important;
}

.bo-cfg-button:not(.bo-cfg-button--dark),
.bo-cfg-chip,
.bo-cfg-select,
.bo-cfg-input,
.bo-cfg-textarea,
.bo-cfg-custom-size input {
  border-color: rgba(17, 17, 17, .1) !important;
}

.bo-cfg-scene-tools {
  border-color: transparent !important;
  box-shadow: 0 10px 28px rgba(17, 17, 17, .05);
}

@media (max-width: 1060px) {
  .bo-cfg-panel {
    border-top: 0 !important;
    padding-top: 8px;
  }

  .bo-cfg-panel-summary,
  .bo-cfg-panel-flow,
  .bo-cfg-panel-cta,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-summary,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-flow,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Hairline separators: clean, but with enough structure to read the workspace. */
.bo-cfg-head {
  border-bottom: 1px solid rgba(17, 17, 17, .055) !important;
}

.bo-cfg-visual {
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .035) !important;
}

.bo-cfg-panel {
  border-left: 1px solid rgba(17, 17, 17, .06) !important;
}

.bo-cfg-panel-cta,
.bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
  border-top: 1px solid rgba(17, 17, 17, .055) !important;
}

@media (max-width: 1060px) {
  .bo-cfg-panel {
    border-left: 0 !important;
    border-top: 1px solid rgba(17, 17, 17, .055) !important;
  }
}

/* Mobile configurator layout: single-column workspace, no squeezed desktop grid. */
@media (max-width: 760px) {
  .bo-premium-configurator,
  .bo-cfg-shell {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .bo-cfg-head {
    padding: 18px 16px 14px !important;
  }

  .bo-cfg-kicker,
  .bo-cfg-overline,
  .bo-cfg-meta,
  .bo-cfg-actions,
  .bo-cfg-export-footer {
    display: none !important;
  }

  .bo-cfg-title {
    font-size: clamp(42px, 14vw, 64px) !important;
    line-height: .96 !important;
    margin: 0 0 8px !important;
  }

  .bo-cfg-subtitle {
    font-size: 16px !important;
  }

  .bo-cfg-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 12px 24px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .bo-cfg-stage,
  .bo-cfg-panel {
    grid-column: 1 / -1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .bo-cfg-stage {
    display: grid !important;
    grid-template-rows: auto minmax(390px, 54vh) !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .bo-cfg-toolbar {
    order: 0 !important;
    width: 100% !important;
    min-height: 44px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .bo-cfg-toolbar .bo-cfg-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .bo-cfg-view {
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    border: 1px solid rgba(17, 17, 17, .08) !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .bo-cfg-toolbar > .bo-cfg-view[data-action="reset-camera"] {
    width: 54px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .bo-cfg-toolbar > .bo-cfg-view[data-action="reset-camera"]::before {
    content: "↺";
    font-size: 18px;
  }

  .bo-cfg-visual {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 390px !important;
    max-height: none !important;
    border-radius: 0 !important;
  }

  .bo-cfg-real3d,
  .bo-cfg-real3d canvas {
    width: 100% !important;
    height: 100% !important;
  }

  .bo-cfg-dim-overlay {
    inset: 12px 12px 42px !important;
    font-size: 11px !important;
  }

  .bo-cfg-dim-tag--modules {
    left: 0 !important;
    top: 0 !important;
    max-width: calc(100% - 92px) !important;
    padding: 5px 7px !important;
  }

  .bo-cfg-dim-tag--w {
    bottom: 0 !important;
  }

  .bo-cfg-dim-tag--d {
    right: -12px !important;
  }

  .bo-cfg-dim-tag--h {
    right: 0 !important;
    top: 46px !important;
  }

  .bo-cfg-scene-tools {
    left: 8px !important;
    right: 8px !important;
    top: 58px !important;
    max-width: none !important;
    width: auto !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 8px !important;
    transform: none !important;
  }

  .bo-cfg-scene-tools.is-attached {
    left: 8px !important;
    top: 58px !important;
  }

  .bo-cfg-scene-tools strong {
    max-width: 86px !important;
    font-size: 12px !important;
  }

  .bo-cfg-scene-actions {
    display: flex !important;
    gap: 4px !important;
  }

  .bo-cfg-scene-tools .bo-cfg-chip {
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 7px !important;
    font-size: 12px !important;
  }

  .bo-cfg-visual-note {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 0 0 2px !important;
    font-size: 11px !important;
  }

  .bo-cfg-panel {
    padding-top: 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(17, 17, 17, .055) !important;
  }

  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel {
    position: static !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: auto !important;
    overflow: visible !important;
  }

  .bo-cfg-panel-summary {
    display: none !important;
  }

  .bo-cfg-panel-flow,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-flow {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
    padding: 0 !important;
  }

  .bo-cfg-panel-details summary {
    min-height: 48px !important;
    padding: 0 !important;
  }

  .bo-cfg-module-group {
    margin: 0 !important;
    padding: 0 !important;
  }

  .bo-cfg-module-group summary {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px 0 !important;
  }

  .bo-cfg-module-group-main {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .bo-cfg-module-group-preview {
    width: 104px !important;
    height: 72px !important;
  }

  .bo-cfg-module-group summary small {
    justify-self: start !important;
    min-height: 30px !important;
  }

  .bo-cfg-size-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .bo-cfg-size-choice {
    min-height: 50px !important;
    padding: 0 10px !important;
    font-size: 15px !important;
  }

  .bo-cfg-custom-size {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px 0 !important;
  }

  .bo-cfg-input,
  .bo-cfg-select,
  .bo-cfg-textarea {
    min-height: 46px !important;
    font-size: 16px !important;
  }

  .bo-cfg-panel-cta,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta {
    position: static !important;
    width: 100% !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(17, 17, 17, .055) !important;
    background: #ffffff !important;
  }

  .bo-cfg-live-summary {
    padding: 12px 0 !important;
  }

  .bo-cfg-live-summary-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-panel-cta-actions {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .bo-cfg-button,
  .bo-cfg-shell[data-bo-mode="edit"] .bo-cfg-button {
    min-height: 52px !important;
    width: 100% !important;
    font-size: 15px !important;
  }
}
