.mb-booking {
  --mb-brand: #8a7355;
  --mb-paper: #fcfbf8;
  --mb-surface: #ffffff;
  --mb-ink: #272722;
  --mb-muted: #77756d;
  --mb-line: #dedbd2;
  --mb-soft: #f3f0e9;
  max-width: 880px;
  margin: 48px auto;
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: 8px;
  background: var(--mb-paper);
  box-shadow: 0 18px 55px rgba(39, 39, 34, .07);
  color: var(--mb-ink);
  font-family: inherit;
}

.mb-booking * { box-sizing: border-box; }
.mb-booking button,
.mb-booking input { font: inherit; }

.mb-booking__top {
  padding: 44px 48px 35px;
  background: var(--mb-paper);
}

.mb-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--mb-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mb-booking__top h2 {
  max-width: 620px;
  margin: 0;
  color: var(--mb-ink);
  font-size: clamp(31px, 5vw, 44px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.mb-booking__top p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--mb-muted);
  font-size: 15px;
  line-height: 1.6;
}

.mb-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0 48px;
  border-top: 1px solid var(--mb-line);
  border-bottom: 1px solid var(--mb-line);
  background: rgba(255, 255, 255, .48);
}

.mb-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  color: #9a978e;
  font-size: 12px;
}

.mb-step:not(:last-child)::after {
  position: absolute;
  right: 10px;
  width: 22px;
  height: 1px;
  background: var(--mb-line);
  content: "";
}

