.rbx-paintcalc__stepper-btn:last-of-type {
  border-left: 0;
  border-radius: 0 15px 15px 0;
}

  .rbx-paintcalc {
    margin: 20px 0;
  }

  .rbx-paintcalc__inner {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 12px 22px 22px;
  }

  .rbx-paintcalc__title {
    margin: 0 0 6px;
    font-size: 2.05rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #2e2f35;
    text-transform: uppercase;
  }

  .rbx-paintcalc__subtitle {
    margin: 0 0 14px;
    font-size: 1.2rem;
    line-height: 1.35;
    color: #666870;
  }

  .rbx-paintcalc__helper-btn {
  border: 1px solid #d5d5d5;
  background: #ffffff;
  color: #2e2f35;
  border-radius: 15px;
  height: 60px;
  padding: 0 14px;
  font-size: 0.88rem;
  line-height: 1.05;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  flex: 0 0 118px;
}

  .rbx-paintcalc__modes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.rbx-paintcalc__mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rbx-paintcalc__mode--full {
  width: 100%;
}

  .rbx-paintcalc__mode {
  width: 100%;
  min-height: 62px;
  border: 1px solid #d5d5d5;
  background: #ffffff;
  color: #2e2f35;
  border-radius: 15px;
  padding: 0.9rem 1rem;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

  .rbx-paintcalc__mode.is-active {
    background: #92b6bb;
    border-color: #92b6bb;
    color: #ffffff;
  }

 .rbx-paintcalc__controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  flex-wrap: nowrap;
  min-width: 0;
}
.rbx-paintcalc__measure-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: nowrap;
}
  .rbx-paintcalc__stepper-btn {
  width: 88px;
  height: 60px;
  border: 1px solid #d1d1d1;
  background: transparent;
  color: #111318;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

  .rbx-paintcalc__stepper-btn:first-child {
    border-radius: 15px 0 0 15px;
  }
.rbx-paintcalc__stepper-btn:first-child {
  border-radius: 15px 0 0 15px;
}

.rbx-paintcalc__stepper-btn:last-of-type {
  border-left: 1px solid #d1d1d1;
  border-radius: 0 15px 15px 0;
}

.rbx-paintcalc__stepper-btn:hover {
  background: rgba(146, 182, 187, 0.08);
  border-color: #92b6bb;
  position: relative;
  z-index: 2;
}

.rbx-paintcalc__stepper-btn:hover + .rbx-paintcalc__input {
  border-left-color: #92b6bb;
}


 .rbx-paintcalc__input {
  width: 74px;
  height: 60px;
  border: 1px solid #d1d1d1;
  border-left: 0;
  border-right: 0;
  background: transparent;
  text-align: center;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 600;
  color: #2e2f35;
  outline: none;
  border-radius: 0;
  -moz-appearance: textfield;
}

  .rbx-paintcalc__input::-webkit-outer-spin-button,
  .rbx-paintcalc__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .rbx-paintcalc__unit {
  margin-left: 8px;
  font-size: 1rem;
  color: #2e2f35;
  line-height: 1;
  font-weight: 600;
}

  .rbx-paintcalc__material,
.rbx-paintcalc__surface,
.rbx-paintcalc__extra {
  margin-bottom: 16px;
}

.rbx-paintcalc__surface {
  margin-top: 16px;
}

  .rbx-paintcalc__label {
  margin: 0 0 14px;
  font-size: 1.58rem;
  line-height: 1.32;
  font-weight: 400;
  color: #4d4e55;
}

  .rbx-paintcalc__material-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .rbx-paintcalc__material-btn {
  border: 1px solid #d5d5d5;
  background: #ffffff;
  color: #2e2f35;
  border-radius: 15px;
  min-height: 62px;
  padding: 0.9rem 1rem;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

  .rbx-paintcalc__material-btn.is-active {
    background: #facaae;
    border-color: #facaae;
    color: #2e2f35;
  }

  .rbx-paintcalc__surface-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rbx-paintcalc__surface-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.rbx-paintcalc__surface-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #ffffff;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.rbx-paintcalc__surface-checkbox:checked + .rbx-paintcalc__surface-box {
  background: #92b6bb;
  border-color: #92b6bb;
}

.rbx-paintcalc__surface-checkbox:checked + .rbx-paintcalc__surface-box::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
}

.rbx-paintcalc__surface-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rbx-paintcalc__surface-text {
  font-size: 1.25rem;
  line-height: 1.3;
  color: #4d4e55;
}
.rbx-paintcalc__result-card{
  background:#f3f3f3;
  border-radius:18px;
  padding:18px;
  margin-top:16px;
}

.rbx-paintcalc__extra-card{
background:#f3f3f3;
border-radius:18px;
padding:18px;
margin-top:16px;
}
.rbx-paintcalc__surface-hint {
  font-size: 1.05rem;
  line-height: 1.35;
  color: #7a7d85;
}

  .rbx-extra-grid {
  display: grid;
  gap: 16px;
}

.rbx-extra-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

@media screen and (max-width: 1600px) {
  .rbx-extra-row {
    grid-template-columns: minmax(0, 1fr) 188px !important;
    gap: 10px !important;
  }

  .rbx-extra-row__meta {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }

  .rbx-extra-row__size {
    font-size: 1.04rem !important;
    line-height: 1.1 !important;
    flex-shrink: 0;
  }

  .rbx-extra-row__separator {
    font-size: 0.95rem !important;
    line-height: 1 !important;
    flex-shrink: 0;
  }

  .rbx-extra-row__label-price {
    font-size: 1rem !important;
    line-height: 1.1 !important;
    flex-shrink: 1;
  }

  .rbx-extra-row__controls {
    width: 188px !important;
    min-width: 188px !important;
  }

  .rbx-extra-row__btn {
    width: 56px !important;
    min-width: 56px !important;
    height: 52px !important;
    font-size: 1.2rem !important;
  }

  .rbx-extra-row__input {
    width: 76px !important;
    min-width: 76px !important;
    height: 52px !important;
    font-size: 1rem !important;
  }
}

.rbx-extra-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px;
  min-width: 0;
  white-space: nowrap;
}

.rbx-extra-row__size {
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 700;
  color: #2e2f35;
  white-space: nowrap;
}

.rbx-extra-row__unit {
  font-weight: inherit;
}

.rbx-extra-row__separator,
.rbx-extra-row__label-price {
  font-weight: 400;
  color: #4d4e55;
  opacity: 1;
  white-space: nowrap;
}

.rbx-extra-row__label-price {
  font-size: 1.28rem;
  line-height: 1.1;
}

.rbx-extra-row__controls {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  min-width: 0;
  flex-shrink: 0;
}

.rbx-extra-row__btn {
  width: 88px;
  height: 60px;
  border: 1px solid #d1d1d1;
  background: transparent;
  color: #111318;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
}

.rbx-extra-row__btn:first-child {
  border-radius: 15px 0 0 15px;
}

.rbx-extra-row__btn:last-of-type {
  border-left: 1px solid #d1d1d1;
  border-radius: 0 15px 15px 0;
}

.rbx-extra-row__input {
  width: 74px;
  height: 60px;
  border: 1px solid #d1d1d1;
  border-left: 0;
  border-right: 0;
  background: transparent;
  text-align: center;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 600;
  color: #2e2f35;
  outline: none;
  border-radius: 0;
  -moz-appearance: textfield;
}

.rbx-extra-row__input::-webkit-outer-spin-button,
.rbx-extra-row__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rbx-extra-row__btn:hover {
  background: rgba(146, 182, 187, 0.08);
  border-color: #92b6bb;
  position: relative;
  z-index: 2;
}

.rbx-extra-row__btn:hover + .rbx-extra-row__input {
  border-left-color: #92b6bb;
}

.rbx-extra-row__input:focus {
  border-color: #92b6bb;
}

.rbx-extra-row__input:focus + .rbx-extra-row__btn {
  border-left-color: #92b6bb;
}

@media screen and (max-width: 749px) {
  .rbx-extra-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .rbx-extra-row__meta {
    gap: 8px;
  }

  .rbx-extra-row__size,
  .rbx-extra-row__label-price {
    font-size: 0.95rem;
  }

  .rbx-extra-row__btn {
    width: 74px;
    height: 56px;
    font-size: 1.2rem;
  }

  .rbx-extra-row__input {
    width: 58px;
    height: 56px;
    font-size: 0.98rem;
  }
}

  .rbx-paintcalc__extra-note {
    margin: 10px 0 0;
    font-size: 1.2rem;
    color: #4d4e55;
  }

  .rbx-paintcalc__line,
  .rbx-paintcalc__split {
    margin: 0 0 10px;
    color: #3a3b41;
  }

  .rbx-paintcalc__line {
  margin: 0;
  font-size: 1.58rem;
  line-height: 1.32;
}
.rbx-paintcalc__results {
  margin-top: 0;
}

  .rbx-paintcalc__line--sub {
    font-size: 1.34rem;
    color: #666870;
  }

  .rbx-paintcalc__line--recommendation {
    font-size: 1.48rem;
    line-height: 1.3;
    font-weight: 700;
  }

  .rbx-paintcalc__split {
    font-size: 1.24rem;
    color: #4d4e55;
  }

  .rbx-paintcalc__highlight {
    color: #92b6bb;
    font-weight: 800;
  }

  .rbx-paintcalc__cta-wrap {
    margin-top: 18px;
  }

  .rbx-paintcalc__cta {
    width: 100%;
    border: 0;
    background: #92b6bb;
    color: #ffffff;
    border-radius: 999px;
    padding: 16px 22px;
    font-size: 1.42rem;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s ease;
    font-family: inherit;
  }

  .rbx-paintcalc__cta:hover {
    opacity: 0.80;
  }
/* Hover nur für nicht aktive Buttons */

.rbx-paintcalc__mode:not(.is-active):hover,
.rbx-paintcalc__material-btn:not(.is-active):hover,
.rbx-paintcalc__helper-btn:hover,
.rbx-paintcalc__stepper-btn:hover,
.rbx-extra-row__btn:hover,
.rbx-room-modal__add-room:hover {
  background: rgba(146, 182, 187, 0.08);
  border-color: #92b6bb;
}

/* CTA bleibt leicht transparenter beim Hover */

.rbx-paintcalc__cta:hover,
.rbx-room-modal__apply:hover {
  opacity: 0.8;
}

  .rbx-paintcalc__cta[disabled] {
    opacity: 0.7;
    cursor: wait;
  }

  .rbx-paintcalc__cta-label,
  .rbx-paintcalc__cta-price {
    font-weight: 500;
  }

  .rbx-paintcalc__cta-price {
    white-space: nowrap;
  }

  .rbx-paintcalc__feedback {
    margin-top: 8px;
    font-size: 1.18rem;
    color: #4d4e55;
  }

  .rbx-room-modal[hidden] {
  display: none;
}

.rbx-room-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.rbx-room-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.rbx-room-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  margin: 14vh auto 0;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

.rbx-room-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
  font-family: inherit;
}

.rbx-room-modal__title {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: #2e2f35;
}

.rbx-room-modal__text {
  margin: 0 0 14px;
  font-size: 1.28rem;
  color: #666870;
}

.rbx-room-modal__rooms {
  display: grid;
  gap: 14px;
}

.rbx-room-modal__room {
  border: 1px solid #e1e1e1;
  border-radius: 16px;
  padding: 14px;
  background: #fafafa;
}

.rbx-room-modal__room-head {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #2e2f35;
}

.rbx-room-modal__fields {
  display: grid;
  gap: 12px;
}

.rbx-room-modal__field {
  display: grid;
  gap: 6px;
}

