/* Adsora booking widget (/book, /booked and the quiz's last step). Scoped under .bk. Light only, like the rest of the site. */
.bk {
  --bone: #F4F1EA; --white: #FFFFFF; --ink: #17150F; --muted: #6E6A60; --claret: #C0362C; --claret-btn: #B02A22;
  --claret-soft: #F6E7E4; --claret-dim: #E3BDB8; --hair: #D8D2C6; --ok: #2F6B3B;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans); color: var(--ink); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased;
}
.bk *, .bk *::before, .bk *::after { box-sizing: border-box; }
.bk :where(button) { font: inherit; color: inherit; }
.bk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The page frame: host card left, the picker right (one column on phones and inline). */
.bk-frame { display: grid; grid-template-columns: 300px 1fr; background: var(--white); border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(23,21,15,.04), 0 12px 32px -18px rgba(23,21,15,.18); }
.bk--inline .bk-frame { grid-template-columns: 1fr; border: 0; box-shadow: none; border-radius: 0; background: transparent; }
@media (max-width: 820px) { .bk-frame { grid-template-columns: 1fr; } }

.bk-host { padding: 28px 26px; border-right: 1px solid var(--hair); }
@media (max-width: 820px) { .bk-host { border-right: 0; border-bottom: 1px solid var(--hair); padding: 20px 18px; } }
.bk--inline .bk-host { border: 0; padding: 0 0 14px; }
.bk-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--bone); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: .02em; flex: none; object-fit: cover; }
.bk-hostrow { display: flex; align-items: center; gap: 12px; }
.bk-hostname { font-size: 13px; color: var(--muted); font-weight: 600; }
.bk-title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin: 14px 0 12px; letter-spacing: -.01em; }
.bk--inline .bk-title { font-size: 22px; margin: 0; }
.bk-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; color: var(--muted); font-weight: 600; font-size: 14px; }
.bk-facts li { display: flex; align-items: center; gap: 10px; }
.bk-facts svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bk-agenda { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--hair); }
.bk-agenda h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; font-weight: 700; }
.bk-agenda ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.bk--inline .bk-agenda, .bk--inline .bk-facts { display: none; }
@media (max-width: 820px) { .bk-agenda { display: none; } .bk-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; } .bk-title { font-size: 22px; margin: 10px 0 8px; } }

.bk-main { padding: 26px 28px 28px; min-width: 0; }
@media (max-width: 820px) { .bk-main { padding: 18px 16px 22px; } }
.bk--inline .bk-main { padding: 0; }
.bk-h { font-size: 17px; font-weight: 700; margin: 0 0 14px; }

.bk-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bk-soonest { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--claret); background: var(--claret-soft); color: var(--claret-btn); font-weight: 700; font-size: 14px; cursor: pointer; }
.bk-soonest:hover { background: #F1DAD5; }
.bk-soonest span { font-weight: 500; color: var(--ink); }
.bk-tz { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.bk-tz select { font: inherit; font-size: 13px; color: var(--ink); border: 1px solid var(--hair); background: var(--white); border-radius: 8px; min-height: 44px; padding: 0 10px; max-width: 220px; }

.bk-pick { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: start; }
@media (max-width: 1060px) { .bk-pick { grid-template-columns: 1fr; gap: 18px; } }
.bk--inline .bk-pick { grid-template-columns: 1fr; gap: 16px; }

.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk-month { font-weight: 700; font-size: 15px; }
.bk-nav { display: flex; gap: 4px; }
.bk-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 20px; color: var(--ink); }
.bk-nav button:disabled { color: var(--hair); cursor: default; }
.bk-nav button:not(:disabled):hover { background: var(--bone); }
.bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; text-align: center; }
.bk-dow { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 4px 0; }
.bk-day { width: 44px; height: 44px; margin: 0 auto; display: block; padding: 0; border-radius: 50%; border: 0; background: transparent; color: #B7B1A5; font-size: 14px; cursor: default; }
.bk-day.is-open { background: var(--claret-soft); color: var(--claret-btn); font-weight: 700; cursor: pointer; }
.bk-day.is-open:hover { background: #F1DAD5; }
.bk-day.is-on { background: var(--claret-btn); color: var(--white); }
.bk-day.is-today { box-shadow: inset 0 0 0 1px var(--hair); }

.bk-slots-h { font-weight: 700; font-size: 15px; margin: 0 0 10px; min-height: 44px; display: flex; align-items: center; }
.bk-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk--inline .bk-slots, .bk-slots.is-wide { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); max-height: none; }
@media (max-width: 1060px) { .bk-slots { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); max-height: none; } }
.bk-slot { min-height: 48px; border-radius: 8px; border: 1px solid var(--claret-dim); background: var(--white); color: var(--claret-btn); font-weight: 700; font-size: 15px; cursor: pointer; }
.bk-slot:hover { border-color: var(--claret); background: var(--claret-soft); }
.bk-empty { color: var(--muted); font-size: 14px; }

