@font-face {
  font-family: 'BugyBagy Handwriting';
  src: url('../../../../../image/gabriola.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Italianno';
  src: url('../../../../../image/catalog/konsept-odalar/fonts/Italianno-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.bb-room-list-head h1,
.bb-room-title h1 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
  color: #222;
}

/* Room builder 1.5.26: full-width visual configurator */
.bb-room-builder-page.container {
  width: 100%;
  max-width: none;
  padding: 18px clamp(16px, 2vw, 32px) 48px;
  background: #fbfbfb;
}

.bb-room-builder-page .breadcrumb {
  display: none !important;
}

.bb-room-builder {
  width: 100%;
  padding: 0;
}

.bb-room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(330px, 21vw, 370px);
  grid-template-areas:
    "heading panel"
    "stage panel"
    "summary panel";
  align-items: start;
  gap: 0 clamp(16px, 1.5vw, 24px);
  width: 100%;
}

.bb-room-heading {
  grid-area: heading;
  display: block !important;
  width: 100% !important;
  max-width: none;
  margin: 0 0 14px !important;
  padding: 0 14px !important;
  text-align: left;
}

.bb-room-heading h1 {
  margin: 0;
  font-size: clamp(34px, 3.1vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: left;
}

.bb-room-heading h1 i {
  margin-left: 6px;
  font-size: .28em;
  vertical-align: top;
}

.bb-room-heading .bb-room-description {
  max-width: 760px;
  margin: 9px 0 0;
  color: #171717;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}

.bb-room-main {
  grid-area: stage;
  display: block;
  width: 100%;
  height: auto;
}

.bb-room-stage {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.bb-stage-instructions {
  position: absolute;
  z-index: 11;
  top: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  width: min(310px, calc(100% - 150px));
  padding: 17px 18px;
  border-radius: 7px;
  background: rgba(75, 55, 55, .43);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  backdrop-filter: blur(7px);
  pointer-events: none;
}

.bb-stage-instructions i {
  font-size: 30px;
  line-height: 1;
}

.bb-control-panel {
  position: sticky;
  top: 12px;
  grid-area: panel;
  display: flex;
  width: 100%;
  height: min(860px, calc(100vh - 24px));
  min-height: 620px;
  max-height: none;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 31, 36, .07);
}

.bb-control-header {
  display: flex;
  min-height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
  align-items: center;
  justify-content: space-between;
}

.bb-control-header > strong {
  color: #171717;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bb-gender-switch {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
}
.bb-gender-choice {
  flex: 1;
  min-height: 36px;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #fff;
  color: #4a5662;
  font-weight: 600;
}
.bb-gender-choice.is-selected {
  border-color: #6b4f3a;
  background: #f4eadf;
  color: #6b4f3a;
}

.bb-control-help {
  display: grid !important;
  width: 22px;
  height: 22px;
  border: 1px solid #202020;
  border-radius: 50%;
  color: #202020;
  font-size: 11px;
  place-items: center;
}

.bb-control-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  background: #fff;
  scrollbar-color: #d7d7d7 transparent;
  scrollbar-width: thin;
}

.bb-category-accordion {
  padding: 0;
}

.bb-control-section,
.bb-control-section:last-child {
  overflow: hidden;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
}

.bb-control-toggle {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  min-height: 78px;
  padding: 10px 14px;
  gap: 10px;
  background: #fff;
}

.bb-control-toggle:hover,
.bb-control-toggle:focus,
.bb-control-section.is-open > .bb-control-toggle,
.bb-control-section.is-open > .bb-control-toggle:hover,
.bb-control-section.is-open > .bb-control-toggle:focus {
  position: static;
  border-bottom: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.bb-control-icon,
.bb-control-section.is-open .bb-control-icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6b4f3a;
  font-size: 22px;
}

.bb-control-icon img {
  width: 30px;
  height: 30px;
}

.bb-control-label strong {
  margin: 0 0 4px;
  color: #181818;
  font-size: 13px;
  font-weight: 700;
}

.bb-control-label small {
  display: inline-block;
  width: auto;
  padding: 3px 8px;
  border-radius: 10px;
  background: #f4eadf;
  color: #6b4f3a;
  font-size: 10px;
  font-weight: 600;
}

.bb-control-state {
  color: #6b4f3a;
}

.bb-control-section.is-complete .bb-control-check {
  display: none;
}

.bb-control-section.is-complete .bb-control-chevron {
  display: block;
}

.bb-control-body {
  padding: 0 12px 10px;
}

.bb-product-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 0;
}

.bb-product-card,
.bb-product-card.is-focused.is-selected {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 74px 30px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 4px 2px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.bb-product-card:hover,
.bb-product-card:focus-within,
.bb-product-card.is-focused,
.bb-product-card.is-selected {
  border-color: #eeeeee;
  background: #fafafa;
  box-shadow: none;
}

.bb-product-select,
.bb-product-card.is-focused.is-selected .bb-product-select {
  display: grid;
  grid-template-columns: 20px 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  height: auto;
  padding: 4px 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  text-align: left;
}

.bb-product-select:hover,
.bb-product-select:focus,
.bb-product-select:focus-visible {
  background: transparent;
  box-shadow: none;
}

.bb-product-check {
  display: grid;
  width: 15px;
  height: 15px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
  color: transparent;
  font-size: 9px;
  place-items: center;
}

.bb-product-card.is-selected .bb-product-check {
  border-color: #6b4f3a;
  background: #6b4f3a;
  color: #fff;
}

.bb-product-media {
  position: static;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.bb-product-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

.bb-product-copy {
  display: block !important;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent 100%);
}

.bb-product-copy strong {
  display: block;
  overflow: visible;
  color: #181818;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.bb-product-state {
  display: none !important;
}

.bb-product-card > .bb-product-controls {
  display: grid;
  grid-template-columns: 25px 30px 25px;
  width: 80px;
  height: 32px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.bb-product-card > .bb-product-controls .bb-qty-btn,
.bb-product-card > .bb-product-controls .bb-qty-input {
  width: 100%;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #181818;
  font-size: 12px;
  text-align: center;
}

.bb-product-card > .bb-product-controls .bb-qty-input {
  color: #6b4f3a;
  font-size: 14px;
  font-weight: 700;
}

.bb-product-card > .bb-product-controls .bb-qty-btn:hover,
.bb-product-card > .bb-product-controls .bb-qty-btn:focus {
  border-radius: 50%;
  background: #f4eadf;
  color: #6b4f3a;
  outline: 0;
}

.bb-product-card > .bb-product-price {
  display: block;
  margin: 0;
  color: #171717;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.bb-edit-product-options {
  position: static;
  display: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #202020;
  font-size: 11px;
}

.bb-product-card.is-selected .bb-edit-product-options {
  display: grid;
  place-items: center;
}

.bb-product-detail,
.bb-product-card.is-focused.is-selected .bb-product-detail {
  display: none;
}

.bb-control-footer {
  flex: 0 0 auto;
  padding: 14px;
  border-top: 1px solid #eeeeee;
  background: #fff;
}

.bb-panel-totals {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

.bb-panel-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.bb-panel-totals span {
  color: #161616;
  font-size: 12px;
}

.bb-panel-totals strong {
  color: #161616;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.bb-panel-totals .bb-mobile-total {
  color: #6b4f3a;
  font-size: 20px;
}

.bb-control-footer .bb-add-room,
.bb-control-footer .bb-clear-room {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.bb-control-footer .bb-add-room {
  margin-bottom: 10px;
  border: 1px solid #6b4f3a;
  background: #6b4f3a;
  color: #fff;
}

.bb-control-footer .bb-add-room:hover,
.bb-control-footer .bb-add-room:focus {
  border-color: #523a2c;
  background: #523a2c;
  color: #fff;
}

.bb-control-footer .bb-clear-room {
  border: 1px solid #6b4f3a;
  background: #fff;
  color: #6b4f3a;
  box-shadow: none;
}

.bb-control-footer .bb-clear-room:hover,
.bb-control-footer .bb-clear-room:focus {
  border-color: #6b4f3a;
  background: #f4eadf;
  color: #523a2c;
}

.bb-control-footer .bb-clear-room:disabled {
  border-color: #e4e4e4;
  background: #fafafa;
  color: #9a9a9a;
}

.bb-summary {
  grid-area: summary;
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  padding: 0 14px 18px;
  border: 0;
  background: transparent;
}

.bb-summary-heading {
  padding: 0 0 8px;
  border-bottom: 0;
}

.bb-summary-heading div {
  gap: 9px;
}

.bb-summary-heading i {
  color: #6b4f3a;
  font-size: 17px;
}

.bb-summary-heading div > span {
  color: #171717;
  font-size: 14px;
  text-transform: uppercase;
}

.bb-summary-count {
  display: none !important;
}

.bb-summary-table-head,
.bb-summary-item {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(240px, 2fr) 60px 100px 110px;
  align-items: center;
  gap: 16px;
}

.bb-summary-table-head {
  min-height: 34px;
  padding: 0 8px;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  background: transparent;
  color: #2a2a2a;
  font-size: 10px;
  text-transform: none;
}

.bb-summary-item {
  min-height: 42px;
  padding: 7px 8px;
  border-bottom: 1px solid #eeeeee;
}

.bb-summary-category {
  color: #171717 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.bb-summary-product {
  min-width: 0;
}

.bb-summary-product > strong,
.bb-summary-product > small {
  display: block;
}

.bb-summary-product > strong {
  overflow: hidden;
  color: #171717;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-summary-product .bb-summary-options {
  margin-top: 2px;
  color: #777;
  font-size: 9px;
  line-height: 1.3;
}

.bb-summary-quantity,
.bb-summary-unit-price,
.bb-summary-line-total {
  color: #171717;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.bb-summary-unit-price,
.bb-summary-line-total,
.bb-summary-table-head span:nth-child(4),
.bb-summary-table-head span:nth-child(5) {
  text-align: right;
}

.bb-summary-line-total {
  display: flex;
  align-items: flex-end;
}

.bb-summary-line-total strong {
  color: #6b4f3a;
  font-size: 11px;
}

.bb-summary-empty {
  padding: 16px 8px;
  border-bottom: 1px solid #eeeeee;
}

.bb-mobile-clear-wrap {
  display: none !important;
}

.bb-other-rooms {
  max-width: calc(100% - clamp(346px, 22.5vw, 394px));
  margin-right: auto;
}

@media (max-width: 1199px) {
  .bb-room-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .bb-product-card,
  .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 78px 68px 28px;
  }

  .bb-product-select,
  .bb-product-card.is-focused.is-selected .bb-product-select {
    grid-template-columns: 18px 32px minmax(0, 1fr);
    gap: 6px;
  }

  .bb-product-media {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 991px) {
  .bb-room-builder-page.container {
    padding: 12px 14px 80px;
  }

  .bb-room-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "stage"
      "panel"
      "summary";
    gap: 12px;
  }

  .bb-room-heading {
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  .bb-room-heading h1 {
    font-size: 36px;
  }

  .bb-control-panel {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .bb-control-scroll {
    max-height: 620px;
  }

  .bb-control-footer {
    display: block;
  }

  .bb-summary {
    margin-top: 0;
    padding: 0;
  }

  .bb-other-rooms {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .bb-room-heading h1 {
    font-size: 30px;
  }

  .bb-room-heading .bb-room-description {
    font-size: 12px;
  }

  .bb-stage-instructions {
    top: 8px;
    left: 8px;
    grid-template-columns: 24px minmax(0, 1fr);
    width: min(235px, calc(100% - 110px));
    padding: 10px 11px;
    font-size: 10px;
    line-height: 1.4;
  }

  .bb-stage-instructions i {
    font-size: 21px;
  }

  .bb-product-picker {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .bb-product-card,
  .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 76px 66px 28px;
  }

  .bb-summary-table-head {
    display: none;
  }

  .bb-summary-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    padding: 10px 4px;
  }

  .bb-summary-category {
    grid-column: 1;
    grid-row: 1;
  }

  .bb-summary-product {
    grid-column: 1;
    grid-row: 2;
  }

  .bb-summary-quantity {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
  }

  .bb-summary-unit-price {
    display: none;
  }

  .bb-summary-line-total {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }
}

@media (max-width: 430px) {
  .bb-product-card,
  .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 70px 58px 26px;
  }

  .bb-product-select,
  .bb-product-card.is-focused.is-selected .bb-product-select {
    grid-template-columns: 17px 28px minmax(0, 1fr);
    gap: 5px;
  }

  .bb-product-media {
    width: 28px;
    height: 28px;
  }

  .bb-product-card > .bb-product-controls {
    grid-template-columns: 22px 26px 22px;
    width: 70px;
  }

  .bb-product-copy strong,
  .bb-product-card > .bb-product-price {
    font-size: 10px;
  }
}

.bb-room-builder-page #content,
.bb-room-list-page #content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 15px;
  padding-right: 15px;
}

.bb-room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bb-room-card {
  display: block;
  overflow: hidden;
  border: 1px solid #e7e2dc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  transition: box-shadow .2s ease, transform .2s ease;
}

.bb-room-card:hover,
.bb-room-card:focus {
  color: #222;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 34, 40, .12);
}

.bb-room-card-media {
  display: block;
  aspect-ratio: 3 / 2;
  background: #f6f7f8;
}

.bb-room-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-room-card-body {
  display: block;
  min-height: 116px;
  padding: 14px;
}

.bb-room-card-body strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: #1f2933;
}

.bb-room-card-body span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.bb-room-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.bb-room-main {
  min-width: 0;
}

.bb-room-description,
.bb-room-info {
  color: #5f6673;
  line-height: 1.55;
}

.bb-room-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f3f5f6;
  background-position: center;
  background-size: cover;
}

.bb-room-overlay-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.bb-room-ambient-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(20, 27, 36, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.bb-room-stage.is-night .bb-room-ambient-shade {
  opacity: 1;
}

.bb-room-stage.has-night-hero.is-night .bb-room-ambient-shade {
  opacity: .14;
}

.bb-room-overlay {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  object-fit: fill;
  backface-visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform-origin: 0 0;
  transition: opacity .18s ease;
}

.bb-room-overlay.is-active {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}

.bb-room-overlay.is-active:hover,
.bb-room-overlay.is-active:focus {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .74));
  outline: 0;
}

.bb-scene-mode {
  position: absolute;
  z-index: 12;
  top: 12px;
  right: 12px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 7px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 16px rgba(20, 28, 38, .18);
}

.bb-scene-mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 92px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #dce1e6;
  background: transparent;
  color: #44515e;
  font-size: 12px;
  font-weight: 600;
}

.bb-scene-mode-button:last-child {
  border-right: 0;
}

.bb-scene-mode-button.active {
  background: #2f7568;
  color: #fff;
}

.bb-stage-product-menu {
  position: absolute;
  z-index: 14;
  left: 50%;
  bottom: 12px;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(460px, calc(100% - 24px));
  min-height: 58px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(21, 29, 39, .24);
  transform: translateX(-50%);
}

.bb-stage-product-menu.is-visible {
  display: grid;
}

.bb-stage-product-copy {
  min-width: 0;
}

.bb-stage-product-copy span,
.bb-stage-product-copy strong {
  display: block;
}

.bb-stage-product-copy span {
  margin-bottom: 2px;
  color: #6b7682;
  font-size: 10px;
}

.bb-stage-product-copy strong {
  overflow: hidden;
  color: #24313d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-stage-product-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #d7dde3;
  border-radius: 50%;
  background: #fff;
  color: #52606d;
  box-shadow: 0 3px 8px rgba(21, 29, 39, .16);
}

.bb-alternative-modal .modal-dialog {
  width: min(760px, calc(100% - 30px));
}

.bb-alternative-modal .modal-title {
  margin: 0;
  color: #24313d;
  font-size: 18px;
}

.bb-alternative-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bb-color-picker-modal .modal-dialog {
  width: min(980px, calc(100% - 30px));
}

.bb-color-picker-modal .modal-title {
  margin: 0;
  color: #24313d;
  font-size: 18px;
}

.bb-color-picker-product {
  margin-bottom: 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}

.bb-color-unit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.bb-color-unit-tab {
  min-width: 76px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d8dee5;
  border-radius: 6px;
  background: #fff;
  color: #52606d;
  font-size: 12px;
  font-weight: 700;
}

.bb-color-unit-tab.is-active {
  border-color: #2f7568;
  background: #2f7568;
  color: #fff;
}

.bb-color-unit-tab.has-selection:not(.is-active) {
  box-shadow: inset 0 0 0 1px #8faaa3;
}

.bb-color-palette-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.bb-color-swatch {
  display: flex;
  aspect-ratio: 1.15 / 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 7px;
  text-align: center;
}

.bb-color-swatch:hover,
.bb-color-swatch:focus {
  border-color: #2f7568;
  outline: 0;
  box-shadow: 0 5px 14px rgba(25, 42, 52, .14);
}

.bb-color-swatch.is-selected {
  border-color: #1f554b;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #1f554b;
}

.bb-color-swatch strong {
  font-size: 28px;
  line-height: 1;
}

.bb-color-swatch span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.bb-alternative-option {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 96px;
  padding: 9px;
  border: 1px solid #dfe4e9;
  border-radius: 7px;
  background: #fff;
  color: #24313d;
  text-align: left;
}

.bb-alternative-option:hover,
.bb-alternative-option:focus {
  border-color: #8faaa3;
  outline: 0;
  box-shadow: 0 5px 14px rgba(25, 42, 52, .09);
}

.bb-alternative-option.is-selected {
  border-color: #2f7568;
  box-shadow: inset 0 0 0 1px #2f7568;
}

.bb-alternative-option-media {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f5f6;
}

.bb-alternative-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-alternative-option-copy,
.bb-alternative-option-copy strong,
.bb-alternative-option-copy span {
  display: block;
  min-width: 0;
}

.bb-alternative-option-copy strong {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.3;
}

.bb-alternative-option-copy span {
  color: #64717d;
  font-size: 11px;
}

.bb-alternative-option-copy .bb-alternative-preview-status {
  margin-top: 4px;
  color: #9a5d16;
}

.bb-alternative-option-action {
  color: #2f7568;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.bb-room-name-preview {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1200px;
  height: 360px;
  backface-visibility: hidden;
  pointer-events: none;
  transform-origin: 0 0;
  transition: opacity .18s ease;
}

.bb-room-name-preview.is-active {
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.bb-room-name-preview.is-active:hover,
.bb-room-name-preview.is-active:focus {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .74));
  outline: 0;
}

