.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;
  }
}

/* ═══ 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-lacquercalc .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-lacquercalc .rbx-paintcalc__material--static .rbx-paintcalc__material-label {
  line-height: 1;
}

.rbx-lacquercalc .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-lacquercalc .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-lacquercalc .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-lacquercalc .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-lacquercalc .rbx-paintcalc__material--static .rbx-finish-i:hover + .rbx-finish-tooltip {
  display: block;
}

.rbx-lacquercalc .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-lacquercalc .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;
}

/* Neue Auswahl oben */
.rbx-lacquercalc__selection {
  margin: 22px 0 22px;
}

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

.rbx-lacquercalc__type-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-lacquercalc__type-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-lacquercalc__type-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-lacquercalc__type-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-lacquercalc__type-icon {
  width: 26px;
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2e2f35;
  flex-shrink: 0;
}

.rbx-lacquercalc__type-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  stroke: currentColor;
}

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

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

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

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

/* Berechnungsblock */
.rbx-lacquercalc__calculation-block {
  margin: 8px 0 24px;
}

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

.rbx-lacquercalc__calc-item {
  display: block;
}

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

.rbx-lacquercalc__calc-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.rbx-lacquercalc__calc-status {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid #c7c7c7;
  background: #ffffff;
  position: relative;
  box-sizing: border-box;
}

.rbx-lacquercalc__calc-status::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-lacquercalc__calc-item.is-complete .rbx-lacquercalc__calc-status {
  background: #92b6bb;
  border-color: #92b6bb;
}

.rbx-lacquercalc__calc-item.is-complete .rbx-lacquercalc__calc-status::after {
  opacity: 1;
}

.rbx-lacquercalc__calc-btn-edit {
  font-size: 15px;
  line-height: 1;
  color: #73757e;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rbx-lacquercalc__calc-item.is-complete .rbx-lacquercalc__calc-btn-edit {
  opacity: 1;
}

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

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

/* Overview */
.rbx-lacquercalc__overview {
  margin-top: 20px;
}

.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-lacquercalc__overview-card {
  background: #f3f3f3;
  border-radius: 24px;
  padding: 18px 18px 16px;
}

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

.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-lacquercalc__product-card + .rbx-lacquercalc__product-card {
  margin-top: 12px;
}

.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-lacquercalc__product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.rbx-lacquercalc__product-title-wrap {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.rbx-lacquercalc__product-title,
.rbx-lacquercalc__product-title.h1,
.rbx-lacquercalc__product-title.h2,
.rbx-lacquercalc__product-title.h3,
.rbx-lacquercalc__product-title.h4,
.rbx-lacquercalc__product-title.h5,
.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-lacquercalc__product-price {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

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

.rbx-lacquercalc__product-body {
  min-width: 0;
}

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

.rbx-lacquercalc__product-head .rbx-lacquercalc__product-price {
  margin-top: 0;
}

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

.rbx-lacquercalc__product-body strong {
  color: #111111;
  font-weight: 700;
}

.rbx-lacquercalc__included-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #111111;
}

.rbx-lacquercalc__included-line::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #92b6bb;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.rbx-lacquercalc__product-body .rbx-lacquercalc__included-line::after {
  content: none !important;
}

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

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

.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-lacquercalc__overview-total-row strong {
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2328;
}

.rbx-lacquercalc__overview-cta {
  margin-top: 0;
}

/* Primer Toggle oben */
.rbx-lacquercalc__primer-inline-row {
  margin: 8px 0 6px;
}

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

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

.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-lacquercalc__primer-inline-toggle .rbx-paintcalc__surface-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  display: block;
}

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

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

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

/* Primer Karte grau wenn nicht aktiv */
.rbx-lacquercalc__product-card[data-overview-primer].is-unchecked {
  background: #f1f1f1 !important;
}

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

/* Extra Box */
.rbx-lacquercalc__extra-box {
  background: #f3f3f3;
  border-radius: 24px;
  padding: 18px;
  margin-top: 18px;
}

.rbx-lacquercalc__extra-primer {
  margin-top: 18px;
}

.rbx-lacquercalc .rbx-paintcalc__extra-card {
  background: #f3f3f3;
  border-radius: 24px;
  padding: 18px;
}

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

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

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

