/* Shared public booking and guest management. Self-hosted interface assets. */
:root {
  --bk-canvas: var(--bg, #F8F8FC);
  --bk-surface: var(--panel, #FFFFFF);
  --bk-text: var(--text, #101014);
  --bk-muted: var(--text-2, #565463);
  --bk-border: var(--line, #E7E7EF);
  --bk-border-strong: #898493;
  --bk-soft: var(--accent-soft, #EFECFA);
  --bk-action: var(--bk-accent, var(--accent, #5C4CD5));
  --bk-on-action: #FFFFFF;
}
.booking-body {
  background: var(--bk-canvas);
  color: var(--bk-text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.booking-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 36px auto 64px;
  min-height: 55vh;
}
.bk-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.bk-heading h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 6px 0 10px;
  overflow-wrap: anywhere;
}
.bk-heading p {
  margin: 0;
}
.bk-session {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.bk-session .bk-button {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 13px;
}
.bk-progress {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 4px;
  margin: 0 0 20px;
  max-width: 760px;
  background: var(--bk-soft);
  border: 1px solid var(--bk-border);
  border-radius: 15px;
}
.bk-progress li {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  line-height: 1.35;
  font-size: 13px;
  color: var(--bk-muted);
}
.bk-progress span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--bk-border-strong);
  font-size: 12px;
  flex-shrink: 0;
}
.bk-progress [aria-current] {
  color: var(--bk-accent, var(--accent, #5C4CD5));
  background: var(--bk-surface);
  box-shadow: 0 1px 3px #1913250D;
}
.bk-progress [aria-current] span {
  border-color: var(--bk-accent, var(--accent, #5C4CD5));
  background: var(--bk-action);
  color: var(--bk-on-action);
}
.bk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.bk-grid:not(:has(.bk-summary)) {
  grid-template-columns: minmax(0, 760px);
}
.bk-main,
.bk-summary {
  background: var(--bk-surface);
  border: 1px solid var(--bk-border);
  border-radius: 22px;
  padding: 20px;
}
.bk-summary {
  position: sticky;
  top: 100px;
  padding: 20px;
}
.bk-main h2,
.bk-summary h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.bk-main h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 7px;
  letter-spacing: -0.01em;
}
.bk-main p {
  font-size: 14px;
  line-height: 1.65;
  margin: 8px 0 16px;
}
.bk-muted,
.bk-main .bk-muted {
  color: var(--bk-muted);
}
.bk-small,
.bk-main .bk-small {
  color: var(--bk-muted);
  font-size: 12px;
  line-height: 1.55;
}
.bk-row,
.bk-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bk-row {
  flex-wrap: wrap;
}
.bk-service {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bk-border);
}
.bk-service:first-child {
  padding-top: 10px;
}
.bk-service p {
  margin: 0 0 6px;
  color: var(--bk-muted);
  font-size: 13px;
  white-space: pre-line;
}
.bk-service small,
.bk-cart small,
.bk-lines small {
  display: block;
  color: var(--bk-muted);
  font-size: 12px;
}
.bk-service-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.bk-service-action strong {
  font-size: 15px;
}
.bk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  padding: 11px 18px;
  background: var(--bk-action);
  border: 1px solid var(--bk-action);
  color: var(--bk-on-action);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
  touch-action: manipulation;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.bk-button:hover {
  background: var(--bk-action);
  color: var(--bk-on-action);
}
.bk-quiet {
  background: var(--bk-surface);
  border-color: var(--bk-border-strong);
  color: var(--bk-text);
}
.bk-quiet:hover {
  background: var(--bk-soft);
  color: var(--bk-accent, var(--accent, #5C4CD5));
}
.bk-button:disabled {
  opacity: 1;
  background: var(--bk-canvas);
  border-color: var(--bk-border);
  color: var(--bk-muted);
  cursor: not-allowed;
}
.bk-button:focus-visible,
.bk-main input:focus-visible,
.bk-main select:focus-visible,
.bk-main textarea:focus-visible,
.bk-signature:focus-visible {
  outline: 3px solid var(--bk-accent, var(--accent, #5C4CD5));
  outline-offset: 3px;
}
.bk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.bk-cart {
  --bk-card-pad: 16px;
  border: 1px solid var(--bk-border);
  border-radius: 15px;
  padding: var(--bk-card-pad);
  margin: 12px 0;
}
.bk-section-title {
  margin-top: 24px !important;
}
.bk-cart .bk-button {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 13px;
}
.bk-main label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 14px 0;
  line-height: 1.5;
}
.bk-main input:not([type="checkbox"]):not([type="radio"]),
.bk-main select,
.bk-main textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--bk-border-strong);
  border-radius: 12px;
  background: var(--bk-surface);
  color: var(--bk-text);
}
.bk-main select,
.bk-language select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--bk-muted) 50%), linear-gradient(135deg, var(--bk-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.bk-main input[type="date"] { appearance: auto; line-height: 1.3; }
.bk-main input:disabled,
.bk-main select:disabled,
.bk-main textarea:disabled {
  background: var(--bk-canvas);
  color: var(--bk-muted);
}
.bk-main textarea {
  resize: vertical;
  min-height: 96px;
}
/* Add-ons: a tray attached to the bottom of each service box. It bleeds to the box
   edges using the box's own --bk-card-pad and takes the box's rounded bottom corners.
   It is a dropdown: one row ("Add-ons", what's added) that opens the list below it. */
.bk-addon-tray {
  margin: 14px calc(-1 * var(--bk-card-pad, 16px)) calc(-1 * var(--bk-card-pad, 16px));
  border-top: 1px solid var(--bk-border);
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  background: rgb(16 16 20 / 3.5%);
  background: color-mix(in srgb, var(--bk-text) 4%, transparent);
}
.bk-addon-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 10px var(--bk-card-pad, 16px);
  border: 0;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bk-addon-tray.is-open .bk-addon-menu { border-radius: 0; }
.bk-addon-menu-text { display: grid; gap: 2px; min-width: 0; }
.bk-addon-heading { font-size: 14px; font-weight: 600; line-height: 1.35; }
.bk-addon-summary {
  color: var(--bk-muted);
  font-size: 12.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.bk-addon-added { color: var(--bk-action); font-weight: 600; }
.bk-addon-chevron {
  flex: none;
  color: var(--bk-muted);
  transition: transform .2s ease;
}
.bk-addon-tray.is-open .bk-addon-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .bk-addon-chevron { transition: none; } }
.bk-addon-menu:focus-visible {
  outline: 3px solid var(--bk-accent, var(--accent, #5C4CD5));
  outline-offset: -3px;
}
@media (hover: hover) {
  .bk-addon-menu:hover { background: rgb(16 16 20 / 3%); background: color-mix(in srgb, var(--bk-text) 4%, transparent); }
}
.bk-addon-list {
  padding: 0 var(--bk-card-pad, 16px) 2px;
  border-top: 1px solid var(--bk-border);
}
.bk-addon-list[hidden] { display: none; }
.bk-addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.bk-addon + .bk-addon { border-top: 1px solid var(--bk-border); }
.bk-addon-info { min-width: 0; }
.bk-addon-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.bk-addon-info small {
  display: block;
  margin-top: 2px;
  color: var(--bk-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.bk-addon-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--bk-action);
  border-radius: 999px;
  background: var(--bk-surface);
  color: var(--bk-action);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.bk-addon-toggle[aria-pressed="true"] { background: var(--bk-action); color: var(--bk-on-action); }
.bk-addon-stepper {
  flex: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bk-action);
  border-radius: 999px;
  background: var(--bk-surface);
}
.bk-addon-step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--bk-action);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.bk-addon-step:disabled { color: var(--bk-muted); opacity: .4; cursor: default; }
.bk-addon-count { min-width: 18px; font-weight: 650; text-align: center; font-variant-numeric: tabular-nums; }
:is(.bk-addon-toggle, .bk-addon-step):focus-visible {
  outline: 3px solid var(--bk-accent, var(--accent, #5C4CD5));
  outline-offset: 2px;
}
.bk-addon select { width: 100px; }
.bk-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.bk-date-nav {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}
.bk-date-nav label {
  margin: 0 auto 0 0;
}
.bk-date-nav input {
  max-width: 220px;
}
.bk-date-nav .bk-button {
  font-size: 12px;
  padding: 11px 12px;
}
.bk-day {
  margin: 24px 0;
}
.bk-day h3 {
  margin-bottom: 12px;
}
.bk-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  gap: 8px;
}
.bk-times .bk-button {
  padding: 8px;
  font-size: 13px;
}
.bk-date {
  font-size: 17px !important;
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.bk-lines {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}
.bk-lines li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--bk-border);
}
.bk-lines strong {
  font-weight: 500;
}
.bk-lines small {
  margin-top: 4px;
}
.bk-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  font-size: 14px;
}
.bk-total strong {
  font-size: 23px;
  letter-spacing: -0.04em;
}
.bk-summary p {
  font-size: 13px;
  line-height: 1.65;
}
.bk-alert {
  padding: 16px 20px;
  border: 1px solid var(--bk-border);
  border-radius: 14px;
  background: var(--bk-soft);
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.6;
}
.bk-error {
  background: #fff4f2;
  border-color: #f1c9c3;
  color: #903e34;
}
.bk-auth {
  max-width: 470px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bk-border);
}
.bk-main .bk-auth h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.bk-auth form {
  margin-top: 14px;
}
.bk-auth form + form {
  border-top: 1px solid var(--bk-border);
  padding-top: 8px;
}
.bk-form-card,
.bk-policy {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--bk-border);
  border-radius: 15px;
}
.bk-policy {
  background: var(--bk-soft);
}
.bk-main .bk-policy p {
  font-size: 13px;
}
.bk-main .bk-form-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bk-required {
  color: var(--bk-muted);
  font-size: 12px;
  font-weight: 400;
}
.bk-main .bk-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.65;
  min-height: 44px;
  padding: 4px 0;
}
.bk-check input,
.bk-fieldset input[type="radio"] {
  margin: 3px 0 0;
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  accent-color: var(--bk-accent, var(--accent, #5C4CD5));
}
.bk-main .bk-accept {
  margin-top: 24px;
}
.bk-main .bk-accept a {
  color: var(--bk-accent, var(--accent, #5C4CD5));
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* One booking agreement: its single checkbox, with the booking's terms (the salon's policies,
   the cancellation and refund rules) always shown in full underneath, all in one frame. */
.bk-main .bk-agreement {
  margin-block: 24px 18px;
  padding: 12px 16px;
  border: 1px solid var(--bk-border);
  border-radius: 15px;
}
.bk-main .bk-agreement .bk-check {
  margin: 0;
}
/* Lines up with the checkbox's text: the 20px box plus its 11px gap. */
.bk-agreement-terms {
  margin-left: 31px;
}
.bk-main .bk-agreement p.bk-agreement-terms-title {
  color: var(--bk-muted);
  font-size: 13px;
  font-weight: 600;
  margin: 8px 0 0;
}
.bk-main .bk-agreement h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 12px 0 2px;
}
.bk-main .bk-agreement p:not(.bk-small) {
  font-size: 13px;
  line-height: 1.6;
  margin: 2px 0 8px;
}
.bk-main .bk-agreement small {
  display: block;
  color: var(--bk-muted);
  font-size: 12px;
}
.bk-fieldset {
  border: 0;
  margin: 20px 0;
  padding: 0;
}
.bk-fieldset legend {
  font-size: 13px;
  font-weight: 500;
}
.bk-main .bk-fieldset label {
  margin: 8px 0;
}
/* Texting consent (sms-consent.mjs): the box's label is the exact consent sentence, with its
   Privacy Policy and Terms links; the code step lines up with the sentence, not the box. */
.bk-main .bk-sms-optin { margin: 10px 0 6px; }
.bk-main label.bk-sms-consent { margin: 0; font-weight: 400; }
.bk-sms-consent a,
.bk-sms-detail a {
  color: var(--bk-accent, var(--accent, #5C4CD5));
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bk-sms-lead { font-weight: 500; }
.bk-sms-lead + .bk-sms-terms { display: block; margin-top: 2px; color: var(--bk-muted); font-size: 12.5px; line-height: 1.6; }
.bk-sms-detail { margin-left: 31px; }
.bk-main .bk-sms-detail p { margin: 4px 0 8px; }
.bk-main .bk-sms-detail > .bk-button { margin: 0 0 8px; }
.bk-sms-code { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.bk-main .bk-sms-code label { flex: 1 1 140px; margin: 0; }
.bk-sms-code .bk-button { flex: 0 0 auto; }
.bk-main .bk-sms-detail .bk-sms-resend { margin-top: 8px; }
.bk-main .bk-sms-error { color: #903e34; }
.bk-signature {
  display: block;
  width: 100%;
  height: 180px;
  background: #fff;
  border: 1px dashed var(--bk-border-strong);
  border-radius: 12px;
  touch-action: none;
  margin-bottom: 10px;
}
.bk-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 11px;
  background: var(--bk-canvas);
  font-size: 12px;
  font-weight: 600;
}
.bk-confirmed {
  background: #eaf7ee;
  color: #2f7048;
}
.bk-receipts {
  border-top: 1px solid var(--bk-border);
  margin-top: 25px;
  padding-top: 20px;
}
.bk-receipts summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  align-content: center;
}
.bk-empty {
  padding: 30px 5px;
  color: var(--bk-muted);
}
.bk-more-options {
  margin: 12px 0 16px;
  border: 1px solid var(--bk-border);
  border-radius: 12px;
  background: var(--bk-surface);
}
.bk-more-options > summary {
  min-height: 44px;
  padding: 10px 12px;
  align-content: center;
  color: var(--bk-accent, var(--accent, #5C4CD5));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.bk-more-options > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}
.bk-more-options > nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--bk-border-strong);
  border-radius: 10px;
  color: var(--bk-text);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.bk-more-options > summary:focus-visible,
.bk-more-options > nav a:focus-visible {
  outline: 3px solid var(--bk-accent, var(--accent, #5C4CD5));
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .bk-more-options > nav { display: grid; grid-template-columns: minmax(0, 1fr); }
}
.booking-embedded {
  background: var(--bk-surface);
}
/* Managed frames measure intrinsic content, not a viewport-height feedback loop. */
.connect-document {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}
.connect-document .booking-body {
  min-height: 0;
  display: flow-root;
}
.connect-document .booking-shell {
  min-height: 0;
}
.booking-embedded .booking-shell {
  width: min(100% - 28px, 960px);
  margin: 22px auto;
}
.booking-embedded .bk-heading h1 {
  font-size: 28px;
}
.booking-embedded .bk-main {
  padding: 20px;
}
.embed-credit {
  text-align: center;
  font-size: 11px;
  color: var(--bk-muted);
  margin: 20px;
}
@media (max-width: 850px) {
  .bk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bk-summary {
    position: static;
    grid-row: 2;
  }
  .bk-heading {
    flex-direction: column;
    gap: 14px;
  }
  .bk-session {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 520px) {
  .booking-shell {
    width: calc(100% - 28px);
    margin: 28px auto 48px;
  }
  .bk-main,
  .bk-summary {
    padding: 16px;
    border-radius: 18px;
  }
  .bk-progress {
    gap: 4px;
  }
  .bk-progress li {
    font-size: 11px;
    gap: 5px;
    padding: 8px 6px;
  }
  .bk-progress span {
    width: 21px;
    height: 21px;
  }
  .bk-service {
    gap: 12px;
  }
  .bk-date-nav {
    gap: 8px;
  }
  .bk-date-nav label {
    width: 100%;
  }
  .bk-date-nav input {
    max-width: none;
  }
  .bk-form-card,
  .bk-policy {
    padding: 15px;
  }
  .bk-cart .bk-row {
    align-items: flex-start;
  }
  .bk-signature {
    height: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-body { scroll-behavior: auto; }
  .bk-button,
  .bk-main :is(input, select, textarea) {
    transition: none;
  }
}

.bk-gift-code { display:block; overflow-wrap:anywhere; padding:12px; background:var(--bk-soft,#EFECFA); border-radius:10px; user-select:all; }

/* Unbranded portals use Restore Now; saved salon colors retain their choices. */
:root { --bk-accent:var(--accent,#5C4CD5); }
:root[data-booking-accent] { --bk-soft:#edf4ff; }
:root[data-booking-accent="blue"] { --bk-accent:#1d4ed8; }
:root[data-booking-accent="indigo"] { --bk-accent:#4338ca; }
:root[data-booking-accent="teal"] { --bk-accent:#0f766e; }
:root[data-booking-accent="green"] { --bk-accent:#15803d; }
:root[data-booking-accent="rose"] { --bk-accent:#be123c; }
:root[data-booking-accent="plum"] { --bk-accent:#7e22ce; }
:root[data-booking-accent="slate"] { --bk-accent:#334155; }
/* Only absent/default branding gets Restore's lavender. Saved salon colors keep their values. */
:root[data-booking-default="true"] { --bk-accent:#5C4CD5; --bk-action:#BBAAFF; --bk-on-action:#191325; --bk-soft:#EFECFA; }
.bk-heading-tools { display:flex; align-items:flex-end; flex-direction:column; gap:12px; }
.bk-language { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:12px; color:var(--bk-muted); }
.bk-language select { min-height:44px; max-width:100%; padding:10px 36px 10px 12px; font:inherit; font-size:16px; border:1px solid var(--bk-border-strong); border-radius:12px; background-color:var(--bk-surface); color:var(--bk-text); }
.bk-logo { width:64px; height:64px; object-fit:contain; border-radius:12px; margin-bottom:8px; }
.bk-welcome { margin:0 0 24px; }
.bk-welcome h2 { font-size:22px; line-height:1.3; margin:0 0 8px; }
.bk-welcome p { max-width:68ch; white-space:pre-line; font-size:14px; line-height:1.6; color:var(--bk-muted); }
@media(max-width:560px) { .bk-heading { flex-wrap:wrap; gap:12px; } .bk-heading-tools { align-items:flex-start; width:100%; } }
/* Restore Now's own on-page card / Apple Pay payment. The website panel styles its own. */
:root:not(.connect-document) .bk-payment-slot { min-height:72px; margin:16px 0; }
:root:not(.connect-document) .bk-payment-total { display:flex; justify-content:space-between; gap:12px; align-items:baseline; margin:20px 0; font-size:18px; }
:root:not(.connect-document) .bk-payment-total strong { font-size:24px; }
:root:not(.connect-document) .bk-payment-message { min-height:1.6em; overflow-wrap:anywhere; }
:root:not(.connect-document) .bk-payment-note { font-size:13px; color:var(--bk-muted); line-height:1.6; }

/* Checkout (details + payment) on Restore Now's own pages: a calm, Stripe-like surface.
   The page shell sets [data-checkout]; the website panel keeps its own theme. */
[data-checkout] { --ck-shadow:0 1px 2px #1010140A, 0 12px 32px -16px #10101429; --ck-field-shadow:0 1px 1px #10101408, 0 2px 4px #10101405; }
/* Checkout stays focused: the salon welcome shows on the earlier steps. */
[data-checkout] .bk-welcome { display:none; }
@media (min-width: 851px) {
  [data-checkout] .bk-grid:has(.bk-summary) { grid-template-columns:minmax(0,1fr) minmax(300px,360px); gap:24px; }
}
[data-checkout] .bk-main,
[data-checkout] .bk-summary { border-radius:16px; box-shadow:var(--ck-shadow); padding:28px; }
[data-checkout] .bk-main > .bk-row:first-child { padding-bottom:16px; border-bottom:1px solid var(--bk-border); }
[data-checkout] .bk-main > .bk-row:first-child + .bk-auth { border-top:0; margin-top:0; }
[data-checkout] .bk-main > .bk-row:first-child h2,
[data-checkout] .bk-pay-panel > h2 { font-size:20px; margin:0; }
[data-checkout] .bk-checkout-section > h3 { font-size:15px; font-weight:600; margin:22px 0 2px; }
[data-checkout] .bk-main label { margin:12px 0; }
[data-checkout] .bk-main input:not([type="checkbox"]):not([type="radio"]),
[data-checkout] .bk-main select,
[data-checkout] .bk-main textarea { min-height:46px; border-radius:8px; box-shadow:var(--ck-field-shadow); transition:border-color 120ms ease, box-shadow 120ms ease; }
[data-checkout] .bk-main textarea { min-height:76px; }
[data-checkout] .bk-main :is(input, select, textarea):focus-visible { outline:2px solid var(--bk-accent); outline-offset:1px; box-shadow:0 0 0 5px color-mix(in srgb, var(--bk-accent) 16%, transparent); }
/* Promo codes and credit sit behind one quiet disclosure, as on Stripe Checkout. */
[data-checkout] .bk-promo { margin:20px 0; padding:0; border:0; }
[data-checkout] .bk-promo > details { border-top:1px solid var(--bk-border); border-bottom:1px solid var(--bk-border); }
[data-checkout] .bk-promo > details[open] { padding-bottom:12px; }
[data-checkout] .bk-promo > details > summary { display:flex; align-items:center; gap:10px; min-height:48px; color:var(--bk-accent); font-size:14px; font-weight:500; cursor:pointer; list-style:none; }
[data-checkout] .bk-promo > details > summary::-webkit-details-marker { display:none; }
/* The icon is decorative: the empty alt text keeps "+"/"−" out of the accessible name. */
[data-checkout] .bk-promo > details > summary::before { content:"+"; content:"+" / ""; display:grid; place-items:center; flex:none; width:20px; height:20px; border:1.5px solid currentColor; border-radius:50%; font-size:14px; line-height:1; }
[data-checkout] .bk-promo > details[open] > summary::before { content:"\2212"; content:"\2212" / ""; }
[data-checkout] .bk-promo > details > summary:focus-visible { outline:3px solid var(--bk-accent); outline-offset:2px; }
[data-checkout] .bk-promo .bk-actions { margin-top:12px; }
[data-checkout] .bk-policy { padding:14px 16px; border-radius:12px; background:var(--bk-canvas); border-color:var(--bk-border); }
[data-checkout] .bk-policy h3 { font-size:13px; font-weight:600; margin:0 0 4px; }
[data-checkout] .bk-main .bk-policy p { font-size:12.5px; line-height:1.6; margin:4px 0 8px; }
[data-checkout] .bk-policy small { color:var(--bk-muted); font-size:12px; }
[data-checkout] .bk-main .bk-accept { margin-top:18px; padding:14px 16px; border:1px solid var(--bk-border); border-radius:12px; background:var(--bk-surface); transition:border-color 120ms ease, background-color 120ms ease; }
[data-checkout] .bk-main .bk-accept:has(input:checked) { border-color:var(--bk-accent); background:color-mix(in srgb, var(--bk-accent) 5%, var(--bk-surface)); }
/* One full-width primary action, with quiet secondary actions below it. */
[data-checkout] .bk-pay-row { margin-top:18px; }
[data-checkout] .bk-pay-row .bk-button { width:100%; min-height:52px; border-radius:10px; font-size:16px; box-shadow:0 1px 2px #10101414; }
[data-checkout] .bk-pay-row .bk-button:disabled { box-shadow:none; }
/* While the time is reserved and payment prepared, say so under the button (announced through
   .bk-live). It follows each layout's alignment: centred only on Restore Now's own checkout. */
.bk-pay-status { margin:10px 0 0; color:var(--bk-muted); }
.bk-pay-status:empty { margin:0; }
[data-checkout] .bk-main .bk-pay-status { text-align:center; }
.bk-live { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
#booking-app[aria-busy="true"] [data-action="pay"]:disabled { cursor:progress; }
/* The lock flows inline with the text, so it stays beside the first word when the note wraps. */
.bk-secure-note .bk-lock { display:inline-block; vertical-align:-2px; margin-right:6px; }
[data-checkout] .bk-main .bk-secure-note { max-width:52ch; margin:12px auto 0; text-align:center; }
[data-checkout] .bk-pay-secondary { justify-content:center; gap:4px; margin-top:8px; }
[data-checkout] .bk-pay-secondary .bk-button { background:transparent; border-color:transparent; color:var(--bk-accent); font-weight:500; }
[data-checkout] .bk-pay-secondary .bk-button:hover { background:var(--bk-soft); }
[data-checkout] .bk-pay-secondary .bk-button:disabled,
[data-checkout] .bk-pay-secondary .bk-button:disabled:hover { color:var(--bk-muted); background:transparent; }
/* Wallet button first. Its slot is always laid out (never display:none) so Stripe can size the
   button, and takes no space until one renders; the divider appears once Stripe reports a wallet.
   The selector outranks the 72px slot rules here and in the immutable Connect 1.1.0 theme. */
:root .bk-payment-slot[data-payment-express] { min-height:0; margin:0; }
.bk-pay-divider { display:none; }
.bk-pay-divider:not([hidden]) { display:flex; align-items:center; gap:12px; margin:12px 0 4px; color:var(--bk-muted); font-size:13px; }
.bk-pay-divider::before,
.bk-pay-divider::after { content:""; flex:1; height:1px; background:var(--bk-border); }
[data-checkout] .bk-payment-total { margin:16px 0 20px; padding:14px 16px; border-radius:12px; background:var(--bk-canvas); font-size:15px; }
[data-checkout] .bk-payment-total strong { font-size:22px; letter-spacing:-0.02em; }
[data-checkout] .bk-payment-slot { margin:12px 0; }
[data-checkout] .bk-main .bk-payment-message { font-size:13px; color:var(--bk-muted); text-align:center; margin:12px 0 0; }
[data-checkout] .bk-pay-panel > a { display:inline-flex; align-items:center; min-height:44px; color:var(--bk-accent); font-size:14px; }
/* Order summary: what you're paying for and the total, at a glance. */
[data-checkout] .bk-summary h2 { font-size:13px; font-weight:600; color:var(--bk-muted); letter-spacing:0; margin:0 0 6px; }
[data-checkout] .bk-summary .bk-date { font-size:16px !important; font-weight:600; margin:0; }
[data-checkout] .bk-summary .bk-lines { margin:14px 0 0; border-top:1px solid var(--bk-border); }
[data-checkout] .bk-summary .bk-total { margin:0; padding-top:16px; font-weight:500; }
[data-checkout] .bk-summary .bk-total strong { font-size:28px; letter-spacing:-0.03em; }
@media (max-width: 850px) {
  /* Like Stripe on phones: the total comes first, then the form. */
  [data-checkout] .bk-summary { grid-row:1; }
}
@media (max-width: 360px) {
  /* Smallest phones: keep "Continue to payment · $120.00" and the total label on one line. */
  [data-checkout] .bk-pay-row .bk-button { font-size:15px; padding-inline:8px; }
  [data-checkout] .bk-payment-total { padding:12px; font-size:14px; }
}
[data-checkout] .bk-payment-total > span { white-space:nowrap; }
@media (max-width: 520px) {
  [data-checkout] .bk-grid { gap:14px; }
  [data-checkout] .bk-main,
  [data-checkout] .bk-summary { padding:18px; border-radius:14px; }
  [data-checkout] .bk-summary .bk-total strong { font-size:24px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-checkout] .bk-main :is(input, select, textarea),
  [data-checkout] .bk-main .bk-accept { transition:none; }
}

/* First-party pages share the website's gutters and spacing. Embedded partner
   booking retains its own dimensions and density above. */
.booking-body:not(.booking-embedded) {
  --bk-panel-gap: clamp(16px, 2vw, 24px);
  font-family: var(--sans);
}
.booking-body:not(.booking-embedded) .booking-shell {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin: var(--page-start) auto var(--page-end);
}
.booking-body:not(.booking-embedded) .bk-heading {
  gap: var(--content-gap);
  margin-bottom: var(--content-gap);
}
.booking-body:not(.booking-embedded) .bk-heading > *,
.booking-body:not(.booking-embedded) .bk-service > *,
.booking-body:not(.booking-embedded) :is(.bk-main, .bk-summary) {
  min-width: 0;
}
.booking-body:not(.booking-embedded) .bk-heading .eyebrow {
  margin: 0;
}
.booking-body:not(.booking-embedded) .bk-heading h1 {
  margin: 8px 0 12px;
}
.booking-body:not(.booking-embedded) .bk-heading label {
  margin: 0;
}
.booking-body:not(.booking-embedded) .bk-session {
  flex-wrap: wrap;
}
.booking-body:not(.booking-embedded) :is(.bk-progress, .bk-welcome, .bk-alert) {
  margin-bottom: var(--content-gap);
}
.booking-body:not(.booking-embedded) .bk-grid {
  gap: var(--content-gap);
}
.booking-body:not(.booking-embedded) :is(.bk-main, .bk-summary) {
  padding: var(--panel-padding);
}
/* Standalone guest portals keep a comfortable reading/form width within the
   same outer alignment as the directory and marketing pages. */
.booking-body:not(.booking-embedded) .booking-shell > .bk-main {
  max-width: 960px;
}
.booking-body:not(.booking-embedded) .bk-main > :first-child {
  margin-top: 0;
}
.booking-body:not(.booking-embedded) .bk-main > :last-child {
  margin-bottom: 0;
}
.booking-body:not(.booking-embedded) .bk-main > :is(p, .bk-help) {
  max-width: 70ch;
}
.booking-body:not(.booking-embedded) :is(.bk-form-card, .bk-cart) {
  --bk-card-pad: var(--bk-panel-gap);
  padding: var(--bk-card-pad);
  margin-block: var(--bk-panel-gap);
}
.booking-body:not(.booking-embedded) .bk-service {
  gap: var(--bk-panel-gap);
  padding-block: var(--bk-panel-gap);
}
.booking-body:not(.booking-embedded) .bk-service:first-child {
  padding-top: 8px;
}
.booking-body:not(.booking-embedded) .bk-service:last-child {
  padding-bottom: 8px;
}
.booking-body:not(.booking-embedded) .bk-service :is(h3, strong) {
  overflow-wrap: anywhere;
}
.booking-body:not(.booking-embedded) .booking-shell > h1,
.booking-body:not(.booking-embedded) .bk-main > h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}
.booking-body:not(.booking-embedded) #communication-preferences {
  max-width: 760px;
}
#communication-preferences form {
  max-width: 560px;
}
#communication-preferences fieldset {
  min-width: 0;
  border: 0;
  margin: var(--content-gap) 0 0;
  padding: 0;
}
#communication-preferences legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}
@media (max-width: 560px) {
  .booking-body:not(.booking-embedded) .bk-service {
    flex-direction: column;
  }
  .booking-body:not(.booking-embedded) .bk-service-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* Restore Now's browser booking chrome follows the public editorial site.
   Partner panel themes and explicit salon accents retain their own palette. */
html[data-booking-default="true"]:not(.connect-document) {
  --bk-accent: #121212;
  --bk-action: #121212;
  --bk-on-action: #FFFFFF;
  --bk-soft: #F1F1ED;
}
html:not(.connect-document) .booking-body { font-family: var(--sans); }
html:not(.connect-document) .bk-heading h1 { font-family: var(--display, Georgia, serif); font-weight: 400; font-size: clamp(36px,4vw,52px); letter-spacing: -.03em; }
html:not(.connect-document) :is(.bk-main,.bk-summary,.bk-progress,.bk-progress li,.bk-button) { border-radius: 2px; box-shadow: none; }
html:not(.connect-document) .bk-main { padding: clamp(20px,3vw,36px); }
html:not(.connect-document) .bk-progress { padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--bk-border); max-width: none; margin-bottom: 28px; }
html:not(.connect-document) .bk-progress li { padding: 14px 12px; border-bottom: 2px solid transparent; }
html:not(.connect-document) .bk-progress [aria-current] { border-bottom-color: var(--bk-accent); }
html:not(.connect-document) .bk-button { font-weight: 500; min-height: 46px; }
html:not(.connect-document) .bk-session .bk-button { font-size: 13px; }

.booking-body:not(.booking-embedded) :is(.bk-button, .bk-more-options, .bk-more-options > nav a, .bk-cart, .bk-form-card, .bk-policy, .bk-accept, .bk-alert) {
  border-radius: var(--radius, 2px);
}
.booking-body:not(.booking-embedded) :is(.bk-main input:not([type="checkbox"], [type="radio"]), .bk-main select, .bk-main textarea, .bk-language select) {
  border-radius: var(--radius, 2px);
  box-shadow: none;
}
.booking-body:not(.booking-embedded) :is(.bk-main input:not([type="checkbox"], [type="radio"]), .bk-main select, .bk-language select) {
  min-height: max(48px, var(--control-height, 44px));
}
.booking-body:not(.booking-embedded) .bk-language select:focus-visible {
  outline: 3px solid var(--bk-accent, var(--accent));
  outline-offset: 3px;
}
.booking-body:not(.booking-embedded) .bk-actions {
  align-items: center;
  gap: var(--control-gap, 8px) 12px;
  margin-top: var(--bk-panel-gap);
}
.booking-body:not(.booking-embedded) :is(.bk-more-options > summary, .bk-more-options > nav a):hover {
  background: var(--bk-soft);
}
.booking-body:not(.booking-embedded) [data-checkout] .bk-pay-row .bk-button {
  border-radius: var(--radius, 2px);
  box-shadow: none;
}
.booking-body:not(.booking-embedded) :is(.bk-main, .bk-summary, .bk-alert) {
  overflow-wrap: anywhere;
}
.booking-body:not(.booking-embedded) :is(.bk-lines li, .bk-row, .bk-inline) > * {
  min-width: 0;
}
.booking-body:not(.booking-embedded) .bk-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: var(--control-gap, 8px);
  margin-block: var(--control-gap, 8px);
}
.booking-body:not(.booking-embedded) .bk-slot {
  flex-direction: column;
  gap: 2px;
  min-height: 48px;
  text-align: center;
}
@media (max-width: 520px) {
  .booking-body:not(.booking-embedded) :is(.bk-main, .bk-summary) {
    padding: clamp(14px, 4vw, 18px);
  }
  .booking-body:not(.booking-embedded) :is(.bk-form-card, .bk-cart, .bk-alert) {
    --bk-card-pad: clamp(12px, 3.5vw, 16px);
    padding: var(--bk-card-pad);
  }
  .booking-body:not(.booking-embedded) .bk-inline {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  html:not(.connect-document) .booking-body:not(.booking-embedded) .bk-progress li {
    padding: 10px 6px;
  }
}

/* Keep the hosted service selection in reach while browsing. The bar itself is the closed
   cart bar every page shows (web-cart.css); the page only leaves room for it. */
#bk-time-options { scroll-margin-top: 112px; }
.booking-body:not(.booking-embedded):has(#booking-app[data-mobile-booking-bar]) {
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}
html:has(#booking-app[data-mobile-booking-bar]) {
  scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

.booking-body.booking-hosted .booking-shell {
  width: min(1040px, calc(100% - 2 * var(--gutter)));
  margin-top: clamp(16px, 3vw, 32px);
}
@media (max-width: 800px) {
  .booking-hosted > .site-header > .wrap {
    min-height: var(--control-height);
  }
}
.bk-salon-banner {
  display: block;
  width: 100%;
  /* Like the app's spa header, the cover keeps its own shape so most of it shows: a tall
     photo stops at the maximum height, a very wide one at the minimum, and only the overflow
     is cropped. Until it loads (and for the loading placeholder) it reserves a square. */
  height: auto;
  aspect-ratio: auto 1;
  min-height: 240px;
  max-height: 520px;
  max-height: min(520px, 55svh);
  object-fit: cover;
  border-radius: var(--radius, 2px);
  margin-bottom: clamp(12px, 2vw, 20px);
}
.bk-salon-banner[hidden] { display: none; }
/* Phones use the app's own header limits: 220 to 360 points tall. */
@media (max-width: 600px) { .bk-salon-banner { min-height: 220px; max-height: 360px; } }
:is(.booking-hosted, .booking-managed) .bk-salon-name {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-family: var(--display, inherit);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.booking-hosted .bk-grid:not(:has(.bk-summary)) { grid-template-columns: minmax(0, 1fr); }

.booking-hosted .bk-service-list .bk-service {
  flex-direction: row;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  padding-block: 10px;
}
.booking-hosted .bk-service h3 {
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.35;
}
/* A treatment's own photo, sized like the app's service card thumbnail. */
.booking-hosted .bk-service-photo {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bk-soft);
}
.booking-hosted .bk-service-with-photo > div:not(.bk-service-action) { flex: 1 1 auto; }
.booking-hosted .bk-service .bk-service-action {
  flex-flow: row nowrap;
  align-items: center;
  gap: clamp(8px, 2vw, 16px);
  white-space: nowrap;
}
.booking-hosted .bk-service-action strong {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.booking-hosted .bk-service-action .bk-button {
  min-height: 44px;
  padding-inline: 12px;
}
/* The menu is organized like the app's spa page: a title, search and category chips for longer
   menus, then each category's treatments under its name. */
.booking-hosted .bk-menu-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.booking-hosted .bk-main .bk-menu-search { position: relative; margin: 0 0 12px; }
.booking-hosted .bk-menu-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bk-muted);
  pointer-events: none;
}
.booking-hosted .bk-main .bk-menu-search input { margin: 0; padding-left: 42px; border-color: var(--bk-border); }
.booking-hosted .bk-menu-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 0 4px;
  padding-block: 2px;
}
.booking-hosted .bk-menu-chips::-webkit-scrollbar { display: none; }
.booking-hosted .bk-menu-chip {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--bk-border);
  border-radius: 999px;
  background: transparent;
  color: var(--bk-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.booking-hosted .bk-menu-chip[aria-pressed="true"] {
  background: var(--bk-surface);
  border-color: var(--bk-border-strong);
  color: var(--bk-text);
  font-weight: 600;
}
.booking-hosted .bk-menu-chip:focus-visible { outline: 3px solid var(--bk-action); outline-offset: 2px; }
.booking-hosted .bk-menu-category {
  margin: 22px 0 2px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.booking-hosted .bk-menu-results > .bk-menu-category:first-child { margin-top: 10px; }
.booking-hosted .bk-menu-empty { padding: 24px 0 8px; text-align: center; color: var(--bk-muted); }
.booking-hosted .bk-menu-empty p { margin: 0 0 6px; }
.booking-hosted .bk-menu-empty strong { color: var(--bk-text); font-size: 16px; }

@media (max-width: 700px) {
  .booking-body.booking-hosted .bk-main:has(> .bk-service-list) {
    margin-inline: calc(-1 * var(--gutter));
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .booking-hosted .bk-service-list > :is(.bk-service, .bk-muted, .bk-menu-tools),
  .booking-hosted .bk-menu-results > :is(.bk-service, .bk-menu-category, .bk-menu-empty) {
    padding-inline: var(--gutter);
  }
  /* The chips scroll edge to edge while starting in line with the page. */
  .booking-hosted .bk-menu-chips {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}

html:has(.bk-booking-dialog[open]) { overflow: hidden; }
.booking-body:is(.booking-hosted, .booking-managed) .bk-booking-dialog {
  box-sizing: border-box;
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  --bk-sheet-gutter: clamp(16px, 4vw, 24px);
  --bk-sheet-rise: 8px;
}
.bk-booking-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
}
.bk-booking-dialog::backdrop { background: rgb(15 15 18 / 42%); }
.bk-dialog-header,
.bk-dialog-body,
.bk-dialog-footer { padding-inline: var(--bk-sheet-gutter); }
.bk-dialog-header {
  gap: 8px 12px;
  padding-block: 14px;
  border-bottom: 1px solid var(--bk-border);
}
.bk-dialog-header h2 { margin: 0; font-size: clamp(19px, 5vw, 22px); line-height: 1.2; }
#bk-booking-dialog-title:focus { outline: none; }
.bk-dialog-header .bk-small { margin: 0 0 3px; font-variant-numeric: tabular-nums; }
.bk-booking-dialog .bk-dialog-header .bk-button {
  padding-inline: 10px;
  border-color: transparent;
  font-size: 13px;
}
.bk-dialog-body {
  min-inline-size: 0;
  padding-block: 14px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bk-dialog-footer {
  display: flex;
  justify-content: flex-end;
  padding-block: 12px;
  border-top: 1px solid var(--bk-border);
}
.bk-dialog-staff { display: grid; gap: 10px; }
.bk-dialog-service {
  --bk-card-pad: 12px;
  min-width: 0;
  padding: 10px var(--bk-card-pad) var(--bk-card-pad);
  border: 1px solid var(--bk-border);
  border-radius: 6px;
}
.bk-dialog-service h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.bk-dialog-service label { margin-block: 2px 6px; font-size: 13px; }
.bk-dialog-service select { margin: 0; }
.booking-body.booking-hosted .bk-booking-dialog .bk-dialog-service select {
  border-color: var(--bk-border);
  border-radius: 6px;
}
.bk-dialog-service > .bk-small { margin: 8px 0 0; }
.bk-booking-dialog .bk-selection-actions { gap: 4px; }
.bk-booking-dialog .bk-selection-actions .bk-button {
  padding-inline: 8px;
  border-color: transparent;
  color: var(--bk-muted);
  font-size: 12px;
}
.bk-booking-dialog .bk-date-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}
.bk-booking-dialog .bk-date-nav label {
  grid-column: 1 / -1;
  min-inline-size: 0;
  margin: 0;
}
.bk-week-field {
  position: relative;
  display: grid;
  min-inline-size: 0;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid var(--bk-border);
  border-radius: 6px;
  background: var(--bk-surface);
}
.bk-week-field:focus-within {
  outline: 2px solid var(--bk-accent);
  outline-offset: 1px;
}
.bk-week-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.bk-week-value svg { inline-size: 18px; block-size: 18px; flex: none; }
.bk-booking-dialog .bk-week-field input[type="date"] {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  inline-size: 100%;
  block-size: 100%;
  min-inline-size: 0;
  min-block-size: 0;
  max-inline-size: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.bk-week-field input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  padding: 0;
}
.bk-booking-dialog :is(.bk-date-nav, .bk-times) .bk-button {
  min-width: 0;
  padding: 8px 6px;
  border-color: var(--bk-border);
  border-radius: 6px;
  text-align: center;
  white-space: normal;
}
.bk-booking-dialog .bk-day { margin-block: 14px; }
.bk-booking-dialog .bk-day h3 { margin: 0 0 8px; font-size: 14px; }
.bk-booking-dialog .bk-times {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 80px), 1fr));
}
@media (max-width: 700px) {
  .booking-body:is(.booking-hosted, .booking-managed) .bk-booking-dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: min(90dvh, calc(100dvh - env(safe-area-inset-top, 0px) - 12px));
    margin: 0;
    border-inline: 0;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    --bk-sheet-rise: 100%;
  }
  .bk-dialog-footer { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .bk-dialog-footer .bk-button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .bk-booking-dialog[open] { animation: bk-picker-in 240ms cubic-bezier(.22,.8,.24,1) both; }
  .bk-booking-dialog[open]::backdrop { animation: bk-picker-backdrop-in 200ms ease-out both; }
}
@keyframes bk-picker-in {
  from { opacity: .6; transform: translateY(var(--bk-sheet-rise)); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bk-picker-backdrop-in { from { opacity: 0; } to { opacity: 1; } }

/* The hosted page reserves the same banner and menu space before the catalogue loads. */
.bk-salon-banner,
.bk-service-skeleton span { background: var(--bk-soft); }
.bk-service-skeleton { display: grid; gap: 16px; }
.bk-service-skeleton span { display: block; width: 100%; height: 42px; border-radius: 2px; }
.bk-service-skeleton span:first-child { width: min(45%, 210px); height: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .bk-salon-loading :is(.bk-skeleton, .bk-service-skeleton span) {
    animation: bk-loading-pulse 1.4s ease-in-out infinite alternate;
  }
  .bk-booking-enter { animation: bk-booking-reveal 220ms ease-out; }
}
@keyframes bk-loading-pulse { from { opacity: .55; } to { opacity: 1; } }
@keyframes bk-booking-reveal { from { opacity: .5; } to { opacity: 1; } }

/* The hosted checkout uses one quiet appointment summary and a focused form. */
:is(.booking-hosted [data-checkout], .booking-managed .bk-booking-dialog) {
  --ck-shadow: none;
  --ck-field-shadow: none;
}
.booking-hosted [data-checkout] .bk-grid { gap: clamp(12px, 2vw, 22px); }
.booking-hosted [data-checkout] :is(.bk-main, .bk-summary),
.booking-managed [data-checkout] .bk-booking-dialog :is(.bk-main, .bk-summary),
.booking-managed [data-checkout] .bk-booking-dialog {
  padding: clamp(16px, 3vw, 24px);
  border-radius: 8px;
}
.booking-hosted [data-checkout] .bk-main > .bk-hosted-review:first-child {
  padding-bottom: 12px;
}
.booking-hosted [data-checkout] .bk-hosted-review h2 {
  font-size: clamp(19px, 3.5vw, 22px);
  line-height: 1.25;
}
.booking-hosted [data-checkout] .bk-hosted-review .bk-button {
  padding-inline: 8px;
  border-color: transparent;
  font-size: 13px;
}
.booking-hosted [data-checkout] .bk-summary .bk-lines { margin-top: 10px; }
.booking-hosted [data-checkout] .bk-summary .bk-total { padding-top: 12px; }
:is(.booking-hosted [data-checkout], .booking-managed .bk-booking-dialog) .bk-summary .bk-total strong { font-size: 22px; }
.booking-hosted [data-checkout] .bk-hosted-auth { padding-top: 12px; }
:is(.booking-hosted [data-checkout], .booking-managed .bk-booking-dialog) .bk-hosted-auth .bk-button { width: 100%; min-height: 48px; }
.booking-hosted [data-checkout] .bk-optional-contact {
  border-top: 1px solid var(--bk-border);
  margin-top: 12px;
}
.booking-hosted [data-checkout] .bk-optional-contact > summary {
  display: list-item;
  min-height: 44px;
  padding-block: 12px;
  font-size: 13px;
  color: var(--bk-muted);
  cursor: pointer;
}
.booking-hosted [data-checkout] .bk-checkout-section > h3 { margin-top: 16px; }
.booking-hosted [data-checkout] .bk-policy { padding: 10px 12px; }
.booking-hosted [data-checkout] .bk-main .bk-accept { margin-top: 12px; padding: 10px 12px; }
.booking-hosted [data-checkout] .bk-pay-row { margin-top: 12px; }
.booking-hosted [data-checkout] .bk-hosted-payment .bk-payment-total {
  margin-block: 12px;
  padding: 10px 12px;
  border-radius: 6px;
}

/* Review and payment use the same scrollable sheet as the technician and time steps. */
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-booking-dialog:is([data-stage="details"], [data-stage="payment"]) {
  padding: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review {
  display: grid;
  gap: 14px;
  min-inline-size: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review > * {
  min-inline-size: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-summary {
  position: static;
  padding: 12px;
  border-radius: 6px;
  background: var(--bk-canvas);
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-summary .bk-lines {
  margin-top: 8px;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-summary .bk-total {
  padding-top: 8px;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-hosted-auth {
  margin: 0;
  padding: 0;
  border: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-checkout-section > h3 {
  margin-top: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-promo {
  margin-block: 12px;
  padding: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-pay-panel {
  min-inline-size: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-payment-total {
  margin-top: 0;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-payment-total > span {
  white-space: normal;
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-dialog-review .bk-payment-total strong {
  flex: none;
}
.bk-dialog-footer.bk-payment-footer,
.bk-payment-wallet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.bk-dialog-footer.bk-payment-footer {
  justify-content: stretch;
  background: var(--bk-surface);
}
:is(.booking-hosted, .booking-managed) [data-checkout] .bk-payment-footer .bk-pay-row { margin: 0; }
.bk-payment-footer .bk-button {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}
.bk-payment-footer .bk-payment-switch {
  min-height: 44px;
  border-color: var(--bk-border);
  font-size: 14px;
}
.bk-payment-footer .bk-pay-status {
  margin: 0;
  text-align: center;
}
.bk-payment-footer .bk-pay-status:empty,
.bk-payment-footer[hidden],
.bk-payment-footer [hidden] {
  display: none;
}
/* Signed out on a phone (the bottom-sheet width), sign-in is pinned like the Next button
   before it, with the amount due just above, and each treatment shows its photo. Wider
   screens keep the review exactly as it was. */
.bk-dialog-footer.bk-signin-footer,
.bk-line-photo { display: none; }
@media (max-width: 700px) {
  .bk-booking-dialog .bk-dialog-footer.bk-signin-footer { display: grid; }
  .bk-booking-dialog:has(.bk-signin-footer) .bk-dialog-review :is(.bk-hosted-auth, .bk-summary .bk-total) { display: none; }
  .bk-signin-footer .bk-footer-total { margin: 0; padding: 0; }
  .bk-signin-footer .bk-footer-total strong { font-size: 22px; }
  .bk-booking-dialog .bk-line-photo { display: block; flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--bk-soft); }
  .bk-booking-dialog .bk-line-with-photo > div { flex: 1 1 auto; }
}
.bk-booking-dialog[data-stage="payment"] .bk-dialog-body {
  padding-block: 12px;
}
.bk-payment-services {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
/* Each treatment row: its photo, name and details, then its price. */
.bk-payment-services li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 0;
}
.bk-payment-services li:first-child { padding-top: 0; }
.bk-payment-services li + li { border-top: 1px solid var(--bk-border); }
.bk-payment-services li > div { flex: 1 1 auto; min-width: 0; }
.bk-payment-services strong { display: block; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.bk-payment-services li > span { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-payment-service-photo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bk-soft);
}
.bk-payment-services small {
  display: block;
  color: var(--bk-muted);
}
/* After "Pay with card": a small Back to the Apple Pay / card choice. */
.bk-payment-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 4px 0 -6px -4px;
  padding: 0 6px 0 4px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--bk-action);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.bk-payment-back[hidden] { display: none; }
.bk-payment-back:disabled { color: var(--bk-muted); cursor: default; }
.bk-payment-back:focus-visible { outline: 3px solid var(--bk-accent, var(--accent, #5C4CD5)); outline-offset: 1px; }
:is(.booking-hosted, .booking-managed) [data-checkout] [data-stage="payment"] .bk-payment-total {
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--bk-border);
  border-radius: 0;
  background: none;
  font-size: 14px;
}
:root:not(.connect-document) [data-stage="payment"] .bk-payment-slot[data-payment-card] {
  margin: 12px 0 0;
}
:root:not(.connect-document) [data-stage="payment"] .bk-payment-message {
  min-height: 0;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--bk-muted);
}
:root:not(.connect-document) [data-stage="payment"] .bk-payment-message:empty {
  margin: 0;
}
@media (max-width: 700px) {
  .booking-body:is(.booking-hosted, .booking-managed) .bk-booking-dialog[data-stage="payment"] {
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 8px);
  }
  .bk-booking-dialog[data-stage="payment"] .bk-dialog-header {
    padding-block: 8px;
  }
}
@media (max-width: 700px) and (max-height: 600px) {
  .bk-booking-dialog[data-stage="payment"] .bk-dialog-header,
  .bk-booking-dialog[data-stage="payment"] .bk-dialog-body {
    padding-block: 6px;
  }
}
/* Leave the Stripe bank challenge free to open above the payment sheet. */
.bk-booking-dialog[data-stage="payment"][open] {
  position: fixed;
  z-index: 100;
  box-shadow: 0 0 0 100vmax rgb(15 15 18 / 42%);
}
@media (min-width: 701px) {
  .bk-booking-dialog[data-stage="payment"][open] {
    inset: 0;
    height: fit-content;
  }
}

/* The appointment page's status card, compact like the checkout sheets: a status mark,
   when, the services with photos, what was paid, then small actions and quiet links. */
.bk-appt { display: grid; gap: 14px; }
.bk-appt-head { display: flex; align-items: center; gap: 12px; }
.bk-appt-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e7f5ec;
  color: #1d7a3e;
}
.bk-appt-wait .bk-appt-icon { background: #fff3dc; color: #95580a; }
.bk-appt-closed .bk-appt-icon { background: #f1f0f5; color: #565463; }
.bk-main .bk-appt-head h2 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.bk-main .bk-appt-head .bk-date { margin: 2px 0 0; color: var(--bk-muted); font-size: 14px; font-weight: 500; }
.bk-main .bk-appt-note { margin: 0; color: var(--bk-muted); font-size: 14px; line-height: 1.45; }
.bk-main .bk-appt .bk-lines { margin: 0; padding-top: 2px; border-top: 1px solid var(--bk-border); }
.bk-main .bk-appt .bk-lines li { border-bottom: 0; }
.bk-main .bk-appt .bk-lines li:first-child { padding-top: 10px; }
.bk-appt-facts { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--bk-border); font-size: 14px; }
.bk-appt-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bk-appt-facts span { color: var(--bk-muted); }
.bk-appt-facts strong { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.bk-appt-facts .bk-appt-total span { color: var(--bk-text); font-weight: 500; }
.bk-appt-facts .bk-appt-total strong { font-size: 21px; letter-spacing: -0.01em; }
.bk-appt .bk-form-card { margin: 0; }
.bk-appt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.booking-body .bk-appt-actions .bk-button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}
.booking-body .bk-appt-actions [data-action="cancel-review"] { color: #a32037; }
.bk-appt-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.bk-appt-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bk-action);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.bk-appt-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.bk-appt-link:focus-visible { outline: 3px solid var(--bk-accent, var(--accent, #5C4CD5)); outline-offset: 2px; border-radius: 6px; }
.bk-main .bk-appt-more { margin-top: 0; padding-top: 2px; }
.bk-main .bk-appt-more summary { color: var(--bk-muted); font-size: 13px; }
.bk-main .bk-appt-more .bk-policy { margin-top: 4px; }
/* On a phone the appointment page header is one compact block above the card. */
@media (max-width: 700px) {
  .booking-managed .bk-heading { gap: 10px; margin-bottom: 14px; }
  .booking-managed .bk-heading .eyebrow { font-size: 12px; }
  .booking-managed .bk-heading h1 { margin: 2px 0 0; font-size: 26px; }
  .booking-managed .bk-heading-tools { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; gap: 10px; }
  .booking-managed .bk-language { gap: 0; font-size: 0; }
  .booking-body.booking-managed .bk-heading-tools .bk-language select { min-height: 38px; padding: 6px 32px 6px 12px; }
  .booking-managed .bk-session { flex: 1 1 auto; justify-content: flex-end; min-width: 0; gap: 8px; color: var(--bk-muted); font-size: 12px; }
  .booking-managed .bk-session > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .booking-body.booking-managed .bk-session .bk-button { flex: none; min-height: 38px; padding: 0 14px; }
}

/* Reschedule and Cancel on an appointment: the same slide-up sheet as checkout. */
.bk-dialog-footer.bk-sheet-footer {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}
.bk-sheet-footer .bk-button { width: 100%; min-height: 48px; padding-inline: 6px; font-size: 14px; line-height: 1.2; }
.bk-sheet-danger [data-action="cancel"] { border-color: #a32037; background: #a32037; color: #fff; }
.bk-sheet-danger [data-action="cancel"]:enabled:hover { border-color: #8b2338; background: #8b2338; }
.bk-booking-dialog[data-stage="move"] .bk-appt-note,
.bk-booking-dialog[data-stage="move"] .bk-check { margin: 0 0 10px; font-size: 13px; }
.bk-booking-dialog .bk-times [aria-pressed="true"] {
  border-color: var(--bk-action);
  background: var(--bk-action);
  color: var(--bk-on-action);
}

/* Join waitlist inside the booking sheet: the cart, then one day and an exact time or a range. */
.bk-waitlist-cart { margin-bottom: 4px; }
.bk-booking-dialog .bk-waitlist-form > label { margin: 14px 0 0; }
.bk-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 12px 0 0;
  padding: 3px;
  border-radius: 10px;
  background: rgb(16 16 20 / 6%);
  background: color-mix(in srgb, var(--bk-text) 6%, transparent);
}
.bk-booking-dialog .bk-segment label { position: relative; margin: 0; }
.bk-segment input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bk-segment span {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 8px;
  color: var(--bk-muted);
  font-size: 14px;
  font-weight: 600;
}
.bk-segment input:checked + span { background: var(--bk-surface); color: var(--bk-text); box-shadow: 0 1px 3px rgb(16 16 20 / 12%); }
.bk-segment input:focus-visible + span { outline: 3px solid var(--bk-accent, var(--accent, #5C4CD5)); outline-offset: 1px; }
.bk-waitlist-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.bk-booking-dialog .bk-waitlist-times label { margin: 0; }
.bk-booking-dialog .bk-waitlist-form .bk-small { margin: 10px 0 0; }
.bk-waitlist-when { margin: 12px 0 4px; font-size: 17px; font-weight: 600; }
.bk-booking-dialog[data-stage="waitlist"] .bk-dialog-footer a.bk-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* A sign-in card followed by the page's own section heading needs breathing room. */
.bk-auth + h2 { margin-top: 28px; }

/* Card on file: the setup step, the card choice, and late-cancellation warnings. */
.bk-cof-cards { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.bk-cof-cards legend { font-weight: 600; margin-bottom: 8px; }
.bk-cof-setup [data-cof-element] { margin: 0 0 16px; min-height: 120px; }
.bk-cof-setup [data-cof-element][hidden] { display: none; }
.bk-cof-warning { border-color: var(--warning, #b25e09); }
.bk-cof-fee .bk-button { margin-top: 8px; }

/* A time for each treatment (booking orders): the choice, the treatment being picked, its earlier picks. */
.bk-order-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin: 0 0 16px;
  border: 1px solid var(--bk-border);
  border-radius: 12px;
  background: var(--bk-surface);
}
.bk-order-mode {
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
/* The chosen way reads in every theme: the page's own action color, like its primary buttons
   (a website panel's theme color first, e.g. Hera's green). */
.bk-order-mode[aria-pressed="true"] {
  background: var(--cn-lavender, var(--bk-action));
  color: var(--cn-on-accent, var(--bk-on-action));
}
.bk-order-mode:focus-visible, .bk-order-chip:focus-visible {
  outline: 2px solid var(--bk-action);
  outline-offset: 2px;
}
.bk-order-step {
  margin: 0 0 14px;
}
.bk-order-step-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.4;
}
.bk-order-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.bk-order-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--bk-border);
  border-radius: 999px;
  background: var(--bk-surface);
  color: inherit;
  font: inherit;
  font-size: .85rem;
  text-align: left;
  cursor: pointer;
}
.bk-order-chip small {
  color: var(--bk-muted);
}
@media (max-width: 480px) {
  .bk-order-mode { font-size: .82rem; padding: 8px 6px; }
}

/* Get billed at spa: the ways to pay, as buttons (Pay now · Apple Pay or card / Get billed at spa). */
.bk-pay-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.bk-pay-choice { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--bk-border-strong); border-radius: 12px; background: var(--bk-surface); color: var(--bk-text);
  font-weight: 600; text-align: center; cursor: pointer; }
.bk-pay-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-pay-choice.is-selected { border: 2px solid var(--bk-action); background: var(--bk-soft); color: var(--bk-action); }
.bk-pay-choice:focus-within { outline: 2px solid var(--bk-action); outline-offset: 2px; }
.bk-pay-choice:has(input:disabled) { opacity: .6; cursor: not-allowed; }

/* "Apple Pay or card on file" (Nov 17): the card on file form is the payment page in the
   booking pop-up, under the services and total, like Apple Pay. */
[data-stage="payment"] .bk-cof-setup { margin-top: 16px; }
[data-stage="payment"] .bk-cof-setup > h2 { font-size: 17px; margin: 0 0 6px; }
[data-stage="payment"] .bk-cof-setup .bk-pay-row .bk-button { width: 100%; min-height: 52px; font-size: 15px; }
/* The payment page's bottom (within 6 days, on a device with Apple Pay): Stripe's black Apple Pay
   button with Add card on file stacked under it, both full width and the same height. */
.bk-payment-footer .bk-payment-switch[data-payment-card-on-file] { min-height: 52px; font-size: 15px; }
/* Backup Apple Pay (Nov 17): Safari draws its own black "Book with Apple Pay" button; it pays on
   Stripe's checkout page when Stripe's Apple Pay doesn't load on ours. Shown only on Apple devices. */
.bk-apple-pay-hosted { display: block; width: 100%; height: 52px; margin: 0; padding: 0; border: 0; border-radius: 10px; cursor: pointer;
  -webkit-appearance: -apple-pay-button; -apple-pay-button-type: book; -apple-pay-button-style: black; }
.bk-apple-pay-hosted[hidden] { display: none; }
.bk-apple-pay-hosted:disabled { opacity: .5; cursor: default; }
