.mbh-configurator {
  --mbh-config-font-display: var(--mbh-font-display, "Fredoka", ui-rounded, "Arial Rounded MT Bold", sans-serif);
  --mbh-config-font-body: var(--mbh-font-body, "Nunito", ui-rounded, "Avenir Next Rounded", "Trebuchet MS", sans-serif);
  --mbh-deep: #351246;
  --mbh-purple: #54206f;
  --mbh-violet: #7437a3;
  --mbh-pink: #c91868;
  --mbh-hot-pink: #ef3f91;
  --mbh-lilac: #e5c7ff;
  --mbh-mint: #c8f1df;
  --mbh-cream: #fff8f4;
  --mbh-paper: #fffefe;
  --mbh-ink: #351246;
  --mbh-muted: #66566b;
  --mbh-line: #ac7cc0;
  --mbh-shadow: 0 24px 70px rgba(66, 23, 86, .16);
  width: min(1320px, calc(100% - 32px));
  margin: 64px auto 112px;
  color: var(--mbh-ink);
  font-family: var(--mbh-config-font-body);
  font-size: 18px;
  line-height: 1.58;
  scroll-margin-top: 20px;
}

html.mbh-config-step-aligning { scroll-behavior: auto !important; }

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

.mbh-configurator button,
.mbh-configurator input,
.mbh-configurator select,
.mbh-configurator textarea { font: inherit; }

.mbh-configurator button:focus-visible,
.mbh-configurator input:focus-visible,
.mbh-configurator select:focus-visible,
.mbh-configurator textarea:focus-visible,
.mbh-configurator [tabindex]:focus-visible {
  outline: 4px solid #16a181;
  outline-offset: 3px;
}

.mbh-builder-intro {
  position: relative;
  max-width: 960px;
  margin: 0 0 34px;
  padding: 38px 44px 40px;
  overflow: hidden;
  border: 2px solid #e7c6f4;
  border-radius: 38px 90px 38px 38px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.72) 0 42px, transparent 43px),
    linear-gradient(128deg, #f2dbff 0%, #ffd7e8 55%, #c9f4e2 115%);
  box-shadow: 0 18px 52px rgba(76, 29, 97, .11);
}

.mbh-builder-intro::after {
  content: "";
  position: absolute;
  right: 82px;
  bottom: -38px;
  width: 126px;
  height: 126px;
  border: 18px dotted rgba(116, 55, 163, .18);
  border-radius: 50%;
}

.mbh-sticker {
  position: absolute;
  top: 22px;
  right: 30px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 4px solid white;
  border-radius: 22px 30px 20px 28px;
  background: var(--mbh-purple);
  color: #fff;
  font-size: 30px;
  transform: rotate(8deg);
  box-shadow: 0 10px 22px rgba(53, 18, 70, .2);
}