.bb-room-info,
.bb-child-name,
.bb-product-group {
  margin-bottom: 18px;
}

.bb-child-name label,
.bb-option-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #344054;
}

.bb-product-group h2 {
  margin: 22px 0 12px;
  font-size: 20px;
  line-height: 1.3;
  color: #25313f;
}

.bb-product-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.bb-product-groups-grid .bb-product-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.bb-product-groups-grid .bb-product-group h2 {
  margin-top: 0;
}

.bb-product-groups-grid .bb-product-list {
  flex: 1;
  grid-template-columns: 1fr;
}

.bb-accordion-toggle {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  color: #25313f;
  font-weight: 700;
  text-align: left;
}

.bb-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bb-product-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 116px;
  grid-template-areas:
    "title title title"
    "media info actions";
  column-gap: 12px;
  row-gap: 9px;
  align-items: start;
  height: 100%;
  min-height: 132px;
  padding: 12px;
  border: 1px solid #e7e9ef;
  border-radius: 8px;
  background: #fff;
}

.bb-product-title {
  grid-area: title;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-bottom: 8px;
  overflow: hidden;
  border-bottom: 1px solid #edf0f4;
  color: #1f2933;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-product-media {
  grid-area: auto;
  grid-area: media;
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 7px;
  overflow: hidden;
  background: #f5f6f7;
}

.bb-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-product-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bb-product-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.bb-product-price {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: #2f7d69;
}

.bb-product-controls {
  display: inline-grid;
  grid-template-columns: 34px 44px 34px;
  align-self: flex-start;
  justify-self: start;
  height: 34px;
  border: 1px solid #d6dae1;
  border-radius: 7px;
  overflow: hidden;
}

.bb-qty-btn {
  border: 0;
  background: #f6f7f9;
  color: #26313d;
}

.bb-qty-input {
  width: 44px;
  border: 0;
  border-left: 1px solid #d6dae1;
  border-right: 1px solid #d6dae1;
  text-align: center;
  background: #fff;
}

.bb-option-row {
  margin-top: 0;
  min-width: 0;
}

.bb-option-row label {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.25;
}

.bb-option-row .form-control {
  height: 31px;
  padding: 5px 8px;
  font-size: 12px;
}

.bb-color-picker-trigger {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  height: 31px;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid #ccd3db;
  border-radius: 4px;
  background: #fff;
  color: #667085;
  font-size: 12px;
  text-align: left;
}

.bb-color-picker-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-color-picker-trigger i {
  margin-left: 8px;
  color: #667085;
}

.bb-color-picker-trigger.has-selection {
  color: #344054;
}

.bb-color-picker-trigger.is-complete {
  border-color: #8faaa3;
}

.bb-product-error {
  display: none;
  margin-top: 8px;
  color: #b42318;
  font-size: 12px;
}

.bb-product-card.has-error {
  border-color: #f2a6a1;
}

.bb-product-card.has-error .bb-product-error {
  display: block;
}

.bb-summary {
  position: sticky;
  top: 18px;
  padding: 16px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(30, 34, 40, .08);
}

.bb-summary h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.bb-summary-errors {
  display: none;
  margin-bottom: 10px;
  padding: 9px 10px;
  border: 1px solid #f2a6a1;
  border-radius: 6px;
  background: #fff3f2;
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
}

.bb-summary-item {
  padding: 9px 0;
  border-bottom: 1px solid #eef0f3;
}

.bb-summary-item strong {
  display: block;
  color: #1f2933;
}

.bb-summary-item span,
.bb-summary-empty,
.bb-summary-meta {
  color: #667085;
  font-size: 13px;
}

.bb-summary-options,
.bb-summary-line-total {
  display: block;
  line-height: 1.35;
}

.bb-summary-options {
  margin-top: 2px;
}

.bb-summary-line-total {
  margin-top: 4px;
  color: #1f2933;
  font-weight: 600;
}

.bb-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 17px;
}

.bb-summary-total strong {
  color: #1f2933;
}

.bb-summary-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.bb-mobile-bar {
  display: none;
}

@media (max-width: 991px) {
  .bb-room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-room-shell {
    grid-template-columns: 1fr;
  }

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

  .bb-summary {
    display: none;
  }

  .bb-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #dfe3e8;
    box-shadow: 0 -8px 24px rgba(30, 34, 40, .12);
  }

  .bb-mobile-bar span {
    display: block;
    color: #667085;
    font-size: 13px;
  }

  .bb-room-builder-page {
    padding-bottom: 82px;
  }

	.bb-room-builder-active .top_button {
		display: none !important;
	}

	.bb-room-builder-active #whatsapp-btn {
		display: none !important;
	}
}

@media (max-width: 767px) {
  .bb-room-list-head h1,
  .bb-room-title h1 {
    font-size: 24px;
  }

  .bb-room-grid,
  .bb-product-list,
  .bb-product-groups-grid {
    grid-template-columns: 1fr;
  }

  .bb-product-card {
    grid-template-columns: 72px minmax(0, 1fr) 114px;
    min-height: 124px;
    gap: 10px;
    padding: 11px;
  }

  .bb-product-media {
    width: 72px;
    height: 72px;
  }

  .bb-product-title {
    font-size: 12px;
    padding-bottom: 7px;
  }

  .bb-scene-mode {
    top: 8px;
    right: 8px;
  }

  .bb-scene-mode-button {
    min-width: 68px;
    height: 32px;
    padding: 0 8px;
  }

  .bb-scene-mode-button span {
    display: none;
  }

  .bb-stage-product-menu {
    bottom: 8px;
    width: calc(100% - 16px);
  }

  .bb-alternative-picker-grid {
    grid-template-columns: 1fr;
  }

  .bb-color-picker-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .bb-color-palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .bb-color-swatch {
    padding: 8px 5px;
  }

  .bb-color-swatch strong {
    font-size: 22px;
  }

  .bb-color-swatch span {
    font-size: 12px;
  }

  .bb-alternative-option {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    min-height: 82px;
  }

  .bb-alternative-option-media {
    width: 64px;
    height: 64px;
  }

  .bb-product-actions {
    gap: 8px;
  }

}

@media (max-width: 360px) {
  .bb-room-builder-active header .nav-responsive .expandable {
    width: 42px;
  }

  .bb-room-builder-active header #logo .img-responsive {
    max-width: 105px;
  }

  .bb-room-builder-active header .xdil .list-inline td {
    padding-left: 4px;
    padding-right: 4px;
  }

  .bb-room-builder-active header .table .dilci {
    width: auto;
  }
}

/* Room builder 1.5.37: final desktop/mobile revision set. */
@font-face {
  font-family: 'Kitten Bold';
  src: url('../../../../../image/catalog/konsept-odalar/fonts/KittenBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

#bb-room-builder .bb-control-header > strong {
  color: #6b4f3a;
  font-family: 'BugyBagy Handwriting', 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

#bb-room-builder .bb-product-card,
#bb-room-builder .bb-product-card.is-focused.is-selected {
  grid-template-columns: minmax(0, 1fr) 76px 74px;
  min-height: 86px;
  padding: 2px 3px;
  column-gap: 4px;
}

#bb-room-builder .bb-product-card.has-personalization,
#bb-room-builder .bb-product-card.has-personalization.is-focused.is-selected {
  grid-template-columns: minmax(0, 1fr) 76px 68px 30px;
}

#bb-room-builder .bb-product-select,
#bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-select {
  grid-template-columns: 20px 76px minmax(0, 1fr);
  min-height: 80px;
  gap: 8px;
  padding: 2px 0;
}

#bb-room-builder .bb-product-media {
  width: 76px;
  height: 76px;
}

#bb-room-builder .bb-product-media img {
  object-fit: cover;
  object-position: center;
}

#bb-room-builder .bb-product-copy {
  overflow: hidden;
  white-space: normal;
  mask-image: none;
  -webkit-mask-image: none;
}

#bb-room-builder .bb-product-copy strong {
  display: -webkit-box;
  max-height: 2.7em;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#bb-room-builder .bb-product-card > .bb-product-controls,
#bb-room-builder .bb-product-card > .bb-product-price,
#bb-room-builder .bb-edit-product-options {
  align-self: center;
}

#bb-room-builder .bb-product-name-input,
#bb-room-builder .bb-room-name-preview {
  font-family: 'BugyBagy Handwriting', 'Brush Script MT', 'Segoe Script', cursive;
  font-weight: 700;
  text-transform: none;
  font-variant-caps: normal;
}

#bb-room-builder .bb-panel-savings {
  align-items: center;
  color: #147457;
}

#bb-room-builder .bb-panel-savings span,
#bb-room-builder .bb-panel-savings strong {
  color: #147457;
  font-size: 11px;
  font-weight: 700;
}

#bb-room-builder .bb-stage-product-menu {
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 18px rgba(29, 31, 36, .22);
  transform: none;
  backdrop-filter: blur(7px);
}

#bb-room-builder .bb-stage-product-actions {
  gap: 3px;
}

#bb-room-builder .bb-stage-action {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 0;
  box-shadow: none;
  font-size: 12px;
}

#bb-room-builder .bb-edit-stage-product {
  background: #6b4f3a;
}

#bb-room-builder .bb-edit-stage-product:hover,
#bb-room-builder .bb-edit-stage-product:focus {
  background: #523a2c;
}

#bb-room-builder .bb-remove-stage-product {
  background: #323238;
}

