/* Public booking 1.6: progressive mobile steps, using the existing site shell. */
.bf-booking-experience {
  /* Reuse the original Best Friends palette from the shared site shell. */
  --bw-ink: var(--bf-ink, #13251b);
  --bw-text: var(--bf-text, #374745);
  --bw-muted: var(--bf-muted, #6a7a76);
  --bw-brand: var(--bf-green, #10b15b);
  --bw-accent: var(--bf-green-dark, #0b8f4a);
  --bw-accent-dark: #08723a;
  /* Existing calendar green gives small white button labels enough contrast. */
  --bw-action: #087f3e;
  --bw-soft: var(--bf-soft, #eef8f1);
  --bw-line: var(--bf-line, #e4ebe6);
  --bw-page: #f7fbf8;
  color: var(--bw-text);
}

.bf-booking-experience [hidden] { display: none !important; }
.bf-booking-experience .bf-enhanced-only { display: none; }
.bf-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  vertical-align: -.22em;
}

.bf-booking-intro {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 58px 0 32px;
}
.bf-booking-experience .bf-eyebrow {
  margin: 0 0 12px;
  color: var(--bw-accent-dark);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .14em;
}
.bf-booking-intro h1 {
  margin: 0 0 18px;
  color: var(--bw-ink);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.bf-booking-intro h1 span { color: var(--bw-accent); }
.bf-booking-intro > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--bw-muted);
  font-size: 16px;
  line-height: 1.7;
}

#bookingForm .bf151-panel {
  border-color: var(--bw-line);
  background: #fff;
  box-shadow: 0 8px 28px rgb(33 61 51 / 3%);
}
#bookingForm > .bf151-panel { margin-top: 22px; }
#bookingForm .step h2 {
  color: var(--bw-ink);
  line-height: 1.3;
  outline: none;
}
#bookingForm .step > span {
  color: var(--bw-accent-dark);
  background: var(--bw-soft);
}
#bookingForm .bf-step-intro {
  margin: -10px 0 22px;
  color: var(--bw-muted);
  font-size: 14px;
  line-height: 1.65;
}
#bookingForm .bf-required-note {
  margin: -7px 0 22px;
  color: var(--bw-muted);
  font-size: 12px;
  line-height: 1.6;
}
#bookingForm label { color: var(--bw-text); line-height: 1.5; }
#bookingForm input,
#bookingForm select,
#bookingForm textarea {
  color: var(--bw-ink);
  border-color: var(--bw-line);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
#bookingForm input:not([type="checkbox"]):not([type="radio"]),
#bookingForm select { min-height: 52px; }
#bookingForm input::placeholder,
#bookingForm textarea::placeholder { color: #7a8a82; opacity: 1; }
#bookingForm input:focus,
#bookingForm select:focus,
#bookingForm textarea:focus {
  border-color: var(--bw-accent);
  box-shadow: 0 0 0 3px rgb(16 177 91 / 12%);
  outline: none;
}
#bookingForm input[type="checkbox"],
#bookingForm input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  accent-color: var(--bw-accent);
}
#bookingForm .form-grid.two { gap: 22px 24px; }
#bookingForm textarea { resize: vertical; }

.bf-animal-card,
.bf-back-button,
.bf-next-button,
.bf-feedback-vote,
.bf-quiet-button,
.bf-dialog-close,
.bf-dialog-done {
  font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.bf-booking-experience button:focus-visible,
.bf-booking-experience a:focus-visible {
  outline: 3px solid var(--bw-accent);
  outline-offset: 3px;
}
.bf-animal-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bf-animal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 228px;
  padding: 22px 12px 16px;
  border: 1.5px solid var(--bw-line);
  border-radius: 24px;
  background: #fff;
  color: var(--bw-ink);
  text-align: center;
  box-shadow: 0 5px 16px rgb(33 61 51 / 3%);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.bf-animal-art {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--bw-soft);
  color: var(--bw-accent);
}
.bf-animal-art .bf-icon { width: 76px; height: 76px; }
.bf-animal-card[data-animal="Katze"] .bf-animal-art { background: #f4efe6; color: #7c6750; }
.bf-animal-card > strong { margin: 15px 0 3px; font-size: 21px; font-weight: 750; line-height: 1.3; }
.bf-animal-card > span:not(.bf-animal-art) { color: var(--bw-muted); font-size: 12px; line-height: 1.5; }
.bf-animal-card > i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 14px auto 0;
  border-radius: 50%;
  background: var(--bw-soft);
  color: var(--bw-accent);
}
.bf-animal-card > i .bf-icon { width: 17px; height: 17px; }
.bf-animal-card[aria-pressed="true"] {
  border-color: var(--bw-accent);
  background: #f7fbf8;
  box-shadow: inset 0 0 0 1px var(--bw-accent);
}
.bf-animal-card[aria-pressed="true"] > i { background: var(--bw-accent); color: #fff; }
.bf-one-pet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--bw-muted);
  font-size: 12px;
  line-height: 1.5;
}
.bf-one-pet .bf-icon { width: 17px; height: 17px; }