.mbh-eyebrow,
.mbh-step-label {
  margin: 0;
  color: var(--mbh-pink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mbh-builder-intro h2 {
  max-width: 790px;
  margin: 8px 0 14px;
  color: var(--mbh-deep);
  font-family: var(--mbh-config-font-display);
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.mbh-builder-intro > p:not(.mbh-eyebrow) {
  max-width: 730px;
  margin: 0;
  color: #503c57;
  font-size: 19px;
  line-height: 1.55;
}

.mbh-showroom-notice {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 22px;
  padding: 11px 16px;
  border: 2px solid rgba(84, 32, 111, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  color: #503c57;
  font-size: 16px;
}
.mbh-showroom-notice strong { color: var(--mbh-purple); font-weight: 700; }
.mbh-showroom-notice span { font-weight: 600; }

.mbh-product-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(620px, 700px);
  align-items: start;
  gap: 34px;
}

.mbh-preview-column {
  position: sticky;
  top: var(--mbh-preview-sticky-top, 150px);
  min-width: 0;
}

@media (min-width: 1121px) {
  .mbh-product-builder::after {
    content: "";
    grid-column: 1 / -1;
    width: 1px;
    height: max(14px, calc(var(--mbh-preview-sticky-top, 150px) - 129px));
    pointer-events: none;
  }
}

.mbh-preview-stage {
  position: relative;
  overflow: hidden;
  border: 2px solid #d9b7ea;
  border-radius: 38px;
  background:
    radial-gradient(circle at 49% 45%, rgba(255,255,255,.96) 0 12%, rgba(255,255,255,.68) 31%, transparent 60%),
    linear-gradient(145deg, #e7ceff 0%, #ffd7e9 54%, #cef4e4 116%);
  box-shadow: var(--mbh-shadow);
  isolation: isolate;
}

.mbh-preview-stage::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 20%;
  height: 65%;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  filter: blur(18px);
  z-index: -1;
}

.mbh-preview-topline {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px 0;
  font-size: 16px;
  font-weight: 700;
}

.mbh-preview-topline > span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid rgba(84, 32, 111, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 5px 14px rgba(65, 24, 84, .08);
}

.mbh-preview-topline i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #35b976;
  box-shadow: 0 0 0 5px rgba(53,185,118,.15);
}

.mbh-preview-topline button {
  min-width: 48px;
  min-height: 48px;
  border: 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  color: var(--mbh-purple);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.mbh-bracelet-preview {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 620 / 490;
  min-height: 390px;
}

.mbh-bead-canvas,
.mbh-bracelet-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.mbh-bead-canvas { z-index: 1; }
.mbh-bracelet-svg { z-index: 2; overflow: visible; transition: opacity .16s ease; }
.mbh-bracelet-preview.has-photo-renderer .mbh-svg-bead,
.mbh-bracelet-preview.has-photo-renderer .mbh-svg-letter,
.mbh-bracelet-preview.has-photo-renderer .mbh-svg-arm-label,
.mbh-bracelet-preview.has-photo-renderer .mbh-svg-active-halo { display: none; }
.mbh-moodboard { width: 100%; height: 100%; display: block; overflow: visible; }

.mbh-preview-ring-controls {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
.mbh-preview-ring-controls button {
  position: absolute;
  left: var(--ring-left);
  top: var(--ring-top);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 48px;
  min-height: 48px;
  padding: 6px 11px 6px 7px;
  transform: translate(-50%,-50%);
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(53,18,70,.88);
  color: #fff;
  box-shadow: 0 5px 14px rgba(53,18,70,.2);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  pointer-events: auto;
}
.mbh-preview-ring-controls button > span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--mbh-deep);
}
.mbh-preview-ring-controls button[aria-pressed="true"] {
  border-color: #fff;
  background: var(--mbh-pink);
  box-shadow: 0 0 0 4px rgba(239,63,145,.22), 0 7px 17px rgba(53,18,70,.22);
}
.mbh-preview-ring-controls button:focus-visible {
  outline: 4px solid #23142d;
  outline-offset: 3px;
}

.mbh-svg-ring { cursor: default; }
.mbh-svg-active-halo {
  fill: transparent;
  stroke: transparent;
  stroke-width: 5;
  stroke-dasharray: 9 9;
  transition: fill .18s ease, stroke .18s ease;
}
.mbh-svg-ring.is-active .mbh-svg-active-halo,
.mbh-svg-ring:focus .mbh-svg-active-halo {
  fill: rgba(239, 63, 145, .1);
  stroke: var(--mbh-pink);
}
.mbh-svg-bead { animation: mbh-bead-in .25s cubic-bezier(.2,.75,.3,1.3) both; animation-delay: var(--bead-delay); transform-origin: center; }
.mbh-svg-bead text,
.mbh-svg-letter text {
  font-family: var(--mbh-config-font-body);
  font-size: 9px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}
.mbh-svg-bead.is-accent text { fill: var(--mbh-pink); font-size: 11px; }
.mbh-svg-letter text { font-size: 10px; letter-spacing: 0; }
.mbh-svg-charm path { fill: none; stroke: #54206f; stroke-width: 3; }
.mbh-svg-charm circle { fill: var(--mbh-pink); stroke: #fff; stroke-width: 3; }
.mbh-svg-charm text { fill: #fff; font-size: 17px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; }
.mbh-svg-arm-label rect { fill: #351246; stroke: #fff; stroke-width: 2; }
.mbh-svg-arm-label text { fill: #fff; font-size: 14px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; }
.mbh-svg-ring:not(.is-active) .mbh-svg-arm-label { opacity: .75; }
.mbh-mood-label { fill: #fff; font-size: 18px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; }
.mbh-mood-star { fill: var(--mbh-purple); font-size: 38px; font-weight: 700; }

.mbh-preview-caption {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: -14px 22px 24px;
  padding: 18px;
  border: 2px solid rgba(84,32,111,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(8px);
}

.mbh-preview-caption > strong {
  color: var(--mbh-deep);
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}

.mbh-preview-summary { display: grid; gap: 5px; }
.mbh-preview-summary button {
  min-height: 48px;
  border: 2px solid transparent;
  padding: 8px 12px;
  border-radius: 13px;
  background: transparent;
  color: #5f4a65;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.mbh-preview-summary button.is-active {
  border-color: #b87bd0;
  background: #f6eaff;
  color: var(--mbh-deep);
}
.mbh-preview-summary button.is-active::before { content: "Nu bewerken · "; color: var(--mbh-pink); }

.mbh-preview-variation {
  margin: 12px 8px 0;
  color: #5f5064;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.mbh-sparkle { position: absolute; z-index: 1; color: rgba(84,32,111,.2); font-size: 34px; }
.mbh-sparkle-one { left: 7%; top: 24%; }
.mbh-sparkle-two { right: 7%; bottom: 22%; }

.mbh-trust-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.mbh-trust-row span {
  min-width: 0;
  min-height: 62px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border: 2px solid var(--mbh-line);
  border-radius: 17px;
  background: #fff;
  color: #514256;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.mbh-trust-row b { color: var(--mbh-pink); font-size: 19px; }

.mbh-config-card {
  min-width: 0;
  overflow: clip;
  border: 2px solid var(--mbh-line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--mbh-shadow);
}

.mbh-config-head {
  padding: 24px 30px;
  border-bottom: 2px solid #eaddec;
  background: linear-gradient(100deg, #fff 0%, #fff2f8 64%, #f2e6ff 100%);
}
.mbh-config-head > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.mbh-config-head > div > span { display: flex; flex-direction: column; }
.mbh-config-head small {
  color: var(--mbh-pink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.mbh-config-head strong { color: var(--mbh-deep); font-size: 24px; font-weight: 700; }
.mbh-config-head > div > b,
.mbh-config-head .price { color: var(--mbh-purple); font-size: 24px; font-weight: 700; }
.mbh-config-head del,
.mbh-config-head ins { text-decoration: none; }

.mbh-stepper {
  --step-count: 5;
  display: grid;
  grid-template-columns: repeat(var(--step-count), minmax(105px, 1fr));
  margin: 0;
  padding: 18px 18px 16px;
  overflow-x: auto;
  border-bottom: 2px solid #eaddec;
  background: #fffcfe;
  list-style: none;
  scrollbar-width: thin;
}
.mbh-stepper li { position: relative; min-width: 0; margin: 0; }
.mbh-stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 64%;
  right: -36%;
  height: 3px;
  border-radius: 99px;
  background: #dfcfe3;
}
.mbh-stepper li.is-complete:not(:last-child)::after { background: var(--mbh-pink); }
.mbh-stepper button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 64px;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 5px;
  background: transparent;
  color: #76677b;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.mbh-stepper button:disabled { cursor: default; opacity: .65; }
.mbh-stepper button > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid #d8c7dc;
  border-radius: 18px;
  background: #fff;
  color: var(--mbh-purple);
  font-size: 16px;
  font-weight: 700;
}
.mbh-stepper button[aria-current="step"] { color: var(--mbh-deep); }
.mbh-stepper button[aria-current="step"] > span {
  border-color: var(--mbh-pink);
  background: var(--mbh-pink);
  color: #fff;
  box-shadow: 0 7px 16px rgba(201, 24, 104, .24);
  transform: rotate(-3deg);
}
.mbh-stepper .is-complete button > span { border-color: var(--mbh-purple); background: var(--mbh-purple); color: #fff; }

.mbh-step-panel { min-height: 590px; padding: 34px 32px 26px; }
.mbh-step-panel h3 {
  margin: 5px 0 8px;
  color: var(--mbh-deep);
  font-family: var(--mbh-config-font-display);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.mbh-step-intro {
  max-width: 610px;
  margin: 0 0 28px;
  color: var(--mbh-muted);
  font-size: 17px;
  line-height: 1.58;
}

.mbh-choice-group { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.mbh-choice-group > legend {
  width: 100%;
  margin: 0 0 12px;
  color: var(--mbh-deep);
  font-size: 17px;
  font-weight: 700;
}
.mbh-choice-group legend small { color: var(--mbh-muted); font-size: 14px; font-weight: 700; }
.mbh-choice-group input[type="radio"],
.mbh-choice-group input[type="checkbox"],
.mbh-gift-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.mbh-choice-group label:has(input:focus-visible),
.mbh-gift-option:has(input:focus-visible) { outline: 4px solid #16a181; outline-offset: 3px; }

.mbh-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mbh-mode-card {
  position: relative;
  min-height: 134px;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 2px 13px;
  padding: 18px;
  border: 2px solid var(--mbh-line);
  border-radius: 22px;
  background: #fff;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.mbh-mode-card:hover,
.mbh-route-choice:hover { transform: translateY(-2px); border-color: #a96ec1; }
.mbh-mode-card > span {
  grid-row: 1 / 4;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f0ddfa;
  color: var(--mbh-purple);
  font-size: 23px;
  font-weight: 700;
}
.mbh-mode-card > strong { align-self: end; font-size: 17px; line-height: 1.25; }
.mbh-mode-card > small { color: var(--mbh-muted); font-size: 14px; line-height: 1.38; }
.mbh-mode-card > b { display: none; color: var(--mbh-pink); font-size: 14px; }
.mbh-mode-card.is-selected,
.mbh-route-choice.is-selected {
  border-color: var(--mbh-purple);
  background: linear-gradient(135deg, #f8efff, #fff1f7);
  box-shadow: 0 0 0 3px rgba(84,32,111,.1);
}
.mbh-mode-card.is-selected > span { background: var(--mbh-purple); color: #fff; }
.mbh-mode-card.is-selected > b { display: block; }

.mbh-recipient-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.mbh-recipient-grid label,
.mbh-simple-field { display: flex; flex-direction: column; gap: 7px; color: var(--mbh-deep); font-size: 16px; font-weight: 700; }
.mbh-recipient-grid input,
.mbh-simple-field input,
.mbh-simple-field textarea {
  width: 100%;
  min-height: 52px;
  border: 2px solid var(--mbh-line);
  border-radius: 15px;
  padding: 12px 14px;
  background: #fff;
  color: var(--mbh-deep);
  font-size: 16px;
  line-height: 1.4;
}
.mbh-simple-field textarea { min-height: 118px; resize: vertical; }
.mbh-recipient-grid small,
.mbh-simple-field small { color: var(--mbh-muted); font-size: 14px; font-weight: 600; line-height: 1.35; }
.mbh-simple-field { margin: 0 0 24px; }

.mbh-set-note,
.mbh-surprise-note,
.mbh-help {
  margin: 15px 0;
  padding: 13px 16px;
  border-left: 5px solid var(--mbh-pink);
  border-radius: 4px 14px 14px 4px;
  background: #fff0f6;
  color: #59455f;
  font-size: 14px;
  line-height: 1.5;
}

.mbh-positive-status,
.mbh-selection-status {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 2px solid #cbd5d0;
  border-radius: 14px;
  background: #f7faf8;
  color: #51475a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.mbh-positive-status { display: flex; align-items: flex-start; gap: 9px; }
.mbh-positive-status > .mbh-fa-icon { margin-top: .18em; }
.mbh-positive-status,
.mbh-selection-status.is-positive { border-color: #73bf9f; background: #e9f9f1; color: #245a48; }

.mbh-choice-status { align-items: center; gap: 6px; line-height: 1.25; }
.mbh-mode-card.is-selected > b.mbh-choice-status,
.mbh-palette-choice.is-selected > b.mbh-choice-status,
.mbh-palette-tile.is-selected > b.mbh-choice-status,
.mbh-pattern-card.is-selected > b.mbh-choice-status,
.mbh-vibe-card.is-selected > b.mbh-choice-status,
.mbh-size-choice.is-selected > b.mbh-choice-status,
.mbh-letter-color.is-selected > b.mbh-choice-status,
.mbh-extra-choice.is-selected > b.mbh-choice-status,
.mbh-included-card > b.mbh-choice-status,
.mbh-selected-look > b.mbh-choice-status { display: inline-flex; }

.mbh-arm-tabs {
  display: grid;
  grid-template-columns: repeat(var(--arm-count, 3), minmax(0,1fr));
  gap: 9px;
  margin: 0 0 22px;
}
.mbh-arm-tab {
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 9px;
  border: 2px solid var(--mbh-line);
  border-radius: 18px;
  padding: 10px;
  background: #fff;
  color: var(--mbh-deep);
  text-align: left;
  cursor: pointer;
}
.mbh-arm-tab > span { grid-row: 1/3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 13px; background: #ead8f3; font-size: 16px; font-weight: 700; }
.mbh-arm-tab b { min-width: 0; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.mbh-arm-tab small { color: var(--mbh-muted); font-size: 14px; }
.mbh-arm-tab.is-active { border-color: var(--mbh-pink); background: #fff1f7; box-shadow: 0 0 0 3px rgba(201,24,104,.08); }
.mbh-arm-tab.is-active > span { background: var(--mbh-pink); color: #fff; }
.mbh-active-arm-heading { display: flex; align-items: baseline; gap: 9px; margin: 0 0 15px; color: var(--mbh-muted); font-size: 15px; }
.mbh-active-arm-heading strong { color: var(--mbh-deep); font-size: 20px; }

.mbh-palette-options { display: grid; gap: 10px; }
.mbh-palette-choice {
  min-height: 86px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--mbh-line);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
}
.mbh-palette-choice:hover { border-color: #a96ec1; }
.mbh-palette-dots { display: flex; align-items: center; }
.mbh-palette-dots i {
  width: 28px;
  height: 28px;
  margin-left: -9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--bead-color);
  box-shadow: 0 3px 8px rgba(53,18,70,.14);
}
.mbh-palette-dots i:first-child { margin-left: 0; }
.mbh-palette-choice strong,
.mbh-palette-choice small { display: block; }
.mbh-palette-choice strong { font-size: 17px; }
.mbh-palette-choice small { margin-top: 2px; color: var(--mbh-muted); font-size: 14px; }
.mbh-palette-choice > b,
.mbh-palette-tile > b { display: none; color: var(--mbh-pink); font-size: 14px; }
.mbh-palette-choice.is-selected { border-color: var(--mbh-purple); background: #f7edff; box-shadow: 0 0 0 3px rgba(84,32,111,.08); }
.mbh-palette-choice.is-selected > b,
.mbh-palette-tile.is-selected > b { display: block; }

.mbh-color-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.mbh-color-choice {
  min-width: 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 2px solid var(--mbh-line);
  border-radius: 18px;
  padding: 10px 6px;
  background: #fff;
  cursor: pointer;
}
.mbh-color-choice:has(input:disabled) { border-color: #765184; background: #f1edf2; color: #59445f; cursor: not-allowed; }
.mbh-color-choice:has(input:disabled) > i { opacity: .55; }
.mbh-color-choice > i {
  position: relative;
  width: 45px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(53,18,70,.16);
  border-radius: 45%;
  background: linear-gradient(110deg, rgba(255,255,255,.62), transparent 40%), var(--bead-color);
  box-shadow: 0 4px 8px rgba(53,18,70,.13);
  font-style: normal;
}
.mbh-color-choice > i span { opacity: 0; color: var(--mbh-deep); font-size: 14px; font-weight: 700; }
.mbh-color-choice > b { max-width: 100%; overflow: hidden; color: var(--mbh-deep); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.mbh-color-choice.is-selected { border-color: var(--mbh-purple); background: #f8f0fc; box-shadow: 0 0 0 3px rgba(84,32,111,.07); }
.mbh-color-choice.is-selected > i span { opacity: 1; }
.mbh-color-choice.is-in-palette::after { content: "In kleurwereld"; color: var(--mbh-purple); font-size: 14px; font-weight: 700; }

.mbh-color-order { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.mbh-color-order li { min-height: 48px; display: flex; align-items: center; gap: 7px; padding: 8px; border-radius: 13px; background: #f4eafa; color: #59445f; font-size: 14px; line-height: 1.3; }
.mbh-color-order li > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 9px; background: var(--mbh-purple); color: #fff; font-weight: 700; }

.mbh-pattern-grid,
.mbh-vibe-grid,
.mbh-text-mode-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.mbh-text-mode-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.mbh-pattern-card,
.mbh-vibe-card {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 15px;
  border: 2px solid var(--mbh-line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}
.mbh-pattern-card > span,
.mbh-vibe-card > span { min-height: 30px; color: var(--mbh-pink); font-size: 20px; font-weight: 700; }
.mbh-pattern-card strong,
.mbh-vibe-card strong { font-size: 16px; line-height: 1.3; }
.mbh-pattern-card small,
.mbh-vibe-card small { color: var(--mbh-muted); font-size: 14px; line-height: 1.35; }
.mbh-pattern-card > b,
.mbh-vibe-card > b { display: none; color: var(--mbh-pink); font-size: 14px; }
.mbh-pattern-card.is-selected,
.mbh-vibe-card.is-selected { border-color: var(--mbh-purple); background: #f7edff; box-shadow: 0 0 0 3px rgba(84,32,111,.07); }
.mbh-pattern-card.is-selected > b,
.mbh-vibe-card.is-selected > b { display: block; }

.mbh-copy-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 9px;
  margin: 0 0 26px;
  padding: 16px;
  border: 2px dashed #c29ad1;
  border-radius: 18px;
  background: #fcf7ff;
}
.mbh-copy-tools button,
.mbh-copy-tools select { min-height: 48px; border-radius: 13px; font-size: 16px; font-weight: 700; }
.mbh-copy-tools button { border: 2px solid var(--mbh-purple); padding: 9px 13px; background: #fff; color: var(--mbh-purple); cursor: pointer; }
.mbh-copy-tools .mbh-copy-all { background: var(--mbh-purple); color: #fff; }
.mbh-copy-tools .mbh-unlink { flex-basis: 100%; border-color: var(--mbh-pink); color: var(--mbh-pink); }
.mbh-copy-tools label { display: flex; flex-direction: column; gap: 4px; color: var(--mbh-muted); font-size: 14px; font-weight: 800; }
.mbh-copy-tools select { border: 2px solid var(--mbh-line); padding: 8px 34px 8px 10px; background: #fff; color: var(--mbh-deep); }

.mbh-size-arm + .mbh-size-arm { margin-top: 26px; padding-top: 24px; border-top: 2px dashed #dac7df; }
.mbh-size-arm > legend { display: flex; align-items: center; gap: 9px; }
.mbh-size-arm > legend > span { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 13px; background: var(--mbh-purple); color: #fff; }
.mbh-size-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.mbh-size-choice {
  min-height: 106px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px;
  padding: 14px;
  border: 2px solid var(--mbh-line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}
.mbh-size-choice > span { grid-row: 1/3; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: #edddf5; color: var(--mbh-purple); font-size: 16px; font-weight: 700; }
.mbh-size-choice strong { align-self: end; font-size: 16px; }
.mbh-size-choice small { align-self: start; color: var(--mbh-muted); font-size: 14px; line-height: 1.3; }
.mbh-size-choice > b { grid-column: 3; grid-row: 1/3; display: none; color: var(--mbh-pink); font-size: 14px; }
.mbh-size-choice.is-selected { border-color: var(--mbh-purple); background: #f7edff; box-shadow: 0 0 0 3px rgba(84,32,111,.08); }
.mbh-size-choice.is-selected > span { background: var(--mbh-purple); color: #fff; }
.mbh-size-choice.is-selected > b { display: block; }
.mbh-measure-guide { margin-top: 20px; border: 2px solid #d5c0dc; border-radius: 17px; background: #fff; }
.mbh-measure-guide summary { min-height: 52px; display: flex; align-items: center; padding: 11px 15px; color: var(--mbh-purple); font-size: 16px; font-weight: 700; cursor: pointer; }
.mbh-measure-guide p { margin: 0; padding: 0 15px 15px; color: var(--mbh-muted); font-size: 14px; line-height: 1.5; }

.mbh-text-field { margin: 0 0 22px; }
.mbh-text-field > label { display: block; margin: 0 0 8px; color: var(--mbh-deep); font-size: 17px; font-weight: 700; }
.mbh-text-field > div { min-height: 60px; display: flex; align-items: center; overflow: hidden; border: 2px solid var(--mbh-line); border-radius: 17px; background: #fff; }
.mbh-text-field > div:focus-within { border-color: #16a181; box-shadow: 0 0 0 3px rgba(22,161,129,.14); }
.mbh-text-field input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 14px 16px; background: transparent; color: var(--mbh-deep); font-size: 21px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.mbh-text-field > div > span { padding: 0 15px; color: var(--mbh-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.mbh-text-field > small { display: block; margin-top: 7px; color: var(--mbh-muted); font-size: 14px; }
.mbh-letter-color-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.mbh-letter-color { min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 2px solid var(--mbh-line); border-radius: 17px; background: #fff; cursor: pointer; }
.mbh-letter-color .mbh-letter-bead {
  box-sizing: border-box;
  width: 54px;
  min-width: 54px;
  height: 54px;
  min-height: 54px;
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(53,18,70,.17);
  border-radius: 50%;
  padding: 8px;
  background: var(--bead-color);
  color: var(--bead-text-color, var(--mbh-deep));
  font-family: var(--mbh-config-font-display);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.mbh-letter-color strong { font-size: 16px; }
.mbh-letter-color > b { display: none; color: var(--mbh-pink); font-size: 14px; }
.mbh-letter-color.is-selected { border-color: var(--mbh-purple); background: #f7edff; }
.mbh-letter-color.is-selected > b { display: block; }
.mbh-letter-color-disclosure > summary { display: none; }
.mbh-letter-color-disclosure > .mbh-choice-group { margin-bottom: 22px; }

.mbh-number-badge { width: 36px; height: 36px; display: inline-grid; place-items: center; margin-right: 8px; border-radius: 12px; background: var(--mbh-pink); color: #fff; font-size: 16px; font-weight: 700; }
.mbh-surprise-choice-stage { margin: 0 0 14px; }
.mbh-surprise-choice-stage > summary {
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 2px solid var(--mbh-purple);
  border-radius: 17px;
  background: #fff;
  color: var(--mbh-purple);
  cursor: pointer;
  list-style: none;
}
.mbh-surprise-choice-stage > summary::-webkit-details-marker { display: none; }
.mbh-surprise-choice-stage > summary .mbh-number-badge { margin: 0; }
.mbh-surprise-choice-stage > summary > span:nth-child(2) { min-width: 0; display: grid; }
.mbh-surprise-choice-stage > summary small { color: var(--mbh-muted); font-size: 14px; font-weight: 700; }
.mbh-surprise-choice-stage > summary strong { font-size: 17px; line-height: 1.2; }
.mbh-surprise-choice-stage > summary b { font-size: 14px; font-weight: 700; }
.mbh-surprise-choice-stage[open] > summary { border-radius: 17px 17px 0 0; background: #f7edff; }
.mbh-surprise-choice-stage > .mbh-choice-group { margin: 0; padding-top: 10px; }
.mbh-surprise-choice-stage > .mbh-choice-group > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mbh-palette-tile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.mbh-palette-tile { min-height: 126px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; border: 2px solid var(--mbh-line); border-radius: 20px; padding: 16px; background: #fff; cursor: pointer; }
.mbh-palette-tile .mbh-palette-dots { margin-bottom: 5px; }
.mbh-palette-tile strong { font-size: 17px; }
.mbh-palette-tile small { color: var(--mbh-muted); font-size: 14px; }
.mbh-palette-tile.is-selected { border-color: var(--mbh-purple); background: #f7edff; box-shadow: 0 0 0 3px rgba(84,32,111,.08); }
.mbh-preference-block { margin: 0 0 22px; padding: 16px; border: 2px solid #82c9ab; border-radius: 18px; background: #eaf9f2; }
.mbh-preference-block h4 { margin: 0 0 5px; color: var(--mbh-deep); font-size: 18px; }
.mbh-preference-block p { margin: 0; color: #35604f; font-size: 15px; }

.mbh-extra-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.mbh-extra-choice { min-height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px solid var(--mbh-line); border-radius: 18px; padding: 12px; background: #fff; text-align: center; cursor: pointer; }
.mbh-extra-choice > span { color: var(--mbh-pink); font-size: 25px; line-height: 1; }
.mbh-extra-choice strong { font-size: 16px; line-height: 1.3; }
.mbh-extra-choice small { color: var(--mbh-muted); font-size: 14px; line-height: 1.3; }
.mbh-extra-choice > b { display: none; color: var(--mbh-pink); font-size: 14px; }
.mbh-extra-choice.is-selected { border-color: var(--mbh-purple); background: #f7edff; box-shadow: 0 0 0 3px rgba(84,32,111,.08); }
.mbh-extra-choice.is-selected > b { display: block; }

.mbh-included-card {
  min-height: 98px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  padding: 16px;
  border: 2px solid #69bd98;
  border-radius: 20px;
  background: linear-gradient(135deg, #e7f9f0, #f8fffb);
}
.mbh-included-card > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: #24916f; color: #fff; font-size: 24px; }
.mbh-included-card strong { font-size: 17px; }
.mbh-included-card p { margin: 2px 0 0; color: #446157; font-size: 14px; line-height: 1.4; }
.mbh-included-card > b { color: #16674f; font-size: 14px; }
.mbh-configurator[data-profile-id="initial-love"] [data-step-id="look"] > .mbh-included-card {
  min-height: 80px;
  margin-bottom: 12px;
  padding-block: 11px;
}
.mbh-gift-option { min-height: 92px; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 16px; border: 2px solid var(--mbh-line); border-radius: 20px; background: #fff5fa; cursor: pointer; }
.mbh-gift-option > span:first-of-type { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #bda5c5; border-radius: 16px; background: #fff; color: transparent; font-weight: 700; }
.mbh-gift-option > span:nth-of-type(2) { min-width: 0; }
.mbh-gift-option strong,
.mbh-gift-option small { display: block; }
.mbh-gift-option strong { font-size: 17px; }
.mbh-gift-option small { color: var(--mbh-muted); font-size: 14px; }
.mbh-gift-option > b { color: var(--mbh-purple); font-size: 16px; }
.mbh-gift-option.is-selected { border-color: var(--mbh-purple); background: #f7edff; }
.mbh-gift-option.is-selected > span:first-of-type { border-color: var(--mbh-purple); background: var(--mbh-purple); color: #fff; }

.mbh-review-grid { display: grid; gap: 12px; }
.mbh-review-arm { overflow: hidden; border: 2px solid var(--mbh-line); border-radius: 20px; background: #fff; }
.mbh-review-arm header { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 11px; padding: 14px; background: linear-gradient(100deg,#f7edff,#fff1f7); }
.mbh-review-arm header > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; background: var(--mbh-purple); color: #fff; font-size: 17px; font-weight: 700; }
.mbh-review-arm h4 { margin: 0; color: var(--mbh-deep); font-size: 18px; }
.mbh-review-arm header p { margin: 2px 0 0; color: var(--mbh-muted); font-size: 14px; line-height: 1.35; }
.mbh-review-arm header button { min-height: 48px; border: 2px solid var(--mbh-purple); border-radius: 13px; padding: 8px 12px; background: #fff; color: var(--mbh-purple); font-size: 16px; font-weight: 700; cursor: pointer; }
.mbh-review-colors { display: flex; align-items: center; gap: 5px; padding: 12px 14px 6px; }
.mbh-review-colors i { width: 24px; height: 24px; margin-right: -9px; border: 2px solid #fff; border-radius: 50%; background: var(--bead-color); box-shadow: 0 2px 5px rgba(53,18,70,.14); }
.mbh-review-colors span { margin-left: 11px; color: var(--mbh-muted); font-size: 14px; }
.mbh-review-arm dl { margin: 0; padding: 7px 14px 13px; }
.mbh-review-arm dl > div { display: flex; justify-content: space-between; gap: 14px; margin-top: 5px; color: var(--mbh-muted); font-size: 14px; }
.mbh-review-arm dd { margin: 0; color: var(--mbh-deep); font-weight: 700; }
.mbh-review-preferences { display: flex; flex-direction: column; gap: 5px; margin-top: 13px; padding: 16px; border: 2px solid #d3b8dc; border-radius: 18px; background: #fbf5ff; font-size: 15px; }
.mbh-review-preferences strong { color: var(--mbh-deep); font-size: 17px; }
.mbh-review-warning { margin-top: 13px; padding: 16px; border: 2px solid #d55b84; border-radius: 18px; background: #fff0f5; color: #84264a; }
.mbh-review-warning strong { font-size: 17px; }
.mbh-review-warning p { margin: 3px 0 9px; font-size: 15px; }
.mbh-review-warning button { min-height: 48px; border: 0; border-radius: 13px; padding: 9px 14px; background: #84264a; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.mbh-total-card { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; margin-top: 16px; padding: 20px; border-radius: 21px; background: var(--mbh-deep); color: #fff; }
.mbh-total-card span { font-size: 17px; font-weight: 700; }
.mbh-total-card strong { grid-row: 1/3; grid-column: 2; align-self: center; color: #fff; font-size: 28px; }
.mbh-total-card small { color: #e8d8ed; font-size: 14px; }

.mbh-inline-error,
.mbh-config-errors { color: #8c214a; font-size: 15px; font-weight: 700; line-height: 1.45; }
.mbh-inline-error:not(:empty),
.mbh-config-errors:not(:empty) { margin-top: 18px; padding: 14px 16px; border: 2px solid #d55b84; border-radius: 15px; background: #fff0f5; }
.mbh-config-errors { margin: 0 32px; }
.mbh-field-error {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 2px solid #d55b84;
  border-radius: 14px;
  background: #fff0f5;
  color: #84264a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
[aria-invalid="true"]:not(fieldset):not(.mbh-choice-group):not(.mbh-copy-tools) { scroll-margin-block: 100px; }

.mbh-config-actions {
  position: static;
  z-index: 20;
  display: flex;
  gap: 12px;
  padding: 16px 32px calc(18px + env(safe-area-inset-bottom));
  border-top: 2px solid #eaddec;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -12px 30px rgba(53,18,70,.09);
  backdrop-filter: blur(12px);
}
.mbh-config-actions button { min-height: 56px; border-radius: 17px; padding: 13px 20px; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.mbh-mobile-total { display: none; }
.mbh-back { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--mbh-purple); background: #fff; color: var(--mbh-purple); }
.mbh-back[hidden] { display: none; }
.mbh-primary-action {
  flex: 1;
  border: 2px solid #a70f52;
  background: linear-gradient(135deg, #a70f52, #c01865);
  color: #fff;
  box-shadow: 0 11px 24px rgba(201,24,104,.26);
  text-shadow: 0 1px 0 rgba(92,5,45,.2);
}
.mbh-primary-action:hover { background: linear-gradient(135deg, #921047, #ab1558); transform: translateY(-1px); }
.mbh-primary-action:disabled,
.mbh-primary-action:disabled:hover {
  border-color: #8b7d90;
  background: #8b7d90;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  opacity: .82;
}

@keyframes mbh-bead-in {
  from { opacity: .25; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 720px) {
  .mbh-configurator { width: calc(100% - 20px); margin: 34px auto 72px; font-size: 16px; }
  .mbh-builder-intro { margin-bottom: 18px; padding: 26px 22px 28px; border-radius: 27px 58px 27px 27px; }
  .mbh-builder-intro > .mbh-eyebrow { position: relative; z-index: 1; max-width: calc(100% - 72px); letter-spacing: .08em; line-height: 1.35; }
  .mbh-builder-intro h2 { max-width: calc(100% - 42px); font-size: clamp(36px, 11vw, 52px); }
  .mbh-builder-intro > p:not(.mbh-eyebrow) { font-size: 17px; }
  .mbh-sticker { top: 15px; right: 15px; width: 50px; height: 50px; border-radius: 17px; font-size: 23px; }
  .mbh-eyebrow,
  .mbh-step-label { font-size: 14px; }
  .mbh-config-card { border-radius: 25px; }
  .mbh-config-head { padding: 18px; }
  .mbh-config-head small { font-size: 14px; }
  .mbh-config-head strong,
  .mbh-config-head > div > b,
  .mbh-config-head .price { font-size: 20px; }
  .mbh-stepper { grid-template-columns: repeat(var(--step-count), minmax(0, 1fr)); padding: 12px 8px 10px; overflow-x: hidden; }
  .mbh-stepper button { font-size: 16px; line-height: 1.15; white-space: nowrap; }
  .mbh-stepper button > span { width: 44px; height: 44px; border-radius: 15px; }
  .mbh-stepper li:not(:last-child)::after { top: 22px; }
  .mbh-step-panel { min-height: 0; padding: 25px 18px 100px; }
  .mbh-step-panel h3 { font-size: 34px; }
  .mbh-step-intro { font-size: 16px; }
  .mbh-choice-group > legend { font-size: 16px; }
  .mbh-mode-grid,
  .mbh-palette-tile-grid { grid-template-columns: 1fr; }
  .mbh-mode-card { min-height: 112px; }
  .mbh-recipient-grid { grid-template-columns: 1fr; }
  .mbh-arm-tabs { grid-template-columns: 1fr; }
  .mbh-arm-tab { min-height: 62px; }
  .mbh-color-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mbh-color-choice { min-height: 91px; }
  .mbh-pattern-grid,
  .mbh-vibe-grid { grid-template-columns: 1fr; }
  .mbh-pattern-card,
  .mbh-vibe-card { min-height: 102px; }
  .mbh-color-order { grid-template-columns: 1fr; }
  .mbh-copy-tools { align-items: stretch; }
  .mbh-copy-tools > * { flex: 1 1 100%; }
  .mbh-size-grid { grid-template-columns: 1fr; }
  .mbh-letter-color-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mbh-extra-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mbh-text-mode-grid { grid-template-columns: 1fr; }
  .mbh-included-card { grid-template-columns: 48px 1fr; }
  .mbh-included-card > b { grid-column: 2; }
  .mbh-review-arm header { grid-template-columns: 42px 1fr; }
  .mbh-review-arm header button { grid-column: 2; justify-self: start; }
  .mbh-total-card { grid-template-columns: 1fr auto; }
  .mbh-config-errors { margin-inline: 18px; }
  .mbh-config-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 56px minmax(70px,.4fr) minmax(0,1fr); align-items: center; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbh-config-actions.is-first-step { grid-template-columns: minmax(76px,.34fr) minmax(0,1fr); }
  .mbh-config-actions.is-first-step .mbh-mobile-total { grid-column: 1; }
  .mbh-config-actions.is-first-step .mbh-primary-action { grid-column: 2; }
  .mbh-config-actions button { min-height: 56px; padding: 7px 8px; font-size: 16px; }
  .mbh-back { flex-basis: 94px; }
  .mbh-back-label { display: none; }
  .mbh-mobile-total { display: grid; align-content: center; min-height: 56px; padding: 5px 8px; border-radius: 15px; background: #f4e8f7; color: var(--mbh-deep); line-height: 1.15; }
  .mbh-mobile-total small { font-size: 14px; font-weight: 800; }
  .mbh-mobile-total strong { font-size: 17px; font-weight: 700; white-space: nowrap; }
}

@media (max-width: 390px) {
  .mbh-configurator { width: calc(100% - 14px); }
  .mbh-builder-intro { padding-inline: 17px; }
  .mbh-color-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mbh-palette-choice { grid-template-columns: 72px 1fr; }
  .mbh-palette-choice > b { grid-column: 2; }
  .mbh-extra-grid { grid-template-columns: 1fr 1fr; }
  .mbh-config-actions { grid-template-columns: 56px minmax(70px,.4fr) minmax(0,1fr); }
  .mbh-config-actions.is-first-step { grid-template-columns: minmax(70px,.32fr) minmax(0,1fr); }
  .mbh-config-actions button { font-size: 16px; }
  .mbh-back { padding-inline: 9px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mbh-configurator *,
  .mbh-configurator *::before,
  .mbh-configurator *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Example-first configurator -------------------------------------------------
 * Product photography/concept photography is the primary promise. The bead
 * renderer remains available as a deliberately secondary indication.
 */
.mbh-product-builder { grid-template-columns: minmax(410px, 1fr) minmax(620px, 700px); }

.mbh-example-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 3px solid #8f51ad;
  border-radius: 38px;
  background: #f1ddff;
  box-shadow: var(--mbh-shadow);
  isolation: isolate;
}
.mbh-example-stage .mbh-preview-topline {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  padding: 18px;
}
.mbh-example-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #ead1fa, #ffd9e8 55%, #c9f1e1);
}
.mbh-example-image {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}
.mbh-example-image[hidden] { display: none; }
.mbh-example-placeholder {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  padding: 94px 34px 76px;
  background: linear-gradient(145deg, #ead1fa, #ffd9e8 55%, #c9f1e1);
  color: var(--mbh-deep);
  text-align: center;
}
.mbh-example-placeholder[hidden] { display: none; }
.mbh-example-placeholder > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 22px;
  background: var(--mbh-purple);
  color: #fff;
  font-size: 27px;
  box-shadow: 0 10px 24px rgba(53,18,70,.18);
}
.mbh-example-placeholder strong { max-width: 360px; font-size: 25px; line-height: 1.2; }
.mbh-example-placeholder small { max-width: 330px; color: var(--mbh-muted); font-size: 16px; line-height: 1.5; }
.mbh-example-badge,
.mbh-template-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  background: #351246;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.mbh-example-badge {
  position: absolute;
  z-index: 4;
  inset-inline: 16px;
  bottom: 16px;
  width: auto;
  justify-content: center;
  min-width: 0;
  max-width: none;
  padding: 8px 13px;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  box-shadow: 0 7px 20px rgba(53,18,70,.24);
}
.mbh-example-stage[data-template-kind="real"] .mbh-example-badge,
.mbh-template-card[data-template-kind="real"] .mbh-template-badge { background: #146b51; }
.mbh-example-caption {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 19px 22px 22px;
  border-top: 1px solid rgba(143, 81, 173, .22);
  background: #fff;
}
.mbh-example-caption strong { color: var(--mbh-deep); font-family: var(--mbh-config-font-display); font-size: 23px; font-weight: 700; line-height: 1.25; }
.mbh-example-caption span { color: var(--mbh-muted); font-size: 16px; line-height: 1.5; }

.mbh-design-indication {
  margin-top: 16px;
  overflow: clip;
  border: 2px solid #b68ac8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(53,18,70,.08);
}
.mbh-design-indication > summary {
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  color: var(--mbh-deep);
  font-size: 16px;
  cursor: pointer;
}
.mbh-design-indication > summary::marker { color: var(--mbh-purple); }
.mbh-design-indication > summary > span:first-child {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--mbh-purple);
  color: #fff;
  font-size: 20px;
}
.mbh-design-indication > summary > span:last-child { display: grid; }
.mbh-design-indication > summary strong { font-size: 17px; font-weight: 700; }
.mbh-design-indication > summary small { color: var(--mbh-muted); font-size: 14px; line-height: 1.4; }
.mbh-design-indication .mbh-preview-stage { border: 0; border-top: 2px solid #dec5e7; border-radius: 0; box-shadow: none; }
.mbh-design-indication .mbh-bracelet-preview { min-height: 280px; }
.mbh-design-indication .mbh-preview-variation { margin: 0; padding: 13px 17px 17px; background: #fff; font-size: 15px; }
.mbh-configurator[data-customization-mode="custom_mix"] .mbh-design-indication .mbh-bracelet-preview { min-height: 390px; }

.mbh-template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.mbh-template-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 3px solid #c39bd3;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(53,18,70,.08);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.mbh-template-card > input,
.mbh-customization-modes .mbh-mode-card > input {
  position: absolute;
  z-index: 6;
  top: 14px;
  left: 14px;
  width: 26px;
  height: 26px;
  margin: 0;
  opacity: 1;
  clip: auto;
  clip-path: none;
  pointer-events: auto;
  accent-color: var(--mbh-pink);
  cursor: pointer;
}
.mbh-template-card > input:focus-visible,
.mbh-customization-modes .mbh-mode-card > input:focus-visible { outline: 4px solid #16a181; outline-offset: 3px; }
.mbh-template-card:hover { transform: translateY(-3px); border-color: #8f51ad; }
.mbh-template-card:has(input:focus-visible) { outline: 4px solid #16a181; outline-offset: 3px; }
.mbh-template-card:focus-visible,
.mbh-customization-modes .mbh-mode-card:focus-visible { outline: 4px solid #16a181; outline-offset: 3px; }
.mbh-template-card.is-selected { border-color: var(--mbh-pink); box-shadow: 0 0 0 4px rgba(201,24,104,.12), 0 14px 30px rgba(53,18,70,.12); }
.mbh-template-image-wrap { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f0daf9; }
.mbh-template-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: var(--template-position, 50% 50%); }
.mbh-template-placeholder { height: 100%; display: grid; place-items: center; align-content: center; gap: 3px; padding: 25px; color: var(--mbh-purple); font-size: 18px; font-weight: 700; line-height: 1.35; text-align: center; }
.mbh-template-placeholder small { color: var(--mbh-muted); font-size: 14px; font-weight: 800; }
.mbh-template-badge { position: absolute; inset: auto 9px 9px; width: fit-content; max-width: calc(100% - 18px); padding: 6px 10px; font-size: 14px; }
.mbh-template-copy { display: grid; gap: 4px; min-height: 138px; align-content: start; padding: 15px; }
.mbh-template-copy strong { color: var(--mbh-deep); font-size: 19px; font-weight: 700; line-height: 1.25; }
.mbh-template-copy small { color: var(--mbh-muted); font-size: 15px; line-height: 1.45; }
.mbh-template-copy b { align-self: end; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--mbh-pink); font-size: 15px; font-weight: 700; }
.mbh-template-empty { padding: 22px; border: 2px solid #d55b84; border-radius: 20px; background: #fff0f5; color: #84264a; }
.mbh-template-empty strong { font-size: 19px; }
.mbh-template-empty p { margin: 5px 0 0; font-size: 16px; }

.mbh-mode-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mbh-customization-modes .mbh-mode-card { position: relative; min-height: 174px; }
.mbh-mode-card em {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mbh-pink);
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}
.mbh-chosen-template-summary,
.mbh-review-template {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 13px;
  border: 2px solid #9b6db0;
  border-radius: 20px;
  background: linear-gradient(110deg, #f3e5fa, #fff2f7);
}
.mbh-chosen-template-summary > img,
.mbh-chosen-template-summary > span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  object-fit: cover;
  background: var(--mbh-purple);
  color: #fff;
}
.mbh-chosen-template-summary > div,
.mbh-review-template > div { min-width: 0; display: grid; }
.mbh-chosen-template-summary small,
.mbh-review-template small { color: var(--mbh-muted); font-size: 14px; font-weight: 800; }
.mbh-chosen-template-summary strong,
.mbh-review-template strong { color: var(--mbh-deep); font-size: 18px; font-weight: 700; }
.mbh-chosen-template-summary div span { color: var(--mbh-purple); font-size: 14px; font-weight: 700; }
.mbh-chosen-template-summary button,
.mbh-review-template button { min-height: 48px; border: 2px solid var(--mbh-purple); border-radius: 14px; padding: 8px 12px; background: #fff; color: var(--mbh-purple); font-size: 16px; font-weight: 700; cursor: pointer; }
.mbh-review-template { grid-template-columns: 48px minmax(0, 1fr) auto; }
.mbh-review-template > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--mbh-purple); color: #fff; }
.mbh-review-template p { margin: 1px 0 0; color: var(--mbh-muted); font-size: 15px; }
.mbh-as-shown-status { padding-block: 14px; font-size: 16px; }

@media (max-width: 720px) {
  .mbh-example-stage { border-radius: 26px; }
  .mbh-example-stage .mbh-preview-topline { padding: 10px; }
  .mbh-example-stage .mbh-preview-topline > span { min-height: 44px; max-width: calc(100% - 92px); padding: 7px 10px; font-size: 14px; }
  .mbh-example-stage .mbh-preview-topline button { min-height: 48px; background: rgba(255,255,255,.9); }
  .mbh-example-media { aspect-ratio: 4 / 3; }
  .mbh-example-placeholder { min-height: 0; padding: 74px 18px 58px; }
  .mbh-example-placeholder > span { width: 52px; height: 52px; border-radius: 18px; font-size: 22px; }
  .mbh-example-placeholder strong { font-size: 20px; }
  .mbh-example-badge { inset-inline: 10px; bottom: 10px; max-width: none; font-size: 14px; }
  .mbh-example-caption { padding: 15px 17px 18px; }
  .mbh-example-caption strong { font-size: 20px; }
  .mbh-example-caption span { font-size: 16px; }
  .mbh-design-indication { border-radius: 20px; }
  .mbh-design-indication > summary { min-height: 68px; padding-inline: 13px; }
  .mbh-design-indication .mbh-bracelet-preview,
  .mbh-configurator[data-customization-mode="custom_mix"] .mbh-design-indication .mbh-bracelet-preview { height: 230px; min-height: 230px; padding-top: 0; }
  .mbh-design-indication .mbh-bracelet-preview[data-arm-count="3"] { height: 270px; min-height: 270px; }
  .mbh-design-indication .mbh-preview-caption { margin: -7px 10px 12px; }
  .mbh-template-grid,
  .mbh-mode-grid-three { grid-template-columns: 1fr; }
  .mbh-template-card { border-radius: 20px; }
  .mbh-template-copy { min-height: 0; }
  .mbh-customization-modes .mbh-mode-card { min-height: 124px; }
  .mbh-chosen-template-summary,
  .mbh-review-template { grid-template-columns: 58px minmax(0,1fr); }
  .mbh-chosen-template-summary > img,
  .mbh-chosen-template-summary > span { width: 58px; height: 58px; }
  .mbh-chosen-template-summary button,
  .mbh-review-template button { grid-column: 2; justify-self: start; }
}

/* Configurator UX v2 -------------------------------------------------------
 * A compact, product-led flow. The theme owns the local font files; these
 * rules consume its tokens and keep deterministic local fallbacks.
 */
.mbh-configurator {
  max-width: 100%;
  overflow: visible;
  font-family: var(--mbh-config-font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.mbh-configurator :where(p, li, label, input, select, textarea, button, small, strong, b, span) {
  overflow-wrap: break-word;
}

.mbh-configurator :where(h2, h3) {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.mbh-configurator :where(h2, h3),
.mbh-configurator-bar h2,
.mbh-step-panel h3 {
  font-family: var(--mbh-config-font-display);
  font-variation-settings: "wght" 700;
}

.mbh-configurator :where(button, input, select, textarea, label, legend, p, small) {
  font-family: var(--mbh-config-font-body);
}

.mbh-configurator .mbh-fa-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  overflow: visible;
  fill: currentColor;
  vertical-align: -.08em;
}

.mbh-configurator-bar {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  margin: 0 0 20px;
  padding: 17px 21px;
  border: 2px solid #d5b2e2;
  border-radius: 24px;
  background: linear-gradient(112deg, #f4e7fb 0%, #fff1f7 62%, #e8faf2 118%);
  box-shadow: 0 12px 34px rgba(66, 23, 86, .09);
}

.mbh-configurator-bar > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 18px;
  background: var(--mbh-purple);
  color: #fff;
  font-size: 23px;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(53, 18, 70, .16);
  transform: rotate(-4deg);
}

.mbh-configurator-bar > div { min-width: 0; }
.mbh-configurator-bar .mbh-eyebrow { margin: 0 0 2px; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.mbh-configurator-bar h2 {
  margin: 0;
  color: var(--mbh-deep);
  font-size: clamp(34px, 3.3vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.mbh-configurator-bar p:last-child { max-width: 780px; margin: 4px 0 0; color: #57465d; font-size: 16px; line-height: 1.5; }

.mbh-product-builder,
.mbh-preview-column,
.mbh-config-card,
.mbh-config-head,
.mbh-stepper,
.mbh-panels,
.mbh-step-panel { min-width: 0; max-width: 100%; }

.mbh-config-head { padding: 20px 25px; }
.mbh-config-head strong,
.mbh-config-head > div > b,
.mbh-config-head .price { font-size: 22px; font-weight: 700; }
.mbh-config-head small { font-weight: 700; }

.mbh-stepper { --step-count: 4; grid-template-columns: repeat(var(--step-count), minmax(0, 1fr)); overflow: visible; }
.mbh-stepper button { min-height: 64px; font-weight: 700; }
.mbh-stepper button > span { font-weight: 700; }
.mbh-stepper button > b { font-weight: 700; }

.mbh-step-panel { min-height: 0; padding: 30px 30px 34px; scroll-margin-top: var(--mbh-step-scroll-offset, 150px); }
.mbh-step-panel h3 {
  margin: 3px 0 8px;
  font-size: clamp(30px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  scroll-margin-top: var(--mbh-step-scroll-offset, 150px);
}
.mbh-step-intro { max-width: 650px; margin-bottom: 22px; font-size: 16px; line-height: 1.55; }
.mbh-choice-group { margin-bottom: 22px; }
.mbh-choice-group > legend { font-size: 16px; font-weight: 700; line-height: 1.45; }

.mbh-configurator :where(button, [role="button"], input, select, textarea, summary) { min-height: 44px; }
.mbh-primary-action { min-height: 56px; }

.mbh-preview-tools { display: inline-flex; align-items: center; gap: 7px; }
.mbh-preview-topline button,
.mbh-review-arm header button,
.mbh-review-template button,
.mbh-review-warning button {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.mbh-mobile-preview-close { display: none; }

.mbh-mobile-design-summary,
[data-mbh-mobile-summary] { display: none; }

/* Route choice: one calm vertical list, never three narrow columns. */
.mbh-customization-modes .mbh-mode-grid,
.mbh-route-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.mbh-customization-modes .mbh-mode-card,
.mbh-route-choice {
  min-height: 0;
  height: auto;
  align-content: center;
  border-radius: 18px;
}

.mbh-route-choice {
  position: relative;
  display: grid;
  grid-template-columns: 26px 44px minmax(0, 1fr) auto;
  grid-template-rows: auto;
  grid-template-areas: "radio icon copy status";
  align-items: center;
  gap: 10px 12px;
  padding: 14px 16px;
  border: 2px solid var(--mbh-line);
  background: #fff;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.mbh-route-choice > input {
  position: static;
  grid-area: radio;
  width: 26px;
  height: 26px;
  margin: 0;
  opacity: 1;
  clip: auto;
  clip-path: none;
  transform: none;
  accent-color: var(--mbh-pink);
  cursor: pointer;
}

.mbh-customization-modes .mbh-mode-card > span,
.mbh-route-choice > .mbh-route-icon {
  grid-area: icon;
  grid-row: 1 / 4;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f0ddfa;
  color: var(--mbh-purple);
  font-size: 20px;
}

.mbh-route-choice.is-selected > .mbh-route-icon { background: var(--mbh-purple); color: #fff; }

.mbh-route-choice > .mbh-route-copy {
  grid-area: copy;
  width: auto;
  height: auto;
  min-width: 0;
  display: grid;
  place-items: initial;
  gap: 2px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.mbh-customization-modes .mbh-mode-card > strong,
.mbh-route-choice .mbh-route-copy > strong { font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: normal; word-break: normal; hyphens: none; }
.mbh-customization-modes .mbh-mode-card > small,
.mbh-route-choice .mbh-route-copy > small { color: var(--mbh-muted); font-size: 14px; line-height: 1.45; overflow-wrap: normal; word-break: normal; hyphens: none; }

.mbh-route-choice > .mbh-route-status {
  grid-area: status;
  width: fit-content;
  height: auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #b590c5;
  border-radius: 999px;
  background: #fff;
  color: var(--mbh-purple);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.mbh-route-choice > .mbh-route-status.is-selected {
  border-color: var(--mbh-purple);
  background: var(--mbh-purple);
  color: #fff;
}

/* Native input is the only radio semantic. The card only supplies visuals. */
.mbh-template-card > input,
.mbh-customization-modes .mbh-mode-card > input,
.mbh-route-choice > input { pointer-events: auto; }
.mbh-template-card:has(input:focus-visible),
.mbh-customization-modes .mbh-mode-card:has(input:focus-visible),
.mbh-route-choice:has(input:focus-visible) {
  outline: 4px solid #16a181;
  outline-offset: 3px;
}

/* Progressive disclosure: a single optional section is open at a time. */
.mbh-more-customize,
[data-action="more-customize"] {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 20px;
  padding: 11px 16px;
  border: 2px solid var(--mbh-purple);
  border-radius: 16px;
  background: #fff;
  color: var(--mbh-purple);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mbh-more-customize[aria-expanded="true"],
[data-action="more-customize"][aria-expanded="true"] { background: #f3e7fa; }

.mbh-advanced-section-nav,
.mbh-progressive-nav,
.mbh-config-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px;
  border: 2px solid #d5c0dc;
  border-radius: 17px;
  background: #f8f2fa;
}

.mbh-advanced-section-nav button,
.mbh-progressive-nav button,
.mbh-config-section-tabs button,
[data-action="advanced-section"] {
  min-height: 44px;
  flex: 1 1 130px;
  border: 2px solid transparent;
  border-radius: 13px;
  padding: 8px 11px;
  background: transparent;
  color: var(--mbh-purple);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mbh-advanced-section-nav button[aria-pressed="true"],
.mbh-progressive-nav button[aria-current="true"],
.mbh-config-section-tabs button[aria-selected="true"],
[data-action="advanced-section"].is-active {
  border-color: var(--mbh-purple);
  background: #fff;
  color: var(--mbh-deep);
  box-shadow: 0 4px 12px rgba(53,18,70,.08);
}

.mbh-advanced-panel,
.mbh-progressive-section,
.mbh-config-section {
  min-width: 0;
  padding: 18px;
  border: 2px solid #dac6e2;
  border-radius: 20px;
  background: #fffcfe;
}
.mbh-advanced-panel[hidden],
.mbh-progressive-section[hidden],
.mbh-config-section[hidden] { display: none !important; }

.mbh-more-customization[hidden] { display: none !important; }

.mbh-more-customization-shell { min-width: 0; }

.mbh-more-customization {
  display: grid;
  gap: 16px;
  margin: -8px 0 22px;
  padding: 18px;
  border: 2px solid #d7bde2;
  border-radius: 0 0 22px 22px;
  background: #fffafd;
}

.mbh-more-customization-toggle > span:last-child {
  display: grid;
  flex: 1;
  gap: 1px;
}

.mbh-more-customization-toggle small { color: #65516d; font-size: 14px; line-height: 1.4; }

.mbh-selected-look {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid #cab0d7;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #f8eefc 100%);
}

.mbh-selected-look > span:nth-child(2) { display: grid; gap: 1px; }
.mbh-selected-look small,
.mbh-section-kicker { color: #674d73; font-size: 14px; font-weight: 700; }
.mbh-selected-look strong { font-size: 17px; font-weight: 700; }
.mbh-selected-look em { color: #65516d; font-size: 14px; font-style: normal; line-height: 1.4; }
.mbh-selected-look > b { color: #08795f; font-size: 14px; font-weight: 700; }
.mbh-choice-limit { margin: 0 0 12px; color: #57465d; font-size: 15px; line-height: 1.45; }
.mbh-color-choice.is-disabled { border-style: dashed; opacity: .46; filter: grayscale(.5); cursor: not-allowed; }
.mbh-color-choice.is-disabled b::after { content: " · maximum bereikt"; font-size: 14px; font-weight: 600; }
.mbh-curated-looks { display: grid; gap: 10px; }
.mbh-section-kicker { margin: 4px 0 -2px; text-transform: uppercase; letter-spacing: .05em; }
.mbh-review-intro { margin: 0 0 8px; color: #4f3f57; font-size: 16px; line-height: 1.55; }
.mbh-gift-card-preview > span { display: none; }
.mbh-gift-card-preview figcaption { position: relative; z-index: 1; display: grid; gap: 6px; }
.mbh-gift-card-preview small { color: #6a5074; font-size: 14px; font-weight: 700; }
.mbh-gift-card-preview em { color: #6a5074; font-size: 16px; font-style: normal; }

.mbh-arm-tabs { grid-template-columns: repeat(var(--arm-count, 3), minmax(0, 1fr)); }
.mbh-arm-tab { min-height: 64px; font-weight: 600; }
.mbh-arm-tab b { font-weight: 700; }
.mbh-arm-tab:focus-visible { outline: 4px solid #16a181; outline-offset: 3px; }

.mbh-card-preview,
.mbh-gift-card-preview {
  position: relative;
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 6px;
  margin: 14px 0 22px;
  padding: 24px;
  overflow: hidden;
  border: 2px solid #c998d9;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #fff1f7 58%, #eee1fb 100%);
  color: var(--mbh-deep);
  box-shadow: 0 10px 24px rgba(53,18,70,.08);
}
.mbh-card-preview::after,
.mbh-gift-card-preview::after { content: "♡"; position: absolute; right: 18px; bottom: 8px; color: #e7c7f2; font-size: 68px; line-height: 1; transform: rotate(-8deg); }
.mbh-card-preview strong,
.mbh-gift-card-preview strong { position: relative; z-index: 1; font-family: var(--mbh-config-font-display); font-size: 22px; font-weight: 700; }
.mbh-card-preview p,
.mbh-gift-card-preview p { position: relative; z-index: 1; margin: 0; font-size: 16px; white-space: pre-wrap; }

.mbh-inline-error:not(:empty),
.mbh-config-errors:not(:empty),
.mbh-field-error { font-weight: 700; }
.mbh-config-errors:not(:empty) { margin-bottom: 12px; }
.mbh-field-error { scroll-margin-top: 150px; scroll-margin-bottom: 112px; }

.mbh-config-actions {
  background: #fff;
  backdrop-filter: none;
}

/* UX v3 keeps the route decision short and task-focused. */
.mbh-compact-route {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.mbh-compact-route > legend {
  width: 100%;
  margin: 0 0 9px;
  color: var(--mbh-deep);
  font-size: 16px;
  font-weight: 700;
}
.mbh-compact-route-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.mbh-compact-route-choice {
  position: relative;
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid #d5bfdc;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}
.mbh-compact-route-choice.is-selected {
  border-color: var(--mbh-purple);
  background: linear-gradient(135deg, #f8efff, #fff3f8);
  box-shadow: 0 0 0 3px rgba(84, 32, 111, .09);
}
.mbh-compact-route-choice > input {
  position: static;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 1;
  accent-color: var(--mbh-pink);
}
.mbh-compact-route-choice > span { min-width: 0; display: grid; gap: 1px; }
.mbh-compact-route-choice strong { color: var(--mbh-deep); font-size: 16px; line-height: 1.25; }
.mbh-compact-route-choice small { color: var(--mbh-muted); font-size: 14px; line-height: 1.35; }
.mbh-compact-route-choice > .mbh-choice-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #08795f;
  font-size: 14px;
  white-space: nowrap;
}
.mbh-compact-route-choice:has(input:focus-visible) {
  outline: 4px solid #16a181;
  outline-offset: 3px;
}

.mbh-mobile-preview-backdrop,
.mbh-mobile-preview-header,
.mbh-mobile-preview-footer,
.mbh-preview-dialog-summary { display: none; }
.mbh-preview-summary-text { margin: 0; color: #56405e; font-size: 15px; line-height: 1.5; }
.mbh-preview-dialog-summary > p { margin: 0; }

html.mbh-preview-dialog-open,
body.mbh-preview-dialog-open { overscroll-behavior: none; }

@media (max-width: 960px) {
  .mbh-customization-modes .mbh-mode-grid,
  .mbh-mode-grid-three,
  .mbh-route-list { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .mbh-configurator {
    --mbh-mobile-sticky-top: var(--mbh-fixed-layer-bottom, calc(110px + env(safe-area-inset-top)));
    --mbh-mobile-panel-end-space: 32px;
    width: min(100% - 20px, 760px);
    margin-top: 28px;
  }

  .mbh-product-builder { display: block; }
  .mbh-config-card { overflow: visible; border-radius: 25px; }

  .mbh-preview-column { display: none; }
  .mbh-mobile-preview-backdrop {
    position: fixed;
    z-index: 100000;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(35, 14, 44, .62);
    cursor: pointer;
  }
  .mbh-configurator.is-mobile-preview-open .mbh-mobile-preview-backdrop:not([hidden]) { display: block; }
  .mbh-configurator.is-mobile-preview-open .mbh-preview-column {
    position: fixed;
    z-index: 100001;
    inset-block: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-bottom));
    inset-inline: 10px;
    width: min(calc(100% - 20px), 720px);
    max-width: 720px;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    margin-inline: auto;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
    border: 3px solid var(--mbh-purple);
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(30, 8, 40, .36);
  }

  .mbh-configurator.is-mobile-preview-open::before { content: none; }
  .mbh-configurator.is-mobile-preview-open .mbh-mobile-preview-header:not([hidden]) {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #dfcce5;
    background: linear-gradient(135deg, #fffafd, #f6ecfb);
  }
  .mbh-mobile-preview-header h3 {
    margin: 0;
    color: var(--mbh-deep);
    font-family: var(--mbh-config-font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
  }
  .mbh-configurator.is-mobile-preview-open .mbh-mobile-preview-close {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 2px solid var(--mbh-purple);
    border-radius: 15px;
    background: #fff;
    color: var(--mbh-purple);
    text-decoration: none;
    cursor: pointer;
  }
  .mbh-configurator.is-mobile-preview-open .mbh-mobile-preview-scroll {
    min-width: 0;
    min-height: 0;
    display: block;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
  }
  .mbh-configurator.is-mobile-preview-open .mbh-example-stage {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .mbh-configurator.is-mobile-preview-open .mbh-example-media {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }
  .mbh-configurator.is-mobile-preview-open .mbh-example-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .mbh-configurator.is-mobile-preview-open .mbh-preview-topline,
  .mbh-configurator.is-mobile-preview-open .mbh-example-caption,
  .mbh-configurator.is-mobile-preview-open .mbh-sparkle,
  .mbh-configurator.is-mobile-preview-open .mbh-design-indication,
  .mbh-configurator.is-mobile-preview-open .mbh-trust-row { display: none; }
  .mbh-configurator.is-mobile-preview-open .mbh-preview-dialog-summary {
    min-width: 0;
    display: grid;
    gap: 9px;
    padding: 14px;
    border-top: 1px solid #eaddec;
    background: #fffafd;
  }
  .mbh-preview-dialog-summary > p {
    min-width: 0;
    display: grid;
    gap: 3px;
    color: var(--mbh-deep);
  }
  .mbh-preview-dialog-summary > p strong { font-size: 18px; line-height: 1.3; }
  .mbh-preview-dialog-summary > p span { color: var(--mbh-muted); font-size: 15px; line-height: 1.48; }
  .mbh-preview-dialog-summary > button {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 2px solid #ccb0d7;
    border-radius: 15px;
    background: #fff;
    color: var(--mbh-deep);
    text-align: left;
    cursor: pointer;
  }
  .mbh-preview-dialog-summary > button > span { min-width: 0; font-size: 15px; line-height: 1.4; }
  .mbh-preview-dialog-summary > button > strong { color: var(--mbh-purple); font-size: 15px; white-space: nowrap; }
  .mbh-configurator.is-mobile-preview-open .mbh-mobile-preview-footer:not([hidden]) {
    display: flex;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #dfcce5;
    background: #fff;
  }
  .mbh-mobile-preview-footer button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    background: var(--mbh-pink);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }

  .mbh-mobile-design-summary,
  [data-mbh-mobile-summary] {
    position: static;
    z-index: auto;
    top: auto;
    width: calc(100% + 4px);
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) minmax(104px, max-content);
    align-items: center;
    gap: 10px;
    min-height: 72px;
    margin-inline: -2px;
    padding: 8px 10px;
    border: 2px solid #a96fbe;
    border-bottom: 1px solid #d4b5df;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: none;
  }

  .mbh-mobile-summary-thumb {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid #d5b3e2;
    border-radius: 15px;
    background: #f1ddfa;
    color: var(--mbh-purple);
    font-size: 21px;
  }
  .mbh-mobile-summary-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .mbh-mobile-summary-thumb img[hidden] { display: none; }
  .mbh-mobile-summary-thumb i { font-style: normal; }

  .mbh-mobile-summary-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.25; }
  .mbh-mobile-summary-copy small { overflow: hidden; color: var(--mbh-pink); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .mbh-mobile-summary-copy strong { overflow: hidden; color: var(--mbh-deep); font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .mbh-mobile-summary-copy > span { overflow: hidden; color: var(--mbh-muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .mbh-mobile-design-summary > button,
  [data-mbh-mobile-summary] > button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 2px solid var(--mbh-purple);
    border-radius: 14px;
    padding: 8px;
    background: #fff;
    color: var(--mbh-purple);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }

  .mbh-config-head { padding: 16px 18px; }
  .mbh-stepper { padding: 11px 7px 9px; }
  .mbh-step-panel {
    padding: 25px 18px calc(var(--mbh-mobile-panel-end-space) + env(safe-area-inset-bottom));
    scroll-margin-top: var(--mbh-step-scroll-offset, 210px);
  }
  .mbh-step-panel h3 { font-size: clamp(28px, 7.2vw, 30px); line-height: 1.16; scroll-margin-top: var(--mbh-step-scroll-offset, 210px); }
  .mbh-step-intro { margin-bottom: 20px; font-size: 16px; line-height: 1.5; }

  .mbh-config-actions {
    position: sticky;
    z-index: 45;
    width: calc(100% + 4px);
    bottom: 0;
    margin-inline: -2px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border: 2px solid #a96fbe;
    border-top: 1px solid #d9c3e1;
    border-radius: 0 0 23px 23px;
    background: #fff;
    box-shadow: 0 -10px 28px rgba(53,18,70,.14);
  }
  .mbh-config-actions > *,
  .mbh-primary-action,
  .mbh-mobile-total { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .mbh-primary-action {
    width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .mbh-primary-label,
  .mbh-primary-price { display: inline; }
  .mbh-mobile-total { overflow: hidden; padding-inline: 6px; }
  .mbh-mobile-total strong { min-width: 0; font-variant-numeric: tabular-nums; }
  .mbh-step-panel > .mbh-positive-status {
    min-width: 0;
    min-height: 64px;
    overflow: visible;
  }
  .mbh-step-panel > .mbh-positive-status > span { min-width: 0; display: block; }
}

@media (max-width: 480px) {
  .mbh-configurator.is-mobile-preview-open .mbh-preview-dialog-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .mbh-preview-dialog-summary > button {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
  }

  .mbh-preview-dialog-summary > button > span {
    width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .mbh-preview-dialog-summary > button > strong {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: #f2e2f8;
    text-align: center;
  }
}

/* Keep the first choice visible in short, zoom-equivalent compact viewports. */
@media (min-width: 600px) and (max-width: 1120px) and (max-height: 560px) {
  .mbh-step-intro { margin-bottom: 12px; }
  .mbh-selected-look { padding-block: 8px; }
  .mbh-selected-look > span:nth-child(2) {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "label title"
      "colors colors";
    align-items: baseline;
    gap: 0 8px;
  }
  .mbh-selected-look small { grid-area: label; }
  .mbh-selected-look strong { grid-area: title; }
  .mbh-selected-look em { grid-area: colors; }
  .mbh-letter-color-disclosure > .mbh-choice-group > legend { margin-bottom: 4px; }
}

@media (max-width: 480px) {
  .mbh-configurator {
    --mbh-mobile-sticky-top: var(--mbh-fixed-layer-bottom, calc(110px + env(safe-area-inset-top)));
    width: calc(100% - 14px);
    margin-bottom: 64px;
  }

  .mbh-config-card {
    border-color: #a96fbe;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(66, 23, 86, .14);
  }

  .mbh-configurator-bar { grid-template-columns: 44px minmax(0,1fr); gap: 11px; padding: 14px; border-radius: 20px; }
  .mbh-configurator-bar > span { width: 44px; height: 44px; border-radius: 15px; font-size: 20px; }
  .mbh-configurator-bar .mbh-eyebrow { font-size: 14px; }
  .mbh-configurator-bar h2 { font-size: clamp(32px, 9vw, 36px); line-height: 1.08; }
  .mbh-configurator-bar p:last-child { display: none; }

  .mbh-config-head { padding: 14px; border-bottom-width: 1px; }
  .mbh-config-head > div { gap: 10px; }
  .mbh-config-head strong,
  .mbh-config-head > div > b,
  .mbh-config-head .price { font-size: 19px; }

  .mbh-stepper { padding: 9px 7px 8px; border-bottom-width: 1px; }
  .mbh-stepper button { min-height: 44px; padding-inline: 2px; font-size: 16px; white-space: normal; }
  .mbh-stepper button > span { width: 36px; height: 36px; border-radius: 13px; }
  .mbh-stepper button > b {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .mbh-stepper li:not(:last-child)::after { top: 18px; }

  .mbh-compact-route-options { grid-template-columns: 1fr; gap: 7px; }
  .mbh-compact-route-choice { min-height: 62px; padding: 8px 10px; }
  .mbh-compact-route-choice > .mbh-choice-status span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

  .mbh-selected-look {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 9px;
    padding: 10px;
    border-radius: 16px;
  }
  .mbh-selected-look > b {
    grid-column: 2;
    justify-self: start;
  }
  .mbh-selected-look .mbh-palette-dots { grid-row: 1 / 3; }

  .mbh-configurator.is-mobile-preview-open .mbh-preview-column {
    inset-block: max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-bottom));
    inset-inline: 6px;
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-width: 2px;
    border-radius: 22px;
  }
  .mbh-mobile-preview-header h3 { font-size: 23px; }
  .mbh-configurator.is-mobile-preview-open .mbh-example-badge { inset: 10px 10px auto; max-width: calc(100% - 20px); }

  .mbh-route-choice {
    min-height: 0;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-areas:
      "radio copy"
      ". status";
    align-items: start;
    gap: 8px 10px;
    padding: 12px;
  }
  .mbh-route-choice > input { align-self: start; margin-top: 3px; }
  .mbh-route-choice > .mbh-route-icon { display: none; }
  .mbh-route-choice > .mbh-route-status { justify-self: start; }

  .mbh-chosen-template-summary {
    grid-template-columns: 48px minmax(0,1fr) auto;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px;
    border-radius: 16px;
  }
  .mbh-chosen-template-summary > img,
  .mbh-chosen-template-summary > span { width: 48px; height: 48px; border-radius: 12px; }
  .mbh-chosen-template-summary strong { font-size: 16px; line-height: 1.25; }
  .mbh-chosen-template-summary button {
    grid-column: auto;
    min-height: 44px;
    justify-self: end;
    padding: 6px 8px;
    font-size: 14px;
  }
  .mbh-review-template {
    grid-template-columns: 44px minmax(0,1fr) auto;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 16px;
  }
  .mbh-review-template > span { width: 44px; height: 44px; border-radius: 13px; }
  .mbh-review-template > div { align-content: center; }
  .mbh-review-template small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mbh-review-template strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .mbh-review-template p {
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mbh-review-template button {
    grid-column: auto;
    justify-self: end;
    min-height: 44px;
    padding: 6px 8px;
    font-size: 14px;
  }
  .mbh-review-intro {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mbh-personalize-fields .mbh-palette-options {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .mbh-personalize-fields .mbh-palette-options > legend { grid-column: 1 / -1; }
  .mbh-personalize-fields .mbh-palette-choice {
    min-height: 138px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 11px;
    border-radius: 17px;
  }
  .mbh-personalize-fields .mbh-palette-choice > span:nth-of-type(2) { min-width: 0; }
  .mbh-personalize-fields .mbh-palette-choice > b { margin-top: auto; }

  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-vibe-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-palette-tile-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-palette-tile {
    min-height: 138px;
    padding: 11px;
    border-radius: 17px;
  }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-vibe-card {
    min-height: 142px;
    padding: 9px 5px;
  }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-extra-choice {
    min-height: 104px;
    padding: 9px 6px;
  }

  .mbh-arm-tabs { grid-template-columns: 1fr; gap: 6px; }
  .mbh-arm-tab { min-height: 58px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 10px; text-align: left; }
  .mbh-arm-tab > span { width: 34px; height: 34px; }
  .mbh-arm-tab b { min-width: 0; font-size: 15px; }
  .mbh-arm-tab small { display: block; font-size: 14px; }

  .mbh-mobile-design-summary,
  [data-mbh-mobile-summary] {
    width: calc(100% + 4px);
    grid-template-columns: 48px minmax(0,1fr) minmax(96px, max-content);
    min-height: 66px;
    gap: 8px;
    margin-inline: -2px;
    padding: 7px 8px;
    border: 2px solid #a96fbe;
    border-bottom: 1px solid #d4b5df;
    border-radius: 22px 22px 0 0;
    box-shadow: none;
  }
  .mbh-mobile-summary-thumb { width: 48px; height: 48px; border-radius: 13px; }
  .mbh-mobile-design-summary > button,
  [data-mbh-mobile-summary] > button { min-width: 0; padding-inline: 6px; }

  .mbh-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mbh-palette-choice { grid-template-columns: 70px minmax(0,1fr); }
  .mbh-palette-choice > b { grid-column: 2; }
  .mbh-template-grid { grid-template-columns: 1fr; }
  .mbh-template-card > input { width: 24px; height: 24px; }
  .mbh-advanced-panel,
  .mbh-progressive-section,
  .mbh-config-section { padding: 14px; border-radius: 17px; }

  .mbh-more-customization {
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .mbh-more-customization-toggle { margin-bottom: 0; }
  .mbh-more-customization .mbh-advanced-section-nav { margin-bottom: 0; padding: 4px; border-width: 1px; }
  .mbh-more-customization .mbh-advanced-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .mbh-gift-option {
    min-height: 98px;
    grid-template-columns: 42px minmax(0,1fr);
    grid-template-rows: auto auto;
    gap: 4px 10px;
    padding: 10px;
  }
  .mbh-gift-option > span:first-of-type { grid-row: 1 / 3; width: 42px; height: 42px; border-radius: 13px; }
  .mbh-gift-option > span:nth-of-type(2) { align-self: end; }
  .mbh-gift-option strong { overflow-wrap: normal; word-break: normal; hyphens: none; line-height: 1.25; }
  .mbh-gift-option small { line-height: 1.3; }
  .mbh-gift-option > b { grid-column: 2; align-self: start; font-size: 14px; }

  .mbh-letter-color-disclosure { margin: 0 0 10px; }
  .mbh-letter-color-disclosure > summary {
    min-height: 56px;
    display: grid;
    grid-template-columns: 36px minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border: 1px solid var(--mbh-purple);
    border-radius: 15px;
    background: #fff;
    color: var(--mbh-purple);
    cursor: pointer;
    list-style: none;
  }
  .mbh-letter-color-disclosure > summary::-webkit-details-marker { display: none; }
  .mbh-letter-color-disclosure > summary > .mbh-fa-icon { width: 24px; height: 24px; justify-self: center; }
  .mbh-letter-color-disclosure > summary > span { min-width: 0; display: grid; }
  .mbh-letter-color-disclosure > summary small { color: var(--mbh-muted); font-size: 13px; font-weight: 700; }
  .mbh-letter-color-disclosure > summary strong { font-size: 16px; line-height: 1.2; }
  .mbh-letter-color-disclosure > summary b { font-size: 14px; font-weight: 700; }
  .mbh-letter-color-disclosure[open] > summary { border-radius: 15px 15px 0 0; background: #f7edff; }
  .mbh-letter-color-disclosure > .mbh-choice-group {
    margin: 0;
    padding: 10px;
    border: 1px solid #d7bde2;
    border-top: 0;
    border-radius: 0 0 15px 15px;
    background: #fffafd;
  }
  .mbh-letter-color-disclosure > .mbh-choice-group > legend { margin-bottom: 8px; font-size: 15px; }
  .mbh-letter-color-grid { gap: 6px; }
  .mbh-letter-color {
    min-height: 118px;
    display: grid;
    grid-template-rows: 54px minmax(18px, auto) 17px;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 8px 4px;
  }
  .mbh-letter-color strong { font-size: 14px; line-height: 1.15; }
  .mbh-letter-color > b {
    min-height: 17px;
    display: block;
    visibility: hidden;
    font-size: 12px;
    line-height: 1.35;
  }
  .mbh-letter-color.is-selected > b { visibility: visible; }

  .mbh-config-actions {
    width: calc(100% + 4px);
    grid-template-columns: 52px minmax(72px,.36fr) minmax(0,1fr);
    gap: 7px;
    margin-inline: -2px;
    border: 2px solid #a96fbe;
    border-top: 1px solid #d9c3e1;
    border-radius: 0 0 22px 22px;
  }
  .mbh-config-actions.is-first-step { grid-template-columns: minmax(72px,.32fr) minmax(0,1fr); }
  .mbh-config-actions button { min-height: 54px; }
  .mbh-mobile-total { min-height: 54px; padding-inline: 5px; }
  .mbh-primary-action[data-final="true"] .mbh-primary-price { display: none; }
}

@media (max-width: 340px) {
  .mbh-configurator { --mbh-mobile-panel-end-space: 24px; width: calc(100% - 10px); }
  .mbh-configurator-bar > span { display: none; }
  .mbh-configurator-bar { grid-template-columns: 1fr; }
  .mbh-step-panel { padding: 19px 12px calc(var(--mbh-mobile-panel-end-space) + env(safe-area-inset-bottom)); }
  .mbh-step-panel h3 { margin-bottom: 6px; }
  .mbh-step-intro { margin-bottom: 14px; line-height: 1.42; }
  .mbh-stepper button { font-size: 16px; }
  .mbh-choice-group { margin-bottom: 14px; }
  .mbh-customization-modes .mbh-route-list { gap: 6px; }
  .mbh-route-choice { min-height: 0; gap: 6px 8px; padding: 10px; }
  .mbh-route-choice .mbh-route-copy > strong { font-size: 16px; line-height: 1.24; }
  .mbh-route-choice .mbh-route-copy > small { line-height: 1.34; }
  .mbh-route-choice > .mbh-route-status { min-height: 28px; padding: 3px 7px; }

  .mbh-chosen-template-summary {
    grid-template-columns: 40px minmax(0,1fr) auto;
    margin-bottom: 10px;
    padding: 7px;
  }
  .mbh-chosen-template-summary > img,
  .mbh-chosen-template-summary > span { width: 40px; height: 40px; }
  .mbh-chosen-template-summary small { font-size: 13px; }
  .mbh-chosen-template-summary button { min-width: 48px; min-height: 44px; padding-inline: 6px; }

  .mbh-customization-modes > .mbh-help,
  .mbh-personalize-fields > .mbh-help,
  .mbh-curated-looks > .mbh-help,
  .mbh-choice-group > .mbh-help {
    margin: 5px 0 9px;
    padding: 4px 8px;
    border-left-width: 3px;
    font-size: 14px;
    line-height: 1.35;
  }

  .mbh-positive-status {
    margin-top: 6px;
    padding: 6px 8px;
    gap: 7px;
    font-size: 14px;
    line-height: 1.3;
  }
  .mbh-selection-status {
    margin-top: 6px;
    padding: 6px 8px;
    font-size: 14px;
    line-height: 1.3;
  }

  .mbh-configurator[data-profile-id="besties-duo"] .mbh-arm-tabs,
  .mbh-configurator[data-profile-id="mama-me"] .mbh-arm-tabs,
  .mbh-configurator[data-profile-id="gift-set"] .mbh-arm-tabs {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 6px;
  }

  .mbh-text-mode-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
  .mbh-text-mode-grid .mbh-mode-card {
    min-height: 140px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 8px 6px;
    text-align: center;
  }
  .mbh-text-mode-grid .mbh-mode-card > span {
    grid-row: auto;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 18px;
  }
  .mbh-text-mode-grid .mbh-mode-card > strong { align-self: auto; font-size: 16px; }
  .mbh-text-mode-grid .mbh-mode-card > small { font-size: 13px; line-height: 1.28; }
  .mbh-text-mode-grid .mbh-mode-card > b { font-size: 12px; }
  .mbh-configurator[data-profile-id="mama-me"] .mbh-text-mode-grid .mbh-mode-card { min-height: 96px; }
  .mbh-configurator[data-profile-id="mama-me"] .mbh-text-mode-grid .mbh-mode-card > small {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }

  .mbh-personalize-fields > .mbh-choice-group > .mbh-mode-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 6px;
  }
  .mbh-personalize-fields > .mbh-choice-group > .mbh-mode-grid .mbh-mode-card {
    min-height: 140px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 8px 6px;
    text-align: center;
  }
  .mbh-personalize-fields > .mbh-choice-group > .mbh-mode-grid .mbh-mode-card > span {
    grid-row: auto;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 18px;
  }
  .mbh-personalize-fields > .mbh-choice-group > .mbh-mode-grid .mbh-mode-card > strong { align-self: auto; font-size: 16px; }
  .mbh-personalize-fields > .mbh-choice-group > .mbh-mode-grid .mbh-mode-card > small { font-size: 13px; line-height: 1.28; }
  .mbh-personalize-fields > .mbh-choice-group > .mbh-mode-grid .mbh-mode-card > b { font-size: 12px; }

  .mbh-configurator[data-profile-id="team-colors"] .mbh-color-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 6px;
  }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-color-choice {
    min-height: 88px;
    gap: 4px;
    padding: 6px 3px;
  }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-color-choice > b { font-size: 13px; line-height: 1.15; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-color-order {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 6px;
  }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-color-order li { min-width: 0; min-height: 44px; flex-wrap: wrap; padding: 5px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-color-order li > b { max-width: 100%; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-choice-limit { margin-bottom: 8px; line-height: 1.35; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-pattern-grid { grid-template-columns: 1fr; gap: 6px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-pattern-card {
    min-height: 84px;
    display: grid;
    grid-template-columns: 54px minmax(0,1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 1px 8px;
    padding: 8px 9px;
  }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-pattern-card > span { grid-row: 1 / 4; min-height: 0; font-size: 17px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-pattern-card strong { font-size: 15px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-pattern-card small { font-size: 13px; line-height: 1.25; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-pattern-card > b { font-size: 12px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-included-card {
    min-height: 104px;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 8px;
    padding: 9px;
  }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-included-card > span { width: 42px; height: 42px; border-radius: 13px; font-size: 18px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-included-card strong { font-size: 15px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-included-card p { font-size: 13px; line-height: 1.3; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-included-card > b { grid-column: 2; font-size: 13px; }
  .mbh-configurator[data-profile-id="team-colors"] .mbh-simple-field { margin-bottom: 12px; }

  .mbh-surprise-choice-stage { margin-bottom: 9px; }
  .mbh-surprise-choice-stage > summary {
    min-height: 56px;
    grid-template-columns: 36px minmax(0,1fr) auto;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 15px;
  }
  .mbh-surprise-choice-stage[open] > summary { border-radius: 15px 15px 0 0; }
  .mbh-surprise-choice-stage > summary .mbh-number-badge { width: 34px; height: 34px; }
  .mbh-surprise-choice-stage > summary small { font-size: 13px; }
  .mbh-surprise-choice-stage > summary strong { font-size: 16px; }
  .mbh-surprise-choice-stage > .mbh-choice-group { padding-top: 7px; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-surprise-note {
    margin: 5px 0 9px;
    padding: 6px 8px;
    font-size: 14px;
    line-height: 1.35;
  }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-palette-tile { min-height: 106px; padding: 8px; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-palette-tile strong { font-size: 15px; line-height: 1.15; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-palette-tile small { font-size: 13px; line-height: 1.2; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-vibe-grid { grid-template-columns: 1fr; gap: 6px; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-vibe-card {
    min-height: 82px;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 1px 8px;
    padding: 8px;
  }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-vibe-card > span { grid-row: 1 / 4; min-height: 0; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-vibe-card small { font-size: 13px; line-height: 1.2; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-vibe-card > b { font-size: 12px; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-extra-choice {
    min-height: 92px;
    padding: 7px 5px;
  }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-extra-choice strong { font-size: 14px; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-extra-choice small { font-size: 12px; line-height: 1.2; }
  .mbh-configurator[data-profile-id="surprise-by-hayley"] .mbh-extra-choice > b { font-size: 12px; }

  .mbh-text-field { margin-bottom: 12px; }
  .mbh-text-field > label { margin-bottom: 5px; font-size: 16px; }
  .mbh-text-field > div { min-height: 54px; }
  .mbh-text-field input { padding: 10px 12px; font-size: 18px; }
  .mbh-text-field > div > span { padding-inline: 10px; }
  .mbh-text-field > small { margin-top: 4px; line-height: 1.35; }

  .mbh-curated-looks { gap: 6px; }
  .mbh-section-kicker { margin-block: 0; }
  .mbh-personalize-fields .mbh-palette-choice {
    position: relative;
    min-height: 98px;
    padding: 8px 8px 27px;
  }
  .mbh-personalize-fields .mbh-palette-choice small {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .mbh-personalize-fields .mbh-palette-choice > b {
    position: absolute;
    left: 8px;
    bottom: 6px;
    margin: 0;
  }
  .mbh-personalize-fields .mbh-palette-dots i { width: 24px; height: 24px; }
  .mbh-personalize-fields .mbh-palette-choice strong { font-size: 15px; line-height: 1.15; }

  .mbh-more-customization-toggle { min-height: 54px; margin-bottom: 0; padding: 8px 10px; }
  .mbh-more-customization-toggle small { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .mbh-config-actions { grid-template-columns: 48px 70px minmax(0,1fr); }
  .mbh-primary-action[data-final="true"] { padding-inline: 4px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .mbh-configurator,
  .mbh-configurator *,
  .mbh-configurator *::before,
  .mbh-configurator *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