#bb-room-builder .bb-remove-stage-product:hover,
#bb-room-builder .bb-remove-stage-product:focus {
  background: #111115;
}

@media (max-width: 767px) {
  body.bb-room-builder-active {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  #bb-room-builder .bb-scene-mode,
  #bb-room-builder .bb-scene-toggle {
    width: 74px;
    height: 32px;
    border-radius: 16px;
  }

  #bb-room-builder .bb-scene-mode {
    top: 7px;
    right: 7px;
  }

  #bb-room-builder .bb-scene-toggle {
    border-width: 1px;
  }

  #bb-room-builder .bb-scene-celestial {
    top: 4px;
    width: 22px;
    height: 22px;
  }

  #bb-room-builder .bb-scene-celestial i {
    font-size: 14px;
  }

  #bb-room-builder .bb-scene-sun { left: 4px; }
  #bb-room-builder .bb-scene-moon { right: 4px; }

  #bb-room-builder .bb-mobile-clear-wrap {
    display: block !important;
    padding: 7px 6px 2px;
    background: #fff;
  }

  #bb-room-builder .bb-mobile-clear-wrap .bb-clear-room {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 40px;
    border: 1px solid #6b4f3a;
    border-radius: 4px;
    background: #fff;
    color: #6b4f3a;
    font-size: 12px;
    font-weight: 700;
  }

  #bb-room-builder .bb-control-footer {
    display: none;
  }

  #bb-room-builder .bb-product-card,
  #bb-room-builder .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 70px 64px;
    min-height: 78px;
  }

  #bb-room-builder .bb-product-card.has-personalization,
  #bb-room-builder .bb-product-card.has-personalization.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 70px 58px 28px;
  }

  #bb-room-builder .bb-product-select,
  #bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-select {
    grid-template-columns: 18px 64px minmax(0, 1fr);
    min-height: 72px;
    gap: 6px;
  }

  #bb-room-builder .bb-product-media {
    width: 64px;
    height: 64px;
  }

  #bb-room-builder .bb-product-copy strong {
    font-size: 11px;
  }

  .bb-mobile-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(136px, 42vw);
    align-items: center;
    gap: 8px;
    min-height: 86px;
    padding: 7px 9px calc(7px + env(safe-area-inset-bottom));
  }

  .bb-mobile-bar .bb-mobile-bar-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 6px;
    min-width: 0;
  }

  .bb-mobile-bar .bb-mobile-bar-title {
    overflow: hidden;
    color: #29262a;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bb-mobile-bar .bb-mobile-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 10px;
    background: #f4eadf;
    color: #6b4f3a;
    font-size: 9px;
  }

  .bb-mobile-bar .bb-mobile-prices {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
  }

  .bb-mobile-bar .bb-mobile-prices del {
    color: #777;
    font-size: 11px;
    font-weight: 500;
  }

  .bb-mobile-bar .bb-mobile-prices .bb-mobile-total {
    margin: 0;
    color: #6b4f3a;
    font-size: 17px;
    font-weight: 800;
  }

  .bb-mobile-bar .bb-mobile-savings {
    grid-column: 1 / -1;
    display: block;
    overflow: hidden;
    color: #147457;
    font-size: 9px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bb-mobile-bar .bb-mobile-savings[hidden] {
    display: none;
  }

  .bb-mobile-bar .bb-mobile-savings span,
  .bb-mobile-bar .bb-mobile-savings strong {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: 700;
  }

  .bb-mobile-bar .btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 9px;
    font-size: 11px;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .bb-mobile-bar {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .bb-mobile-bar .btn {
    min-width: 0;
    padding: 0 7px;
    font-size: 10px;
  }
}

/* Room-first builder workspace */
.bb-room-builder-page.container {
  width: 100%;
  max-width: 1580px;
  padding-right: 24px;
  padding-left: 24px;
}

.bb-room-builder,
.bb-room-builder * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.bb-room-builder-page > .breadcrumb {
  margin-bottom: 10px;
  padding: 0;
  background: transparent;
  font-size: 12px;
}

.bb-room-builder-page > .row {
  margin-right: 0;
  margin-left: 0;
}

.bb-room-builder-page #content {
  padding-right: 0;
  padding-left: 0;
}

.bb-room-heading {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 14px;
}

.bb-room-heading h1 {
  margin: 2px 0 0;
  color: #202a31;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
}

.bb-room-eyebrow {
  display: block;
  color: #2f7568;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.bb-room-heading .bb-room-description {
  max-width: 680px;
  margin: 0;
  color: #66717b;
  font-size: 13px;
  line-height: 1.55;
}

.bb-room-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 410px);
  align-items: start;
  gap: 18px;
}

.bb-room-main {
  position: sticky;
  top: 12px;
  min-width: 0;
}

.bb-room-stage {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9dee1;
  border-radius: 6px;
  background-color: #edf0f1;
  box-shadow: 0 12px 32px rgba(41, 52, 58, .12);
}

.bb-room-stage:focus-within {
  border-color: #79a89f;
}

.bb-scene-mode {
  top: 14px;
  right: 14px;
  border-color: rgba(255, 255, 255, .86);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(33, 43, 49, .18);
}

.bb-scene-mode-button {
  min-width: 88px;
  height: 36px;
  transition: color .18s ease, background-color .18s ease;
}

.bb-scene-mode-button.active {
  background: #2f7568;
}

.bb-room-hotspot {
  position: absolute;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 50%;
  background: #2f7568;
  color: #fff;
  box-shadow: 0 6px 18px rgba(25, 39, 43, .3);
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transform: translate(-50%, -50%) scale(.86);
  transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.bb-room-hotspot span {
  display: none;
}

.bb-room-hotspot.is-visible {
  opacity: .9;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.bb-room-hotspot:hover,
.bb-room-hotspot:focus {
  background: #245e54;
  color: #fff;
  opacity: 1;
  outline: 3px solid rgba(255, 255, 255, .72);
}

.bb-stage-product-menu {
  bottom: auto;
  display: none;
  grid-template-columns: minmax(150px, 1fr) auto;
  width: min(520px, calc(100% - 28px));
  min-height: 68px;
  padding: 10px 12px 10px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 36px rgba(22, 31, 36, .28);
  transform: translate(-50%, -108%);
}

.bb-stage-product-menu.is-visible {
  display: grid;
}

.bb-stage-product-copy span {
  color: #7a848d;
  font-size: 10px;
  text-transform: uppercase;
}

.bb-stage-product-copy strong {
  max-width: 260px;
  font-size: 13px;
}

.bb-stage-product-copy small {
  display: block;
  margin-top: 2px;
  color: #2f7568;
  font-size: 11px;
  font-weight: 700;
}

.bb-stage-product-close {
  top: -9px;
  right: -9px;
  width: 26px;
  height: 26px;
}

.bb-stage-product-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bb-stage-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 72px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d4dadc;
  border-radius: 5px;
  background: #fff;
  color: #344149;
  font-size: 11px;
  font-weight: 700;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.bb-stage-action:hover,
.bb-stage-action:focus {
  border-color: #77a49b;
  background: #edf5f3;
  color: #245e54;
  outline: 0;
}

.bb-stage-action:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.bb-remove-stage-product {
  color: #a4433c;
}

.bb-control-panel {
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 260px);
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  border: 1px solid #dce1e3;
  border-radius: 6px;
  background: #f6f8f8;
  box-shadow: 0 12px 30px rgba(38, 49, 55, .1);
}

.bb-control-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 12px 14px;
  border-bottom: 1px solid #dde2e4;
  background: #fff;
}

.bb-control-header span,
.bb-control-header strong {
  display: block;
}

.bb-control-header > div:first-child > span {
  margin-bottom: 2px;
  color: #7a858d;
  font-size: 10px;
  text-transform: uppercase;
}

.bb-control-header > div:first-child > strong {
  color: #253139;
  font-size: 15px;
}

.bb-control-progress {
  text-align: right;
}

.bb-progress-text {
  margin-bottom: 5px;
  color: #526069;
  font-size: 11px;
  font-weight: 700;
}

.bb-progress-track {
  display: block;
  width: 92px;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: #e4e8e9;
}

.bb-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  background: #2f7568;
  transition: width .22s ease;
}

.bb-control-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #bdc7ca transparent;
  scrollbar-width: thin;
}

.bb-category-accordion {
  padding: 8px;
}

.bb-control-section {
  overflow: hidden;
  border-bottom: 1px solid #dfe4e5;
  background: transparent;
}

.bb-control-section:last-child {
  border-bottom: 0;
}

.bb-control-toggle {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: #26323a;
  text-align: left;
}

.bb-control-toggle:hover,
.bb-control-toggle:focus {
  background: #eef2f2;
  outline: 0;
}

.bb-control-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid #d8dfe0;
  border-radius: 6px;
  background: #fff;
  color: #54636b;
  place-items: center;
}

.bb-control-label strong,
.bb-control-label small {
  display: block;
}

.bb-control-label strong {
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 1.2;
}

.bb-control-label small {
  color: #849097;
  font-size: 10px;
  font-weight: 400;
}

.bb-control-state {
  display: grid;
  justify-items: center;
  color: #7f8a91;
}

.bb-control-check {
  display: none;
  color: #2f7568;
}

.bb-control-chevron {
  transition: transform .2s ease;
}

.bb-control-section.is-complete .bb-control-check {
  display: block;
}

.bb-control-section.is-complete .bb-control-chevron {
  display: none;
}

.bb-control-section.is-open .bb-control-check {
  display: none;
}

.bb-control-section.is-open .bb-control-chevron {
  display: block;
  transform: rotate(180deg);
}

.bb-control-section.is-open .bb-control-icon {
  border-color: #7ca89f;
  background: #e9f2f0;
  color: #245e54;
}

.bb-control-body {
  display: none;
  padding: 0 4px 10px;
}

.bb-control-section.is-open .bb-control-body {
  display: block;
}

.bb-product-picker {
  display: grid;
  gap: 7px;
}

.bb-product-card {
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe4e5;
  border-radius: 6px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.bb-product-card.is-selected {
  border-color: #92b6ae;
}

.bb-product-card.is-focused {
  border-color: #2f7568;
  box-shadow: 0 0 0 1px #2f7568;
}

.bb-product-card.has-error {
  border-color: #c95b53;
}

.bb-product-select {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  padding: 7px 9px 7px 7px;
  border: 0;
  background: #fff;
  color: #253139;
  text-align: left;
}

.bb-product-select:hover,
.bb-product-select:focus {
  background: #f7f9f9;
  outline: 0;
}

.bb-product-media {
  position: relative;
  display: block;
  grid-area: auto;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 5px;
  background: #eef1f1;
}

.bb-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-product-selected-mark {
  position: absolute;
  right: 3px;
  bottom: 3px;
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2f7568;
  color: #fff;
  font-size: 8px;
  place-items: center;
}

.bb-product-card.is-selected .bb-product-selected-mark {
  display: grid;
}

.bb-product-copy,
.bb-product-copy strong,
.bb-product-copy span,
.bb-product-copy small {
  display: block;
  min-width: 0;
}

.bb-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #29353c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bb-product-copy .bb-product-price {
  margin-top: 3px;
  color: #2f7568;
  font-size: 11px;
}

.bb-product-state {
  margin-top: 1px;
  color: #8a949a;
  font-size: 9px;
}

.bb-product-card.is-selected .bb-product-state {
  color: #2f7568;
}

.bb-product-arrow {
  color: #9aa3a8;
  transition: transform .18s ease;
}

.bb-product-card.is-focused .bb-product-arrow {
  color: #2f7568;
  transform: rotate(90deg);
}

.bb-product-detail {
  display: none;
  padding: 10px;
  border-top: 1px solid #e4e8e9;
  background: #fbfcfc;
}

.bb-product-card.is-focused.is-selected .bb-product-detail {
  display: block;
}

.bb-option-row {
  margin: 0 0 10px;
}

.bb-option-row:last-of-type {
  margin-bottom: 0;
}

.bb-option-row label {
  margin-bottom: 5px;
  color: #48565e;
  font-size: 11px;
  font-weight: 700;
}

.bb-option-row .form-control {
  height: 36px;
  border-color: #cfd7d9;
  border-radius: 4px;
  box-shadow: none;
  font-size: 12px;
}

.bb-option-row .form-control:focus {
  border-color: #2f7568;
  box-shadow: 0 0 0 2px rgba(47, 117, 104, .12);
}

.bb-option-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.bb-option-choice,
.bb-other-choice {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #d3dadc;
  border-radius: 4px;
  background: #fff;
  color: #4d5a62;
  font-size: 10px;
  line-height: 1.25;
  text-align: left;
}

.bb-option-choice small,
.bb-other-choice small {
  display: block;
  margin-top: 2px;
  color: #7c878e;
  font-size: 9px;
}

.bb-option-choice:hover,
.bb-option-choice:focus,
.bb-other-choice:hover,
.bb-other-choice:focus {
  border-color: #7ca89f;
  outline: 0;
}

.bb-option-choice.is-selected,
.bb-other-choice.is-selected {
  border-color: #2f7568;
  background: #e8f2f0;
  color: #245e54;
  box-shadow: inset 0 0 0 1px #2f7568;
}

.bb-color-picker-trigger {
  min-height: 36px;
  height: auto;
  border-radius: 4px;
}

.bb-product-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e1e6e7;
}

.bb-product-controls {
  grid-template-columns: 32px 38px 32px;
  height: 32px;
  border-radius: 4px;
}

.bb-qty-input {
  width: 38px;
  font-variant-numeric: tabular-nums;
}

.bb-qty-btn:hover,
.bb-qty-btn:focus {
  background: #e9efee;
  color: #245e54;
  outline: 0;
}

.bb-remove-product {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #a4433c;
  font-size: 11px;
}

.bb-remove-product:hover,
.bb-remove-product:focus {
  color: #7f2d28;
  text-decoration: underline;
  outline: 0;
}