/* Selection and information are separate controls: reading does not choose care. */
.bf-service-cards { gap: 13px; }
.bf-service-card-wrap,
.bf-addon-card-wrap {
  min-width: 0;
  overflow: hidden;
  border: 1.5px solid var(--bw-line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.bf-service-card,
.bf-addon-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 13px;
  width: 100%;
  min-height: 100px;
  padding: 17px 16px;
  border: 0;
  background: transparent;
  color: var(--bw-ink);
  font: inherit;
  line-height: 1.5;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.bf-service-card::after,
.bf-addon-card::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 15px;
  border: 1.5px solid #afc3b7;
  border-radius: 50%;
  background: #fff;
}
.bf-option-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--bw-soft); color: var(--bw-accent); }
.bf-option-icon .bf-icon { width: 28px; height: 28px; }
.bf-option-copy { display: grid; align-content: start; gap: 4px; min-width: 0; }
.bf-option-copy strong { color: var(--bw-ink); font-size: 16px; font-weight: 700; line-height: 1.45; }
.bf-option-description { color: var(--bw-muted); font-size: 13px; line-height: 1.55; }
.bf-option-meta { margin-top: 3px; color: var(--bw-accent-dark); font-size: 12px; font-weight: 550; line-height: 1.45; }
.bf-info-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-top: 1px solid #edf2ee;
  background: transparent;
  color: var(--bw-accent-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  touch-action: manipulation;
  cursor: pointer;
}
.bf-info-button .bf-icon { width: 17px; height: 17px; }
.bf-service-card-wrap:has(.bf-service-card[aria-pressed="true"]),
.bf-addon-card-wrap:has(.bf-addon-card[aria-checked="true"]) { border-color: var(--bw-accent); background: #f3f9f5; box-shadow: inset 0 0 0 1px var(--bw-accent); }
.bf-service-card[aria-pressed="true"]::after,
.bf-addon-card[aria-checked="true"]::after { border: 4px solid #fff; background: var(--bw-accent); box-shadow: 0 0 0 1.5px var(--bw-accent); }
.bf-service-card-wrap:focus-within,
.bf-addon-card-wrap:focus-within { overflow: visible; }
.bf-service-card:focus-visible,
.bf-addon-card:focus-visible { position: relative; z-index: 1; border-radius: 16px; }
.bf-info-button:focus-visible { position: relative; z-index: 1; border-radius: 0 0 16px 16px; }
#bookingForm .addon-panel { margin: 0; }
#bookingForm .addon-panel legend { padding: 0 0 3px; color: var(--bw-muted); font-size: 12px; line-height: 1.6; }
#bookingForm .addon-choices { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 13px; }

.bf-wizard-progress { margin: 0 0 25px; }
.bf-progress-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--bw-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
#wizardStepCount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bf-progress-track { height: 5px; overflow: hidden; border-radius: 20px; background: #e1eae4; }
#wizardProgressFill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(135deg, var(--bw-brand), var(--bw-accent)); transition: width 180ms ease; }
.bf-wizard-message {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid #e8d8b6;
  border-radius: 12px;
  background: #fff7e8;
  color: #715522;
  font-size: 14px;
  line-height: 1.6;
}
.bf-back-button,
.bf-next-button,
.bf-dialog-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid var(--bw-action);
  border-radius: 15px;
  background: var(--bw-action);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.bf-back-button { border-color: var(--bw-line); background: #fff; color: var(--bw-text); }
.bf-next-button { flex: 1 1 auto; min-width: 0; }
.bf-back-button .bf-icon,
.bf-next-button .bf-icon { width: 19px; height: 19px; }
.bf-back-button:disabled,
.bf-next-button:disabled,
.bf-dialog-done:disabled { opacity: .5; cursor: not-allowed; }

/* Keep the existing calendar engine and make its choices easier to scan. */
#bookingForm .booking-schedule { min-height: 0; border-color: var(--bw-line); border-radius: 18px; }
#bookingForm .mini-calendar { background: var(--bw-soft); border-color: var(--bw-line); }
#bookingForm .mini-toolbar h3,
#bookingForm .days-toolbar h3 { color: var(--bw-ink); font-size: 14px; }
#bookingForm .icon-button { width: 44px; min-width: 44px; height: 44px; color: var(--bw-accent); }
#bookingForm .icon-button .bf-icon { width: 19px; height: 19px; }
#bookingForm .icon-button:hover { background: #e3f6e9; }
#bookingForm .mini-month-select { min-height: 44px; color: var(--bw-muted); }
#bookingForm .mini-month-table { table-layout: fixed; }
#bookingForm .mini-month-table th { background: transparent; color: var(--bw-muted); font-weight: 600; }
#bookingForm .mini-date { border-radius: 10px; color: var(--bw-ink); }
#bookingForm .mini-date.is-available { background: #d6efdd; color: var(--bw-accent-dark); }
#bookingForm .mini-date.is-centered.is-available { background: var(--bw-action); color: #fff; box-shadow: 0 3px 9px rgb(16 177 91 / 14%); }
#bookingForm .mini-date.is-unavailable { background: transparent; color: #87958d; opacity: 1; }
#bookingForm .mini-date[aria-current="date"] { text-decoration: underline; text-underline-offset: 4px; }
.bf-calendar-key { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 13px 0 0; color: var(--bw-muted); font-size: 11px; }
.bf-calendar-key > span { width: 8px; height: 8px; border-radius: 50%; background: var(--bw-accent); }
#bookingForm .calendar-message { color: var(--bw-muted); font-size: 13px; line-height: 1.6; }
#bookingForm .time-day .slot { min-height: 44px; border-color: #b9d3c5; border-radius: 12px; background: #fff; color: var(--bw-accent-dark); font-size: 13px; font-weight: 600; }
#bookingForm .time-day .slot:hover { background: var(--bw-soft); }
#bookingForm .time-day .slot.selected { border-color: var(--bw-action); background: var(--bw-action); color: #fff; box-shadow: 0 4px 11px rgb(16 177 91 / 12%); }
#bookingForm .time-day.centered h4 strong { background: var(--bw-soft); color: var(--bw-accent-dark); }
#bookingForm .text-button { min-height: 44px; color: var(--bw-accent-dark); font-size: 13px; line-height: 1.5; }
#bookingForm .text-button .bf-icon { width: 17px; height: 17px; }
#bookingForm .chosen-time { padding: 14px 16px; border: 1px solid #d2e6d9; border-radius: 13px; background: var(--bw-soft); color: var(--bw-accent-dark); font-size: 14px; line-height: 1.5; }
#bookingForm .duration-summary { margin: 16px 0 0; color: var(--bw-muted); font-size: 12px; font-weight: 500; line-height: 1.6; }

#bookingForm .booking-privacy { border-top-color: var(--bw-line); font-size: 13px !important; }
#bookingForm .booking-privacy input { margin-right: 7px; vertical-align: -.2em; }
#bookingForm .booking-privacy a { color: var(--bw-accent-dark); text-underline-offset: 3px; }
#bookingForm #reserveButton { min-height: 54px; border-radius: 15px; background: var(--bw-action); color: #fff; box-shadow: none; font-size: 15px; }
#bookingForm #reserveButton:enabled:hover { background: var(--bw-accent-dark); box-shadow: none; transform: none; }
#bookingForm #reserveButton .bf-icon { width: 19px; height: 19px; }
.bf-request-note { display: flex; align-items: flex-start; gap: 9px; color: var(--bw-muted); line-height: 1.65; }
.bf-request-note .bf-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--bw-accent); }
.bf-review-list { display: grid; gap: 12px; }
.bf-review-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 16px; border: 1px solid var(--bw-line); border-radius: 16px; background: #fff; }
.bf-review-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bw-soft); color: var(--bw-accent); }
.bf-review-icon .bf-icon { width: 23px; height: 23px; }
.bf-review-copy { min-width: 0; padding-top: 1px; color: var(--bw-text); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.bf-review-copy strong { display: block; margin-bottom: 4px; color: var(--bw-ink); font-size: 14px; font-weight: 700; }
.bf-review-copy span,
.bf-review-copy small { display: block; color: inherit; font-size: inherit; white-space: pre-line; }
.bf-review-edit { min-height: 44px; padding: 9px 4px 9px 6px; border: 0; border-radius: 8px; background: transparent; color: var(--bw-accent-dark); font: inherit; font-size: 12px; font-weight: 650; line-height: 1.5; cursor: pointer; touch-action: manipulation; }
.bf-review-edit .bf-icon { width: 16px; height: 16px; }
.bf-booking-experience .bf-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 25px 0 0;
  color: #1a3c6e;
  font-size: 12px;
  line-height: 1.6;
}
.bf-booking-experience .bf-powered a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #1a3c6e; font-weight: 650; text-decoration: none; }
/* Restore the existing A2Z cube as decoration beside the accessible text link. */
.bf-booking-experience .bf-powered a::before {
  content: "";
  display: block;
  width: 30px;
  height: 28px;
  flex: 0 0 auto;
  background: url("/assets/site-v152/a2z-logo-cube.svg") center / contain no-repeat;
  transform-origin: 50% 55%;
  filter: drop-shadow(0 2px 5px rgb(0 159 227 / 18%));
}
.bf-booking-experience .bf-powered a:focus-visible { outline-color: #1a3c6e; }
.bf-powered .bf-icon { width: 14px; height: 14px; color: #009fe3; }

/* A light closing row for booking; the full site footer remains on other pages. */
.bf-booking-legal {
  width: min(660px, 100%);
  margin: 0 auto;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: transparent;
}
.bf-booking-legal .bf-footer-inner { display: block; }
.bf-booking-legal .bf-footer-links { justify-content: center; gap: 0 14px; }
.bf-booking-legal .bf-footer-links a,
.bf-booking-legal .bf-footer-cookie-settings {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: var(--bf-muted, #6a7a76);
  font-size: 11px;
  line-height: 1.5;
}
.bf-booking-legal .bf-footer-links a:hover,
.bf-booking-legal .bf-footer-cookie-settings:hover { color: #08723a; }
.bf-booking-legal a:focus-visible,
.bf-booking-legal button:focus-visible { outline: 2px solid #0b8f4a; outline-offset: 3px; }

/* The completed request has its own calm, optional feedback state. */
.bf-complete-card {
  width: min(660px, 90vw);
  margin: 52px auto 72px;
  padding: 40px 42px 30px;
  border: 1px solid var(--bw-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 38px rgb(33 61 51 / 5%);
  text-align: center;
}
.bf-complete-mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--bw-soft); color: var(--bw-accent); }
.bf-complete-mark .bf-icon { width: 38px; height: 38px; }
.bf-complete-card h1 { margin: 0 0 12px; color: var(--bw-ink); font-size: 36px; line-height: 1.15; letter-spacing: -.035em; }
.bf-complete-card > p:not(.bf-eyebrow) { margin: 12px auto 0; max-width: 46ch; color: var(--bw-muted); font-size: 15px; line-height: 1.7; }
.bf-complete-card > .bf-complete-lead { color: var(--bw-ink) !important; font-weight: 650; }
.bf-feedback { margin: 28px 0 17px; padding: 24px 0 16px; border-top: 1px solid var(--bw-line); border-bottom: 1px solid var(--bw-line); }
.bf-feedback h2 { max-width: 29ch; margin: 0 auto 10px; color: var(--bw-ink); font-size: 19px; font-weight: 700; line-height: 1.4; }
.bf-feedback-hint { margin: 0 0 20px; color: var(--bw-muted); font-size: 12px; line-height: 1.6; }
.bf-feedback-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bf-feedback-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 100px; padding: 16px 10px; border: 1px solid var(--bw-line); border-radius: 17px; background: #fff; color: var(--bw-text); font-size: 14px; font-weight: 650; line-height: 1.45; }
.bf-feedback-vote .bf-icon { width: 28px; height: 28px; color: var(--bw-accent); }
.bf-feedback-vote[aria-pressed="true"],
.bf-feedback-vote.is-selected { border-color: var(--bw-accent); background: var(--bw-soft); box-shadow: inset 0 0 0 1px var(--bw-accent); }
.bf-feedback-vote:disabled { cursor: default; }
.bf-feedback-vote:disabled:not([aria-pressed="true"]):not(.is-selected) { opacity: .55; }
.bf-feedback-status { margin: 15px 0 0; color: var(--bw-accent-dark); font-size: 13px; line-height: 1.6; }
.bf-feedback-status:empty { display: none; }
.bf-feedback-status.is-error { color: #8d4836; }
.bf-quiet-button { min-height: 44px; padding: 9px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--bw-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.bf-booking-experience .bf-secondary-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 9px; color: var(--bw-accent-dark); font-size: 14px; font-weight: 650; text-decoration: none; }
.bf-secondary-link .bf-icon { width: 18px; height: 18px; }

/* Native dialog keeps focus and keyboard handling in the page's own interface. */
.bf-care-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--bw-line);
  border-radius: 25px;
  background: #fff;
  color: var(--bw-text);
  box-shadow: 0 24px 80px rgb(15 40 29 / 18%);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bf-care-dialog:not([open]) { display: none; }
.bf-care-dialog::backdrop { background: rgb(24 48 36 / 40%); backdrop-filter: blur(2px); }
.bf-care-dialog-card { position: relative; padding: 32px; }
.bf-dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f1f6f2; color: var(--bw-muted); }
.bf-dialog-close .bf-icon { width: 20px; height: 20px; }
.bf-care-dialog-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 8px 0 23px; border-radius: 20px; background: var(--bw-soft); color: var(--bw-accent); }
.bf-care-dialog-icon .bf-icon { width: 38px; height: 38px; }
.bf-care-dialog h2 { margin: 0 0 14px; color: var(--bw-ink); font-size: 27px; line-height: 1.25; letter-spacing: -.025em; }
.bf-care-dialog #careInfoText { margin: 0; color: var(--bw-text); font-size: 15px; line-height: 1.8; }
.bf-dialog-done { width: 100%; margin: 25px 0 0; }

@media (hover: hover) {
  .bf-animal-card:hover { border-color: #8bb6a4; background: #fcfefd; box-shadow: 0 9px 23px rgb(33 61 51 / 7%); }
  .bf-service-card-wrap:hover,
  .bf-addon-card-wrap:hover { border-color: #8bb6a4; }
  .bf-info-button:hover { background: var(--bw-soft); }
  .bf-next-button:enabled:hover,
  .bf-dialog-done:enabled:hover { background: var(--bw-accent-dark); }
  .bf-feedback-vote:enabled:hover { border-color: #8bb6a4; background: #f6faf7; }
  .bf-booking-experience .bf-powered a:hover,
  .bf-booking-experience .bf-secondary-link:hover { text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 760px) {
  body.bf-site-match.bf-mobile-flow { background: #f7fbf8; }
  body.bf-mobile-flow .bf152-main { min-height: 0; }
  body.bf-mobile-flow .bf155-a2z-section,
  body:has(.bf-booking-complete) .bf155-a2z-section { display: none; }
  body.bf-mobile-flow .bf-booking-intro { width: calc(100% - 40px); padding: 24px 0 23px; text-align: center; }
  body.bf-mobile-flow:not(.bf-mobile-start) .bf-booking-intro { display: none; }
  body.bf-mobile-flow .bf-booking-intro .bf-eyebrow { margin-bottom: 10px; font-size: 10px; }
  body.bf-mobile-flow .bf-booking-intro h1 { margin-bottom: 13px; font-size: clamp(28px, 8vw, 35px); line-height: 1.15; }
  body.bf-mobile-flow .bf-booking-intro > p:last-child { max-width: 440px; margin-inline: auto; font-size: 13px; line-height: 1.65; }
  body.bf-site-match.bf-mobile-flow .public-booking { width: calc(100% - 32px); max-width: 520px; margin: 0 auto 24px !important; padding: 0; background: transparent; box-shadow: none; }
  #bookingForm.bf-wizard { padding-top: 22px; scroll-margin-top: 88px; }
  /* The sticky site header is 69px on phones and 81px at 641–760px. */
  #bookingForm.bf-wizard #wizardProgress { scroll-margin-top: 88px; }
  body.bf-mobile-start #bookingForm.bf-wizard { padding-top: 0; }
  body.bf-mobile-start #wizardProgress,
  body.bf-mobile-start #bookingForm [data-booking-step="animal"] .bf-step-intro { display: none; }
  #bookingForm.bf-wizard .bf-enhanced-only:not([hidden]) { display: grid; }
  #bookingForm.bf-wizard .animal-first,
  #bookingForm.bf-wizard .bf-service-select { display: none; }
  #bookingForm.bf-wizard .bf151-selection { display: contents; }
  #bookingForm.bf-wizard .bf151-panel { margin: 0; padding: 0 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  #bookingForm.bf-wizard .step { margin: 0 0 17px; }
  #bookingForm.bf-wizard .step > span { display: none; }
  #bookingForm.bf-wizard .step h2 { font-size: clamp(22px, 6.1vw, 27px); font-weight: 750; letter-spacing: -.025em; }
  #bookingForm.bf-wizard .bf-step-intro { margin: -7px 0 23px; font-size: 14px; }
  #bookingForm.bf-wizard [data-booking-step="animal"] .step,
  #bookingForm.bf-wizard [data-booking-step="animal"] .bf-step-intro { justify-content: center; text-align: center; }
  #bookingForm.bf-wizard [data-booking-step="animal"] .step h2 { font-size: 23px; }
  #bookingForm.bf-wizard .form-grid.two { grid-template-columns: 1fr; gap: 20px; }
  #bookingForm.bf-wizard label { font-size: 14px; }
  #bookingForm.bf-wizard input,
  #bookingForm.bf-wizard select,
  #bookingForm.bf-wizard textarea { font-size: 16px !important; scroll-margin-top: 115px; scroll-margin-bottom: 115px; }
  #bookingForm.bf-wizard .bf-required-note { margin-top: -10px; font-size: 12px; }
  #bookingForm.bf-wizard .addon-choices { grid-template-columns: 1fr; }
  #bookingForm.bf-wizard .bf-review-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 14px 12px; }
  #bookingForm.bf-wizard .bf-review-icon { width: 36px; height: 36px; }
  #bookingForm.bf-wizard .bf-review-copy { font-size: 13px; }
  #bookingForm.bf-wizard .bf-wizard-nav {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px -16px 0;
    padding: 13px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgb(211 226 217 / 80%);
    background: rgb(247 251 248 / 96%);
    box-shadow: 0 -5px 20px rgb(33 61 51 / 3%);
    backdrop-filter: blur(10px);
  }
  /* A focused text field may open the software keyboard: keep navigation in flow. */
  #bookingForm.bf-wizard:has(input:not([type="checkbox"]):not([type="radio"]):focus, textarea:focus) .bf-wizard-nav { position: static; }
  #bookingForm.bf-wizard .bf-back-button { padding-inline: 13px; }
  #bookingForm.bf-wizard .booking-schedule { grid-template-columns: 1fr; }
  #bookingForm.bf-wizard .mini-calendar { padding: 15px 12px 18px; }
  #bookingForm.bf-wizard .mini-toolbar,
  #bookingForm.bf-wizard .mini-month-table,
  #bookingForm.bf-wizard .mini-month-select { max-width: 360px; }
  #bookingForm.bf-wizard .mini-toolbar h3 { font-size: 16px; }
  #bookingForm.bf-wizard .mini-month-table { width: 100%; border-spacing: 2px 5px; }
  #bookingForm.bf-wizard .mini-month-table td { padding: 0; }
  #bookingForm.bf-wizard .mini-month-table th { height: 30px; font-size: 12px; }
  #bookingForm.bf-wizard .mini-date { width: 100%; max-width: 44px; min-width: 0; height: 44px; margin-inline: auto; padding: 0; font-size: 14px; }
  #bookingForm.bf-wizard .day-browser { padding: 15px 14px 20px; }
  #bookingForm.bf-wizard .days-toolbar h3 { font-size: 14px; }
  #bookingForm.bf-wizard .day-columns { display: block; }
  #bookingForm.bf-wizard .time-day:not(.centered) { display: none; }
  #bookingForm.bf-wizard .time-day.centered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; }
  #bookingForm.bf-wizard .time-day h4 { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; margin: 0 0 8px; }
  #bookingForm.bf-wizard .time-day h4 small { font-size: 12px; }
  #bookingForm.bf-wizard .time-day h4 strong { width: 32px; height: 32px; font-size: 16px; }
  #bookingForm.bf-wizard .time-day .slot { min-height: 46px; font-size: 14px; padding: 9px 3px; }
  #bookingForm.bf-wizard .time-empty { grid-column: 1 / -1; }
  #bookingForm.bf-wizard .chosen-time { font-size: 13px; }
  #bookingForm.bf-wizard #reserveButton { display: none; }
  #bookingForm.bf-wizard .booking-privacy { margin-top: 23px; padding-top: 21px; }
  .bf-booking-experience .bf-powered { margin-top: 12px; }
  .bf-complete-card { width: calc(100% - 32px); margin: 28px auto 32px; padding: 29px 20px 24px; border-radius: 24px; }
  .bf-complete-card h1 { font-size: 32px; }
  .bf-complete-card > p:not(.bf-eyebrow) { font-size: 14px; }
  .bf-feedback { margin-top: 25px; padding-top: 22px; }
  .bf-feedback h2 { font-size: 18px; }
  .bf-feedback-vote { font-size: 13px; }
  .bf-complete-card .bf-powered { margin-top: 21px; }
  .bf-care-dialog[open] { inset: auto 0 0; width: 100%; max-width: none; max-height: 86dvh; margin: 0; border: 0; border-radius: 26px 26px 0 0; }
  .bf-care-dialog-card { padding: 27px 24px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .bf-care-dialog-icon { width: 62px; height: 62px; margin-top: 11px; }
  .bf-care-dialog h2 { font-size: 25px; }
}

@media (max-width: 360px) {
  .bf-animal-choices { gap: 10px; }
  .bf-animal-card { padding-inline: 8px; }
  .bf-animal-art { width: 96px; height: 96px; }
  .bf-animal-art .bf-icon { width: 70px; height: 70px; }
  .bf-animal-card > span:not(.bf-animal-art) { font-size: 11px; }
  .bf-service-card,
  .bf-addon-card { grid-template-columns: 42px minmax(0, 1fr) 17px; gap: 10px; padding-inline: 12px; }
  .bf-option-icon { width: 42px; height: 42px; }
  .bf-option-icon .bf-icon { width: 25px; height: 25px; }
  .bf-option-copy strong { font-size: 15px; }
  .bf-option-description { font-size: 12px; }
  #bookingForm.bf-wizard .mini-calendar { padding-inline: 8px; }
  #bookingForm.bf-wizard .day-browser { padding-inline: 10px; }
  #bookingForm.bf-wizard .time-day.centered { gap: 7px; }
  #bookingForm.bf-wizard .time-day .slot { font-size: 13px; }
  .bf-feedback-options { gap: 9px; }
  .bf-feedback-vote { padding-inline: 7px; font-size: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .bf-booking-experience .bf-powered a::before { animation: bf-a2z-footer-cube 7.2s ease-in-out infinite; }
  #bookingForm.bf-wizard [data-booking-step]:not([hidden]) { animation: bf-booking-step-in 180ms ease both; }
  .bf-care-dialog[open] { animation: bf-booking-dialog-in 180ms ease both; }
}
@keyframes bf-booking-step-in { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bf-booking-dialog-in { from { opacity: .4; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .bf-booking-experience *,
  .bf-booking-experience *::before,
  .bf-booking-experience *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
