/*
 * Booking widget, checkout and manage pages. Structure only: every colour, font, radius and shadow is a custom property.
 * A concept skins it by setting any --bk-* value (for example in its own site.css: .bk { --bk-accent: var(--c-accent); }).
 * The defaults below read the active concept's tokens.css (--c-bg, --c-ink, --c-accent, --f-display, --f-text, --r-1, --r-2, --shadow-1) when present.
 */
:root {
  --bk-bg: var(--c-bg, #fbf8f2);
  --bk-surface: var(--c-surface, #ffffff);
  --bk-ink: var(--c-ink, #2b2a26);
  --bk-muted: var(--c-muted, #5e5a50);
  --bk-line: var(--c-line, #d9d2c3);
  --bk-accent: var(--c-accent, #5a6b4d);
  --bk-accent-ink: var(--c-accent-ink, #ffffff);
  --bk-accent-soft: var(--c-accent-soft, #e9eddf);
  --bk-ok: var(--c-ok, #3f6b3a);
  --bk-bad: var(--c-bad, #9a3b2e);
  --bk-focus: var(--c-focus, #2f4a8a);
  --bk-font: var(--f-text, system-ui, sans-serif);
  --bk-font-display: var(--f-display, Georgia, serif);
  --bk-radius: var(--r-1, 8px);
  --bk-radius-lg: var(--r-2, 16px);
  --bk-shadow: var(--shadow-1, 0 10px 30px -14px rgba(0, 0, 0, .25));
  --bk-gap: var(--s-2, 1rem);
  --bk-dur: var(--dur-1, .2s);
  --bk-max: 40rem;
}
.bk-body { margin: 0; background: var(--bk-bg); color: var(--bk-ink); font-family: var(--bk-font); line-height: 1.55; -webkit-text-size-adjust: 100%; }
.bk-brand { display: flex; justify-content: center; padding: 1.25rem var(--bk-gap) 0; }
.bk-brand img { height: auto; max-width: 150px; }
.bk-page { max-width: var(--bk-max); margin: 0 auto; padding: 1.25rem 16px 3rem; }

.bk, .bk-card { font-family: var(--bk-font); color: var(--bk-ink); line-height: 1.55; }
.bk *, .bk-card * { box-sizing: border-box; }
.bk-card { background: var(--bk-surface); border: 1px solid var(--bk-line); border-radius: var(--bk-radius-lg); box-shadow: var(--bk-shadow); padding: clamp(1.1rem, 4vw, 2rem); }
.bk-title, .bk-h2 { font-family: var(--bk-font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .75rem; font-size: clamp(1.4rem, 4.5vw, 1.9rem); }
.bk-h2 { font-size: clamp(1.25rem, 4vw, 1.6rem); }
.bk-card .bk-h2 { margin-top: 1.75rem; font-size: 1.15rem; }
.bk-eyebrow { margin: 0 0 .35rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bk-muted); }
.bk-eyebrow--ok { color: var(--bk-ok); }
.bk-muted { color: var(--bk-muted); font-size: .92rem; margin: .35rem 0; }
.bk-lead { font-size: 1.1rem; }
.bk-hint { color: var(--bk-muted); font-size: .88rem; margin: .1rem 0 .35rem; }
:is(.bk, .bk-card) :focus-visible, .bk-body :focus-visible { outline: 3px solid var(--bk-focus); outline-offset: 2px; }
.bk-h2:focus, .bk-title:focus { outline: none; }
.bk-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* progress */
.bk-steps { display: flex; gap: .25rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .82rem; color: var(--bk-muted); flex-wrap: wrap; }
.bk-steps__item { display: flex; align-items: center; gap: .4rem; margin-right: .75rem; }
.bk-steps__n { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--bk-line); font-size: .75rem; }
.bk-steps__item.is-current { color: var(--bk-ink); font-weight: 600; }
.bk-steps__item.is-current .bk-steps__n { background: var(--bk-accent); border-color: var(--bk-accent); color: var(--bk-accent-ink); }
.bk-steps__item.is-done .bk-steps__n { background: var(--bk-accent-soft); border-color: var(--bk-accent); color: var(--bk-ink); }
@media (max-width: 480px) { .bk-steps__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .bk-steps__item.is-current .bk-steps__t { position: static; width: auto; height: auto; clip-path: none; } }

/* buttons and inputs */
.bk-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem 1.25rem; border: 1px solid var(--bk-accent); border-radius: var(--bk-radius); background: var(--bk-accent); color: var(--bk-accent-ink);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background var(--bk-dur), border-color var(--bk-dur), transform var(--bk-dur); }
.bk-btn:hover { filter: brightness(1.06); }
.bk-btn:disabled, .bk-btn[disabled] { opacity: .55; cursor: not-allowed; }
.bk-btn--ghost { background: transparent; color: var(--bk-ink); border-color: var(--bk-line); }
.bk-btn--ghost:hover { border-color: var(--bk-accent); filter: none; }
.bk-btn--link { background: none; border-color: transparent; color: var(--bk-ink); text-decoration: underline; min-height: 44px; padding-inline: .25rem; }
.bk-btn--icon { min-width: 46px; padding: .4rem; font-size: 1.4rem; line-height: 1; }
.bk-btn--pay { width: 100%; margin: .35rem 0; }
.bk-btn[aria-pressed="true"] { background: var(--bk-accent); color: var(--bk-accent-ink); }
.bk-actions, .bk-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }
.bk-row { margin-top: .3rem; }
.bk-row .bk-input { flex: 1 1 10rem; }
.bk-field { margin: 0 0 1rem; }
.bk-label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.bk-fieldset { border: 0; padding: 0; margin: 0; }
.bk-input { width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); background: var(--bk-surface); color: var(--bk-ink); font: inherit; }
textarea.bk-input { min-height: 5.5rem; resize: vertical; }
.bk-input[aria-invalid="true"] { border-color: var(--bk-bad); }
.bk-check { display: flex; gap: .65rem; align-items: flex-start; margin: .8rem 0; font-size: .92rem; }
.bk-check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; accent-color: var(--bk-accent); }
.bk-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bk-alert { padding: .75rem 1rem; border-radius: var(--bk-radius); border: 1px solid var(--bk-line); background: var(--bk-accent-soft); margin: 1rem 0; }
.bk-alert[hidden] { display: none; }
.bk-alert--bad { border-color: var(--bk-bad); color: var(--bk-bad); background: transparent; }
.bk-alert--ok { border-color: var(--bk-ok); color: var(--bk-ok); background: transparent; }

/* offerings */
.bk-offers { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.bk-offer { width: 100%; text-align: left; display: grid; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); background: var(--bk-surface); color: inherit; font: inherit; cursor: pointer; transition: border-color var(--bk-dur), box-shadow var(--bk-dur); min-height: 44px; }
.bk-offer:hover { border-color: var(--bk-accent); box-shadow: var(--bk-shadow); }
.bk-offer__name { font-family: var(--bk-font-display); font-size: 1.15rem; font-weight: 600; }
.bk-offer__meta, .bk-offer__sum { color: var(--bk-muted); font-size: .92rem; }
.bk-offer__price { font-weight: 600; font-size: .95rem; }

/* month grid */
.bk-cal__bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.bk-cal__title { margin: 0; font-family: var(--bk-font-display); font-size: 1.2rem; font-weight: 600; text-align: center; flex: 1; }
.bk-cal__grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.bk-cal__grid th { font-size: .78rem; font-weight: 600; color: var(--bk-muted); padding: .3rem 0; }
.bk-cal__grid td { padding: 0; text-align: center; }
.bk-cal__day { appearance: none; width: 100%; height: 48px; min-height: 44px; border: 1px solid transparent; border-radius: var(--bk-radius); background: transparent; color: var(--bk-muted); font: inherit; cursor: not-allowed; position: relative; }
.bk-cal__day.has-times { color: var(--bk-ink); background: var(--bk-accent-soft); border-color: var(--bk-line); font-weight: 600; cursor: pointer; }
.bk-cal__day.has-times::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--bk-accent); }
.bk-cal__day.has-times:hover { border-color: var(--bk-accent); }
.bk-cal__day.is-today { text-decoration: underline; }
.bk-cal__day.is-selected { background: var(--bk-accent); color: var(--bk-accent-ink); }
.bk-cal__day.is-selected::after { background: var(--bk-accent-ink); }

/* times */
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: .5rem; margin: .5rem 0 1rem; }
.bk-time { min-height: 46px; border: 1px solid var(--bk-accent); border-radius: var(--bk-radius); background: var(--bk-surface); color: var(--bk-ink); font: inherit; font-weight: 600; cursor: pointer; transition: background var(--bk-dur); }
.bk-time:hover { background: var(--bk-accent); color: var(--bk-accent-ink); }

/* summaries */
.bk-chosen { padding: .85rem 1rem; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); background: var(--bk-accent-soft); margin: 0 0 1.25rem; }
.bk-chosen p { margin: .1rem 0; }
.bk-chosen__when { font-weight: 600; }
.bk-summary { margin: 1rem 0; padding: 0; }
.bk-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--bk-line); }
.bk-summary__row dt, .bk-summary__row dd { margin: 0; }
.bk-summary__row dd { text-align: right; font-variant-numeric: tabular-nums; }
.bk-summary__row--total { font-weight: 700; font-size: 1.1rem; border-bottom: 0; }
.bk-coupon, .bk-currency { margin: 1.25rem 0; }
.bk-methods { margin: 1.25rem 0 .5rem; }
.bk-secure { margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) { .bk *, .bk-card * { transition: none !important; } }