.rbx-lacquercalc .rbx-extra-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

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

.rbx-lacquercalc .rbx-extra-row__label-price {
  font-size: 1.28rem;
  line-height: 1.1;
  color: #4d4e55;
  font-weight: 400;
  white-space: nowrap;
}

.rbx-lacquercalc .rbx-extra-row__separator {
  color: #4d4e55;
}

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

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

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

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

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

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

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

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

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

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

/* Extra Primer Checkbox unten */
.rbx-lacquercalc .rbx-paintcalc__surface-option {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  cursor: pointer;
}

.rbx-lacquercalc .rbx-paintcalc__surface-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rbx-lacquercalc .rbx-paintcalc__surface-option > .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;
  position: relative;
  margin-top: 2px;
}

.rbx-lacquercalc .rbx-paintcalc__surface-option > .rbx-paintcalc__surface-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.rbx-lacquercalc .rbx-paintcalc__surface-checkbox:not(:checked) + .rbx-paintcalc__surface-box {
  background: #d6dce0;
}

.rbx-lacquercalc .rbx-paintcalc__surface-checkbox:not(:checked) + .rbx-paintcalc__surface-box::after {
  opacity: 0;
}

.rbx-lacquercalc .rbx-paintcalc__surface-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rbx-lacquercalc .rbx-paintcalc__surface-text {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
    color: #4d4e55;
}

.rbx-lacquercalc .rbx-paintcalc__surface-hint {
  font-size: 13px;
  line-height: 1.45;
  color: #6b6c73;
}

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

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

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

  .rbx-lacquercalc__calc-btn {
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 14px;
  }

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

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

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

  .rbx-lacquercalc__overview-card,
  .rbx-lacquercalc__extra-box,
  .rbx-lacquercalc .rbx-paintcalc__extra-card {
    border-radius: 22px;
    padding: 14px;
  }

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

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

  .rbx-lacquercalc__product-media {
    width: 56px;
    min-width: 56px;
    height: 56px;
    border-radius: 12px;
  }

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

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

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

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

  .rbx-lacquercalc__overview-total-row {
    font-size: 0.95rem;
  }

  .rbx-lacquercalc__overview-total-row strong {
    font-size: 1.05rem;
  }

  .rbx-lacquercalc .rbx-extra-row {
    gap: 8px;
  }

  .rbx-lacquercalc .rbx-extra-row--single {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

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

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

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

  .rbx-lacquercalc__primer-inline-label,
  .rbx-lacquercalc .rbx-paintcalc__surface-text,
  .rbx-lacquercalc .rbx-paintcalc__surface-hint {
    font-size: 12px;
  }
}
/* =========================================================
   Neue Checkbox-Optik für Modal-Optionen
   ========================================================= */

.rbx-lacquercalc .rbx-room-modal__checkline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 6px;
  cursor: pointer;
  position: relative;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: #2e2f35;
}

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

.rbx-lacquercalc .rbx-room-modal__checkmark {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #c9c9c9;
  background: #ffffff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.rbx-lacquercalc .rbx-room-modal__checkmark::after {
  content: "✓";
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.rbx-lacquercalc .rbx-room-modal__checkline input[type="checkbox"]:checked + .rbx-room-modal__checkmark {
  background: #92b6bb;
  border-color: #92b6bb;
}

.rbx-lacquercalc .rbx-room-modal__checkline input[type="checkbox"]:checked + .rbx-room-modal__checkmark::after {
  opacity: 1;
}

/* =========================================================
   Ein-/ausklappbare Zusatzfelder in Modals
   ========================================================= */

.rbx-lacquercalc .rbx-room-modal__subfields {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  background: #fafafa;
}

.rbx-lacquercalc .rbx-room-modal__subfields[style*="display: none"] {
  display: none !important;
}

.rbx-lacquercalc .rbx-room-modal__subfields .rbx-room-modal__fields {
  margin-top: 0;
}

.rbx-lacquercalc .rbx-room-modal__subhint {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #6b6c73;
}

/* =========================================================
   Fläche berechnen: Button-Layout neu
   ========================================================= */

.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-lacquercalc__calc-btn:hover {
  border-color: #d8b090;
  background: #fffdfa;
}

.rbx-lacquercalc__calc-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

/* alter Kreis weg, wird jetzt zum Stift-Icon umgebaut */
.rbx-lacquercalc__calc-status {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  position: relative;
  box-sizing: border-box;
}

.rbx-lacquercalc__calc-status::before {
  content: "✎";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d88c4d;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  transition: color 0.18s ease, transform 0.18s ease;
}

.rbx-lacquercalc__calc-btn:hover .rbx-lacquercalc__calc-status::before {
  color: #facaae;
  transform: scale(1.05);
}

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

/* "Maße erfasst" Badge */
.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;
}

