:root {
  --color-secondary: #ea5b1b;
  --color-secundair: var(--color-secondary);
  --bm-navy: #1e2a4e;
  --bm-orange: var(--color-secondary);
  --bm-bg: #ffffff;
  --bm-card: #ffffff;
  --bm-text: #111827;
  --bm-muted: #6b7280;
  --bm-line: #e5e7eb;
  --bm-radius: 12px;
  --bm-font: "Segoe UI", Inter, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bm-bg);
  color: var(--bm-text);
  font-family: var(--bm-font);
  font-size: 16px;
  line-height: 1.5;
  overflow-y: hidden;
}

.bm {
  min-height: 100%;
}

.bm-app,
.bm-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.bm-header h1,
.bm-card h1,
.bm-panel h2 {
  margin: 0 0 8px;
  color: var(--bm-navy);
  font-size: 1.6rem;
  line-height: 1.25;
}

.bm-kicker {
  margin: 0 0 6px;
  color: var(--bm-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bm-lead,
.bm-hint {
  color: var(--bm-muted);
  margin: 0 0 16px;
}

.bm-cal {
  user-select: none;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--bm-line);
  border-radius: 10px;
  background: #fff;
}

.bm-cal__header {
  display: grid;
  grid-template-columns: 32px 1fr auto 1fr 32px;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.bm-cal__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--bm-navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.bm-cal__nav:hover:not(:disabled) {
  background: #f3f4f6;
}

.bm-cal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.bm-cal__month-label {
  overflow: hidden;
  color: var(--bm-navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bm-cal__month-label.is-current {
  color: var(--bm-orange);
}

.bm-cal__year {
  justify-self: center;
}

.bm-cal__year select {
  min-width: 76px;
  padding: 4px 8px;
  border: 1px solid var(--bm-line);
  border-radius: 6px;
  background: #fff;
  color: var(--bm-navy);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.bm-cal__months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bm-cal__weekdays,
.bm-cal__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.bm-cal__weekdays {
  margin-bottom: 6px;
}

.bm-cal__weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bm-muted);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
}

.bm-cal__day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 36px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--bm-text);
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
}

.bm-cal__day.is-empty {
  pointer-events: none;
}

.bm-cal__day.is-past,
.bm-cal__day.is-blocked {
  color: #c4c9d4;
  pointer-events: none;
  cursor: default;
}

.bm-cal__day:hover:not(.is-empty):not(.is-past):not(.is-blocked) {
  background: #eef0f4;
}

.bm-cal__day.is-today:not(.is-start):not(.is-end):not(.is-selected):not(.is-in-range) {
  box-shadow: inset 0 0 0 1.5px var(--bm-navy);
  font-weight: 700;
}

.bm-cal__day.is-today:not(.is-start):not(.is-end):not(.is-selected):not(.is-in-range):hover {
  background: #eef0f4;
}

.bm-cal__day.is-in-range {
  background: #fde8dc;
  color: var(--bm-navy);
  border-radius: 4px;
}

.bm-cal__day.is-start,
.bm-cal__day.is-end,
.bm-cal__day.is-selected {
  background: var(--bm-orange);
  color: #fff;
  font-weight: 700;
}

.bm-cal__choice {
  margin: 0 0 12px;
  color: var(--bm-navy);
  font-weight: 600;
  line-height: 1.45;
}

.bm-cal__choice.is-empty {
  color: var(--bm-muted);
  font-weight: 400;
}

.bm-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
}

.bm-steps li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 8px 4px;
  border-radius: 999px;
  background: #e5e7eb;
  color: var(--bm-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.bm-steps li.is-active {
  background: var(--bm-navy);
  color: #fff;
}

.bm-panel {
  background: var(--bm-card);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 20px;
}

.bm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--bm-navy);
}

.bm-field span em {
  font-style: normal;
  font-weight: 400;
  color: var(--bm-muted);
}

.bm-field input,
.bm-field textarea,
.bm-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--bm-line);
  border-radius: 8px;
  font: inherit;
  color: var(--bm-text);
  background: #fff;
}

.bm-check,
.bm-radio {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 16px;
  font-weight: 400;
  color: var(--bm-text);
  cursor: pointer;
}

.bm-voorwaarden {
  margin: 4px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--bm-line);
  border-radius: 8px;
  background: #f8f9fb;
}

.bm-check input[type="checkbox"] {
  appearance: auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--bm-orange);
}

.bm-check a {
  color: var(--bm-orange);
  font-weight: 600;
  text-underline-offset: 2px;
}

.bm-choice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 12px;
}