.rbx-room-modal__field span {
  font-size: 1.18rem;
  font-weight: 600;
  color: #4d4e55;
}

.rbx-room-modal__field input {
  height: 44px;
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 1.35rem;
  font-family: inherit;
  box-sizing: border-box;
}

.rbx-room-modal__room-area {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #4d4e55;
}

.rbx-room-modal__toolbar {
  margin-top: 14px;
}

.rbx-room-modal__add-room {
  width: 100%;
  border: 1px solid #d5d5d5;
  background: #ffffff;
  color: #2e2f35;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.rbx-room-modal__result {
  margin-top: 14px;
  font-size: 1.4rem;
  color: #2e2f35;
}

.rbx-room-modal__apply {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #92b6bb;
  color: #fff;
  padding: 13px 16px;
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

@media screen and (max-width: 749px) {
  .rbx-room-modal {
    align-items: flex-start;
    padding: 72px 12px 16px;
  }

  .rbx-room-modal__dialog {
    width: calc(100vw - 24px);
    max-width: none;
    max-height: calc(100vh - 88px);
    border-radius: 20px;
    padding: 18px;
  }

  .rbx-room-modal__title {
    font-size: 1.45rem;
    line-height: 1.15;
    padding-right: 34px;
  }

  .rbx-room-modal__text {
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .rbx-room-modal__field span {
    font-size: 1rem;
  }

  .rbx-room-modal__field input {
    height: 52px;
    font-size: 1.1rem;
  }

  .rbx-room-modal__add-room,
  .rbx-room-modal__apply {
    font-size: 1.08rem;
    min-height: 56px;
  }

  .rbx-room-modal__result {
    font-size: 1.18rem;
  }

  .rbx-room-modal__close {
    top: 8px;
    right: 10px;
    font-size: 2.2rem;
  }
}

  @media screen and (max-width: 749px) {
  .rbx-paintcalc__inner {
    padding: 18px;
    border-radius: 20px;
  }

  .rbx-paintcalc__title {
    font-size: 1.8rem;
  }

  .rbx-paintcalc__modes {
    gap: 8px;
    margin-bottom: 8px;
  }

  .rbx-paintcalc__mode-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .rbx-paintcalc__mode,
  .rbx-paintcalc__material-btn {
    min-height: 56px;
    font-size: 1rem;
    padding: 0.8rem 0.8rem;
    border-radius: 14px;
  }

  .rbx-paintcalc__measure-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: nowrap;
}

  .rbx-paintcalc__helper-btn {
  height: 56px;
  padding: 0 10px;
  font-size: 0.78rem;
  line-height: 1.05;
  border-radius: 14px;
  flex: 0 0 112px;
}

  .rbx-paintcalc__stepper-btn {
    width: 74px;
    height: 56px;
    font-size: 1.2rem;
  }

  .rbx-paintcalc__input {
    width: 58px;
    height: 56px;
    font-size: 0.98rem;
  }

  .rbx-paintcalc__unit {
    font-size: 0.9rem;
    margin-left: 7px;
  }

  .rbx-paintcalc__line {
    font-size: 1.4rem;
  }

  .rbx-paintcalc__line--sub,
  .rbx-paintcalc__line--recommendation,
  .rbx-paintcalc__split {
    font-size: 1.2rem;
  }

  .rbx-paintcalc__cta {
    font-size: 1.28rem;
    padding: 14px 18px;
    gap: 6px;
    flex-wrap: wrap;
  }
}
.rbx-finish-i{
display:inline-flex;
align-items:center;
justify-content:center;
width:16px;
height:16px;
margin-left:6px;
border-radius:50%;
border:1px solid currentColor;
font-size:11px;
line-height:1;
position:relative;
top:-0.55em;
opacity:.75;
}

/* bestehendes CSS darüber bleibt */
.rbx-paintcalc__material-btn{
position:relative;
overflow:visible;
}

.rbx-finish-tooltip{
display:none;
position:absolute;
left:0;
bottom:calc(100% + 12px);
transform:none;
width:200px;
max-width:calc(100vw - 48px);
background:#ffffff;
border:1px solid #e2e2e2;
border-radius:10px;
padding:10px 12px;
box-shadow:0 10px 24px rgba(0,0,0,0.08);
z-index:30;
text-align:left;
font-size:12px;
line-height:1.4;
white-space:normal;
font-weight:400;
color:#4d4e55;
}

.rbx-finish-tooltip strong{
display:block;
margin:0 0 6px;
font-size:1.05rem;
line-height:1.25;
font-weight:700;
color:#2e2f35;
}

.rbx-finish-tooltip span{
display:block;
margin:0 0 4px;
font-size:1rem;
line-height:1.35;
font-weight:400;
color:#4d4e55;
}

.rbx-finish-i:hover + .rbx-finish-tooltip{
display:block;
}
.rbx-finish-tooltip::before{
content:"";
position:absolute;
left:var(--arrow-left, 50%);
top:100%;
transform:translateX(-50%);
width:0;
height:0;
border-left:8px solid transparent;
border-right:8px solid transparent;
border-top:8px solid #e2e2e2;
}

.rbx-finish-tooltip::after{
content:"";
position:absolute;
left:var(--arrow-left, 50%);
top:100%;
margin-top:-1px;
transform:translateX(-50%);
width:0;
height:0;
border-left:7px solid transparent;
border-right:7px solid transparent;
border-top:7px solid #ffffff;
}

.rbx-paintcalc__step-title{
  margin:0 0 14px;
  font-size:1.2rem;
  line-height:1.35;
  color:#666870;
  font-weight:400;
}
@media screen and (max-width: 749px) {
  .rbx-paintcalc__extra-card {
    padding: 16px;
  }

  .rbx-paintcalc__label {
    font-size: 1.15rem;
    line-height: 1.28;
    margin-bottom: 12px;
  }

  .rbx-extra-grid {
    gap: 12px;
  }

  .rbx-extra-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .rbx-extra-row__meta {
    gap: 6px;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
  }

  .rbx-extra-row__size {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.rbx-extra-row__label-price {
  font-size: 0.9rem;
  line-height: 1.1;
}

  .rbx-extra-row__separator {
    font-size: 0.9rem;
  }

  .rbx-extra-row__controls {
    flex-shrink: 0;
  }

  .rbx-extra-row__btn {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .rbx-extra-row__input {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .rbx-paintcalc__extra-note {
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 12px;
  }

  .rbx-paintcalc__cta-wrap--extra .rbx-paintcalc__cta {
    padding: 14px 18px;
    font-size: 1.1rem;
    line-height: 1.2;
    gap: 4px;
  }

  .rbx-paintcalc__cta-wrap--extra .rbx-paintcalc__cta-label,
  .rbx-paintcalc__cta-wrap--extra .rbx-paintcalc__cta-price {
    display: block;
    width: 100%;
    text-align: center;
  }
}

.rbx-paintcalc__calc-mode{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:0 0 14px;
}

.rbx-paintcalc__calc-mode .rbx-paintcalc__helper-btn{
  width:100%;
  flex:unset;
  height:62px;
  padding:0.9rem 1rem;
  font-size:1rem;
  line-height:1.15;
  border-radius:15px;
}

.rbx-paintcalc__calc-mode .rbx-paintcalc__helper-btn.is-active{
  background:#92b6bb;
  border-color:#92b6bb;
  color:#ffffff;
}

@media screen and (max-width: 749px){
  .rbx-paintcalc__calc-mode{
    gap:8px;
    margin:0 0 10px;
  }

  .rbx-paintcalc__calc-mode .rbx-paintcalc__helper-btn{
    height:56px;
    font-size:0.92rem;
    line-height:1.1;
    padding:0.8rem 0.75rem;
    border-radius:14px;
  }
}

.rbx-paintcalc__label-wrap {
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-bottom: 18px !important;
}

.rbx-paintcalc__finish-tag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  min-height: 40px !important;
  border-radius: 999px !important;
  background-color: #facaae !important;
  color: #2f3137 !important;
  font-size: 1em !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 749px) {
  .rbx-extra-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 12px;
  }

  .rbx-extra-row__meta {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
  }

  .rbx-extra-row__size {
    font-size: 0.9em;
  }

  .rbx-extra-row__label-price {
    font-size: 0.9em;
  }

  .rbx-extra-row__controls {
    width: 180px;
    min-width: 180px;
  }

  .rbx-extra-row__btn {
    width: 56px;
    min-width: 56px;
    height: 52px;
    font-size: 18px;
  }

  .rbx-extra-row__input {
    width: 68px;
    min-width: 68px;
    height: 52px;
    font-size: 16px;
  }
}

@media screen and (min-width: 750px) and (max-width: 1280px) {
  .rbx-extra-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 188px;
    align-items: center;
    gap: 12px;
  }

  .rbx-extra-row__meta {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .rbx-extra-row__controls {
    width: 188px;
    min-width: 188px;
  }

  .rbx-extra-row__btn {
    width: 56px;
    min-width: 56px;
    height: 52px;
    font-size: 1.2rem;
  }

  .rbx-extra-row__input {
    width: 76px;
    min-width: 76px;
    height: 52px;
    font-size: 1rem;
  }

  .rbx-extra-row__size {
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .rbx-extra-row__label-price {
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .rbx-extra-row__separator {
    font-size: 1rem;
    line-height: 1;
  }
}

@media screen and (max-width: 1280px) {
  .rbx-extra-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 16px !important;
  }

  .rbx-extra-row__meta {
    min-width: 0;
    padding-right: 8px;
  }

  .rbx-extra-row__label-price {
    white-space: nowrap;
  }

  .rbx-extra-row__controls {
    width: auto !important;
    min-width: 180px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }
}

/* =========================================================
   WHITE PAINTCALC – feste Oberfläche wie Lacke
   ========================================================= */

.rbx-paintcalc--white .rbx-paintcalc__material--static {
  display: block !important;
  margin-bottom: 16px;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-paintcalc__material-fixed {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  min-height: 62px;
  border: 1px solid #facaae;
  border-radius: 15px;
  background: #facaae;
  color: #2e2f35;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 600;
  box-sizing: border-box;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-paintcalc__material-label {
  line-height: 1;
  text-transform: none;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-finish-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 11px;
  line-height: 1;
  position: relative;
  top: -0.55em;
  opacity: 0.75;
  cursor: pointer;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-finish-tooltip {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  transform: none;
  width: 220px;
  max-width: calc(100vw - 48px);
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  z-index: 30;
  text-align: left;
  white-space: normal;
  color: #4d4e55;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-finish-tooltip strong {
  display: block;
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
  color: #2e2f35;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-finish-tooltip span {
  display: block;
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
  color: #4d4e55;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-finish-i:hover + .rbx-finish-tooltip {
  display: block;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-finish-tooltip::before {
  content: "";
  position: absolute;
  left: var(--arrow-left, 50%);
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #e2e2e2;
}

.rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-finish-tooltip::after {
  content: "";
  position: absolute;
  left: var(--arrow-left, 50%);
  top: 100%;
  margin-top: -1px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff;
}

@media screen and (max-width: 749px) {
  .rbx-paintcalc--white .rbx-paintcalc__material--static .rbx-paintcalc__material-fixed {
    min-height: 56px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 1rem;
  }
}

/* ═══ Einheitliches Button-Raster (alle Konfiguratoren) ════════════════════
   Vorher hatte jede Auswahlzeile ihr eigenes Layout: das Modus-Paar ein
   2er-Raster, matt/seidenmatt ein 3er-Raster mit nur zwei Buttons (daher
   schmaler), der Mengen-Regler eine Flexbox mit fester Pixelbreite. Unter-
   einander sah das nach drei verschiedenen Systemen aus.

   Ab hier gilt fuer jede Zeile dasselbe Raster: zwei gleich breite Spalten,
   10 px Abstand, gleiche Hoehe. Der Mengen-Regler belegt Spalte 1, die
   Einheit (m²) steht in Spalte 2. Zeilen, die bewusst ueber die volle
   Breite laufen, behalten das ueber grid-column: 1 / -1.

   Derselbe Block steht identisch in allen Konfigurator-Stylesheets, damit
   die Ladereihenfolge keine Rolle spielt. */

.rbx-whitebox__choice-grid,
.rbx-moodbooster__choice-grid,
.rbx-doorbox__choice-grid,
.rbx-lacquercalc__type-grid,
.rbx-paintcalc__mode-grid,
.rbx-paintcalc__calc-mode,
.rbx-paintcalc__material-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.rbx-whitebox__choice-grid > *,
.rbx-moodbooster__choice-grid > *,
.rbx-doorbox__choice-grid > *,
.rbx-lacquercalc__type-grid > *,
.rbx-paintcalc__mode-grid > *,
.rbx-paintcalc__calc-mode > *,
.rbx-paintcalc__material-options > * {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  flex: unset;
  white-space: normal;
}

/* Buttons in diesen Rastern: gleiche Hoehe, gleiche Rundung, zentriert. */
.rbx-whitebox__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-moodbooster__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-doorbox__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-lacquercalc__type-grid > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__calc-mode > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__material-options > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__mode-grid > .rbx-paintcalc__mode {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  padding: 0.9rem 1rem;
  border-radius: 15px;
  font-size: 1rem;
  line-height: 1.15;
}

/* Volle Breite bleibt volle Breite. */
.rbx-paintcalc__mode--full,
.rbx-paintcalc__mode-grid > .rbx-paintcalc__mode--full,
.rbx-whitebox__choice-grid > .is-full,
.rbx-moodbooster__choice-grid > .is-full,
.rbx-doorbox__choice-grid > .is-full {
  grid-column: 1 / -1;
}

/* Mengen-Regler: Spalte 1 = Regler, Spalte 2 = Einheit.
   Die Einheit bekommt exakt eine Rasterspalte, der Regler fuellt die andere;
   seine drei Teile (−, Zahl, +) teilen sich diese Spalte zu gleichen Teilen. */
.rbx-paintcalc__measure-row {
  display: block;
  width: 100%;
}

.rbx-paintcalc__measure-row > .rbx-paintcalc__controls {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.rbx-paintcalc__controls > .rbx-paintcalc__stepper-btn,
.rbx-paintcalc__controls > .rbx-paintcalc__input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 62px;
}

.rbx-paintcalc__controls > .rbx-paintcalc__unit {
  flex: 0 0 calc(50% - 5px);
  display: flex;
  align-items: center;
  height: 62px;
  margin-left: 10px;
  padding-left: 0;
}

/* Personen-Regler: dieselbe Aussenbreite wie eine Rasterspalte. */
.rbx-whitebox__people-stepper,
.rbx-moodbooster__people-stepper {
  width: calc(50% - 5px);
  max-width: calc(50% - 5px);
  min-width: 0;
}

@media screen and (max-width: 749px) {
  /* Auf dem Handy bleiben es zwei Spalten — die Beschriftungen sind kurz
     genug, und ein einheitliches Raster ist wichtiger als eine Zeile mehr. */
  .rbx-whitebox__choice-grid,
  .rbx-moodbooster__choice-grid,
  .rbx-doorbox__choice-grid,
  .rbx-lacquercalc__type-grid,
  .rbx-paintcalc__mode-grid,
  .rbx-paintcalc__calc-mode,
  .rbx-paintcalc__material-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rbx-whitebox__choice-grid > *,
  .rbx-moodbooster__choice-grid > *,
  .rbx-doorbox__choice-grid > *,
  .rbx-lacquercalc__type-grid > *,
  .rbx-paintcalc__mode-grid > *,
  .rbx-paintcalc__calc-mode > *,
  .rbx-paintcalc__material-options > * {
    min-height: 56px;
  }

  .rbx-whitebox__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-moodbooster__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-doorbox__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-lacquercalc__type-grid > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__calc-mode > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__material-options > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__mode-grid > .rbx-paintcalc__mode {
    padding: 0.8rem 0.6rem;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .rbx-paintcalc__controls > .rbx-paintcalc__stepper-btn,
  .rbx-paintcalc__controls > .rbx-paintcalc__input,
  .rbx-paintcalc__controls > .rbx-paintcalc__unit {
    height: 56px;
  }

  .rbx-paintcalc__controls > .rbx-paintcalc__unit {
    flex: 0 0 calc(50% - 4px);
    margin-left: 8px;
  }

  .rbx-whitebox__people-stepper,
  .rbx-moodbooster__people-stepper {
    width: calc(50% - 4px);
    max-width: calc(50% - 4px);
  }
}

.rbx-doorbox .rbx-paintcalc__title {
  margin-bottom: 10px;
}

.rbx-doorbox .rbx-paintcalc__subtitle {
  margin-bottom: 22px;
}

/* ---------------------------------------------------------
   Auswahlblöcke oben
--------------------------------------------------------- */

.rbx-doorbox__selection,
.rbx-doorbox__check-block {
  margin: 22px 0;
}

.rbx-doorbox__choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.rbx-doorbox__choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid #d7d7d7;
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

.rbx-doorbox__choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-doorbox__choice-check {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #c7c7c7;
  background: #ffffff;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}

.rbx-doorbox__choice-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
}

.rbx-doorbox__choice-label {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  color: #2e2f35;
}

.rbx-doorbox__choice-card input[type="radio"]:checked + .rbx-doorbox__choice-check {
  background: #92b6bb;
  border-color: #92b6bb;
}

.rbx-doorbox__choice-card input[type="radio"]:checked + .rbx-doorbox__choice-check::after {
  opacity: 1;
}

.rbx-doorbox__choice-card:has(input[type="radio"]:checked) {
  background: rgba(146, 182, 187, 0.08);
  border-color: #92b6bb;
}

/* ---------------------------------------------------------
   Toggle Cards
--------------------------------------------------------- */

.rbx-doorbox__toggle-card {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid #d7d7d7;
  border-radius: 18px;
  background: #ffffff;
}

.rbx-doorbox__toggle-row,
.rbx-doorbox__optional-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.rbx-doorbox__toggle-row--large {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.rbx-doorbox__toggle-row input[type="checkbox"],
.rbx-doorbox__optional-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-doorbox__toggle-box {
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #d6dce0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}

.rbx-doorbox__toggle-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
}

.rbx-doorbox__toggle-row input[type="checkbox"]:checked + .rbx-doorbox__toggle-box,
.rbx-doorbox__optional-toggle input[type="checkbox"]:checked + .rbx-doorbox__toggle-box {
  background: #92b6bb;
}

.rbx-doorbox__toggle-row input[type="checkbox"]:checked + .rbx-doorbox__toggle-box::after,
.rbx-doorbox__optional-toggle input[type="checkbox"]:checked + .rbx-doorbox__toggle-box::after {
  opacity: 1;
}

.rbx-doorbox__toggle-row span:last-child {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #2e2f35;
}

.rbx-doorbox__suboptions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-left: 30px;
  flex-wrap: wrap;
}

.rbx-doorbox__mini-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.rbx-doorbox__mini-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-doorbox__mini-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d7d7d7;
  background: #ffffff;
  color: #4d4e55;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.rbx-doorbox__mini-choice input[type="radio"]:checked + span {
  border-color: #92b6bb;
  background: rgba(146, 182, 187, 0.12);
  color: #2e2f35;
}

.rbx-doorbox__glass-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  margin-left: 30px;
}

.rbx-doorbox__glass-label {
  font-size: 14px;
  line-height: 1.35;
  color: #4d4e55;
  font-weight: 600;
}

.rbx-doorbox__glass-row input {
  width: 88px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
  font: inherit;
  font-size: 15px;
  color: #2e2f35;
  outline: none;
}

.rbx-doorbox__glass-row input:focus {
  border-color: #92b6bb;
}

/* ---------------------------------------------------------
   Oberfläche / Tooltip
--------------------------------------------------------- */

.rbx-doorbox .rbx-paintcalc__material--static .rbx-paintcalc__material-fixed {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  min-height: 62px;
  border: 1px solid #facaae;
  border-radius: 15px;
  background: #facaae;
  color: #2e2f35;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 600;
  box-sizing: border-box;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-paintcalc__material-label {
  line-height: 1;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-finish-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 11px;
  line-height: 1;
  position: relative;
  top: -0.55em;
  opacity: 0.75;
  cursor: pointer;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-finish-tooltip {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  transform: none;
  width: 220px;
  max-width: calc(100vw - 48px);
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  z-index: 30;
  text-align: left;
  white-space: normal;
  color: #4d4e55;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-finish-tooltip strong {
  display: block;
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
  color: #2e2f35;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-finish-tooltip span {
  display: block;
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
  color: #4d4e55;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-finish-i:hover + .rbx-finish-tooltip {
  display: block;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-finish-tooltip::before {
  content: "";
  position: absolute;
  left: var(--arrow-left, 50%);
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #e2e2e2;
}

.rbx-doorbox .rbx-paintcalc__material--static .rbx-finish-tooltip::after {
  content: "";
  position: absolute;
  left: var(--arrow-left, 50%);
  top: 100%;
  margin-top: -1px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ffffff;
}

/* ---------------------------------------------------------
   Rechenbutton
--------------------------------------------------------- */

.rbx-doorbox .rbx-lacquercalc__calculation-block {
  margin: 10px 0 24px;
}

.rbx-doorbox .rbx-lacquercalc__calc-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.rbx-doorbox .rbx-lacquercalc__calc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid #d7d7d7;
  border-radius: 18px;
  background: #ffffff;
  color: #2e2f35;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.rbx-doorbox .rbx-lacquercalc__calc-btn:hover {
  border-color: #d8b090;
  background: #fffdfa;
}

.rbx-doorbox .rbx-lacquercalc__calc-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rbx-doorbox .rbx-lacquercalc__calc-edit {
  display: inline-block;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  color: #d08a43;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  flex: 0 0 auto;
}

.rbx-doorbox .rbx-lacquercalc__calc-btn-label {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  color: #2e2f35;
  text-align: left;
}

.rbx-doorbox .rbx-lacquercalc__calc-btn-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.rbx-doorbox .rbx-lacquercalc__calc-badge {
  display: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff4ea;
  color: #d88c4d;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.rbx-doorbox .rbx-lacquercalc__calc-check {
  display: none;
}

.rbx-doorbox .rbx-lacquercalc__calc-summary {
  margin: 8px 0 0 44px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #6b6c73;
}

.rbx-doorbox .rbx-lacquercalc__calc-error {
  margin: 6px 0 0 44px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #b42318;
}

.rbx-doorbox .rbx-lacquercalc__calc-item.is-complete .rbx-lacquercalc__calc-btn {
  border-color: rgba(146, 182, 187, 0.55);
  background: rgba(146, 182, 187, 0.05);
}

.rbx-doorbox .rbx-lacquercalc__calc-item.is-complete .rbx-lacquercalc__calc-badge {
  display: inline-flex;
  align-items: center;
}

/* ---------------------------------------------------------
   Overview Card
--------------------------------------------------------- */

.rbx-doorbox .rbx-lacquercalc__overview {
  margin-top: 20px;
}

.rbx-doorbox .rbx-lacquercalc__overview-title {
  margin: 0 0 18px;
  font-size: 2.05rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #2e2f35;
  text-transform: uppercase;
}

.rbx-doorbox .rbx-lacquercalc__overview-card {
  background: #f3f3f3;
  border-radius: 24px;
  padding: 18px 18px 16px;
}

.rbx-doorbox .rbx-lacquercalc__overview-note {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #4d4e55;
}

.rbx-doorbox .rbx-lacquercalc__product-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #ffffff;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.rbx-doorbox .rbx-lacquercalc__product-card + .rbx-lacquercalc__product-card {
  margin-top: 12px;
}

.rbx-doorbox .rbx-lacquercalc__product-media {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f4;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.rbx-doorbox .rbx-lacquercalc__product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rbx-doorbox .rbx-lacquercalc__product-content {
  min-width: 0;
}

.rbx-doorbox .rbx-lacquercalc__product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.rbx-doorbox .rbx-lacquercalc__product-title-wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.rbx-doorbox .rbx-lacquercalc__product-title,
.rbx-doorbox .rbx-lacquercalc__product-title.h1,
.rbx-doorbox .rbx-lacquercalc__product-title.h2,
.rbx-doorbox .rbx-lacquercalc__product-title.h3,
.rbx-doorbox .rbx-lacquercalc__product-title.h4,
.rbx-doorbox .rbx-lacquercalc__product-title.h5,
.rbx-doorbox .rbx-lacquercalc__product-title.h6 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #111111 !important;
}

.rbx-doorbox .rbx-lacquercalc__product-price {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.rbx-doorbox .rbx-lacquercalc__product-price strong,
.rbx-doorbox .rbx-lacquercalc__product-price span {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

.rbx-doorbox .rbx-lacquercalc__product-body p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b6c73;
}

.rbx-doorbox .rbx-lacquercalc__product-body p:last-child {
  margin-bottom: 0;
}

.rbx-doorbox .rbx-lacquercalc__overview-divider {
  height: 1px;
  margin: 16px 0 14px;
  background: rgba(17, 17, 17, 0.10);
}

.rbx-doorbox .rbx-lacquercalc__overview-total {
  margin-bottom: 14px;
}

.rbx-doorbox .rbx-lacquercalc__overview-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #111111;
}

.rbx-doorbox .rbx-lacquercalc__overview-total-row strong {
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2328;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-row {
  margin: 8px 0 6px;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-toggle .rbx-paintcalc__surface-box {
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #92b6bb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  position: relative;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-toggle .rbx-paintcalc__surface-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  display: block;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-toggle input[type="checkbox"]:not(:checked) + .rbx-paintcalc__surface-box {
  background: #d6dce0;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-toggle input[type="checkbox"]:not(:checked) + .rbx-paintcalc__surface-box::after {
  opacity: 0;
}

.rbx-doorbox .rbx-lacquercalc__primer-inline-label {
  display: inline-block;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #4d4e55;
}

.rbx-doorbox .rbx-lacquercalc__product-card[data-overview-primer].is-unchecked {
  background: #f1f1f1 !important;
}

.rbx-doorbox .rbx-lacquercalc__product-card[data-overview-primer].is-unchecked .rbx-lacquercalc__product-media,
.rbx-doorbox .rbx-lacquercalc__product-card[data-overview-primer].is-unchecked .rbx-lacquercalc__product-content {
  opacity: 0.68;
}

/* ---------------------------------------------------------
   Materialliste
--------------------------------------------------------- */

.rbx-doorbox__materials-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  color: #2e2f35;
}

.rbx-doorbox__material-list {
  display: grid;
  gap: 12px;
}

.rbx-doorbox__material-item {
  display: grid;
  grid-template-columns: 44px 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.rbx-doorbox__material-item[data-required-item] {
  grid-template-columns: 56px minmax(0, 1fr);
}

.rbx-doorbox__material-item--optional.is-disabled {
  opacity: 0.5;
}

.rbx-doorbox__material-media {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rbx-doorbox__material-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rbx-doorbox__material-content {
  min-width: 0;
}

.rbx-doorbox__material-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.rbx-doorbox__material-head strong {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: #111111;
}

.rbx-doorbox__material-head span {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}

.rbx-doorbox__material-content p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b6c73;
}

.rbx-doorbox__material-content p:last-child {
  margin-bottom: 0;
}

.rbx-doorbox__qty-inline {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 4px 0 2px;
}

.rbx-doorbox__qty-inline button {
  width: 36px;
  height: 36px;
  border: 1px solid #d1d1d1;
  background: #ffffff;
  color: #111318;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.rbx-doorbox__qty-inline button:first-child {
  border-radius: 10px 0 0 10px;
}

.rbx-doorbox__qty-inline button:last-child {
  border-left: 1px solid #d1d1d1;
  border-radius: 0 10px 10px 0;
}

.rbx-doorbox__qty-inline input {
  width: 46px;
  height: 36px;
  border: 1px solid #d1d1d1;
  border-left: 0;
  border-right: 0;
  background: #ffffff;
  text-align: center;
  font-size: 0.98rem;
  font-family: inherit;
  font-weight: 600;
  color: #2e2f35;
  outline: none;
  border-radius: 0;
  -moz-appearance: textfield;
}

.rbx-doorbox__qty-inline input::-webkit-outer-spin-button,
.rbx-doorbox__qty-inline input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rbx-doorbox__qty-inline button:hover {
  background: rgba(146, 182, 187, 0.08);
  border-color: #92b6bb;
  position: relative;
  z-index: 2;
}

.rbx-doorbox__qty-inline input:focus {
  border-color: #92b6bb;
}

.rbx-doorbox__optional-toggle {
  align-self: flex-start;
  margin-top: 6px;
}

/* ---------------------------------------------------------
   Modal
--------------------------------------------------------- */

.rbx-doorbox .rbx-room-modal__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #92b6bb;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-transform: none;
}

.rbx-doorbox .rbx-room-modal__apply:hover {
  opacity: 0.92;
}

.rbx-doorbox__modal-room {
  padding: 14px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fafafa;
}

.rbx-doorbox__modal-room + .rbx-doorbox__modal-room {
  margin-top: 12px;
}

.rbx-doorbox__modal-room-head {
  margin-bottom: 12px;
}

.rbx-doorbox__modal-room-head strong {
  font-size: 1rem;
  line-height: 1.25;
  color: #2e2f35;
}

.rbx-doorbox__modal-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rbx-doorbox__modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rbx-doorbox__modal-field span {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #4d4e55;
}

.rbx-doorbox__modal-field input,
.rbx-doorbox__modal-inline-field input {
  height: 46px;
  padding: 0 12px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  color: #2e2f35;
  outline: none;
  box-sizing: border-box;
}

.rbx-doorbox__modal-field input:focus,
.rbx-doorbox__modal-inline-field input:focus {
  border-color: #92b6bb;
}

.rbx-doorbox__modal-field input::placeholder,
.rbx-doorbox__modal-inline-field input::placeholder {
  color: #a6a8ad;
  opacity: 1;
}

.rbx-doorbox__modal-checklist {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.rbx-doorbox__modal-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.rbx-doorbox__modal-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-doorbox__modal-check-box {
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #d6dce0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.rbx-doorbox__modal-check-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
}

.rbx-doorbox__modal-check input[type="checkbox"]:checked + .rbx-doorbox__modal-check-box {
  background: #92b6bb;
}

.rbx-doorbox__modal-check input[type="checkbox"]:checked + .rbx-doorbox__modal-check-box::after {
  opacity: 1;
}

.rbx-doorbox__modal-check span:last-child {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: #2e2f35;
}

.rbx-doorbox__modal-inline-field {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rbx-doorbox__modal-inline-field span {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: #4d4e55;
}

.rbx-doorbox__modal-inline-field input {
  width: 88px;
  text-align: center;
}

.rbx-doorbox__row-area {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-doorbox__row-area strong {
  color: #111111;
  font-weight: 700;
}

/* ---------------------------------------------------------
   Farben unten
--------------------------------------------------------- */

.rbx-doorbox__colors {
  margin-top: 22px;
}

.rbx-doorbox__colors-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  color: #2e2f35;
}

.rbx-doorbox__swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 12px;
}

.rbx-doorbox__swatch {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rbx-doorbox__swatch-chip {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.rbx-doorbox__swatch-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #4d4e55;
  text-align: center;
}

/* ---------------------------------------------------------
   CTA / Feedback
--------------------------------------------------------- */

.rbx-doorbox .rbx-paintcalc__feedback {
  margin-top: 10px;
}

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media screen and (max-width: 749px) {
  .rbx-doorbox__choice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rbx-doorbox__choice-card {
    min-height: 56px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .rbx-doorbox__choice-label {
    font-size: 0.95rem;
  }

  .rbx-doorbox__toggle-card {
    padding: 14px;
    border-radius: 16px;
  }

  .rbx-doorbox__suboptions {
    margin-left: 0;
  }

  .rbx-doorbox__glass-row {
    margin-left: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .rbx-doorbox .rbx-lacquercalc__calc-btn {
    min-height: 58px;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .rbx-doorbox .rbx-lacquercalc__calc-btn-label {
    font-size: 0.98rem;
  }

  .rbx-doorbox .rbx-lacquercalc__calc-edit {
    font-size: 26px;
  }

  .rbx-doorbox .rbx-lacquercalc__calc-summary,
  .rbx-doorbox .rbx-lacquercalc__calc-error {
    margin-left: 38px;
    font-size: 0.9rem;
  }

  .rbx-doorbox .rbx-lacquercalc__overview-title {
    font-size: 1.8rem;
    line-height: 1.05;
  }

  .rbx-doorbox .rbx-lacquercalc__overview-card {
    border-radius: 22px;
    padding: 14px;
  }

  .rbx-doorbox .rbx-lacquercalc__overview-note {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .rbx-doorbox .rbx-lacquercalc__product-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .rbx-doorbox .rbx-lacquercalc__product-title,
  .rbx-doorbox .rbx-lacquercalc__product-title.h1,
  .rbx-doorbox .rbx-lacquercalc__product-title.h2,
  .rbx-doorbox .rbx-lacquercalc__product-title.h3,
  .rbx-doorbox .rbx-lacquercalc__product-title.h4,
  .rbx-doorbox .rbx-lacquercalc__product-title.h5,
  .rbx-doorbox .rbx-lacquercalc__product-title.h6 {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .rbx-doorbox .rbx-lacquercalc__product-price strong,
  .rbx-doorbox .rbx-lacquercalc__product-price span {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .rbx-doorbox .rbx-lacquercalc__product-body p {
    font-size: 12px;
    line-height: 1.35;
  }

  .rbx-doorbox__material-item {
    grid-template-columns: 40px 52px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .rbx-doorbox__material-item[data-required-item] {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .rbx-doorbox__material-media {
    width: 52px;
    min-width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .rbx-doorbox__material-head strong {
    font-size: 14px;
  }

  .rbx-doorbox__material-head span {
    font-size: 13px;
  }

  .rbx-doorbox__material-content p {
    font-size: 12px;
  }

  .rbx-doorbox__qty-inline button,
  .rbx-doorbox__qty-inline input {
    height: 34px;
  }

  .rbx-doorbox__qty-inline button {
    width: 34px;
  }

  .rbx-doorbox__qty-inline input {
    width: 42px;
    font-size: 0.95rem;
  }

  .rbx-doorbox__modal-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rbx-doorbox__modal-check span:last-child,
  .rbx-doorbox__toggle-row span:last-child {
    font-size: 14px;
  }

  .rbx-doorbox__swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .rbx-doorbox__swatch-label {
    font-size: 11px;
  }
}

/* ═══ Einheitliches Button-Raster (alle Konfiguratoren) ════════════════════
   Vorher hatte jede Auswahlzeile ihr eigenes Layout: das Modus-Paar ein
   2er-Raster, matt/seidenmatt ein 3er-Raster mit nur zwei Buttons (daher
   schmaler), der Mengen-Regler eine Flexbox mit fester Pixelbreite. Unter-
   einander sah das nach drei verschiedenen Systemen aus.

   Ab hier gilt fuer jede Zeile dasselbe Raster: zwei gleich breite Spalten,
   10 px Abstand, gleiche Hoehe. Der Mengen-Regler belegt Spalte 1, die
   Einheit (m²) steht in Spalte 2. Zeilen, die bewusst ueber die volle
   Breite laufen, behalten das ueber grid-column: 1 / -1.

   Derselbe Block steht identisch in allen Konfigurator-Stylesheets, damit
   die Ladereihenfolge keine Rolle spielt. */

.rbx-whitebox__choice-grid,
.rbx-moodbooster__choice-grid,
.rbx-doorbox__choice-grid,
.rbx-lacquercalc__type-grid,
.rbx-paintcalc__mode-grid,
.rbx-paintcalc__calc-mode,
.rbx-paintcalc__material-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.rbx-whitebox__choice-grid > *,
.rbx-moodbooster__choice-grid > *,
.rbx-doorbox__choice-grid > *,
.rbx-lacquercalc__type-grid > *,
.rbx-paintcalc__mode-grid > *,
.rbx-paintcalc__calc-mode > *,
.rbx-paintcalc__material-options > * {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  flex: unset;
  white-space: normal;
}

/* Buttons in diesen Rastern: gleiche Hoehe, gleiche Rundung, zentriert. */
.rbx-whitebox__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-moodbooster__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-doorbox__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-lacquercalc__type-grid > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__calc-mode > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__material-options > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__mode-grid > .rbx-paintcalc__mode {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  padding: 0.9rem 1rem;
  border-radius: 15px;
  font-size: 1rem;
  line-height: 1.15;
}

/* Volle Breite bleibt volle Breite. */
.rbx-paintcalc__mode--full,
.rbx-paintcalc__mode-grid > .rbx-paintcalc__mode--full,
.rbx-whitebox__choice-grid > .is-full,
.rbx-moodbooster__choice-grid > .is-full,
.rbx-doorbox__choice-grid > .is-full {
  grid-column: 1 / -1;
}

/* Mengen-Regler: Spalte 1 = Regler, Spalte 2 = Einheit.
   Die Einheit bekommt exakt eine Rasterspalte, der Regler fuellt die andere;
   seine drei Teile (−, Zahl, +) teilen sich diese Spalte zu gleichen Teilen. */
.rbx-paintcalc__measure-row {
  display: block;
  width: 100%;
}

.rbx-paintcalc__measure-row > .rbx-paintcalc__controls {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.rbx-paintcalc__controls > .rbx-paintcalc__stepper-btn,
.rbx-paintcalc__controls > .rbx-paintcalc__input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 62px;
}

.rbx-paintcalc__controls > .rbx-paintcalc__unit {
  flex: 0 0 calc(50% - 5px);
  display: flex;
  align-items: center;
  height: 62px;
  margin-left: 10px;
  padding-left: 0;
}

/* Personen-Regler: dieselbe Aussenbreite wie eine Rasterspalte. */
.rbx-whitebox__people-stepper,
.rbx-moodbooster__people-stepper {
  width: calc(50% - 5px);
  max-width: calc(50% - 5px);
  min-width: 0;
}

@media screen and (max-width: 749px) {
  /* Auf dem Handy bleiben es zwei Spalten — die Beschriftungen sind kurz
     genug, und ein einheitliches Raster ist wichtiger als eine Zeile mehr. */
  .rbx-whitebox__choice-grid,
  .rbx-moodbooster__choice-grid,
  .rbx-doorbox__choice-grid,
  .rbx-lacquercalc__type-grid,
  .rbx-paintcalc__mode-grid,
  .rbx-paintcalc__calc-mode,
  .rbx-paintcalc__material-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rbx-whitebox__choice-grid > *,
  .rbx-moodbooster__choice-grid > *,
  .rbx-doorbox__choice-grid > *,
  .rbx-lacquercalc__type-grid > *,
  .rbx-paintcalc__mode-grid > *,
  .rbx-paintcalc__calc-mode > *,
  .rbx-paintcalc__material-options > * {
    min-height: 56px;
  }

  .rbx-whitebox__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-moodbooster__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-doorbox__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-lacquercalc__type-grid > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__calc-mode > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__material-options > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__mode-grid > .rbx-paintcalc__mode {
    padding: 0.8rem 0.6rem;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .rbx-paintcalc__controls > .rbx-paintcalc__stepper-btn,
  .rbx-paintcalc__controls > .rbx-paintcalc__input,
  .rbx-paintcalc__controls > .rbx-paintcalc__unit {
    height: 56px;
  }

  .rbx-paintcalc__controls > .rbx-paintcalc__unit {
    flex: 0 0 calc(50% - 4px);
    margin-left: 8px;
  }

  .rbx-whitebox__people-stepper,
  .rbx-moodbooster__people-stepper {
    width: calc(50% - 4px);
    max-width: calc(50% - 4px);
  }
}

/* =========================================================
   Türbox Farbslider + Kalkulator + Übersicht + Materialien
   ========================================================= */

/* ---------- Farbslider ---------- */

.rbx-doorbox-colors__section {
  margin-bottom: 28px;
}

.rbx-doorbox-colors__head {
  margin-bottom: 14px;
}

.rbx-doorbox-colors__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600;
  color: #111111;
}

.rbx-doorbox-colors__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4d4e55;
}

.rbx-doorbox-colors__range-wrap {
  --rbx-doorbox-thumb-size: 18px;
  --rbx-doorbox-track-height: 10px;
  margin-bottom: 18px;
}

.rbx-doorbox-colors__range-labels {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  width: 100%;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.25;
  color: #6b6c73;
  font-weight: 500;
}

.rbx-doorbox-colors__range-labels span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.rbx-doorbox-colors__range {
  display: block;
  width: 88.5%;
  margin-left: 5.75%;
  margin-right: 5.75%;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.rbx-doorbox-colors__range:focus {
  outline: none;
}

.rbx-doorbox-colors__range::-webkit-slider-runnable-track {
  height: var(--rbx-doorbox-track-height);
  border-radius: 999px;
  background: #92b6bb;
}

.rbx-doorbox-colors__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--rbx-doorbox-thumb-size);
  height: var(--rbx-doorbox-thumb-size);
  margin-top: calc((var(--rbx-doorbox-track-height) - var(--rbx-doorbox-thumb-size)) / 2);
  border-radius: 50%;
  border: 0;
  background: #f5a623;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.rbx-doorbox-colors__range::-moz-range-track {
  height: var(--rbx-doorbox-track-height);
  border-radius: 999px;
  background: #92b6bb;
}

.rbx-doorbox-colors__range::-moz-range-thumb {
  width: var(--rbx-doorbox-thumb-size);
  height: var(--rbx-doorbox-thumb-size);
  border-radius: 50%;
  border: 0;
  background: #f5a623;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.rbx-doorbox-colors__collection-name {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-doorbox-colors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 84px);
  gap: 12px;
  justify-content: start;
  align-items: start;
}

.rbx-doorbox-colors__tile {
  display: block;
  width: 84px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}

.rbx-doorbox-colors__tile.is-hidden {
  display: none;
}

.rbx-doorbox-colors__swatch {
  display: block;
  width: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background-size: 100% calc(100% + 3px);
  background-position: center center;
  background-repeat: no-repeat;
}

.rbx-doorbox-colors__tile:hover .rbx-doorbox-colors__swatch,
.rbx-doorbox-colors__tile:focus-visible .rbx-doorbox-colors__swatch {
  transform: translateY(-2px);
  border-color: rgba(47, 47, 47, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.12);
}

.rbx-doorbox-colors__tile.is-active .rbx-doorbox-colors__swatch {
  box-shadow: 0 0 0 2px #92b6bb;
  border-color: #92b6bb;
}

.rbx-doorbox-colors__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.3em;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.15;
  text-align: center;
  color: #2f2f2f;
  word-break: break-word;
}

.rbx-doorbox-colors__selection-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-doorbox-colors__selection-note strong {
  color: #111111;
}

.rbx-doorbox-colors__family-buttons {
  display: none;
}

.rbx-doorbox-colors__family-button-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rbx-doorbox-colors__family-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(47, 47, 47, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #4d4e55;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rbx-doorbox-colors__family-button:hover {
  transform: translateY(-1px);
}

.rbx-doorbox-colors__family-button.is-active {
  background: #92b6bb;
  border-color: #92b6bb;
  color: #111111;
}

.rbx-doorbox-colors__grid-wrap.is-collapsed {
  display: none;
}

.rbx-doorbox-colors__selection-note.is-collapsed {
  display: none;
}

.rbx-doorbox-colors__summary[hidden] {
  display: none !important;
}

.rbx-doorbox-colors__summary {
  margin-top: 14px;
}

.rbx-doorbox-colors__summary-card {
  width: 100%;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(47, 47, 47, 0.10);
  border-radius: 20px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rbx-doorbox-colors__summary-card:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 47, 47, 0.16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.rbx-doorbox-colors__summary-swatch {
  display: block;
  width: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.08);
  background-size: 100% calc(100% + 3px);
  background-position: center center;
  background-repeat: no-repeat;
}

.rbx-doorbox-colors__summary-content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rbx-doorbox-colors__summary-overline {
  font-size: 12px;
  line-height: 1.2;
  color: #6b6c73;
}

.rbx-doorbox-colors__summary-label {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  color: #111111;
}

.rbx-doorbox-colors__summary-family {
  font-size: 13px;
  line-height: 1.3;
  color: #4d4e55;
}

.rbx-doorbox-colors__summary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #c98a2e;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

/* =========================================================
   Türkalkulator
   ========================================================= */

.rbx-doorbox-calc {
  margin-top: 24px;
}

.rbx-doorbox-calc__section {
  margin-bottom: 20px;
}

.rbx-doorbox-calc__step-title {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: #111111;
}

.rbx-doorbox-calc__choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rbx-doorbox-calc__choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rbx-doorbox-calc__choice-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(47, 47, 47, 0.15);
  border-radius: 999px;
  background: #ffffff;
  color: #4d4e55;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rbx-doorbox-calc__choice-btn:hover {
  transform: translateY(-1px);
}

.rbx-doorbox-calc__choice-btn.is-active {
  background: #92b6bb;
  border-color: #92b6bb;
  color: #111111;
}

.rbx-doorbox-calc__doors-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 12px 16px;
  border: 1px solid rgba(47, 47, 47, 0.15);
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  color: #2e2f35;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rbx-doorbox-calc__doors-btn:hover {
  border-color: #92b6bb;
}

.rbx-doorbox-calc__doors-btn.is-complete {
  border-color: #92b6bb;
  background: rgba(146, 182, 187, 0.08);
}

.rbx-doorbox-calc__doors-btn-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2e2f35;
}

.rbx-doorbox-calc__doors-btn-hint {
  font-size: 0.85rem;
  color: #6b6c73;
  font-weight: 500;
}

.rbx-doorbox-calc__doors-summary {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #4d4e55;
}

/* ---------- People-Stepper ---------- */

.rbx-doorbox-calc__people-stepper-wrap {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.rbx-doorbox-calc__people-stepper-label {
  font-size: 13px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-doorbox-calc__people-stepper {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  max-width: 340px;
  border: 1px solid #d9dadd;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
}

.rbx-doorbox-calc__people-stepper-btn {
  width: 84px;
  min-width: 84px;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.rbx-doorbox-calc__people-stepper-btn:hover {
  background: #f5f6f7;
}

.rbx-doorbox-calc__people-stepper-input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-left: 1px solid #d9dadd;
  border-right: 1px solid #d9dadd;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: #111111;
  background: #ffffff;
  padding: 20px 10px;
  -moz-appearance: textfield;
}

.rbx-doorbox-calc__people-stepper-input::-webkit-outer-spin-button,
.rbx-doorbox-calc__people-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rbx-doorbox-calc__people-stepper-note {
  font-size: 13px;
  line-height: 1.4;
  color: #4d4e55;
}

/* ---------- Tür-Modal ---------- */

.rbx-doorbox-modal[hidden] {
  display: none !important;
}

.rbx-doorbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

.rbx-doorbox-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.rbx-doorbox-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 22px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.rbx-doorbox-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #4d4e55;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}

.rbx-doorbox-modal__close:hover {
  background: #f2f3f4;
}

.rbx-doorbox-modal__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 700;
  color: #111111;
}

.rbx-doorbox-modal__text {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4d4e55;
}

.rbx-doorbox-modal__list {
  display: grid;
  gap: 14px;
}

.rbx-doorbox-modal__row {
  padding: 14px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fafafa;
}

.rbx-doorbox-modal__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.rbx-doorbox-modal__row-head strong {
  font-size: 1rem;
  color: #2e2f35;
}

.rbx-doorbox-modal__remove {
  border: 0;
  background: transparent;
  color: #b42318;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}

.rbx-doorbox-modal__remove:hover {
  background: rgba(180, 35, 24, 0.08);
}

.rbx-doorbox-modal__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rbx-doorbox-modal__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rbx-doorbox-modal__field span {
  font-size: 12px;
  font-weight: 600;
  color: #4d4e55;
}

.rbx-doorbox-modal__field input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  color: #2e2f35;
  outline: none;
  box-sizing: border-box;
}

.rbx-doorbox-modal__field input:focus {
  border-color: #92b6bb;
}

.rbx-doorbox-modal__checks {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.rbx-doorbox-modal__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  width: fit-content;
}

.rbx-doorbox-modal__check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-doorbox-modal__check-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #d6dce0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.rbx-doorbox-modal__check-box::after {
  content: '✓';
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
}

.rbx-doorbox-modal__check input:checked + .rbx-doorbox-modal__check-box {
  background: #92b6bb;
}

.rbx-doorbox-modal__check input:checked + .rbx-doorbox-modal__check-box::after {
  opacity: 1;
}

.rbx-doorbox-modal__check-text {
  font-size: 14px;
  font-weight: 600;
  color: #2e2f35;
}

.rbx-doorbox-modal__glass-btn {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px dashed #c9c9c9;
  color: #4d4e55;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  margin-top: 10px;
}

.rbx-doorbox-modal__glass-btn:hover {
  border-color: #92b6bb;
  color: #2e2f35;
}

.rbx-doorbox-modal__glass-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.rbx-doorbox-modal__glass-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 10px;
}

.rbx-doorbox-modal__glass-row input {
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.rbx-doorbox-modal__glass-row label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #6b6c73;
}

.rbx-doorbox-modal__glass-remove {
  border: 0;
  background: transparent;
  color: #b42318;
  font-size: 18px;
  cursor: pointer;
  padding: 0 6px;
  height: 38px;
}

.rbx-doorbox-modal__row-area {
  margin-top: 12px;
  font-size: 13px;
  color: #4d4e55;
}

.rbx-doorbox-modal__row-area strong {
  color: #111111;
}

.rbx-doorbox-modal__toolbar {
  margin-top: 14px;
}

.rbx-doorbox-modal__add {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px dashed #c9c9c9;
  color: #4d4e55;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
}

.rbx-doorbox-modal__add:hover {
  border-color: #92b6bb;
  color: #2e2f35;
}

.rbx-doorbox-modal__result {
  margin-top: 14px;
  font-size: 14px;
  color: #4d4e55;
}

.rbx-doorbox-modal__result strong {
  color: #111111;
}

.rbx-doorbox-modal__actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.rbx-doorbox-modal__apply {
  appearance: none;
  -webkit-appearance: none;
  background: #92b6bb;
  color: #ffffff;
  border: 0;
  padding: 12px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rbx-doorbox-modal__apply:hover {
  opacity: 0.92;
}

/* =========================================================
   Übersicht (Box im Überblick) — Moodbooster-Struktur
   ========================================================= */

.rbx-doorbox-overview {
  margin-top: 24px;
}

.rbx-doorbox-overview__title {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #111111;
}

.rbx-doorbox-overview__card {
  background: #f3f3f3;
  border-radius: 22px;
  padding: 16px;
}

.rbx-doorbox-overview__note {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4d4e55;
}

.rbx-doorbox-overview__list {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

/* Material-Card — exakt wie Moodbooster rbx-moodbooster__bundle-item */
.rbx-doorbox-bundle .rbx-doorbox-overview__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #fff;
  margin-bottom: 12px;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__media {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__content {
  min-width: 0;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__title-wrap {
  min-width: 0;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__product-title {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: #111111;
  font-weight: 600;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__price strong,
.rbx-doorbox-bundle .rbx-doorbox-overview__price {
  font-size: 15px;
  line-height: 1.4;
  color: #111111;
  font-weight: 700;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__meta {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b6c73;
}

.rbx-doorbox-bundle .rbx-doorbox-overview__meta-line {
  display: block;
  margin-top: 2px;
}

.rbx-doorbox-overview__divider {
  height: 1px;
  background: rgba(17, 17, 17, 0.08);
  margin: 6px 0 12px;
}

.rbx-doorbox-overview__materials-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2e2f35;
}

.rbx-doorbox-overview__optional-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #4d4e55;
  cursor: pointer;
  user-select: none;
}

.rbx-doorbox-overview__optional-toggle input {
  margin: 0;
}

.rbx-doorbox-overview__item.is-off {
  opacity: 0.55;
}

.rbx-doorbox-overview__totals {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.rbx-doorbox-overview__totals span {
  font-size: 15px;
  line-height: 1.5;
  color: #111111;
}

.rbx-doorbox-overview__totals strong {
  font-weight: 700;
  color: #1f2328;
  font-size: 18px;
  line-height: 1.2;
}

.rbx-doorbox-cta-wrap {
  margin-top: 14px;
}

.rbx-doorbox-cta {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #92b6bb;
  color: #ffffff;
  border: 0;
  padding: 22px 28px;
  border-radius: 999px;
  font: inherit;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rbx-doorbox-cta span {
  color: #ffffff;
}

.rbx-doorbox-cta:hover {
  opacity: 0.92;
}

.rbx-doorbox-cta[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.rbx-doorbox-feedback {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ---------- Mobile ---------- */

@media screen and (max-width: 989px) {
  .rbx-doorbox-colors__range-wrap {
    --rbx-doorbox-thumb-size: 16px;
    --rbx-doorbox-track-height: 10px;
  }

  .rbx-doorbox-colors__range-labels {
    font-size: 13px;
  }

  .rbx-doorbox-colors__grid {
    gap: 10px;
  }
}

@media screen and (max-width: 749px) {
  .rbx-doorbox-colors__section {
    margin-bottom: 22px;
  }

  .rbx-doorbox-colors__title {
    font-size: 1.05rem;
  }

  .rbx-doorbox-colors__subtitle,
  .rbx-doorbox-colors__collection-name,
  .rbx-doorbox-colors__selection-note {
    font-size: 13px;
  }

  .rbx-doorbox-colors__range-wrap,
  .rbx-doorbox-colors__range-labels {
    display: none;
  }

  .rbx-doorbox-colors__family-buttons {
    display: block;
    margin-bottom: 16px;
  }

  .rbx-doorbox-colors__family-button {
    min-height: 40px;
    font-size: 13px;
    padding: 9px 10px;
  }

  .rbx-doorbox-colors__grid {
    grid-template-columns: repeat(auto-fit, minmax(84px, 84px));
    justify-content: center;
    gap: 12px;
  }

  .rbx-doorbox-colors__swatch {
    border-radius: 14px;
  }

  .rbx-doorbox-colors__summary-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
  }

  .rbx-doorbox-colors__summary-swatch {
    width: 72px;
    border-radius: 14px;
  }

  .rbx-doorbox-calc__choice-grid--three {
    grid-template-columns: 1fr;
  }

  .rbx-doorbox-modal__fields {
    grid-template-columns: 1fr;
  }

  .rbx-doorbox-modal__glass-row {
    grid-template-columns: 1fr 1fr auto;
  }

  .rbx-doorbox-overview__title {
    font-size: 1.6rem;
  }

  .rbx-doorbox-bundle .rbx-doorbox-overview__item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .rbx-doorbox-bundle .rbx-doorbox-overview__media {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .rbx-doorbox-bundle .rbx-doorbox-overview__media img {
    border-radius: 10px;
  }

  .rbx-doorbox-bundle .rbx-doorbox-overview__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.rbx-moodbooster__color-section {
  margin-bottom: 28px;
}

.rbx-moodbooster__color-head {
  margin-bottom: 14px;
}

.rbx-moodbooster__color-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600;
  color: #111111;
}

.rbx-moodbooster__color-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4d4e55;
}

.rbx-moodbooster__range-wrap {
  --rbx-mood-thumb-size: 18px;
  --rbx-mood-track-height: 10px;
  margin-bottom: 18px;
}

.rbx-moodbooster__range-labels {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  width: 100%;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.25;
  color: #6b6c73;
  font-weight: 500;
}

.rbx-moodbooster__range-labels span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.rbx-moodbooster__range {
  display: block;
  width: 88.5%;
  margin-left: 5.75%;
  margin-right: 5.75%;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.rbx-moodbooster__range:focus {
  outline: none;
}

.rbx-moodbooster__range::-webkit-slider-runnable-track {
  height: var(--rbx-mood-track-height);
  border-radius: 999px;
  background: #92b6bb;
}

.rbx-moodbooster__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--rbx-mood-thumb-size);
  height: var(--rbx-mood-thumb-size);
  margin-top: calc((var(--rbx-mood-track-height) - var(--rbx-mood-thumb-size)) / 2);
  border-radius: 50%;
  border: 0;
  background: #f5a623;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.rbx-moodbooster__range::-moz-range-track {
  height: var(--rbx-mood-track-height);
  border-radius: 999px;
  background: #92b6bb;
}

.rbx-moodbooster__range::-moz-range-thumb {
  width: var(--rbx-mood-thumb-size);
  height: var(--rbx-mood-thumb-size);
  border-radius: 50%;
  border: 0;
  background: #f5a623;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.rbx-moodbooster__collection-name {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-moodbooster__color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 84px);
  gap: 12px;
  justify-content: start;
  align-items: start;
}

.rbx-moodbooster__color-tile {
  display: block;
  width: 84px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}

.rbx-moodbooster__color-tile.is-hidden {
  display: none;
}

.rbx-moodbooster__color-swatch {
  display: block;
  width: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background-size: 100% calc(100% + 3px);
  background-position: center center;
  background-repeat: no-repeat;
}
.rbx-moodbooster__color-tile:hover .rbx-moodbooster__color-swatch,
.rbx-moodbooster__color-tile:focus-visible .rbx-moodbooster__color-swatch {
  transform: translateY(-2px);
  border-color: rgba(47, 47, 47, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.12);
}

.rbx-moodbooster__color-tile.is-active .rbx-moodbooster__color-swatch {
  box-shadow: 0 0 0 2px #92b6bb;
  border-color: #92b6bb;
}

.rbx-moodbooster__color-image {
  display: none;
}

.rbx-moodbooster__color-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.3em;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.15;
  text-align: center;
  color: #2f2f2f;
  word-break: break-word;
}

.rbx-moodbooster__selection-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-moodbooster__selection-note strong {
  color: #111111;
}

.rbx-moodbooster__family-buttons {
  display: none;
}

.rbx-moodbooster__family-button-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rbx-moodbooster__family-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(47, 47, 47, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #4d4e55;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rbx-moodbooster__family-button:hover {
  transform: translateY(-1px);
}

.rbx-moodbooster__family-button.is-active {
  background: #92b6bb;
  border-color: #92b6bb;
  color: #111111;
}

.rbx-moodbooster__color-grid-wrap.is-collapsed {
  display: none;
}

.rbx-moodbooster__selection-note.is-collapsed {
  display: none;
}

.rbx-moodbooster__summary[hidden] {
  display: none !important;
}

.rbx-moodbooster__summary {
  margin-top: 14px;
}

.rbx-moodbooster__summary-card {
  width: 100%;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(47, 47, 47, 0.10);
  border-radius: 20px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rbx-moodbooster__summary-card:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 47, 47, 0.16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.rbx-moodbooster__summary-swatch {
  display: block;
  width: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.08);
  background-size: 100% calc(100% + 3px);
  background-position: center center;
  background-repeat: no-repeat;
}

.rbx-moodbooster__summary-content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rbx-moodbooster__summary-overline {
  font-size: 12px;
  line-height: 1.2;
  color: #6b6c73;
}

.rbx-moodbooster__summary-label {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  color: #111111;
}

.rbx-moodbooster__summary-family {
  font-size: 13px;
  line-height: 1.3;
  color: #4d4e55;
}

.rbx-moodbooster__summary-icon {
  display: flex;               /* wichtig für saubere Zentrierung */
  align-items: center;
  justify-content: center;

  width: 24px;                 /* feste Box → saubere Ausrichtung */
  height: 24px;

  margin: 0;                   /* verhindert Versatz */
  padding: 0;

  background: transparent;
  border-radius: 0;

  color: #c98a2e;
  font-size: 20px;             /* minimal kleiner → wirkt sauberer */
  line-height: 1;

  flex-shrink: 0;
}

@media screen and (max-width: 989px) {
  .rbx-moodbooster__range-wrap {
    --rbx-mood-thumb-size: 16px;
    --rbx-mood-track-height: 10px;
  }

  .rbx-moodbooster__range-labels {
    font-size: 13px;
  }

  .rbx-moodbooster__color-grid {
    gap: 10px;
  }
}

@media screen and (max-width: 749px) {
  .rbx-moodbooster__color-section {
    margin-bottom: 22px;
  }

  .rbx-moodbooster__color-title {
    font-size: 1.05rem;
  }

  .rbx-moodbooster__color-subtitle,
  .rbx-moodbooster__collection-name,
  .rbx-moodbooster__selection-note {
    font-size: 13px;
  }

  .rbx-moodbooster__range-wrap,
  .rbx-moodbooster__range-labels {
    display: none;
  }

  .rbx-moodbooster__family-buttons {
    display: block;
    margin-bottom: 16px;
  }

  .rbx-moodbooster__family-button-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .rbx-moodbooster__family-button {
    min-height: 40px;
    font-size: 13px;
    padding: 9px 10px;
  }

  .rbx-moodbooster__color-grid {
  grid-template-columns: repeat(auto-fit, minmax(84px, 84px));
  justify-content: center;
  gap: 12px;
}

  .rbx-moodbooster__color-swatch {
    border-radius: 14px;
  }

  .rbx-moodbooster__color-name {
    font-size: 0.82rem;
    margin-top: 6px;
    line-height: 1.15;
  }

    .rbx-moodbooster__summary-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
  }

  .rbx-moodbooster__summary-swatch {
    width: 72px;
    border-radius: 14px;
  }

  .rbx-moodbooster__summary-label {
    font-size: 15px;
  }

  .rbx-moodbooster__summary-family {
    font-size: 12px;
  }
}

.rbx-moodbooster__title {
  margin-top: 0;
}

.rbx-moodbooster__section {
  margin-top: 20px;
}

.rbx-moodbooster__choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rbx-moodbooster__choice-grid .rbx-paintcalc__helper-btn {
  width: 100%;
}

.rbx-moodbooster__toggle-card {
  margin-top: 12px;
}

.rbx-moodbooster__bundle-header {
  margin-top: 6px;
  margin-bottom: 14px;
}

.rbx-moodbooster__bundle-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}

.rbx-moodbooster__bundle-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4d4e55;
}

.rbx-moodbooster__bundle-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.rbx-moodbooster__bundle-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #fff;
  /* rbx: doppelten Abstand entfernt (Grid-gap reicht) – engere Produktpositionen */
  margin-bottom: 0;
}

.rbx-moodbooster__bundle-item-media {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rbx-moodbooster__bundle-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.rbx-moodbooster__bundle-item-content {
  min-width: 0;
}

.rbx-moodbooster__bundle-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rbx-moodbooster__bundle-item-title-wrap {
  min-width: 0;
}

.rbx-moodbooster__bundle-item-title {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: #111111;
  font-weight: 600;
}

.rbx-moodbooster__bundle-item-meta {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b6c73;
}

.rbx-moodbooster__bundle-item-qty {
  display: inline-block;
}

.rbx-moodbooster__item-detail {
  margin-top: 4px;
  line-height: 1.45;
}

.rbx-moodbooster__bundle-item-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rbx-moodbooster__bundle-item-price strong {
  font-size: 15px;
  line-height: 1.4;
  color: #111111;
  font-weight: 700;
}

.rbx-moodbooster__bundle-item-actions {
  margin-top: 8px;
}

.rbx-moodbooster__toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #4d4e55;
}

.rbx-moodbooster__toggle-inline input {
  margin: 0;
}

.rbx-moodbooster__qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.rbx-moodbooster__qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  background: #fff;
  color: #111111;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.rbx-moodbooster__qty-btn:hover {
  background: #f5f6f7;
}

.rbx-moodbooster__qty-value {
  min-width: 34px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-left: 1px solid rgba(17, 17, 17, 0.12);
  border-right: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #111111;
}

.rbx-moodbooster__variant-row {
  margin-top: 10px;
}

.rbx-moodbooster__variant-label {
  font-size: 12px;
  color: #6b6c73;
  margin-bottom: 6px;
}

.rbx-moodbooster__glove-color-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rbx-moodbooster__glove-color-grid .rbx-moodbooster__color-btn {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.rbx-moodbooster__size-grid {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rbx-moodbooster__size-grid button {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

.rbx-moodbooster__size-grid button.is-active {
  background: #111;
  color: #fff;
}

.rbx-moodbooster__color-btn {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #111111;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.rbx-moodbooster__color-btn:hover {
  transform: translateY(-1px);
}

.rbx-moodbooster__color-btn--cream {
  background: #f5f1e8;
}

.rbx-moodbooster__color-btn--blue {
  background: #cfe5f7;
}

.rbx-moodbooster__color-btn--pink {
  background: #f6d5df;
}

.rbx-moodbooster__color-btn.is-active {
  box-shadow: 0 0 0 2px #111111;
  border-color: #111111;
}

.rbx-moodbooster__size-btn {
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.rbx-moodbooster__size-btn:hover {
  transform: translateY(-1px);
}

.rbx-moodbooster__size-btn.is-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.rbx-moodbooster [data-people],
.rbx-moodbooster [data-holes],
.rbx-moodbooster [data-altbau],
.rbx-moodbooster [data-calc-mode],
.rbx-moodbooster [data-mode],
.rbx-moodbooster [data-finish] {
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rbx-moodbooster [data-people].is-active,
.rbx-moodbooster [data-people-preset].is-active,
.rbx-moodbooster [data-holes].is-active,
.rbx-moodbooster [data-altbau].is-active,
.rbx-moodbooster [data-calc-mode].is-active,
.rbx-moodbooster [data-mode].is-active,
.rbx-moodbooster [data-finish].is-active {
  background-color: #92b6bb !important;
  border-color: #92b6bb !important;
  color: #111111 !important;
  box-shadow: none !important;
}

/* rbx: abgewähltes Optionsprodukt – ausgegraut, aber sichtbar & wieder anwählbar */
.rbx-moodbooster__bundle-item.is-deselected {
  opacity: 0.55;
}
.rbx-moodbooster__bundle-item.is-deselected .rbx-moodbooster__bundle-item-price {
  text-decoration: line-through;
  opacity: 0.7;
}

.rbx-moodbooster__people-stepper-wrap {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.rbx-moodbooster__people-stepper-label {
  font-size: 13px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-moodbooster__people-stepper {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  max-width: 340px;
  border: 1px solid #d9dadd;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
}

.rbx-moodbooster__people-stepper-btn {
  width: 84px;
  min-width: 84px;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rbx-moodbooster__people-stepper-btn:hover {
  background: #ffffff;
}

.rbx-moodbooster__people-stepper-input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-left: 1px solid #d9dadd;
  border-right: 1px solid #d9dadd;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: #111111;
  background: #ffffff;
  padding: 20px 10px;
  -moz-appearance: textfield;
}

.rbx-moodbooster__people-stepper-input::-webkit-outer-spin-button,
.rbx-moodbooster__people-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rbx-moodbooster__people-stepper-note {
  font-size: 13px;
  line-height: 1.4;
  color: #4d4e55;
}

.rbx-moodbooster__item-meta--detail {
  margin-top: 2px;
}

.rbx-moodbooster__glove-people-wrap {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.rbx-moodbooster__glove-person {
  padding: 12px 14px;
  border: 1px solid #e2dfdb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.rbx-moodbooster__glove-person-title {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  color: #31343f;
  margin-bottom: 8px;
}

.rbx-moodbooster__item-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rbx-moodbooster__item-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.rbx-moodbooster__item-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-moodbooster__item-check-box {
  width: 22px;
  height: 22px;
  border: 1.5px solid #bfc3c8;
  border-radius: 6px;
  background: #fff;
  display: inline-block;
  position: relative;
}

.rbx-moodbooster__item-check input:checked + .rbx-moodbooster__item-check-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rbx-moodbooster__item.is-unchecked {
  opacity: 0.55;
}

.rbx-moodbooster__totals {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.rbx-moodbooster__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #111111;
}

.rbx-moodbooster__total-row + .rbx-moodbooster__total-row {
  margin-top: 8px;
}

.rbx-moodbooster__totals-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rbx-moodbooster__total-row strong[data-result="total_price"] {
  font-weight: 700;
  color: #1f2328;
  font-size: 18px;
  line-height: 1.2;
}

.rbx-moodbooster__qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.rbx-moodbooster__qty-stepper-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.rbx-moodbooster__qty-stepper-btn:hover {
  background: #f5f6f7;
}

.rbx-moodbooster__qty-stepper-value {
  min-width: 44px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-left: 1px solid rgba(17, 17, 17, 0.12);
  border-right: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.rbx-moodbooster__sticky-cta {
  position: static;
}

.rbx-moodbooster__cta-button {
  flex-direction: column;
  gap: 4px;
}

.rbx-moodbooster__cta-mainline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media screen and (max-width: 749px) {
  .rbx-moodbooster__choice-grid {
    grid-template-columns: 1fr;
  }

  .rbx-moodbooster__bundle-title-wrap {
    align-items: flex-start;
    gap: 12px;
  }

  .rbx-moodbooster__overview-title {
    font-size: 1.8rem;
    line-height: 1.05;
  }

  .rbx-moodbooster__bundle-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .rbx-moodbooster__bundle-item-media {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .rbx-moodbooster__bundle-item-media img {
    border-radius: 10px;
  }

  .rbx-moodbooster__bundle-item-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .rbx-moodbooster__color-grid {
    gap: 7px;
  }

  .rbx-moodbooster__size-grid {
    gap: 5px;
  }

  .rbx-moodbooster__size-btn {
    padding: 5px 8px;
  }

  .rbx-paintcalc__inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .rbx-paintcalc__result-card {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 3px;
    border-radius: 22px;
  }

  .rbx-moodbooster__sticky-start-anchor {
    display: none;
  }

  .rbx-moodbooster__totals {
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .rbx-moodbooster__total-row + .rbx-moodbooster__total-row {
    margin-top: 4px;
  }

  .rbx-moodbooster__sticky-cta {
    position: sticky;
    bottom: calc(62px + 14px + env(safe-area-inset-bottom));
    z-index: 20;
    background: transparent;
    margin-top: 8px;
    margin-bottom: 14px;
    padding: 0;
  }

  .rbx-moodbooster__sticky-cta .rbx-paintcalc__cta-wrap {
    margin: 0 !important;
    padding: 0;
  }

  .rbx-moodbooster__sticky-cta .rbx-paintcalc__cta {
    width: calc(100% + 16px);
    margin-left: -8px;
    margin-right: -8px;
    border-radius: 999px;
    background: rgba(168, 192, 198, 0.94);
    -webkit-backdrop-filter: blur(6px) saturate(112%);
    backdrop-filter: blur(6px) saturate(112%);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  }
}

.rbx-moodbooster__bundle-item-badge-row {
  display: none;
}

.rbx-room-modal[hidden] {
  display: none !important;
}

.rbx-room-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
}

.rbx-room-modal[hidden] {
  display: none !important;
}

.rbx-room-modal {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100% !important;
  pointer-events: auto !important;
}

.rbx-room-modal:not([hidden]) {
  display: block !important;
}

.rbx-room-modal .rbx-room-modal__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 2147483000 !important;
  cursor: pointer;
  pointer-events: auto !important;
}

.rbx-room-modal .rbx-room-modal__dialog {
  position: absolute !important;
  z-index: 2147483001 !important;
  width: min(620px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

.rbx-whitebox__totals {
  display: grid;
  gap: 10px;
}

.rbx-whitebox__total-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 16px;
}

.rbx-whitebox__totals-price-wrap {
  justify-self: end;
  text-align: right;
}

.rbx-whitebox__total-row strong[data-result="total_price"] {
  display: block;
  text-align: right;
}

.rbx-whitebox__total-row--saving {
  display: none !important;
}

.rbx-moodbooster__calc-edit-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.rbx-moodbooster__calc-edit-btn-label {
  display: inline-flex;
  align-items: center;
}

.rbx-moodbooster__calc-edit-icon-wrap[hidden] {
  display: none !important;
}

.rbx-moodbooster__calc-edit-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rbx-moodbooster__calc-edit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 24px;
  line-height: 1;
  color: #313131;
}

.rbx-moodbooster__calc-edit-btn.is-active .rbx-moodbooster__calc-edit-icon {
  color: #313131;
}

/* ═══ Einheitliches Button-Raster (alle Konfiguratoren) ════════════════════
   Vorher hatte jede Auswahlzeile ihr eigenes Layout: das Modus-Paar ein
   2er-Raster, matt/seidenmatt ein 3er-Raster mit nur zwei Buttons (daher
   schmaler), der Mengen-Regler eine Flexbox mit fester Pixelbreite. Unter-
   einander sah das nach drei verschiedenen Systemen aus.

   Ab hier gilt fuer jede Zeile dasselbe Raster: zwei gleich breite Spalten,
   10 px Abstand, gleiche Hoehe. Der Mengen-Regler belegt Spalte 1, die
   Einheit (m²) steht in Spalte 2. Zeilen, die bewusst ueber die volle
   Breite laufen, behalten das ueber grid-column: 1 / -1.

   Derselbe Block steht identisch in allen Konfigurator-Stylesheets, damit
   die Ladereihenfolge keine Rolle spielt. */

.rbx-whitebox__choice-grid,
.rbx-moodbooster__choice-grid,
.rbx-doorbox__choice-grid,
.rbx-lacquercalc__type-grid,
.rbx-paintcalc__mode-grid,
.rbx-paintcalc__calc-mode,
.rbx-paintcalc__material-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.rbx-whitebox__choice-grid > *,
.rbx-moodbooster__choice-grid > *,
.rbx-doorbox__choice-grid > *,
.rbx-lacquercalc__type-grid > *,
.rbx-paintcalc__mode-grid > *,
.rbx-paintcalc__calc-mode > *,
.rbx-paintcalc__material-options > * {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  flex: unset;
  white-space: normal;
}

/* Buttons in diesen Rastern: gleiche Hoehe, gleiche Rundung, zentriert. */
.rbx-whitebox__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-moodbooster__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-doorbox__choice-grid > .rbx-paintcalc__helper-btn,
.rbx-lacquercalc__type-grid > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__calc-mode > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__material-options > .rbx-paintcalc__helper-btn,
.rbx-paintcalc__mode-grid > .rbx-paintcalc__mode {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  padding: 0.9rem 1rem;
  border-radius: 15px;
  font-size: 1rem;
  line-height: 1.15;
}

/* Volle Breite bleibt volle Breite. */
.rbx-paintcalc__mode--full,
.rbx-paintcalc__mode-grid > .rbx-paintcalc__mode--full,
.rbx-whitebox__choice-grid > .is-full,
.rbx-moodbooster__choice-grid > .is-full,
.rbx-doorbox__choice-grid > .is-full {
  grid-column: 1 / -1;
}

/* Mengen-Regler: Spalte 1 = Regler, Spalte 2 = Einheit.
   Die Einheit bekommt exakt eine Rasterspalte, der Regler fuellt die andere;
   seine drei Teile (−, Zahl, +) teilen sich diese Spalte zu gleichen Teilen. */
.rbx-paintcalc__measure-row {
  display: block;
  width: 100%;
}

.rbx-paintcalc__measure-row > .rbx-paintcalc__controls {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.rbx-paintcalc__controls > .rbx-paintcalc__stepper-btn,
.rbx-paintcalc__controls > .rbx-paintcalc__input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 62px;
}

.rbx-paintcalc__controls > .rbx-paintcalc__unit {
  flex: 0 0 calc(50% - 5px);
  display: flex;
  align-items: center;
  height: 62px;
  margin-left: 10px;
  padding-left: 0;
}

/* Personen-Regler: dieselbe Aussenbreite wie eine Rasterspalte. */
.rbx-whitebox__people-stepper,
.rbx-moodbooster__people-stepper {
  width: calc(50% - 5px);
  max-width: calc(50% - 5px);
  min-width: 0;
}

@media screen and (max-width: 749px) {
  /* Auf dem Handy bleiben es zwei Spalten — die Beschriftungen sind kurz
     genug, und ein einheitliches Raster ist wichtiger als eine Zeile mehr. */
  .rbx-whitebox__choice-grid,
  .rbx-moodbooster__choice-grid,
  .rbx-doorbox__choice-grid,
  .rbx-lacquercalc__type-grid,
  .rbx-paintcalc__mode-grid,
  .rbx-paintcalc__calc-mode,
  .rbx-paintcalc__material-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rbx-whitebox__choice-grid > *,
  .rbx-moodbooster__choice-grid > *,
  .rbx-doorbox__choice-grid > *,
  .rbx-lacquercalc__type-grid > *,
  .rbx-paintcalc__mode-grid > *,
  .rbx-paintcalc__calc-mode > *,
  .rbx-paintcalc__material-options > * {
    min-height: 56px;
  }

  .rbx-whitebox__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-moodbooster__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-doorbox__choice-grid > .rbx-paintcalc__helper-btn,
  .rbx-lacquercalc__type-grid > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__calc-mode > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__material-options > .rbx-paintcalc__helper-btn,
  .rbx-paintcalc__mode-grid > .rbx-paintcalc__mode {
    padding: 0.8rem 0.6rem;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .rbx-paintcalc__controls > .rbx-paintcalc__stepper-btn,
  .rbx-paintcalc__controls > .rbx-paintcalc__input,
  .rbx-paintcalc__controls > .rbx-paintcalc__unit {
    height: 56px;
  }

  .rbx-paintcalc__controls > .rbx-paintcalc__unit {
    flex: 0 0 calc(50% - 4px);
    margin-left: 8px;
  }

  .rbx-whitebox__people-stepper,
  .rbx-moodbooster__people-stepper {
    width: calc(50% - 4px);
    max-width: calc(50% - 4px);
  }
}

.rbx-doorbox-modal--kitchen[hidden] {
    display: none !important;
  }
  .rbx-doorbox-modal--kitchen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    pointer-events: auto !important;
  }
  .rbx-doorbox-modal--kitchen .rbx-doorbox-modal__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(20, 22, 28, 0.55) !important;
    backdrop-filter: blur(2px);
    cursor: pointer;
    pointer-events: auto !important;
  }
  .rbx-doorbox-modal--kitchen .rbx-doorbox-modal__dialog {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: min(620px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    pointer-events: auto !important;
  }
  .rbx-doorbox-modal--kitchen .rbx-doorbox-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: none;
  }
  .rbx-doorbox-modal--kitchen .rbx-doorbox-modal__close:hover {
    opacity: 0.7;
  }
  @media (max-width: 749px) {
    .rbx-doorbox-modal--kitchen .rbx-doorbox-modal__dialog {
      padding: 24px 20px;
      border-radius: 20px;
    }
  }

  .rbx-kitchen-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .rbx-kitchen-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 12px 6px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    min-height: 84px;
  }
  .rbx-kitchen-type-btn:hover {
    border-color: #92b6bb;
    background: #f7fafb;
  }
  .rbx-kitchen-type-btn.is-active {
    border-color: #92b6bb;
    background: #eaf2f3;
    box-shadow: 0 0 0 1px #92b6bb inset;
  }
  .rbx-kitchen-type-btn__icon {
    color: #1b1c20;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rbx-kitchen-type-btn__icon svg {
    width: 32px;
    height: 32px;
    display: block;
  }
  .rbx-kitchen-type-btn__label {
    font-size: 11.5px;
    line-height: 1.25;
    color: #1b1c20;
  }
  @media (max-width: 520px) {
    .rbx-kitchen-type-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media (max-width: 360px) {
    .rbx-kitchen-type-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  [data-item-interior-section][hidden],
  [data-item-compartments-section][hidden] {
    display: none !important;
  }
  .rbx-kitchen-interior-hint {
    font-weight: 400;
    color: #6b6c73;
    font-size: 0.9em;
  }
/* Bewusst hier und nicht in einem der sechs Konfigurator-Stylesheets: der
         Hinweis soll ueberall gleich aussehen, egal welche CSS-Datei die Seite
         gerade laedt. Doppelt ausgeliefertes CSS kostet ein paar Byte, eine
         auseinandergelaufene Optik kostet Vertrauen. */
      .rbx-lackvor {
        margin: 0 0 14px;
        padding: 10px 14px;
        border-radius: 12px;
        background: #f3efe7;
        color: #313131;
        font-size: 13px;
        line-height: 1.45;
      }
      .rbx-lackvor strong { font-weight: 700; }