.bb-product-error {
  margin-top: 8px;
  font-size: 10px;
}

.bb-summary {
  position: static;
  flex: 0 0 auto;
  max-height: 260px;
  padding: 12px 14px 14px;
  overflow: hidden;
  border: 0;
  border-top: 1px solid #dce2e3;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 -8px 20px rgba(38, 49, 55, .05);
}

.bb-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.bb-summary-heading div > span,
.bb-summary-heading div > strong {
  display: inline;
}

.bb-summary-heading div > span {
  color: #26323a;
  font-size: 15px;
  font-weight: 700;
}

.bb-summary-count {
  margin-left: 5px;
  color: #7d888f;
  font-size: 10px;
  font-weight: 600;
}

.bb-summary-heading .bb-summary-total-value {
  color: #26323a;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.bb-summary-items {
  max-height: 76px;
  overflow-y: auto;
}

.bb-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding: 4px 0;
}

.bb-summary-item strong {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-summary-options {
  display: none !important;
}

.bb-summary-line-total {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #526069;
  font-size: 10px;
  white-space: nowrap;
}

.bb-summary-empty {
  padding: 5px 0;
  font-size: 11px;
}

.bb-summary-benefits {
  display: flex;
  gap: 14px;
  margin: 7px 0 9px;
  color: #68747c;
  font-size: 10px;
}

.bb-summary-benefits i {
  margin-right: 3px;
  color: #2f7568;
}

.bb-summary .bb-add-room {
  width: 100%;
  min-height: 39px;
  border-color: #2f7568;
  border-radius: 4px;
  background: #2f7568;
  font-size: 12px;
  font-weight: 700;
}

.bb-summary .bb-add-room:hover,
.bb-summary .bb-add-room:focus {
  border-color: #245e54;
  background: #245e54;
}

.bb-room-info {
  max-width: 920px;
  margin: 18px 0 0;
  color: #66717b;
  font-size: 13px;
  line-height: 1.6;
}

.bb-color-picker-modal .modal-content,
.bb-alternative-modal .modal-content {
  border-radius: 6px;
}

@media (max-width: 1199px) {
  .bb-room-builder-page.container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .bb-room-workspace {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .bb-control-panel {
    min-height: 530px;
  }

  .bb-stage-action {
    min-width: 66px;
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (max-width: 991px) {
  .bb-room-heading {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .bb-room-workspace {
    grid-template-columns: 1fr;
  }

  .bb-room-main,
  .bb-control-panel {
    position: static;
  }

  .bb-control-panel {
    display: flex;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .bb-control-scroll {
    overflow: visible;
  }

  .bb-summary {
    display: block;
    max-height: none;
    padding-bottom: 12px;
  }

  .bb-summary .bb-add-room {
    display: none;
  }

  .bb-summary-items {
    max-height: 110px;
  }

  .bb-mobile-bar {
    z-index: 10000;
  }
}

@media (max-width: 767px) {
  .bb-room-builder-page.container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .bb-room-builder-page > .breadcrumb {
    margin-bottom: 8px;
    white-space: normal;
  }

  .bb-room-heading {
    margin-bottom: 11px;
  }

  .bb-room-heading h1 {
    font-size: 23px;
  }

  .bb-room-heading .bb-room-description {
    font-size: 12px;
  }

  .bb-room-workspace {
    gap: 12px;
  }

  .bb-room-stage {
    border-radius: 5px;
    box-shadow: 0 8px 22px rgba(41, 52, 58, .12);
  }

  .bb-scene-mode {
    top: 8px;
    right: 8px;
  }

  .bb-scene-mode-button {
    min-width: 42px;
    width: 42px;
    height: 32px;
  }

  .bb-scene-mode-button span {
    display: none;
  }

  .bb-room-hotspot {
    width: 32px;
    height: 32px;
  }

  .bb-stage-product-menu {
    grid-template-columns: minmax(110px, 1fr) auto;
    width: calc(100% - 16px);
    min-height: 60px;
    padding: 8px 9px 8px 11px;
  }

  .bb-stage-product-copy strong {
    max-width: 130px;
    font-size: 11px;
  }

  .bb-stage-product-actions {
    gap: 4px;
  }

  .bb-stage-action {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
  }

  .bb-stage-action span {
    display: none;
  }

  .bb-control-header {
    min-height: 60px;
  }

  .bb-category-accordion {
    padding: 6px;
  }

  .bb-control-toggle {
    min-height: 56px;
  }

  .bb-product-select {
    grid-template-columns: 54px minmax(0, 1fr) 14px;
    min-height: 68px;
  }

  .bb-product-media {
    width: 54px;
    height: 54px;
  }

  .bb-option-choices {
    grid-template-columns: 1fr 1fr;
  }

  .bb-color-palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bb-mobile-bar {
    padding: 9px 12px;
  }

  .bb-mobile-bar .btn {
    min-height: 38px;
    border-radius: 4px;
  }
}

@media (max-width: 380px) {
  .bb-room-builder-page.container {
    padding-right: 8px;
    padding-left: 8px;
  }

  .bb-control-header {
    grid-template-columns: minmax(0, 1fr) 74px;
  }

  .bb-progress-track {
    width: 74px;
  }

  .bb-product-copy strong {
    font-size: 11px;
  }
}

/* Full-width room canvas and inline order table */
.bb-room-builder-page.container {
  width: 100%;
  max-width: none;
  padding-right: 20px;
  padding-left: 20px;
}

.bb-room-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(370px, 410px);
  align-items: stretch;
  gap: 20px;
}

.bb-room-stage {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.bb-room-stage:focus-within {
  border-color: transparent;
}

.bb-control-panel {
  align-self: stretch;
  height: calc(66.6667vw - 317.333px);
  min-height: 0;
  max-height: none;
}

.bb-stage-product-menu {
  display: none;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -118%);
}

.bb-stage-product-menu.is-visible {
  display: block;
}

.bb-stage-product-actions {
  gap: 4px;
}

.bb-stage-action {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: #2f7568;
  color: #fff;
  box-shadow: 0 3px 9px rgba(22, 31, 36, .25);
  font-size: 10px;
}

.bb-stage-action:hover,
.bb-stage-action:focus {
  border-color: #fff;
  background: #245e54;
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 31, 36, .34);
  transform: translateY(-1px);
}

.bb-remove-stage-product {
  background: #a4433c;
  color: #fff;
}

.bb-remove-stage-product:hover,
.bb-remove-stage-product:focus {
  background: #84332e;
}

.bb-stage-action:disabled {
  background: #7d878d;
  color: #fff;
}

.bb-edit-stage-product[hidden],
.bb-edit-stage-product[aria-hidden="true"] {
  display: none !important;
}

.bb-control-section.is-choosing-alternative .bb-product-card[data-is-alternative="1"] {
  border-color: #2f7568;
  background: #edf6f3;
  box-shadow: 0 0 0 2px rgba(47, 117, 104, .12);
}

.bb-summary {
  position: static;
  display: block;
  max-height: none;
  margin-top: 24px;
  padding: 0 0 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.bb-summary-heading {
  margin: 0;
  padding: 18px 0 12px;
  border-bottom: 2px solid #2f7568;
}

.bb-summary-heading div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bb-summary-heading div > span {
  color: #202a31;
  font-size: 20px;
  font-weight: 700;
}

.bb-summary-count {
  margin: 0;
  color: #748087;
  font-size: 12px;
}

.bb-summary-table {
  width: 100%;
}

.bb-summary-table-head,
.bb-summary-item {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(280px, 2fr) 90px 130px;
  align-items: center;
  gap: 20px;
}

.bb-summary-table-head {
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #dfe4e5;
  background: #f5f7f7;
  color: #657179;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.bb-summary-table-head span:nth-child(3),
.bb-summary-quantity {
  text-align: center;
}

.bb-summary-table-head span:last-child,
.bb-summary-line-total {
  text-align: right;
}

.bb-summary-items {
  max-height: none;
  overflow: visible;
}

.bb-summary-item {
  min-height: 54px;
  padding: 9px 14px;
  border-bottom: 1px solid #e5e8e9;
}

.bb-summary-item strong {
  overflow: visible;
  color: #26323a;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: clip;
  white-space: normal;
}

.bb-summary-options {
  display: block !important;
  overflow-wrap: anywhere;
  color: #69757d;
  font-size: 11px;
  line-height: 1.45;
}

.bb-summary-quantity {
  color: #46545d;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.bb-summary-line-total {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  color: #26323a;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bb-summary-empty {
  padding: 18px 14px;
  border-bottom: 1px solid #e5e8e9;
  color: #748087;
  font-size: 12px;
}

.bb-summary-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 240px;
  align-items: center;
  gap: 28px;
  padding-top: 16px;
}

.bb-summary-benefits {
  margin: 0;
  font-size: 11px;
}

.bb-summary-grand-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.bb-summary-grand-total span {
  color: #657179;
  font-size: 12px;
}

.bb-summary-grand-total .bb-summary-total-value {
  color: #202a31;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.bb-summary .bb-add-room {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  min-height: 44px;
}

@media (max-width: 1199px) {
  .bb-room-builder-page.container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .bb-room-workspace {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 14px;
  }

  .bb-control-panel {
    height: calc(66.6667vw - 280px);
  }

  .bb-summary-table-head,
  .bb-summary-item {
    grid-template-columns: minmax(200px, 1.3fr) minmax(220px, 1.8fr) 70px 110px;
    gap: 14px;
  }
}

@media (max-width: 991px) {
  .bb-room-workspace {
    grid-template-columns: 1fr;
  }

  .bb-control-panel {
    height: auto;
  }

  .bb-summary .bb-add-room {
    display: none;
  }

  .bb-summary-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 767px) {
  .bb-room-builder-page.container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .bb-stage-product-menu {
    width: auto;
    min-height: 0;
    padding: 0;
  }

  .bb-stage-action {
    width: 26px;
    min-width: 26px;
    height: 26px;
  }

  .bb-summary {
    margin-top: 16px;
  }

  .bb-summary-heading {
    padding-top: 13px;
  }

  .bb-summary-heading div > span {
    font-size: 17px;
  }

  .bb-summary-table-head {
    display: none;
  }

  .bb-summary-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 11px 4px;
  }

  .bb-summary-item strong {
    grid-column: 1;
    grid-row: 1;
  }

  .bb-summary-options {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bb-summary-quantity {
    grid-column: 1;
    grid-row: 3;
    color: #748087;
    text-align: left;
  }

  .bb-summary-quantity::before {
    content: "Adet: ";
  }

  .bb-summary-line-total {
    grid-column: 2;
    grid-row: 1;
  }

  .bb-summary-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bb-summary-grand-total {
    justify-content: space-between;
  }

  .bb-summary-benefits {
    flex-wrap: wrap;
  }
}

/* Viewport-fitted desktop workspace */
@media (min-width: 1200px) {
  .bb-room-workspace {
    --bb-stage-height: min(clamp(250px, calc(100vh - 520px), 560px), calc(66.6667vw - 317.333px));
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .bb-room-workspace {
    --bb-stage-height: min(clamp(250px, calc(100vh - 520px), 560px), calc(66.6667vw - 280px));
  }
}

@media (min-width: 992px) {
  .bb-room-main {
    display: flex;
    justify-content: center;
    height: var(--bb-stage-height);
  }

  .bb-room-stage {
    width: auto;
    max-width: 100%;
    height: var(--bb-stage-height);
    aspect-ratio: 3 / 2;
    flex: 0 0 auto;
  }

  .bb-control-panel {
    height: var(--bb-stage-height);
  }

  .bb-summary {
    margin-top: 12px;
    padding-bottom: 8px;
  }

  .bb-summary-heading {
    min-height: 34px;
    padding: 7px 0;
  }

  .bb-summary-heading div > span {
    font-size: 17px;
  }

  .bb-summary-table-head {
    min-height: 32px;
  }

  .bb-summary-items {
    max-height: 108px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #bdc7ca transparent;
    scrollbar-width: thin;
  }

  .bb-summary-item {
    min-height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .bb-summary-footer {
    gap: 18px;
    padding-top: 9px;
  }

  .bb-summary .bb-add-room {
    min-height: 40px;
  }

  .bb-summary-grand-total .bb-summary-total-value {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .bb-room-main {
    display: block;
    height: auto;
  }

  .bb-room-stage {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .bb-summary-items {
    max-height: none;
    overflow: visible;
  }
}

@media (min-width: 1200px) and (max-height: 820px) {
  .bb-room-workspace {
    --bb-stage-height: min(clamp(280px, calc(100vh - 450px), 400px), calc(66.6667vw - 317.333px));
  }
}

@media (min-width: 992px) and (max-width: 1199px) and (max-height: 820px) {
  .bb-room-workspace {
    --bb-stage-height: min(clamp(280px, calc(100vh - 450px), 400px), calc(66.6667vw - 280px));
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .bb-room-builder-page > .breadcrumb,
  .bb-room-eyebrow {
    display: none;
  }

  .bb-room-heading {
    margin-bottom: 8px;
  }

  .bb-room-heading h1 {
    font-size: 24px;
  }

  .bb-room-heading .bb-room-description {
    font-size: 12px;
  }

  .bb-summary-items {
    max-height: 72px;
  }
}

/* Centered desktop composition with a larger room canvas */
@media (min-width: 1200px) {
  .bb-room-workspace {
    --bb-stage-height: min(clamp(380px, calc(100vh - 300px), 620px), calc(66.6667vw - 317.333px));
    grid-template-columns: auto 410px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .bb-room-workspace {
    --bb-stage-height: min(clamp(340px, calc(100vh - 300px), 560px), calc(66.6667vw - 280px));
    grid-template-columns: auto 360px;
  }
}

@media (min-width: 992px) {
  .bb-room-builder-page > .breadcrumb,
  .bb-room-heading,
  .bb-summary {
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
  }

  .bb-room-workspace {
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .bb-room-main {
    width: auto;
  }

  .bb-summary {
    margin-top: 18px;
  }

  .bb-summary-items {
    max-height: 108px;
  }
}

/* Continuous customer drag rendering across wall surfaces */
.bb-room-overlay {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: none;
}

.bb-room-overlay.is-active {
  opacity: 1;
  pointer-events: none;
}

.bb-room-overlay-segment {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.bb-room-overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  backface-visibility: hidden;
  object-fit: fill;
  pointer-events: none;
  touch-action: none;
  transform-origin: 0 0;
  user-drag: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.bb-room-overlay.is-active .bb-room-overlay-image {
  cursor: grab;
  pointer-events: none;
}

.bb-room-overlay.is-active .bb-room-overlay-segment {
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.bb-room-overlay.is-active .bb-room-overlay-segment:hover .bb-room-overlay-image,
.bb-room-overlay.is-active:focus .bb-room-overlay-image {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .74));
}

.bb-room-stage.is-product-dragging,
.bb-room-stage.is-product-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}

.bb-summary-footer {
  grid-template-columns: minmax(0, 1fr) auto auto 240px;
}

.bb-remove-all-products {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #a4433c;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.bb-remove-all-products:hover,
.bb-remove-all-products:focus {
  color: #7f2d28;
  text-decoration: underline;
  outline: 0;
}

.bb-remove-all-products:disabled {
  cursor: not-allowed;
  opacity: .42;
  text-decoration: none;
}

@media (max-width: 991px) {
  .bb-summary-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 767px) {
  .bb-summary-footer {
    grid-template-columns: 1fr;
  }

  .bb-remove-all-products {
    justify-self: start;
    padding-left: 0;
  }
}

/* Accordion product grid */
.bb-control-header {
  grid-template-columns: minmax(0, 1fr) 124px;
}

.bb-control-progress,
.bb-progress-text {
  white-space: nowrap;
}

.bb-progress-track {
  width: 100%;
}

.bb-control-section {
  overflow: visible;
}

.bb-control-section.is-open > .bb-control-toggle {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid #dfe4e5;
  background: rgba(246, 248, 248, .98);
  box-shadow: 0 5px 12px rgba(38, 49, 55, .08);
  backdrop-filter: blur(8px);
}

.bb-control-section.is-open > .bb-control-toggle:hover,
.bb-control-section.is-open > .bb-control-toggle:focus {
  background: #eef2f2;
}

.bb-product-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
}

.bb-product-card {
  min-width: 0;
}

.bb-product-select {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: auto;
  background: #fff;
  text-align: center;
}

.bb-product-select:hover,
.bb-product-select:focus,
.bb-product-select:focus-visible {
  background: #eef1f1;
  outline: 0;
}

.bb-product-select:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(47, 117, 104, .8);
}

.bb-product-media {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: auto;
}

.bb-product-media img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: filter .2s ease, transform .25s ease;
}

.bb-product-tooltip {
  position: absolute;
  left: 8px;
  right: 8px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity .18s ease, transform .18s ease;
}

.bb-product-tooltip {
  top: 8px;
  display: -webkit-box;
  max-height: 38px;
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 4px;
  background: rgba(32, 42, 49, .9);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bb-product-add-label {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #2f7568;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: height .18s ease, min-height .18s ease, opacity .15s ease;
}

.bb-product-select:hover .bb-product-media img,
.bb-product-select:focus .bb-product-media img {
  filter: brightness(.88);
  transform: none;
}

.bb-product-card:hover .bb-product-tooltip,
.bb-product-card:focus-within .bb-product-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.bb-product-card:hover .bb-product-add-label,
.bb-product-card:focus-within .bb-product-add-label {
  height: 32px;
  min-height: 32px;
  opacity: 1;
}

.bb-product-copy,
.bb-product-arrow {
  display: none !important;
}

.bb-product-selected-mark {
  right: 7px;
  bottom: auto;
  top: 7px;
  z-index: 3;
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.bb-product-card.is-selected .bb-product-tooltip {
  right: 36px;
}

.bb-product-card.is-focused.is-selected {
  grid-column: auto;
  display: block;
}

.bb-product-card.is-focused.is-selected .bb-product-select {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.bb-product-card.is-focused.is-selected .bb-product-detail {
  display: none;
}

.bb-product-quantity-badge {
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
}

@media (hover: none) {
  .bb-product-add-label {
    height: 32px;
    min-height: 32px;
    opacity: 1;
    background: rgba(47, 117, 104, .92);
  }
}

@media (max-width: 767px) {
  .bb-product-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .bb-control-header {
    grid-template-columns: minmax(0, 1fr) 116px;
  }

  .bb-product-card.is-focused.is-selected .bb-product-select {
    width: 100%;
    height: auto;
  }
}

/* Focused builder viewport and persistent checkout dock */
.bb-room-builder-page .breadcrumb {
  position: static !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  width: 100% !important;
  max-width: 1320px;
  height: auto !important;
  min-height: 20px;
  margin: 0 auto 6px !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  background: transparent;
  color: #748087;
  font-size: 11px;
  line-height: 1.45;
  white-space: normal !important;
}

.bb-room-builder-page .breadcrumb > li,
.bb-room-builder-page .breadcrumb > li > a {
  color: #66737b;
  line-height: 1.45;
}

.bb-room-builder-page .breadcrumb > li:last-child,
.bb-room-builder-page .breadcrumb > li:last-child > a {
  color: #26323a;
  font-weight: 700;
}

.bb-room-heading {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 900px;
  height: auto !important;
  margin: 0 auto 12px !important;
  padding: 0 16px !important;
  overflow: visible !important;
  clip: auto !important;
  text-align: center;
  white-space: normal !important;
}

.bb-room-heading > div:first-child {
  display: block;
}

.bb-room-heading .bb-room-eyebrow {
  display: block !important;
  margin-bottom: 3px;
  text-align: center;
}

.bb-room-heading h1 {
  margin: 0;
  text-align: center;
}

.bb-room-heading .bb-room-description {
  max-width: 760px;
  margin: 7px auto 0;
  text-align: center;
}

.bb-room-builder-page.container {
  padding-bottom: 78px;
}

.bb-room-builder {
  padding-top: 16px;
}

.bb-summary .bb-add-room {
  display: none !important;
}

.bb-mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 9px max(20px, calc((100vw - 1320px) / 2));
  border-top: 1px solid #d9e1df;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -8px 24px rgba(30, 42, 40, .14);
  backdrop-filter: blur(10px);
}

.bb-mobile-bar > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.bb-mobile-bar strong,
.bb-mobile-bar span {
  display: block;
  margin: 0;
  white-space: nowrap;
}

.bb-mobile-bar strong {
  color: #26323a;
  font-size: 13px;
}

.bb-mobile-bar span {
  color: #2f7568;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bb-mobile-bar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 240px;
  min-height: 42px;
  border-color: #2f7568;
  border-radius: 4px;
  background: #2f7568;
  font-size: 12px;
  font-weight: 700;
}

.bb-mobile-bar .btn:hover,
.bb-mobile-bar .btn:focus {
  border-color: #245e54;
  background: #245e54;
}

.bb-room-builder-active .top_button,
.bb-room-builder-active #whatsapp-btn {
  display: none !important;
}

@media (min-width: 992px) {
  .bb-room-builder-page.container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .bb-room-workspace {
    --bb-stage-height: min(calc((100vw - 405px) / 1.5), calc(100vh - 350px), 820px);
    grid-template-columns: calc(var(--bb-stage-height) * 1.5) 330px;
    align-items: start;
    gap: 16px;
    width: calc((var(--bb-stage-height) * 1.5) + 346px);
    max-width: 100%;
    min-height: calc(100vh - 185px);
    margin-right: auto;
    margin-left: auto;
  }

  .bb-room-main,
  .bb-room-stage,
  .bb-control-panel {
    height: var(--bb-stage-height);
  }

  .bb-room-main {
    width: calc(var(--bb-stage-height) * 1.5);
  }

  .bb-room-stage {
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 2;
  }

  .bb-control-panel {
    width: 330px;
  }

  .bb-summary {
    margin-top: 18px;
  }
}

@media (max-width: 991px) {
  .bb-room-builder {
    padding-top: 10px;
  }

  .bb-room-workspace {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .bb-room-builder-page.container {
    padding-bottom: 74px;
  }

  .bb-mobile-bar {
    gap: 10px;
    min-height: 58px;
    padding: 8px 10px;
  }

  .bb-mobile-bar > div {
    display: block;
  }

  .bb-mobile-bar strong {
    font-size: 11px;
  }

  .bb-mobile-bar span {
    font-size: 13px;
  }

  .bb-mobile-bar .btn {
    width: auto;
    min-width: 170px;
    min-height: 40px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .bb-room-builder-page .breadcrumb {
    margin-bottom: 4px !important;
    font-size: 10px;
  }

  .bb-room-heading {
    margin-bottom: 10px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .bb-room-heading h1 {
    font-size: 23px;
  }

  .bb-room-heading .bb-room-description {
    margin-top: 5px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .bb-mobile-bar .btn {
    min-width: 158px;
    font-size: 11px;
  }
}

/* Animated day and night scene switch */
.bb-scene-mode {
  top: 14px;
  right: 14px;
  display: block;
  width: 112px;
  height: 44px;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.bb-scene-toggle {
  position: relative;
  display: block;
  width: 112px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 22px;
  background: #79c9ef;
  color: #fff;
  box-shadow: 0 7px 20px rgba(25, 41, 55, .28), inset 0 0 0 1px rgba(33, 112, 151, .12);
  cursor: pointer;
  transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease;
}

.bb-scene-toggle:hover,
.bb-scene-toggle:focus {
  outline: 0;
  box-shadow: 0 9px 24px rgba(25, 41, 55, .34), 0 0 0 3px rgba(255, 255, 255, .6);
}

.bb-scene-toggle.is-night {
  border-color: rgba(220, 231, 249, .9);
  background: #1e355c;
  box-shadow: 0 7px 20px rgba(12, 24, 45, .36), inset 0 0 18px rgba(5, 15, 34, .28);
}

.bb-scene-sky {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.bb-scene-celestial {
  position: absolute;
  z-index: 3;
  top: 5px;
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  place-items: center;
  transition: opacity .38s ease, transform .48s cubic-bezier(.34, 1.35, .64, 1);
}

.bb-scene-celestial i {
  font-size: 19px;
  line-height: 1;
}

.bb-scene-sun {
  left: 6px;
  background: #ffd34e;
  color: #bd7900;
  box-shadow: 0 0 0 4px rgba(255, 221, 92, .2), 0 0 13px rgba(255, 213, 62, .7);
  opacity: 1;
  transform: translateY(0) rotate(0deg) scale(1);
}

.bb-scene-moon {
  right: 6px;
  background: #edf3ff;
  color: #647693;
  box-shadow: inset -4px -2px 0 #cbd6e9, 0 0 12px rgba(223, 234, 255, .55);
  opacity: 0;
  transform: translateY(42px) rotate(-30deg) scale(.5);
}

.bb-scene-toggle.is-night .bb-scene-sun {
  opacity: 0;
  transform: translateY(42px) rotate(50deg) scale(.5);
}

.bb-scene-toggle.is-night .bb-scene-moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg) scale(1);
}

.bb-scene-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .35s ease .08s, transform .45s ease;
}

.bb-scene-stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px rgba(255, 255, 255, .85);
  animation: bb-scene-star 1.8s ease-in-out infinite alternate;
}

.bb-scene-stars i:nth-child(1) { top: 9px; left: 15px; }
.bb-scene-stars i:nth-child(2) { top: 25px; left: 28px; animation-delay: .35s; }
.bb-scene-stars i:nth-child(3) { top: 12px; left: 48px; animation-delay: .7s; }
.bb-scene-stars i:nth-child(4) { top: 30px; left: 58px; animation-delay: 1s; }
.bb-scene-stars i:nth-child(5) { top: 8px; left: 72px; animation-delay: 1.3s; }

.bb-scene-toggle.is-night .bb-scene-stars {
  opacity: 1;
  transform: translateY(0);
}

.bb-scene-cloud {
  position: absolute;
  z-index: 2;
  display: block;
  width: 26px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  opacity: .9;
  transition: opacity .3s ease, transform .45s ease;
}

.bb-scene-cloud::before,
.bb-scene-cloud::after {
  position: absolute;
  bottom: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.bb-scene-cloud::before { left: 5px; }
.bb-scene-cloud::after { right: 4px; width: 13px; height: 13px; }
.bb-scene-cloud-one { right: 16px; bottom: 7px; }
.bb-scene-cloud-two { right: 43px; bottom: 4px; transform: scale(.65); opacity: .65; }

.bb-scene-toggle.is-night .bb-scene-cloud {
  opacity: 0;
  transform: translateY(24px) scale(.7);
}

@keyframes bb-scene-star {
  from { opacity: .35; transform: scale(.7); }
  to { opacity: 1; transform: scale(1.25); }
}

@media (max-width: 767px) {
  .bb-scene-mode,
  .bb-scene-toggle {
    width: 92px;
    height: 38px;
  }

  .bb-scene-mode {
    top: 8px;
    right: 8px;
    border-radius: 19px;
  }

  .bb-scene-toggle {
    border-radius: 19px;
  }

  .bb-scene-celestial {
    top: 4px;
    width: 26px;
    height: 26px;
  }

  .bb-scene-celestial i {
    font-size: 16px;
  }

  .bb-scene-sun { left: 5px; }
  .bb-scene-moon { right: 5px; }
  .bb-scene-cloud-one { right: 13px; bottom: 6px; }
  .bb-scene-cloud-two { right: 34px; bottom: 3px; }
  .bb-scene-stars i:nth-child(3) { left: 40px; }
  .bb-scene-stars i:nth-child(4) { left: 50px; }
  .bb-scene-stars i:nth-child(5) { left: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .bb-scene-toggle,
  .bb-scene-celestial,
  .bb-scene-stars,
  .bb-scene-cloud {
    transition-duration: .01ms !important;
  }

  .bb-scene-stars i {
    animation: none;
  }
}

/* Persistent room reset action */
.bb-control-footer {
  flex: 0 0 auto;
  padding: 8px;
  border-top: 1px solid #dce2e3;
  background: #fff;
}

.bb-control-footer .bb-clear-room {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #e1bbb7;
  border-radius: 4px;
  background: #fff7f6;
  color: #9b3d36;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.bb-control-footer .bb-clear-room:hover,
.bb-control-footer .bb-clear-room:focus {
  border-color: #b04b43;
  background: #b04b43;
  color: #fff;
  text-decoration: none;
  outline: 0;
}

.bb-control-footer .bb-clear-room:disabled {
  border-color: #dfe4e5;
  background: #f4f6f6;
  color: #8b959a;
  opacity: .7;
}

/* Related room concepts */
.bb-other-rooms {
  margin: 28px 0 20px;
  padding-top: 24px;
  border-top: 1px solid #dfe4e5;
}

@media (min-width: 992px) {
  .bb-summary,
  .bb-other-rooms {
    --bb-content-stage-height: min(calc((100vw - 405px) / 1.5), calc(100vh - 350px), 820px);
    width: calc((var(--bb-content-stage-height) * 1.5) + 346px);
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

.bb-other-rooms-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.bb-other-rooms-heading h2 {
  margin: 0;
  color: #26323a;
  font-size: 22px;
  line-height: 1.3;
}

.bb-other-rooms-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2f7568;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.bb-other-rooms-heading > a:hover,
.bb-other-rooms-heading > a:focus {
  color: #245e54;
  text-decoration: underline;
  outline: 0;
}

.bb-other-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bb-other-room-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe4e5;
  border-radius: 6px;
  background: #fff;
  color: #26323a;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bb-other-room-card:hover,
.bb-other-room-card:focus {
  border-color: #8ab0a8;
  color: #26323a;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 48, 55, .12);
  transform: translateY(-2px);
  outline: 0;
}

.bb-other-room-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eef1f1;
}

.bb-other-room-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.bb-other-room-card:hover .bb-other-room-media img,
.bb-other-room-card:focus .bb-other-room-media img {
  transform: scale(1.025);
}

.bb-other-room-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
}

.bb-other-room-body strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-other-room-body > span {
  flex: 0 0 auto;
  color: #2f7568;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .bb-other-rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bb-other-rooms {
    margin-top: 22px;
    padding-top: 18px;
  }

  .bb-other-rooms-heading {
    align-items: flex-end;
  }

  .bb-other-rooms-heading h2 {
    font-size: 18px;
  }

  .bb-other-rooms-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* July 2026 customer revisions */
.bb-control-header {
  grid-template-columns: minmax(0, 1fr);
}

.bb-control-icon {
  width: 36px;
  height: 36px;
  border-color: #cbd9d6;
  border-radius: 5px;
  background: #f2f7f6;
  color: #27675d;
  font-size: 16px;
}

.bb-control-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bb-control-footer .bb-clear-room {
  min-height: 44px;
  border-color: #f1a05d;
  background: #fff0e2;
  color: #a84e13;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(208, 102, 30, .12);
}

.bb-control-footer .bb-clear-room:hover,
.bb-control-footer .bb-clear-room:focus {
  border-color: #df741f;
  background: #ee842f;
  color: #fff;
}

.bb-summary-footer {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  gap: 24px;
}

.bb-summary-grand-total {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  gap: 2px;
  min-width: 150px;
  text-align: right;
}

.bb-summary-discount-label,
.bb-summary-original-total {
  display: none;
}

.bb-summary-grand-total.has-discount .bb-summary-discount-label,
.bb-summary-grand-total.has-discount .bb-summary-original-total {
  display: block;
}

.bb-summary-discount-label {
  color: #247064 !important;
  font-size: 11px !important;
  font-weight: 700;
}

.bb-summary-original-total {
  color: #899298;
  font-size: 13px;
  line-height: 1.2;
}

.bb-summary-total-label {
  margin-top: 2px;
}

.bb-summary-grand-total .bb-summary-total-value {
  color: #183f39;
  font-size: 24px;
  line-height: 1.1;
}

.bb-summary-line-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.bb-summary-line-total del {
  color: #929ba0;
  font-size: 10px;
  font-weight: 400;
}

.bb-summary-line-total strong {
  color: #244d46;
  font-size: 12px;
}

.bb-color-swatch {
  min-height: 76px;
  aspect-ratio: auto;
}

.bb-color-swatch span {
  font-size: 12px;
}

@media (min-width: 992px) {
  .bb-room-builder {
    --bb-panel-width: 350px;
    --bb-workspace-gap: 14px;
    --bb-stage-height: min(calc((100vw - 392px) / 1.5), calc(100vh - 225px), 900px);
    --bb-content-width: calc((var(--bb-stage-height) * 1.5) + var(--bb-panel-width) + var(--bb-workspace-gap));
  }

  .bb-room-builder-page.container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .bb-room-workspace {
    grid-template-columns: calc(var(--bb-stage-height) * 1.5) var(--bb-panel-width);
    gap: var(--bb-workspace-gap);
    width: var(--bb-content-width);
  }

  .bb-room-main,
  .bb-room-stage,
  .bb-control-panel {
    height: var(--bb-stage-height);
  }

  .bb-room-main {
    width: calc(var(--bb-stage-height) * 1.5);
  }

  .bb-control-panel {
    width: var(--bb-panel-width);
  }

  .bb-summary,
  .bb-other-rooms {
    width: var(--bb-content-width);
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .bb-summary-footer {
    grid-template-columns: 1fr;
  }

  .bb-summary-grand-total {
    justify-items: start;
    text-align: left;
  }

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

/* Keep product names and actions outside the product artwork */
.bb-product-media img {
  border-radius: 5px 5px 0 0;
}

.bb-product-tooltip {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 0;
  min-height: 0;
  max-width: none;
  max-height: 0;
  padding: 0 7px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(32, 42, 49, .96);
  box-shadow: none;
  color: #fff;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  -webkit-line-clamp: unset;
  transform: none;
  transition: height .18s ease, min-height .18s ease, max-height .18s ease, opacity .15s ease;
}

.bb-product-tooltip::after {
  display: none;
}

.bb-product-card.is-selected .bb-product-tooltip {
  right: auto;
}

.bb-product-card:hover .bb-product-tooltip,
.bb-product-card:focus-within .bb-product-tooltip {
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  transform: none;
}

.bb-product-card:hover .bb-product-media img,
.bb-product-card:focus-within .bb-product-media img {
  filter: none;
}

.bb-product-add-label {
  border-radius: 0 0 5px 5px;
}

.bb-product-card {
  position: relative;
}

.bb-quick-remove-product {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 50%;
  height: 32px;
  padding: 0 6px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .38);
  border-radius: 0 0 5px 0;
  background: #a4433c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, background-color .15s ease;
}

.bb-product-card.is-selected .bb-product-add-label {
  width: 50%;
  border-radius: 0 0 0 5px;
}

.bb-product-card.is-selected:hover .bb-quick-remove-product,
.bb-product-card.is-selected:focus-within .bb-quick-remove-product {
  opacity: 1;
  pointer-events: auto;
}

.bb-quick-remove-product:hover,
.bb-quick-remove-product:focus {
  background: #84332e;
  color: #fff;
  outline: 0;
}

.bb-quick-remove-product:disabled {
  opacity: 0;
  pointer-events: none;
}

@media (hover: none) {
  .bb-product-card.is-selected .bb-quick-remove-product {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Product option editor */
.bb-edit-product-options {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #2f7568;
  box-shadow: 0 2px 7px rgba(25, 42, 52, .2);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}

.bb-product-card.is-selected .bb-edit-product-options {
  opacity: 1;
  pointer-events: auto;
}

.bb-edit-product-options:hover,
.bb-edit-product-options:focus {
  border-color: #2f7568;
  background: #2f7568;
  color: #fff;
  outline: 0;
}

.bb-edit-product-options:disabled {
  opacity: 0;
  pointer-events: none;
}

.bb-edit-product-options.needs-options,
.bb-edit-stage-product.needs-options {
  border-color: #d49a20;
  background: #fff8df;
  color: #8a5a00;
  animation: bb-option-attention 1.25s ease-in-out infinite;
}

@keyframes bb-option-attention {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 154, 32, .15), 0 2px 7px rgba(25, 42, 52, .2);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(212, 154, 32, .28), 0 3px 9px rgba(25, 42, 52, .23);
  }
}

.bb-product-options-modal .modal-dialog {
  width: min(560px, calc(100% - 30px));
}

.bb-product-options-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(25, 42, 52, .24);
}

.bb-product-options-modal .modal-header {
  border-bottom-color: #e1e7e6;
}

.bb-product-options-modal .modal-title {
  margin: 0;
  color: #26323a;
  font-size: 18px;
  line-height: 1.4;
}

.bb-product-options-modal .modal-title i {
  margin-right: 7px;
  color: #2f7568;
  font-size: 14px;
}

.bb-product-options-modal .modal-body {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding: 18px;
}

.bb-product-options-product {
  margin-bottom: 14px;
  color: #26323a;
  font-size: 14px;
  font-weight: 700;
}

.bb-product-options-editor .bb-product-detail {
  display: block !important;
  padding: 0;
  border: 0;
  background: transparent;
}

.bb-product-options-editor .bb-option-row {
  margin-bottom: 14px;
}

.bb-product-options-editor .bb-option-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.bb-product-options-editor .bb-product-detail-actions {
  display: none;
}

.bb-product-options-modal .modal-footer {
  border-top-color: #e1e7e6;
  background: #f7f9f9;
}

.bb-product-options-modal .modal-footer .btn {
  min-width: 104px;
  border-color: #2f7568;
  border-radius: 4px;
  background: #2f7568;
  font-weight: 700;
}

@media (max-width: 767px) {
	.bb-product-options-modal input[type="text"],
	.bb-product-options-modal input[type="number"],
	.bb-product-options-modal select,
	.bb-product-options-modal textarea,
	.bb-product-options-modal .bb-product-name-input {
		font-size: 16px !important;
	}

  .bb-edit-product-options {
    top: 6px;
    left: 6px;
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .bb-product-options-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .bb-product-options-modal .modal-body {
    max-height: calc(100vh - 150px);
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-edit-product-options.needs-options,
  .bb-edit-stage-product.needs-options {
    animation: none;
    box-shadow: 0 0 0 3px rgba(212, 154, 32, .24);
  }
}

/* Compact mobile room builder */
.bb-mobile-clear-wrap,
.bb-summary-toggle {
  display: none;
}

.bb-summary-options.is-empty {
  display: none !important;
}

.bb-summary-quantity-label {
  display: none;
}

@media (max-width: 767px) {
  .bb-room-workspace {
    gap: 0;
    overflow: visible;
  }

  .bb-room-main {
    width: calc(100% + 20px);
    margin-left: -10px;
  }

  .bb-room-stage {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .bb-mobile-clear-wrap {
    display: block;
    margin: 0 -10px;
    padding: 8px 10px 10px;
    border-bottom: 1px solid #e5e9e8;
    background: #fff;
  }

  .bb-mobile-clear-wrap .bb-clear-room {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #f1a05d;
    border-radius: 4px;
    background: #fff0e2;
    color: #a84e13;
    box-shadow: 0 4px 12px rgba(208, 102, 30, .12);
    font-size: 12px;
    font-weight: 700;
  }

  .bb-mobile-clear-wrap .bb-clear-room:active,
  .bb-mobile-clear-wrap .bb-clear-room:focus {
    border-color: #df741f;
    background: #ee842f;
    color: #fff;
    outline: 0;
  }

  .bb-mobile-clear-wrap .bb-clear-room:disabled {
    cursor: not-allowed;
    opacity: .55;
  }

  .bb-control-footer {
    display: none;
  }

  .bb-product-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
    padding-right: 7%;
    padding-left: 7%;
  }

  .bb-product-card:hover .bb-product-tooltip,
  .bb-product-card:focus-within .bb-product-tooltip {
    height: 32px;
    min-height: 32px;
    max-height: 32px;
  }

  .bb-product-add-label,
  .bb-quick-remove-product,
  .bb-product-card:hover .bb-product-add-label,
  .bb-product-card:focus-within .bb-product-add-label,
  .bb-product-card.is-selected .bb-quick-remove-product {
    height: 28px;
    min-height: 28px;
  }

  .bb-product-selected-mark,
  .bb-edit-product-options {
    width: 20px;
    height: 20px;
  }

  .bb-summary {
    margin-top: 12px;
    padding-bottom: 16px;
  }

  .bb-summary-heading {
    padding: 10px 0 8px;
  }

  .bb-summary-item {
    min-height: 0;
    gap: 2px 10px;
    padding: 8px 2px;
  }

  .bb-summary-item strong,
  .bb-summary-line-total strong {
    font-size: 11px;
  }

  .bb-summary-options,
  .bb-summary-quantity {
    font-size: 10px;
    line-height: 1.35;
  }

  .bb-summary-quantity::before {
    content: none;
  }

  .bb-summary-quantity-label {
    display: inline;
  }

  .bb-summary-item:not(.has-options) .bb-summary-quantity {
    grid-row: 2;
  }

  .bb-summary-items:not(.is-expanded) > .bb-summary-item:nth-child(n+4) {
    display: none;
  }

  .bb-summary-toggle:not([hidden]) {
    display: flex;
  }

  .bb-summary-toggle {
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-bottom: 1px solid #e5e8e9;
    background: #f6f8f8;
    color: #286c61;
    font-size: 11px;
    font-weight: 700;
  }

  .bb-summary-toggle:active,
  .bb-summary-toggle:focus {
    background: #edf3f1;
    outline: 2px solid rgba(47, 117, 104, .32);
    outline-offset: -2px;
  }

  .bb-summary-footer {
    gap: 8px;
    padding-top: 10px;
  }

  .bb-summary-benefits {
    gap: 8px 12px;
  }

  .bb-summary-grand-total {
    justify-items: end;
    width: 100%;
    text-align: right;
  }

  .bb-summary-grand-total .bb-summary-total-value {
    font-size: 22px;
  }
}

/* Final scoped overrides for the July 27 visual reference. */
.bb-room-builder-page.container {
  width: 100% !important;
  max-width: none !important;
  padding: 18px clamp(16px, 2vw, 32px) 48px !important;
  background: #fbfbfb;
}

.bb-room-builder-page .breadcrumb {
  display: none !important;
}

#bb-room-builder {
  width: 100%;
  padding: 0;
}

#bb-room-builder .bb-room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(390px, 25vw, 430px);
  grid-template-areas:
    "heading panel"
    "stage panel"
    "summary panel";
  align-items: start;
  gap: 0 clamp(16px, 1.5vw, 24px);
  width: 100%;
}

#bb-room-builder .bb-room-heading {
  grid-area: heading;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 14px !important;
  padding: 0 14px !important;
  text-align: left !important;
}

#bb-room-builder .bb-room-heading h1 {
  margin: 0;
  font-size: clamp(34px, 3.1vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: left !important;
}

#bb-room-builder .bb-room-heading h1 i {
  margin-left: 6px;
  font-size: .28em;
  vertical-align: top;
}

#bb-room-builder .bb-room-heading .bb-room-description {
  max-width: 760px;
  margin: 9px 0 0;
  color: #171717;
  font-size: 15px;
  line-height: 1.45;
  text-align: left !important;
}

#bb-room-builder .bb-room-main {
  grid-area: stage;
  display: block;
  width: 100%;
  height: auto;
}

#bb-room-builder .bb-room-stage {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 8px;
}

#bb-room-builder .bb-stage-instructions {
  position: absolute;
  z-index: 11;
  top: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  width: min(310px, calc(100% - 150px));
  padding: 17px 18px;
  border-radius: 7px;
  background: rgba(75, 55, 55, .43);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  backdrop-filter: blur(7px);
  pointer-events: none;
}

#bb-room-builder .bb-stage-instructions i {
  font-size: 30px;
  line-height: 1;
}

#bb-room-builder .bb-control-panel {
  position: sticky;
  top: 12px;
  grid-area: panel;
  display: flex;
  width: 100%;
  height: min(860px, calc(100vh - 24px));
  min-height: 620px;
  max-height: none;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 31, 36, .07);
}

#bb-room-builder .bb-control-header {
  display: flex;
  min-height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid #eee;
  background: #fff;
  align-items: center;
  justify-content: space-between;
}

#bb-room-builder .bb-control-header > strong {
  color: #171717;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

#bb-room-builder .bb-control-help {
  display: grid !important;
  width: 22px;
  height: 22px;
  border: 1px solid #202020;
  border-radius: 50%;
  color: #202020;
  font-size: 11px;
  place-items: center;
}

#bb-room-builder .bb-control-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  background: #fff;
}

#bb-room-builder .bb-category-accordion {
  padding: 0;
}

#bb-room-builder .bb-control-section,
#bb-room-builder .bb-control-section:last-child {
  overflow: hidden;
  border-bottom: 1px solid #eee;
  background: #fff;
}

#bb-room-builder .bb-control-toggle {
  position: static;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  min-height: 78px;
  padding: 10px 14px;
  gap: 10px;
  border: 0;
  background: #fff;
  box-shadow: none;
}