/* Details */
.bk-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border-radius: 10px; background: var(--bone); margin-bottom: 18px; font-weight: 700; }
.bk-when > span { flex: 1 1 auto; }
.bk-when svg { width: 18px; height: 18px; stroke: var(--claret-btn); fill: none; stroke-width: 1.8; flex: none; }
.bk-link { border: 0; background: none; padding: 0; min-height: 44px; color: var(--claret-btn); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.bk-when .bk-link { margin-left: auto; }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .bk-fields { grid-template-columns: 1fr; } }
.bk--inline .bk-fields { grid-template-columns: 1fr; }
.bk-field { display: grid; gap: 5px; }
.bk-field.is-full { grid-column: 1 / -1; }
.bk-label { font-size: 13px; font-weight: 700; }
.bk-input { width: 100%; min-height: 48px; border: 1px solid var(--hair); border-radius: 8px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
.bk-input:focus, .bk-tz select:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: transparent; }
.bk-input[aria-invalid="true"] { border-color: var(--claret); }
.bk-err { color: var(--claret-btn); font-size: 13px; margin: 0; font-weight: 600; }


.bk-consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; padding: 14px; border: 1px solid var(--hair); border-radius: 10px; font-size: 13px; color: #4A463E; line-height: 1.5; cursor: pointer; }
.bk-consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--claret-btn); cursor: pointer; }
.bk-consent b { color: var(--ink); }
.bk-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bk-ts { margin-top: 14px; }
.bk-ts:empty { display: none; }

.bk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 8px; border: 0; background: var(--claret-btn); color: var(--white); font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.bk-btn:hover { background: #9A231C; }
.bk-btn:disabled { opacity: .6; cursor: default; }
.bk-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair); }
.bk-btn--ghost:hover { background: var(--bone); }
@media (max-width: 560px) { .bk-actions .bk-btn { width: 100%; } }
.bk-note { padding: 12px 14px; border-radius: 10px; background: var(--claret-soft); color: var(--claret-btn); font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.bk-note--ok { background: #E7F0E8; color: var(--ok); }
.bk-loading { display: grid; gap: 10px; }
.bk-skel { height: 44px; border-radius: 8px; background: linear-gradient(90deg, var(--bone), #EDE8DD, var(--bone)); background-size: 200% 100%; animation: bk-sh 1.2s infinite linear; }
@keyframes bk-sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .bk-skel { animation: none; } }

/* Manage (reschedule / cancel). */
.bk-current { padding: 12px 14px; border-radius: 10px; background: var(--bone); margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.bk-current b { color: var(--ink); }
.bk-cancel { margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--hair); }
.bk-cancel .bk-link { color: var(--muted); font-weight: 600; }
.bk-soonest, .bk-soonest span { white-space: nowrap; }
@media (max-width: 560px) { .bk-top { flex-direction: column; align-items: stretch; } .bk-soonest { justify-content: space-between; } .bk-tz select { max-width: none; flex: 1; } }
.bk--inline .bk-top { flex-direction: column; align-items: stretch; }
.bk--inline .bk-soonest { justify-content: space-between; }
.bk--inline .bk-tz select { max-width: none; flex: 1; }

.bk-when .bk-link { margin-left: auto; min-height: 0; padding: 12px 0 12px 12px; margin-top: -12px; margin-bottom: -12px; }
.bk-when { flex-wrap: nowrap; }
.bk-when > span { min-width: 0; }
.bk-pick > *, .bk-times { min-width: 0; }
.bk-btn--danger { color: var(--claret-btn); border-color: var(--claret-dim); }
.bk-me { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 12px; background: var(--white); }
.bk-me-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-me-t span { overflow-wrap: anywhere; color: var(--muted); font-size: 14px; }
.bk-me-t b { font-size: 16px; }
.bk-me-l { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bk-me + .bk-fields { margin-top: 14px; }
.bk-me .bk-link { flex: none; min-height: 44px; }
.bk-me-t .bk-me-ph { white-space: nowrap; }
