/* Booking popup */
html.bk-open { overflow: hidden; }
.bk { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bk[hidden] { display: none; }
.bk-backdrop { position: absolute; inset: 0; background: rgba(43, 27, 18, 0.55); }
.bk-panel { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--paper); border-radius: 16px; padding: clamp(20px, 4vw, 36px); box-shadow: 0 30px 80px rgba(43, 27, 18, 0.35); }
.bk-x { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--body); cursor: pointer; border-radius: 8px; }
.bk-x:hover { background: var(--tint); }
.bk-x:focus-visible, .bk button:focus-visible, .bk input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.bk-head { display: flex; align-items: center; gap: 18px; padding-right: 40px; margin-bottom: 24px; }
.bk-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--line); }
.bk-head h2 { font-size: 28px; line-height: 1.15; }
.bk-head p { font-size: 17px; margin-top: 6px; }
.bk-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bk-day { font: inherit; font-size: 15px; font-weight: 600; line-height: 1.25; padding: 10px 4px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.bk-day.is-active { background: var(--green); border-color: var(--green); color: var(--paper); }
.bk-day:disabled, .bk-slot:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.bk-label { font-size: 16px; color: var(--muted); margin: 18px 0 12px; }
.bk-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk-slot { font: inherit; font-size: 17px; padding: 12px 4px; min-height: 48px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.bk-slot:not(:disabled):hover, .bk-day:not(:disabled):not(.is-active):hover { border-color: var(--green); }
.bk-chosen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; background: var(--tint); border-radius: 10px; padding: 14px 16px; color: var(--ink); margin-bottom: 20px; }
.bk-back { font: inherit; font-size: 16px; background: none; border: 0; color: var(--green); text-decoration: underline; cursor: pointer; padding: 4px; }
.bk-form { display: flex; flex-direction: column; gap: 16px; }
.bk-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bk-field { display: flex; flex-direction: column; gap: 6px; }
.bk-field label { font-size: 16px; font-weight: 600; color: var(--ink); }
.bk-field input { font: inherit; font-size: 18px; padding: 12px 14px; border-radius: 8px; border: 1px solid #8a7868; background: var(--surface); color: var(--ink); width: 100%; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-error { color: #a11d1d; font-size: 16px; min-height: 0; }
.bk-error:empty { display: none; }
.bk-submit { border: 0; cursor: pointer; font-family: inherit; width: 100%; }
.bk-submit:disabled { opacity: 0.6; cursor: default; }
.bk-empty { font-size: 18px; padding: 12px 0; }
.bk-done { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.bk-done h3 { font-size: 30px; }
.bk-done p { color: var(--ink); }
.bk .btn { border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 520px) {
  .bk-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-row { grid-template-columns: minmax(0, 1fr); }
  .bk-days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .bk-day { font-size: 13px; padding: 8px 2px; }
  .bk-head h2 { font-size: 23px; }
}