#bb-room-builder .bb-control-toggle:hover,
#bb-room-builder .bb-control-toggle:focus,
#bb-room-builder .bb-control-section.is-open > .bb-control-toggle,
#bb-room-builder .bb-control-section.is-open > .bb-control-toggle:hover,
#bb-room-builder .bb-control-section.is-open > .bb-control-toggle:focus {
  position: static;
  border-bottom: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

#bb-room-builder .bb-control-icon,
#bb-room-builder .bb-control-section.is-open .bb-control-icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6b4f3a;
  font-size: 22px;
}

#bb-room-builder .bb-control-icon img {
  width: 30px;
  height: 30px;
}

#bb-room-builder .bb-control-label strong {
  margin: 0 0 4px;
  color: #181818;
  font-size: 13px;
  font-weight: 700;
}

#bb-room-builder .bb-control-label small {
  display: inline-block;
  width: auto;
  padding: 3px 8px;
  border-radius: 10px;
  background: #f4eadf;
  color: #6b4f3a;
  font-size: 10px;
  font-weight: 600;
}

#bb-room-builder .bb-control-state {
  color: #6b4f3a;
}

#bb-room-builder .bb-control-section.is-complete .bb-control-check {
  display: none;
}

#bb-room-builder .bb-control-section.is-complete .bb-control-chevron {
  display: block;
}