.mb-step i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 1px solid #c9c6bd;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.mb-step em { font-style: normal; }
.mb-step.is-current { color: var(--mb-ink); font-weight: 700; }
.mb-step.is-current i { border-color: var(--mb-ink); background: var(--mb-ink); color: #fff; }
.mb-step.is-complete { color: var(--mb-brand); }
.mb-step.is-complete i { border-color: var(--mb-brand); color: var(--mb-brand); }

.mb-booking__body { padding: 38px 48px 48px; }

.mb-section-head { margin: 0 0 20px; }
.mb-section-head > span {
  display: block;
  color: var(--mb-ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.mb-section-head p { margin: 5px 0 0; color: var(--mb-muted); font-size: 14px; }

.mb-fair-list { border-top: 1px solid var(--mb-line); }
.mb-fair {
  width: 100%;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 23px 5px;
  border: 0;
  border-bottom: 1px solid var(--mb-line);
  background: transparent;
  color: var(--mb-ink);
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, padding .18s ease;
}
.mb-fair:hover { padding-right: 14px; padding-left: 14px; background: rgba(255, 255, 255, .72); }
.mb-fair__date {
  display: flex;
  min-height: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--mb-line);
  font-style: normal;
}
.mb-fair__date strong { font-size: 27px; font-weight: 500; line-height: 1; }
.mb-fair__date span { margin-top: 5px; color: var(--mb-brand); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mb-fair__content small,
.mb-fair__content strong,
.mb-fair__content em { display: block; }
.mb-fair__content small { margin-bottom: 5px; color: var(--mb-brand); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mb-fair__content strong { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.mb-fair__content em { margin-top: 6px; color: var(--mb-muted); font-size: 13px; font-style: normal; }
.mb-fair__action { color: var(--mb-ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mb-fair__action b { margin-left: 7px; font-size: 17px; font-weight: 400; }

.mb-back {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mb-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.mb-back:hover { color: var(--mb-ink); }

.mb-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 32px;
  padding: 18px 0;
  border-top: 1px solid var(--mb-line);
  border-bottom: 1px solid var(--mb-line);
}
.mb-summary span small,
.mb-summary span strong { display: block; }
.mb-summary span small { margin-bottom: 4px; color: var(--mb-brand); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mb-summary span strong { font-size: 15px; font-weight: 650; text-transform: capitalize; }
.mb-summary em { color: var(--mb-muted); font-size: 13px; font-style: normal; text-align: right; }
.mb-summary--accent { border-top-color: var(--mb-brand); }

.mb-date-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mb-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 17px 19px;
  border: 1px solid var(--mb-line);
  border-radius: 4px;
  background: var(--mb-surface);
  color: var(--mb-ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, transform .18s ease;
}
.mb-date:hover { transform: translateY(-2px); border-color: var(--mb-brand); }
.mb-date small,
.mb-date strong { display: block; text-transform: capitalize; }
.mb-date small { margin-bottom: 3px; color: var(--mb-brand); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mb-date strong { font-size: 16px; font-weight: 600; }
.mb-date b { font-size: 18px; font-weight: 400; }

.mb-slot-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mb-slot {
  min-height: 74px;
  padding: 13px 8px;
  border: 1px solid var(--mb-line);
  border-radius: 4px;
  background: var(--mb-surface);
  color: var(--mb-ink);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}
.mb-slot:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--mb-brand); }
.mb-slot strong,
.mb-slot span { display: block; }
.mb-slot strong { font-size: 17px; font-weight: 600; }
.mb-slot span { margin-top: 6px; color: #54715d; font-size: 10px; }
.mb-slot span i { display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; border-radius: 50%; background: #5f806a; }
.mb-slot:disabled { background: #f0eee8; color: #aaa79e; cursor: not-allowed; }
.mb-slot:disabled span { color: #aaa79e; }
.mb-slot:disabled span i { background: #aaa79e; }

.mb-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
.mb-fields label span { display: block; margin-bottom: 8px; color: var(--mb-ink); font-size: 12px; font-weight: 650; }
.mb-fields input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #cbc7bd;
  border-radius: 3px;
  background: var(--mb-surface);
  color: var(--mb-ink);
  box-shadow: none;
}
.mb-fields input:focus { outline: 2px solid rgba(138, 115, 85, .16); border-color: var(--mb-brand); }
.mb-honey { position: absolute !important; left: -10000px !important; }

.mb-consents { margin-top: 24px; padding: 17px 0; border-top: 1px solid var(--mb-line); border-bottom: 1px solid var(--mb-line); }
.mb-consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; color: #55544f; font-size: 12px; }
.mb-consent input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--mb-brand); }
.mb-privacy { margin: 13px 0 0; color: var(--mb-muted); font-size: 11px; line-height: 1.5; }
.mb-privacy a { color: var(--mb-ink); text-decoration: underline; text-underline-offset: 2px; }
.mb-price { display: flex; justify-content: space-between; margin: 22px 0 0; padding: 17px 0; border-top: 1px solid var(--mb-line); font-size: 14px; }

.mb-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--mb-ink);
  border-radius: 3px;
  background: var(--mb-ink);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  transition: background .18s ease, color .18s ease;
}
.mb-submit:hover { background: transparent; color: var(--mb-ink); }
.mb-submit:disabled { opacity: .55; cursor: wait; }
.mb-submit b { font-size: 18px; font-weight: 400; }
.mb-error { margin-top: 16px; padding: 13px 15px; border-left: 3px solid #a7463d; background: #f8ece9; color: #8a332c; font-size: 12px; }

.mb-booking__loading,
.mb-empty,
.mb-success { padding: 70px 48px; text-align: center; }
.mb-booking__loading { color: var(--mb-muted); font-size: 13px; }
.mb-booking__loading span { display: inline-block; width: 18px; height: 18px; margin-right: 9px; border: 1px solid var(--mb-line); border-top-color: var(--mb-ink); border-radius: 50%; vertical-align: middle; animation: mb-spin .8s linear infinite; }
.mb-empty strong { font-size: 21px; font-weight: 600; }
.mb-empty p { color: var(--mb-muted); }
.mb-empty .mb-submit { max-width: 280px; margin-right: auto; margin-left: auto; }
.mb-success__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 24px; border: 1px solid var(--mb-brand); border-radius: 50%; color: var(--mb-brand); font-size: 24px; }
.mb-success > span { display: block; color: var(--mb-brand); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mb-success h3 { margin: 10px 0 6px; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.mb-success > strong { font-size: 14px; font-weight: 600; text-transform: capitalize; }
.mb-success p { max-width: 480px; margin: 20px auto; color: var(--mb-muted); line-height: 1.6; }
.mb-success button { padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--mb-ink); background: transparent; color: var(--mb-ink); cursor: pointer; font-weight: 600; }

.mb-payment-choices {
  max-width: 620px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 28px auto 12px;
  text-align: left;
}
.mb-payment-choice {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px;
  border: 0;
  border-radius: 7px;
  color: var(--mb-ink);
  text-decoration: none !important;
  box-shadow: 0 9px 25px rgba(39, 39, 34, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.mb-payment-choice:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(39, 39, 34, .18); filter: brightness(1.025); }
.mb-payment-choice__logo { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.28); border-radius: 11px; background: rgba(255,255,255,.14); font-size: 22px; font-weight: 800; }
.mb-payment-choice__logo i { position: relative; display: block; width: 27px; height: 19px; overflow: hidden; border-radius: 3px; background: #fff; }
.mb-payment-choice__logo i::after { position: absolute; top: 5px; right: 0; left: 0; height: 4px; background: #272722; content: ""; }
.mb-payment-choice__copy small,
.mb-payment-choice__copy strong { display: block; }
.mb-payment-choice__copy small { margin-bottom: 4px; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mb-payment-choice__copy strong { font-size: 17px; font-weight: 700; }
.mb-payment-choice__price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.mb-payment-choice__price b { margin-left: 12px; font-size: 20px; font-weight: 400; }
.mb-payment-choice.is-mobilepay { border-color: #5a78ff; background: #5a78ff; color: #fff; }
.mb-payment-choice.is-card { background: var(--mb-ink); color: #fff; }
.mb-success .mb-payment-help { margin: 8px auto 24px; font-size: 11px; }

.mb-demo-checkout { max-width: 700px; margin: 0 auto; }
.mb-checkout-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 26px;
}
.mb-checkout-lock {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #e9efe9;
  color: #42624c;
  font-size: 15px;
  font-weight: 800;
}
.mb-checkout-head > div { flex: 1; }
.mb-checkout-head small { display: block; margin-bottom: 3px; color: var(--mb-brand); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.mb-checkout-head h3 { margin: 0; color: var(--mb-ink); font-size: 25px; font-weight: 550; letter-spacing: -.03em; }
.mb-checkout-head p { margin: 5px 0 0; color: var(--mb-muted); font-size: 12px; }
.mb-demo-pill {
  padding: 6px 9px;
  border: 1px solid #d7b969;
  border-radius: 999px;
  background: #fff8dd;
  color: #745b19;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mb-demo-pill.is-live { border-color: #bfd8c7; background: #edf7f0; color: #2e6943; }
.mb-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
  padding: 20px 22px;
  border: 1px solid var(--mb-line);
  border-radius: 7px;
  background: var(--mb-surface);
  box-shadow: 0 8px 28px rgba(39, 39, 34, .045);
}
.mb-order-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mb-order-date { display: flex; width: 52px; height: 58px; flex: 0 0 52px; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--mb-line); }
.mb-order-date b { font-size: 24px; font-weight: 550; line-height: 1; }
.mb-order-date small { margin-top: 5px; color: var(--mb-brand); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mb-order-copy small,
.mb-order-copy strong,
.mb-order-copy em { display: block; }
.mb-order-copy small { margin-bottom: 4px; color: var(--mb-brand); font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.mb-order-copy strong { overflow: hidden; font-size: 16px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.mb-order-copy em { margin-top: 5px; color: var(--mb-muted); font-size: 12px; font-style: normal; text-transform: capitalize; }
.mb-order-price { flex: 0 0 auto; padding-left: 22px; border-left: 1px solid var(--mb-line); text-align: right; }
.mb-order-price small,
.mb-order-price strong { display: block; }
.mb-order-price small { margin-bottom: 5px; color: var(--mb-muted); font-size: 10px; }
.mb-order-price strong { font-size: 18px; font-weight: 700; }
.mb-payment-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.mb-payment-heading > div > span { display: block; color: var(--mb-ink); font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.mb-payment-heading p { margin: 4px 0 0; color: var(--mb-muted); font-size: 12px; }
.mb-payment-heading > small { display: flex; align-items: center; gap: 6px; color: #52705c; font-size: 10px; white-space: nowrap; }
.mb-payment-heading > small i { width: 6px; height: 6px; border-radius: 50%; background: #5f806a; box-shadow: 0 0 0 3px rgba(95,128,106,.12); }
.mb-demo-payments { display: grid; gap: 12px; }
.mb-demo-payment {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 15px 19px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 9px 25px rgba(39, 39, 34, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.mb-demo-payment:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(39, 39, 34, .18);
  filter: brightness(1.025);
}
.mb-demo-payment:focus-visible { outline: 3px solid rgba(138, 115, 85, .3); outline-offset: 3px; }
.mb-demo-payment.is-mobilepay { background: #5a78ff; }
.mb-demo-payment.is-card { background: #272722; }
.mb-demo-payment:disabled { cursor: wait; opacity: .72; }
.mb-demo-payment.is-processing { animation: mb-pulse 1.2s ease-in-out infinite; }
.mb-pay-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.06em;
}
.mb-pay-logo i {
  position: relative;
  display: block;
  width: 28px;
  height: 20px;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
}
.mb-pay-logo i::before {
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  height: 4px;
  background: #272722;
  content: "";
}
.mb-pay-logo i::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #b6b6af;
  content: "";
}
.mb-pay-copy small,
.mb-pay-copy strong { display: block; }
.mb-pay-copy small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.mb-pay-copy strong { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mb-pay-total { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.mb-pay-total strong { font-size: 14px; font-weight: 700; }
.mb-pay-total b { font-size: 22px; font-weight: 400; }
.mb-checkout-foot {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 17px;
  border-radius: 6px;
  background: var(--mb-soft);
  color: var(--mb-muted);
}
.mb-checkout-foot > span { margin-top: 1px; font-size: 13px; }
.mb-checkout-foot p { margin: 0; font-size: 11px; line-height: 1.55; }
.mb-checkout-foot strong { color: var(--mb-ink); font-size: 11px; }

@keyframes mb-spin { to { transform: rotate(360deg); } }
@keyframes mb-pulse { 50% { opacity: .55; } }

@media (max-width: 700px) {
  .mb-booking { margin: 24px 0; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .mb-booking__top { padding: 34px 24px 27px; }
  .mb-progress { padding: 0 24px; }
  .mb-step { min-height: 56px; justify-content: center; }
  .mb-step em { display: none; }
  .mb-step:not(:last-child)::after { right: -14px; width: 28px; }
  .mb-booking__body { padding: 30px 24px 38px; }
  .mb-fair { grid-template-columns: 60px 1fr; gap: 15px; }
  .mb-fair__action { display: none; }
  .mb-date-list,
  .mb-fields { grid-template-columns: 1fr; }
  .mb-slot-list { grid-template-columns: repeat(3, 1fr); }
  .mb-summary { display: block; }
  .mb-summary em { display: block; margin-top: 7px; text-align: left; }
  .mb-booking__loading,
  .mb-empty,
  .mb-success { padding: 52px 24px; }
  .mb-payment-choices { grid-template-columns: 1fr; }
  .mb-checkout-head { align-items: flex-start; }
  .mb-demo-pill { margin-left: auto; }
  .mb-order-card { align-items: flex-start; padding: 17px; }
  .mb-order-price { padding-left: 14px; }
  .mb-payment-heading > small { display: none; }
  .mb-demo-payment { grid-template-columns: 46px 1fr auto; gap: 13px; padding: 14px; }
  .mb-pay-logo { width: 46px; height: 46px; border-radius: 10px; }
  .mb-pay-total strong { display: none; }
}

@media (max-width: 390px) {
  .mb-slot-list { grid-template-columns: repeat(2, 1fr); }
  .mb-order-card { display: block; }
  .mb-order-price { display: flex; justify-content: space-between; margin-top: 15px; padding: 14px 0 0; border-top: 1px solid var(--mb-line); border-left: 0; text-align: left; }
}
