/* Booking dialog, inline booking block and floating MAX button. */
.mb-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); overflow: hidden; }
.mb-dialog::backdrop { background: rgba(37, 38, 42, .55); }
.mb-body { max-height: calc(100dvh - 24px); overflow: hidden auto; overscroll-behavior: contain; padding: 30px 26px 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mb-close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.mb-inline { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 640px; margin: 0 0 32px; padding: clamp(20px, 4vw, 32px); border-radius: 22px; background: var(--card); }
.mb-title { margin: 0; padding-right: 40px; font: 500 clamp(1.8rem, 5vw, 2.2rem)/1.05 var(--serif); }
.mb-inline .mb-title { padding-right: 0; }
.mb-title:focus { outline: none; }
.mb-note { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
.mb-small { font-size: .88rem; }
.mb-label { margin: 6px 0 0; font-weight: 600; font-size: .95rem; }
.mb-max, .mb-wide { width: 100%; }
.mb-fallback { justify-self: start; }
.mb-qr { display: none; align-items: center; gap: 16px; padding: 12px; border-radius: 14px; background: #fff; }
.mb-qr img { display: block; flex: none; }
@media (min-width: 900px) and (hover: hover) { .mb-qr { display: flex; } }
.mb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-chip { min-width: 74px; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line-strong, rgba(37, 38, 42, .25)); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: .95rem; cursor: pointer; }
.mb-inline .mb-chip { background: var(--paper); }
.mb-chip.active { background: var(--olive); border-color: var(--olive); color: #fff; }
.mb-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 6px; }
.mb-form[hidden] { display: none; }
.mb-row { display: grid; gap: 5px; }
.mb-row label { font-size: .92rem; font-weight: 600; }
.mb-row input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong, rgba(37, 38, 42, .25)); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 16px; }
.mb-inline .mb-row input { background: var(--paper); }
.mb-consent { font-size: .88rem; }
.mb-error { margin: 0; color: var(--error); font-size: .92rem; }
.mb-error:empty { display: none; }
.mb-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 8px 16px 8px 9px; border-radius: 999px; background: var(--graphite); color: var(--on-dark); font-size: .95rem; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .55); transition: transform .2s; }
.mb-float:hover { color: var(--on-dark); transform: translateY(-2px); }
.mb-float-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: var(--ink); font-weight: 700; }
body.modal-open .mb-float { display: none; }
@media (max-width: 520px) {
  .mb-body { padding: 26px 18px 20px; }
  .mb-float { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media print { .mb-float, .mb-dialog { display: none; } }
.mb-when[hidden] { display: none; }
.mb-when { display: grid; gap: 8px; }
.mb-alt { display: grid; gap: 10px; margin-top: 4px; }
.mb-alt .text-link { justify-self: start; }
.mb-qr img { width: 96px; height: 96px; }
/* On phones the site's bottom bar already has MAX and booking buttons. */
@media (max-width: 760px) { .mb-float { display: none; } }
/* The home page has its own floating «leave a request» button in the same corner. */
body:has(.h-fab) .mb-float { bottom: 100px; right: 24px; }