#bb-room-builder .bb-control-body {
  padding: 0 12px 10px;
}

#bb-room-builder .bb-product-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 0;
}

#bb-room-builder .bb-product-card,
#bb-room-builder .bb-product-card.is-focused.is-selected {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 70px 26px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  height: auto;
  padding: 4px 2px;
  column-gap: 4px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

#bb-room-builder .bb-product-card:hover,
#bb-room-builder .bb-product-card:focus-within,
#bb-room-builder .bb-product-card.is-focused,
#bb-room-builder .bb-product-card.is-selected {
  border-color: #eee;
  background: #fafafa;
  box-shadow: none;
}

#bb-room-builder .bb-product-select,
#bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-select {
  position: static;
  display: grid;
  grid-template-columns: 20px 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  height: auto;
  padding: 4px 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  text-align: left;
}

#bb-room-builder .bb-product-select:hover,
#bb-room-builder .bb-product-select:focus,
#bb-room-builder .bb-product-select:focus-visible {
  background: transparent;
  box-shadow: none;
  outline: 0;
}

#bb-room-builder .bb-product-check {
  display: grid;
  width: 15px;
  height: 15px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
  color: transparent;
  font-size: 9px;
  place-items: center;
}

#bb-room-builder .bb-product-card.is-selected .bb-product-check {
  border-color: #6b4f3a;
  background: #6b4f3a;
  color: #fff;
}

