/* Public booking form + request page. Uses the CRM's colors (style.css tokens) and dark neon look. */
.bk-body { min-height: 100vh; background: radial-gradient(ellipse at 50% 0%, rgba(255, 45, 63, .10), transparent 55%), var(--bg); }
.bk-wrap { max-width: 640px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding: 0 16px; }
.bk-top { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.bk-top b { font-size: 17px; }
.bk-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bk-steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 18px 0 16px; position: relative; }
.bk-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 31px; height: 2px; background: var(--line-strong); }
.bk-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.bk-steps li span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-strong); font-weight: 700; font-size: 13px; }
.bk-steps li.done span, .bk-steps li.on span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--glow-soft); }
.bk-steps li.on { color: var(--text); font-weight: 600; }
.bk-main { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 22px 0 30px; }
.bk-q { font-size: 26px; line-height: 1.25; margin: 0; text-transform: none; letter-spacing: 0; }
.bk-sub { margin: -6px 0 4px; color: var(--muted); }
.bk-sub.small, .bk-fine { font-size: 13px; }
.bk-sub.center, .center { text-align: center; }
.bk-fine { margin: -4px 0 4px; color: var(--muted); line-height: 1.5; }
.bk-in { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font: inherit; font-size: 16px; }
textarea.bk-in { resize: vertical; line-height: 1.5; }
.bk-in:focus { outline: none; border-color: var(--accent); box-shadow: var(--edge-soft); }
.bk-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-choice { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer; }
.bk-choice input, .bk-size input { position: absolute; opacity: 0; pointer-events: none; }
.bk-choice b { display: block; font-size: 16px; font-weight: 600; }
.bk-choice small, .bk-size small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.bk-radio { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--muted); }
.bk-choice.on { border-color: var(--accent); box-shadow: var(--edge-soft); }
.bk-choice.on .bk-radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.bk-choice:focus-within, .bk-size:focus-within { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.bk-sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bk-size { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer; }
.bk-size b { font-size: 17px; }
.bk-size svg { width: 38px; height: 38px; flex: none; color: var(--accent-2); }
.bk-size.on { border-color: var(--accent); box-shadow: var(--edge-soft); }
.bk-dob { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; }
.bk-dob .bk-in { text-align: center; }
.bk-phone { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.bk-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.bk-check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.bk-warn { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.bk-link { background: none; border: 0; padding: 0; color: var(--accent-2); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.bk-mine { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bk-mine li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--panel); }
.bk-mine small { color: var(--muted); }
.bk-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-photos img, .bk-thumb { width: 104px; height: 104px; border-radius: 12px; object-fit: cover; }
.bk-photos.sm img { width: 64px; height: 64px; }
.bk-thumb { position: relative; overflow: hidden; }
.bk-thumb img { width: 100%; height: 100%; }
.bk-thumb button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; }
.bk-add { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 14px; border: 1px dashed var(--line-strong); background: var(--panel); font-size: 17px; cursor: pointer; }
.bk-add span { font-size: 24px; color: var(--accent-2); }
.bk-add:hover { border-color: var(--accent); }
.bk-rv { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bk-rv b, .bk-kv b { font-size: 13px; }
.bk-rv > div > div, .bk-kv > div { white-space: pre-wrap; overflow-wrap: anywhere; }
.bk-kv { display: flex; flex-direction: column; gap: 3px; }
.bk-shop { display: flex; align-items: center; gap: 14px; padding: 4px 0 10px; }
.bk-shop > div { display: flex; flex-direction: column; }
.bk-shop b { font-size: 20px; }
.bk-shop span { color: var(--muted); }
.bk-logo { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #000; border: 1px solid rgba(255, 45, 63, .5); box-shadow: var(--edge-soft); font-size: 22px; font-weight: 800; }
.bk-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.bk-foot .btn { min-width: 130px; height: 50px; font-size: 16px; }
.bk-next:disabled { opacity: .45; box-shadow: none; }
.bk-cancel { width: 100%; height: 48px; margin-top: 8px; }
@media (max-width: 480px) {
  .bk-q { font-size: 22px; }
  .bk-sizes { grid-template-columns: 1fr; }
  .bk-phone { grid-template-columns: 104px 1fr; }
}

/* picking a time (offered times / booking link) */
.bk-reply { padding: 14px 16px; border-radius: 14px; background: var(--panel); border-left: 3px solid var(--accent); }
.bk-reply p { margin: 6px 0 0; white-space: pre-wrap; color: var(--muted); }
.bk-pick { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid rgba(255, 45, 63, .35); box-shadow: var(--edge-soft); }
.bk-h { margin: 0; font-size: 18px; text-transform: none; letter-spacing: 0; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.bk-slots.list { grid-template-columns: 1fr; }
.bk-slot { padding: 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.bk-slot:hover, .bk-slot.on { border-color: var(--accent); box-shadow: var(--edge-soft); }
.bk-confirm { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.bk-confirm.bk-book { flex-direction: column; align-items: stretch; gap: 8px; }
.bk-book-when { display: flex; flex-direction: column; gap: 2px; }
.bk-book-when b { font-size: 16px; }
.bk-book-when span, .bk-note { color: var(--muted); font-size: 13px; margin: 0; }
.bk-note b { color: var(--text); }
.bk-confirm.bk-book .btn { margin-top: 4px; }
.bk-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bk-cal-head button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--text); font-size: 18px; cursor: pointer; }
.bk-cal-head button:disabled { opacity: .3; cursor: default; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-cal-grid .wd { font-size: 11px; color: var(--muted); padding: 4px 0; }
.bk-cal-grid button { height: 40px; max-width: 44px; width: 100%; justify-self: center; border-radius: 50%; border: 0; background: none; color: var(--faint); font: inherit; }
.bk-cal-grid button.open { color: var(--text); background: var(--panel-2); font-weight: 700; cursor: pointer; }
.bk-cal-grid button.open:hover, .bk-cal-grid button.on { background: var(--accent); color: #fff; box-shadow: var(--glow-soft); }

/* waivers */
.wv-note { padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-strong); }
.wv-note p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.wv-doc { height: 52vh; min-height: 320px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); }
.wv-doc iframe { width: 100%; height: 100%; border: 0; }
.wv-attest { margin: 0; font-weight: 700; }
.wv-intro { margin: 0; white-space: pre-wrap; color: var(--muted); font-size: 14px; line-height: 1.55; }
.wv-ack { padding: 12px 0; border-top: 1px solid var(--line); }
.wv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
.wv-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.wv-tabs { margin: 0; }
.wv-label { font-size: 14px; }
.sig { position: relative; height: 180px; border-radius: 14px; background: #fff; border: 1px solid var(--line-strong); overflow: hidden; }
.sig canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.sig-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #999; pointer-events: none; }
.sig-clear { position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 8px; border: 1px solid #ddd; background: #fff; color: #333; font: inherit; font-size: 13px; cursor: pointer; }
.wv-done { align-items: center; text-align: center; padding-top: 60px; }
.wv-check { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: #1f9d5b; color: #fff; font-size: 40px; box-shadow: 0 0 0 12px rgba(31, 157, 91, .18); }
@media (max-width: 480px) { .wv-grid { grid-template-columns: 1fr; } }

/* flashbook */
.bk-wrap.fl-wide { max-width: 1100px; }
.fl-head { padding-top: 22px; }
.fl-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.fl-chip { width: auto; min-height: 42px; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.fl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; padding: 16px 0 40px; }
.fl-card { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.fl-card:hover { text-decoration: none; }
.fl-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #000; border: 1px solid var(--line); transition: box-shadow .15s; }
.fl-card:hover img { box-shadow: var(--edge-soft); }
.fl-card span { color: var(--muted); font-size: 13px; }
.fl-detail .bk-main { padding-top: 14px; }
.fl-hero { position: relative; margin: 0 -16px; background: #000; }
.fl-hero img { width: 100%; max-height: 62vh; aspect-ratio: 1; object-fit: contain; display: block; }
.fl-round { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; font-size: 22px; }
.fl-round:hover { text-decoration: none; }
.fl-view { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: #fff; color: #111; font-size: 12px; font-weight: 700; }
.fl-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fl-price { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; box-shadow: var(--glow-soft); }
.fl-book { width: 100%; height: 50px; font-size: 16px; }
.fl-conf { display: flex; gap: 12px; color: var(--muted); line-height: 1.5; }
.fl-conf > span { width: 22px; flex: none; }
.fl-total { padding-top: 12px; border-top: 1px solid var(--line); }
.fl-total > div { display: flex; justify-content: space-between; font-weight: 700; }
.fl-wait { display: block; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; font-size: 14px; }

/* waitlist */
.wl-days, .wl-times { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-day { flex: 1; min-width: 60px; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wl-day small { font-weight: 400; font-size: 12px; }
.wl-day.on { border-color: var(--accent); color: var(--text); box-shadow: var(--edge-soft); }

/* review page */
.rv-top img { max-height: 56px; max-width: 200px; margin-bottom: 6px; }
.rv-main { text-align: center; padding-top: 40px; }
.rv-main .bk-sub { margin: 0; }
.rv-stars { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.rv-star { width: 56px; height: 56px; padding: 4px; background: none; border: 0; cursor: pointer; color: var(--line-strong); }
.rv-star svg { width: 100%; height: 100%; fill: currentColor; transition: transform .1s; }
.rv-star.on { color: #f5b301; }
.rv-star.on svg { filter: drop-shadow(0 0 8px rgba(245, 179, 1, .45)); }
.rv-star:hover svg { transform: scale(1.08); }
.rv-star:focus-visible { outline: 2px solid var(--accent-2); border-radius: 10px; }
.rv-word { margin: -4px 0 0; min-height: 22px; font-weight: 600; color: var(--muted); }
.rv-text { text-align: left; resize: vertical; }
.rv-go { height: 54px; font-size: 16px; justify-content: center; text-decoration: none; }
.rv-go:hover { text-decoration: none; }
.rv-done { width: 72px; height: 72px; margin: 0 auto; color: #f5b301; }
.rv-done svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 12px rgba(245, 179, 1, .45)); }
@media (max-width: 400px) { .rv-star { width: 48px; height: 48px; } }

/* payment page */
.pay-main { padding-top: 34px; }
.pay-box { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--panel); }
.pay-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.pay-row + .pay-row { border-top: 1px solid var(--line); }
.pay-row.total { font-weight: 700; font-size: 17px; }
.bk-pay { height: 52px; font-size: 16px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.bk-pay:hover { text-decoration: none; }
.wv-done .pay-box { align-self: stretch; text-align: left; }

/* "Get texts about your appointment?" heads-up when the optional texts box is skipped */
.bk-sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .7); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.bk-sheet { width: 100%; max-width: 480px; background: var(--panel); border-radius: 20px; padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 10px; margin-bottom: env(safe-area-inset-bottom); }
.bk-sheet h2 { margin: 0; font-size: 20px; text-transform: none; letter-spacing: 0; }
.bk-sheet p { margin: 0; color: var(--muted); line-height: 1.5; }
.bk-sheet .bk-fine { margin: 0 0 4px; font-size: 12px; }
.bk-sheet .btn { width: 100%; min-height: 48px; }
@media (min-width: 640px) { .bk-sheet-bg { align-items: center; } }