/* rechter blauer Haken */
.rbx-lacquercalc__calc-check {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #dfe5e7;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.rbx-lacquercalc__calc-item.is-complete .rbx-lacquercalc__calc-check {
  background: #92b6bb;
}

.rbx-lacquercalc__calc-item.is-complete .rbx-lacquercalc__calc-check::after {
  opacity: 1;
}

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

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

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

/* Optional: wenn erledigt, Button leicht anders */
.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);
}

/* =========================================================
   Küche/Treppe: vereinfachte Abschnittsblöcke
   ========================================================= */

.rbx-lacquercalc .rbx-room-modal__section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #ececec;
}

.rbx-lacquercalc .rbx-room-modal__section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.rbx-lacquercalc .rbx-room-modal__section-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: #2e2f35;
}

.rbx-lacquercalc .rbx-room-modal__section-note {
  margin: 0 0 12px;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #6b6c73;
}

/* =========================================================
   Bestehende Extra-/Primer-Checkboxen angleichen
   ========================================================= */

.rbx-lacquercalc__primer-inline-toggle .rbx-paintcalc__surface-box,
.rbx-lacquercalc .rbx-paintcalc__surface-option > .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;
  position: relative;
  box-sizing: border-box;
}

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

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

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

/* =========================================================
   Mobile
   ========================================================= */

@media screen and (max-width: 749px) {
  .rbx-lacquercalc .rbx-room-modal__checkline {
    font-size: 0.98rem;
    gap: 10px;
  }

  .rbx-lacquercalc .rbx-room-modal__checkmark {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }

  .rbx-lacquercalc .rbx-room-modal__checkmark::after {
    font-size: 12px;
  }

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

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

  .rbx-lacquercalc__calc-status,
  .rbx-lacquercalc__calc-check {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }

  .rbx-lacquercalc__calc-status::before {
    font-size: 15px;
  }

  .rbx-lacquercalc__calc-check::after {
    font-size: 12px;
  }

  .rbx-lacquercalc__calc-badge {
    font-size: 0.78rem;
    padding: 5px 8px;
  }

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

  .rbx-lacquercalc .rbx-room-modal__subfields {
    padding: 12px;
    border-radius: 14px;
  }
}
.rbx-lacquercalc__modal-checklist {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

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

.rbx-lacquercalc__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-lacquercalc__modal-check-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
}

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

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

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

.rbx-lacquercalc__modal-subfields {
  margin: -2px 0 4px 30px;
}

.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-room-modal__apply:hover {
  opacity: 0.92;
}

.rbx-room-modal__field input::placeholder {
  color: #a6a8ad;
  opacity: 1;
}
.rbx-lacquercalc__calc-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.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-lacquercalc__calc-badge {
  display: none;
}

.rbx-lacquercalc__calc-check {
  display: none;
}
.rbx-lacquercalc__hint {
  color: #d08a43;
  font-size: 14px;
  margin-top: -8px;
  margin-bottom: 16px;
  font-weight: 500;
  opacity: 0.9;
}

@media screen and (max-width: 1400px) {
  .rbx-lacquercalc .rbx-extra-row {
    grid-template-columns: minmax(0, 1fr) 200px;
  }

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

  .rbx-lacquercalc .rbx-extra-row__btn {
    width: 60px;
  }

  .rbx-lacquercalc .rbx-extra-row__input {
    width: 80px;
  }
}

/* ═══ 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);
  }
}

/* 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; }