#bb-room-builder .bb-product-media {
  position: static;
  display: block;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

#bb-room-builder .bb-product-media img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

#bb-room-builder .bb-product-copy {
  display: block !important;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 10px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 10px), transparent 100%);
}

#bb-room-builder .bb-product-copy strong {
  display: block;
  overflow: visible;
  color: #181818;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

#bb-room-builder .bb-product-state {
  display: none !important;
}

#bb-room-builder .bb-product-card > .bb-product-controls {
  display: grid;
  grid-template-columns: 25px 30px 25px;
  width: 80px;
  height: 32px;
  overflow: visible;
  border: 0;
  background: transparent;
}

#bb-room-builder .bb-product-card > .bb-product-controls .bb-qty-btn,
#bb-room-builder .bb-product-card > .bb-product-controls .bb-qty-input {
  width: 100%;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #181818;
  font-size: 12px;
  text-align: center;
}

#bb-room-builder .bb-product-card > .bb-product-controls .bb-qty-input {
  color: #6b4f3a;
  font-size: 14px;
  font-weight: 700;
}

#bb-room-builder .bb-product-card > .bb-product-controls .bb-qty-btn:hover,
#bb-room-builder .bb-product-card > .bb-product-controls .bb-qty-btn:focus {
  border-radius: 50%;
  background: #f4eadf;
  color: #6b4f3a;
  outline: 0;
}

#bb-room-builder .bb-product-card > .bb-product-price {
  display: block;
  margin: 0;
  color: #171717;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

#bb-room-builder .bb-edit-product-options {
  position: static;
  display: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #202020;
  font-size: 11px;
}

#bb-room-builder .bb-product-card.is-selected .bb-edit-product-options {
  display: grid;
  place-items: center;
}

#bb-room-builder .bb-product-detail,
#bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-detail {
  display: none;
}

#bb-room-builder .bb-control-footer {
  display: block;
  flex: 0 0 auto;
  padding: 14px;
  border-top: 1px solid #eee;
  background: #fff;
}

#bb-room-builder .bb-panel-totals {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

#bb-room-builder .bb-panel-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

#bb-room-builder .bb-panel-totals span {
  color: #161616;
  font-size: 12px;
}

#bb-room-builder .bb-panel-totals strong {
  color: #161616;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

#bb-room-builder .bb-panel-totals .bb-mobile-total {
  color: #6b4f3a;
  font-size: 20px;
}

#bb-room-builder .bb-control-footer .bb-add-room,
#bb-room-builder .bb-control-footer .bb-clear-room {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

#bb-room-builder .bb-control-footer .bb-add-room {
  margin-bottom: 10px;
  border: 1px solid #6b4f3a;
  background: #6b4f3a;
  color: #fff;
}

#bb-room-builder .bb-control-footer .bb-add-room:hover,
#bb-room-builder .bb-control-footer .bb-add-room:focus {
  border-color: #523a2c;
  background: #523a2c;
  color: #fff;
}

#bb-room-builder .bb-control-footer .bb-clear-room {
  border: 1px solid #6b4f3a;
  background: #fff;
  color: #6b4f3a;
  box-shadow: none;
}

#bb-room-builder .bb-control-footer .bb-clear-room:hover,
#bb-room-builder .bb-control-footer .bb-clear-room:focus {
  border-color: #6b4f3a;
  background: #f4eadf;
  color: #523a2c;
}

#bb-room-builder .bb-summary {
  grid-area: summary;
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  padding: 0 14px 18px;
  border: 0;
  background: transparent;
}

#bb-room-builder .bb-summary-heading {
  padding: 0 0 8px;
  border-bottom: 0;
}

#bb-room-builder .bb-summary-heading div {
  gap: 9px;
}

#bb-room-builder .bb-summary-heading i {
  color: #6b4f3a;
  font-size: 17px;
}

#bb-room-builder .bb-summary-heading div > span {
  color: #171717;
  font-size: 14px;
  text-transform: uppercase;
}

#bb-room-builder .bb-summary-count {
  display: none !important;
}

#bb-room-builder .bb-summary-table-head,
#bb-room-builder .bb-summary-item {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(240px, 2fr) 60px 100px 110px;
  align-items: center;
  gap: 16px;
}

#bb-room-builder .bb-summary-table-head {
  min-height: 34px;
  padding: 0 8px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: transparent;
  color: #2a2a2a;
  font-size: 10px;
  text-transform: none;
}

#bb-room-builder .bb-summary-item {
  min-height: 42px;
  padding: 7px 8px;
  border-bottom: 1px solid #eee;
}

#bb-room-builder .bb-summary-category {
  color: #171717;
  font-size: 11px;
  font-weight: 600;
}

#bb-room-builder .bb-summary-product {
  min-width: 0;
}

#bb-room-builder .bb-summary-product > strong,
#bb-room-builder .bb-summary-product > small {
  display: block;
}

#bb-room-builder .bb-summary-product > strong {
  overflow: hidden;
  color: #171717;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#bb-room-builder .bb-summary-product .bb-summary-options {
  display: block !important;
  margin-top: 2px;
  color: #777;
  font-size: 9px;
  line-height: 1.3;
}

#bb-room-builder .bb-summary-quantity,
#bb-room-builder .bb-summary-unit-price,
#bb-room-builder .bb-summary-line-total {
  color: #171717;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

#bb-room-builder .bb-summary-unit-price,
#bb-room-builder .bb-summary-line-total,
#bb-room-builder .bb-summary-table-head span:nth-child(4),
#bb-room-builder .bb-summary-table-head span:nth-child(5) {
  text-align: right;
}

#bb-room-builder .bb-summary-line-total {
  display: flex;
  align-items: flex-end;
}

#bb-room-builder .bb-summary-line-total strong {
  color: #6b4f3a;
  font-size: 11px;
}

#bb-room-builder .bb-summary-empty {
  padding: 16px 8px;
  border-bottom: 1px solid #eee;
}

#bb-room-builder .bb-mobile-clear-wrap {
  display: none !important;
}

.bb-mobile-bar {
  display: none !important;
}

#bb-room-builder + .bb-other-rooms,
.bb-other-rooms {
  max-width: calc(100% - clamp(406px, 26.5vw, 454px));
  margin-right: auto;
}

@media (max-width: 1199px) {
  #bb-room-builder .bb-room-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  #bb-room-builder .bb-product-card,
  #bb-room-builder .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 78px 66px 26px;
  }

  #bb-room-builder .bb-product-select,
  #bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-select {
    grid-template-columns: 18px 32px minmax(0, 1fr);
    gap: 6px;
  }

  #bb-room-builder .bb-product-media {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 991px) {
  .bb-room-builder-page.container {
    padding: 12px 14px 80px !important;
  }

  #bb-room-builder .bb-room-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "stage"
      "panel"
      "summary";
    gap: 12px;
  }

  #bb-room-builder .bb-room-heading {
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  #bb-room-builder .bb-room-heading h1 {
    font-size: 36px;
  }

  #bb-room-builder .bb-control-panel {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  #bb-room-builder .bb-control-scroll {
    max-height: 620px;
  }

  #bb-room-builder .bb-summary {
    margin-top: 0;
    padding: 0;
  }

  .bb-other-rooms {
    max-width: none;
  }
}