.bm-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 12px 10px;
  border: 1.5px solid var(--bm-line);
  border-radius: 10px;
  background: #fff;
  color: var(--bm-navy);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.bm-choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bm-choice-card:hover {
  border-color: #c5cad3;
  background: #f8f9fb;
}

.bm-choice-card:has(input:checked) {
  border-color: var(--bm-orange);
  background: #fde8dc;
}

.bm-choice-card:has(input:focus-visible) {
  outline: 2px solid var(--bm-navy);
  outline-offset: 2px;
}

.bm-choice-card small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--bm-muted);
}

.bm-choice-card:has(input:checked) small {
  color: var(--bm-navy);
}

.bm-choice-card:has(input:disabled) {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.bm-choice-cards.is-single {
  grid-template-columns: 1fr;
}

.bm-boten {
  display: grid;
  gap: 14px;
}

.bm-boot {
  display: grid;
  grid-template-columns:240px 1fr;
  gap: 14px;
  border: 1px solid var(--bm-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.bm-boot.is-disabled {
  opacity: 0.62;
}

.bm-boot img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  background: #dbe0ea;
}

.bm-boot__body {
  padding: 12px 12px 12px 0;
}

.bm-boot h3 {
  margin: 0 0 4px;
  color: var(--bm-navy);
  font-size: 1.1rem;
}

.bm-boot p {
  margin: 0 0 8px;
  color: var(--bm-text);
  font-size: 0.92rem;
}

.bm-props {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--bm-navy);
}

.bm-props li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 4px;
}

.bm-props li:last-child {
  margin-bottom: 0;
}

.bm-props__icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 0.22em;
  background-color: var(--color-secundair);
  -webkit-mask-image: var(--bm-prop-icon);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--bm-prop-icon);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.bm-boot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.bm-prijs {
  font-weight: 700;
  color: var(--bm-navy);
}

.bm-beschikbaar {
  color: var(--bm-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.bm-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.bm-boot__meta .bm-stepper {
  margin-left: auto;
}

.bm-stepper__count {
  min-width: 1.25rem;
  color: var(--bm-navy);
  font-weight: 700;
  text-align: center;
  line-height: 1;
}

.bm-stepper__count.is-zero {
  color: var(--bm-muted);
  font-weight: 600;
}

.bm-stepper__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--bm-line);
  border-radius: 8px;
  background: #fff;
  color: var(--bm-navy);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.bm-stepper__btn svg {
  display: block;
}

.bm-stepper__btn:hover:not(:disabled) {
  border-color: var(--bm-orange);
  color: var(--bm-orange);
}

.bm-stepper__btn--trash:hover:not(:disabled) {
  border-color: #b42318;
  color: #b42318;
}

.bm-stepper__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.bm-mand {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--bm-line);
}

.bm-mand ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.bm-mand li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bm-mand li span {
  white-space: nowrap;
}

.bm-totaal {
  font-size: 1.05rem;
}

.bm-pay {
  border: 0;
  padding: 0;
  margin: 16px 0;
  min-inline-size: 0;
}

.bm-pay legend {
  padding: 0;
  margin: 0 0 4px;
  color: var(--bm-navy);
  font-weight: 700;
}

.bm-pay .bm-choice-cards {
  margin-bottom: 0;
}

.bm-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.bm-btn {
  appearance: none;
  border: 1px solid var(--bm-line);
  background: #fff;
  color: var(--bm-navy);
  border-radius: 8px;
  padding: 4px 24px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bm-btn--primary {
  background: var(--bm-orange);
  border-color: var(--bm-orange);
  color: #fff;
}

.bm-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bm-error {
  color: #b42318;
  margin: 8px 0 0;
}

.bm-ok {
  color: var(--bm-navy);
  font-weight: 700;
}

.bm-upsell {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--bm-line);
}

.bm-upsell small {
  font-weight: 400;
  color: var(--bm-muted);
}

.bm-upsells--step {
  margin: 0 0 16px;
  padding: 4px 0;
}

.bm--return {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.bm--return .bm-card {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
}

@media (max-width: 640px) {
  .bm-row,
  .bm-boot {
    grid-template-columns: 1fr;
  }

  .bm-boot img {
    max-height: 160px;
  }

  .bm-cal {
    padding: 10px 8px;
  }

  .bm-cal__months {
    gap: 10px;
  }

  .bm-cal__header {
    gap: 4px;
  }

  .bm-cal__month-label {
    font-size: 0.78rem;
  }

  .bm-cal__day {
    max-width: 30px;
    font-size: 0.75rem;
  }
}