@media (max-width: 767px) {
  #bb-room-builder .bb-room-heading h1 {
    font-size: 30px;
  }

  #bb-room-builder .bb-room-heading .bb-room-description {
    font-size: 12px;
  }

  #bb-room-builder .bb-stage-instructions {
    top: 8px;
    left: 8px;
    grid-template-columns: 24px minmax(0, 1fr);
    width: min(235px, calc(100% - 110px));
    padding: 10px 11px;
    font-size: 10px;
    line-height: 1.4;
  }

  #bb-room-builder .bb-stage-instructions i {
    font-size: 21px;
  }

  #bb-room-builder .bb-product-picker {
    grid-template-columns: 1fr;
    padding: 0;
  }

  #bb-room-builder .bb-product-card,
  #bb-room-builder .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 76px 66px 28px;
  }

  #bb-room-builder .bb-summary-table-head {
    display: none;
  }

  #bb-room-builder .bb-summary-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    padding: 10px 4px;
  }

  #bb-room-builder .bb-summary-category {
    grid-column: 1;
    grid-row: 1;
  }

  #bb-room-builder .bb-summary-product {
    grid-column: 1;
    grid-row: 2;
  }

  #bb-room-builder .bb-summary-quantity {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
  }

  #bb-room-builder .bb-summary-unit-price {
    display: none;
  }

  #bb-room-builder .bb-summary-line-total {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }
}

@media (max-width: 430px) {
  #bb-room-builder .bb-product-card,
  #bb-room-builder .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 70px 58px 26px;
  }

  #bb-room-builder .bb-product-select,
  #bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-select {
    grid-template-columns: 17px 28px minmax(0, 1fr);
    gap: 5px;
  }

  #bb-room-builder .bb-product-media {
    width: 28px;
    height: 28px;
  }

  #bb-room-builder .bb-product-card > .bb-product-controls {
    grid-template-columns: 22px 26px 22px;
    width: 70px;
  }

  #bb-room-builder .bb-product-copy strong,
  #bb-room-builder .bb-product-card > .bb-product-price {
    font-size: 10px;
  }
}

/* Room builder 1.5.36: mobile checkout stays visible without covering content. */
@media (max-width: 767px) {
  body.bb-room-builder-active {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .bb-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 62px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #e8dce2;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 24px rgba(43, 28, 35, .12);
    backdrop-filter: blur(10px);
  }

  .bb-mobile-bar > div {
    display: block;
    min-width: 0;
  }

  .bb-mobile-bar strong,
  .bb-mobile-bar span {
    display: block;
    margin: 0;
    white-space: nowrap;
  }

  .bb-mobile-bar strong {
    color: #5f5660;
    font-size: 10px;
    font-weight: 600;
  }

  .bb-mobile-bar span {
    margin-top: 2px;
    color: #6b4f3a;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  .bb-mobile-bar .btn {
    width: auto;
    min-width: 174px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #6b4f3a;
    border-radius: 4px;
    background: #6b4f3a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
  }

  .bb-mobile-bar .btn:hover,
  .bb-mobile-bar .btn:focus {
    border-color: #523a2c;
    background: #523a2c;
    color: #fff;
  }
}

@media (max-width: 360px) {
  .bb-mobile-bar .btn {
    min-width: 158px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 11px;
  }
}

/* 1.5.37 final cascade: keep these rules after every legacy revision block. */
#bb-room-builder .bb-control-header > strong {
  color: #6b4f3a;
  font-family: 'BugyBagy Handwriting', 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

#bb-room-builder .bb-product-card,
#bb-room-builder .bb-product-card.is-focused.is-selected {
  grid-template-columns: minmax(0, 1fr) 76px 74px;
  min-height: 86px;
  padding: 2px 3px;
  column-gap: 4px;
}

#bb-room-builder .bb-product-card.has-personalization,
#bb-room-builder .bb-product-card.has-personalization.is-focused.is-selected {
  grid-template-columns: minmax(0, 1fr) 76px 68px 30px;
}

#bb-room-builder .bb-product-select,
#bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-select {
  grid-template-columns: 20px 76px minmax(0, 1fr);
  min-height: 80px;
  gap: 8px;
  padding: 2px 0;
}

#bb-room-builder .bb-product-media {
  width: 76px;
  height: 76px;
}

#bb-room-builder .bb-product-media img {
  object-fit: cover;
  object-position: center;
}

#bb-room-builder .bb-product-copy {
  overflow: hidden;
  white-space: normal;
  mask-image: none;
  -webkit-mask-image: none;
}

#bb-room-builder .bb-product-copy strong {
  display: -webkit-box;
  max-height: 2.7em;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#bb-room-builder .bb-product-card > .bb-product-controls,
#bb-room-builder .bb-product-card > .bb-product-price,
#bb-room-builder .bb-edit-product-options {
  align-self: center;
}

#bb-room-builder .bb-product-name-input,
#bb-room-builder .bb-room-name-preview {
  font-family: 'BugyBagy Handwriting', 'Brush Script MT', 'Segoe Script', cursive;
  font-weight: 700;
  text-transform: none;
  font-variant-caps: normal;
}

#bb-room-builder .bb-panel-savings span,
#bb-room-builder .bb-panel-savings strong {
  color: #147457;
  font-size: 11px;
  font-weight: 700;
}

#bb-room-builder .bb-stage-product-menu {
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 18px rgba(29, 31, 36, .22);
  transform: none;
  backdrop-filter: blur(7px);
}

#bb-room-builder .bb-stage-product-actions { gap: 3px; }

#bb-room-builder .bb-stage-action {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 0;
  color: #fff;
  box-shadow: none;
  font-size: 12px;
}

#bb-room-builder .bb-stage-action i { color: inherit; }

#bb-room-builder .bb-edit-stage-product {
  background: #6b4f3a;
  color: #fff;
}
#bb-room-builder .bb-edit-stage-product:hover,
#bb-room-builder .bb-edit-stage-product:focus {
  background: #523a2c;
  color: #fff;
}
#bb-room-builder .bb-remove-stage-product {
  background: #323238;
  color: #fff;
}
#bb-room-builder .bb-remove-stage-product:hover,
#bb-room-builder .bb-remove-stage-product:focus {
  background: #111115;
  color: #fff;
}

#bb-room-builder .bb-stage-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  body.bb-room-builder-active {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  #bb-room-builder .bb-scene-mode,
  #bb-room-builder .bb-scene-toggle {
    width: 74px;
    height: 32px;
    border-radius: 16px;
  }

  #bb-room-builder .bb-scene-mode { top: 7px; right: 7px; }
  #bb-room-builder .bb-scene-toggle { border-width: 1px; }
  #bb-room-builder .bb-scene-celestial { top: 4px; width: 22px; height: 22px; }
  #bb-room-builder .bb-scene-celestial i { font-size: 14px; }
  #bb-room-builder .bb-scene-sun { left: 4px; }
  #bb-room-builder .bb-scene-moon { right: 4px; }

  #bb-room-builder .bb-mobile-clear-wrap {
    display: block !important;
    padding: 7px 6px 2px;
    background: #fff;
  }

  #bb-room-builder .bb-mobile-clear-wrap .bb-clear-room {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 40px;
    border: 1px solid #6b4f3a;
    border-radius: 4px;
    background: #fff;
    color: #6b4f3a;
    font-size: 12px;
    font-weight: 700;
  }

  #bb-room-builder .bb-control-footer { display: none; }

  #bb-room-builder .bb-product-card,
  #bb-room-builder .bb-product-card.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 70px 64px;
    min-height: 78px;
  }

  #bb-room-builder .bb-product-card.has-personalization,
  #bb-room-builder .bb-product-card.has-personalization.is-focused.is-selected {
    grid-template-columns: minmax(0, 1fr) 70px 58px 28px;
  }

  #bb-room-builder .bb-product-select,
  #bb-room-builder .bb-product-card.is-focused.is-selected .bb-product-select {
    grid-template-columns: 18px 64px minmax(0, 1fr);
    min-height: 72px;
    gap: 6px;
  }

  #bb-room-builder .bb-product-media { width: 64px; height: 64px; }
  #bb-room-builder .bb-product-copy strong { font-size: 11px; }

  .bb-mobile-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(136px, 42vw);
    align-items: center;
    gap: 8px;
    min-height: 86px;
    padding: 7px 9px calc(7px + env(safe-area-inset-bottom));
  }

  .bb-mobile-bar .bb-mobile-bar-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 6px;
    min-width: 0;
  }

  .bb-mobile-bar .bb-mobile-bar-title {
    overflow: hidden;
    color: #29262a;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bb-mobile-bar .bb-mobile-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 10px;
    background: #f4eadf;
    color: #6b4f3a;
    font-size: 9px;
  }

  .bb-mobile-bar .bb-mobile-prices {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
  }

  .bb-mobile-bar .bb-mobile-prices del { color: #777; font-size: 11px; font-weight: 500; }
  .bb-mobile-bar .bb-mobile-prices .bb-mobile-total { margin: 0; color: #6b4f3a; font-size: 17px; font-weight: 800; }

  .bb-mobile-bar .bb-mobile-savings {
    grid-column: 1 / -1;
    display: block;
    overflow: hidden;
    color: #147457;
    font-size: 9px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bb-mobile-bar .bb-mobile-savings[hidden] { display: none; }
  .bb-mobile-bar .bb-mobile-savings span,
  .bb-mobile-bar .bb-mobile-savings strong { display: inline; color: inherit; font-size: inherit; font-weight: 700; }

  .bb-mobile-bar .btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 9px;
    font-size: 11px;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .bb-mobile-bar { grid-template-columns: minmax(0, 1fr) 132px; }
  .bb-mobile-bar .btn { min-width: 0; padding: 0 7px; font-size: 10px; }
}

/* Room builder 1.5.38: guidance leaves the canvas after the first edit. */
#bb-room-builder .bb-stage-instructions--mobile {
  display: none;
}

#bb-room-builder .bb-room-stage.has-interacted .bb-stage-instructions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 767px) {
  #bb-room-builder .bb-stage-instructions--desktop {
    display: none;
  }

  #bb-room-builder .bb-stage-instructions--mobile {
    top: 8px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: min(220px, calc(100% - 170px));
    min-height: 38px;
    padding: 7px 9px;
    transform: translateX(-50%);
    font-size: 10px;
    line-height: 1.25;
    text-align: center;
  }

  #bb-room-builder .bb-stage-instructions--mobile i {
    flex: 0 0 auto;
    font-size: 20px;
  }
}

/* Room builder consistency and mobile geometry fixes. */
#bb-room-builder .bb-room-stage {
  aspect-ratio: var(--bb-stage-desktop-aspect, 3 / 2);
}

#bb-room-builder .bb-control-header > strong,
#bb-room-builder .bb-room-heading h1,
#bb-room-builder .bb-summary-heading div > span,
#bb-room-builder .bb-summary-heading i,
#bb-room-builder .bb-summary-line-total strong,
#bb-room-builder .bb-product-price,
#bb-room-builder .bb-product-card > .bb-product-controls .bb-qty-input {
  color: #6b4f3a !important;
}

#bb-room-builder .bb-gender-switch {
  display: none !important;
}

#bb-room-builder .bb-control-footer .bb-add-room,
#bb-room-builder .bb-summary .bb-add-room,
#bb-room-builder .bb-mobile-bar .bb-add-room {
  border-color: #2f7568 !important;
  background: #2f7568 !important;
  color: #fff !important;
}

#bb-room-builder .bb-control-footer .bb-clear-room,
#bb-room-builder .bb-mobile-clear-wrap .bb-clear-room {
  border-color: #6b4f3a !important;
  color: #6b4f3a !important;
}

#bb-room-builder .bb-product-price.has-discount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  line-height: 1.1;
}

#bb-room-builder .bb-product-original-price {
  color: #8a8078;
  font-size: 10px;
  font-weight: 500;
}

#bb-room-builder .bb-product-sale-price {
  color: #6b4f3a;
  font-size: 12px;
  font-weight: 800;
}

#bb-room-builder .bb-product-discount-label {
  color: #2f7568;
  font-size: 8px;
  font-weight: 700;
}

#bb-room-builder .bb-product-video {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  margin-top: 3px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #2f7568;
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#bb-room-builder .bb-product-video:hover,
#bb-room-builder .bb-product-video:focus {
  color: #245e54;
  outline: 0;
  text-decoration: underline;
}

.bb-product-video-modal[hidden] { display: none !important; }
.bb-product-video-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(31, 24, 20, .82);
}
.bb-product-video-dialog {
  position: relative;
  width: min(92vw, 520px);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 14px;
  background: #151515;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.bb-product-video-player {
  display: block;
  width: 100%;
  max-height: 90vh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
}
.bb-product-video-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 767px) {
  #bb-room-builder .bb-room-stage {
    aspect-ratio: var(--bb-stage-mobile-aspect, 3 / 2);
  }
  #bb-room-builder .bb-product-video {
    font-size: 8px;
  }
  #bb-room-builder .bb-product-original-price { font-size: 9px; }
  #bb-room-builder .bb-product-sale-price { font-size: 11px; }
}

/* Room builder 1.5.46: the fixed mobile bar sits outside #bb-room-builder. */
@media (max-width: 767px) {
  body.room-builder .bb-mobile-bar .bb-add-room,
  body.bb-room-builder-active .bb-mobile-bar .bb-add-room {
    border-color: #2f7568 !important;
    background: #2f7568 !important;
    color: #fff !important;
  }

  body.room-builder .bb-mobile-bar .bb-add-room:hover,
  body.room-builder .bb-mobile-bar .bb-add-room:focus,
  body.bb-room-builder-active .bb-mobile-bar .bb-add-room:hover,
  body.bb-room-builder-active .bb-mobile-bar .bb-add-room:focus {
    border-color: #245e54 !important;
    background: #245e54 !important;
    color: #fff !important;
  }
}

/* Theme videos are independent from the product videos. */
#bb-room-builder .bb-concept-videos { margin:24px 0; padding:20px; background:#faf7f2; border:1px solid #e5d9cb; border-radius:12px; }
#bb-room-builder .bb-concept-videos h2 { margin:0 0 16px; color:#634c3d; font-size:22px; }
#bb-room-builder .bb-concept-videos-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
#bb-room-builder .bb-concept-videos video { display:block; width:100%; max-height:520px; aspect-ratio:16/9; background:#252525; border-radius:8px; object-fit:contain; }
@media (max-width:767px) { #bb-room-builder .bb-concept-videos { padding:14px; } #bb-room-builder .bb-concept-videos-grid { grid-template-columns:1fr; } }
