/* ============================================
   BOOKING PAGE - Premium Full Viewport Experience
   ============================================ */

/* Override body for booking page */
.booking-page {
  overflow: hidden;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height — accounts for mobile browser chrome */
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #f0f5f3 0%, #e6eeed 30%, #f5f0eb 70%, #ede8e4 100%);
}

/* ---- HEADER ---- */
.bk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.5rem;
  background: var(--primary-dark);
  color: white;
  flex-shrink: 0;
  z-index: 100;
}

.bk-header__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: white;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bk-header__logo-img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.bk-header__logo:hover {
  color: white;
  opacity: 0.9;
}

.bk-header__close {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.bk-header__close:hover {
  color: white;
  background: rgba(255,255,255,0.15);
}

/* ---- PROGRESS BAR ---- */
.bk-header__steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  max-width: 500px;
  margin: 0 2rem;
}

.bk-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.bk-step span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  font-weight: 500;
  transition: opacity 0.3s;
}

.bk-step.active span,
.bk-step.completed span {
  opacity: 1;
}

.bk-step__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bk-step__dot.active {
  background: white;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
  transform: scale(1.2);
}

.bk-step__dot.completed {
  background: white;
}

.bk-step__line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin: 0 0.25rem;
  border-radius: 1px;
  overflow: hidden;
  min-width: 30px;
  align-self: center;
  margin-bottom: 0.8rem;
}

.bk-step__line-fill {
  height: 100%;
  background: white;
  border-radius: 1px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- MAIN CONTENT ---- */
.bk-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.bk-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Form steps */
.booking-page .form-step {
  display: none;
  flex: 1;
  animation: bkFadeSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding-bottom: 70px; /* Space for fixed nav buttons */
}

.booking-page .form-step.active {
  display: flex;
}

@keyframes bkFadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.bk-step-content {
  flex: 1 1 auto;
  padding: 0.6rem 2.5rem 0.25rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.bk-step-content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  padding-bottom: 1.5rem;
}

.bk-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--gray-900);
  margin-bottom: 0.1rem;
  text-align: center;
}

.bk-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* ============================================
   GLASS CARD SYSTEM
   ============================================ */

/* ---- DOG PICKER (replaces breed bar for returning customers) ---- */
.bk-dog-picker {
  margin-bottom: 18px;
}

.bk-dog-picker__header {
  text-align: center;
  margin-bottom: 14px;
}

.bk-dog-picker__header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 4px;
}

.bk-dog-picker__header p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
}

.bk-dog-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.bk-dog-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px !important;
  cursor: pointer;
  border: 2px solid transparent !important;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
}

.bk-dog-card:hover {
  border-color: rgba(107,148,138,0.3) !important;
  transform: translateY(-2px);
}

.bk-dog-card.selected {
  border-color: var(--primary) !important;
  background: linear-gradient(160deg, rgba(232,240,236,0.85) 0%, rgba(220,232,226,0.6) 100%) !important;
}

.bk-dog-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bk-dog-card__avatar--add {
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  color: var(--gray-500);
  font-size: 1.5rem;
  font-weight: 400;
}

.bk-dog-card--add:hover .bk-dog-card__avatar--add {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
  color: white;
}

.bk-dog-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bk-dog-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.bk-dog-card__breed {
  font-size: 0.82rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-dog-card__visits {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.bk-dog-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--primary);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s ease;
}

.bk-dog-card.selected .bk-dog-card__check {
  opacity: 1;
  transform: scale(1);
}

/* ---- RETURNING CUSTOMER ---- */
/* ---- EMAIL PROMPT (slides in on Step 1 after service selection) ---- */
.bk-email-after-service {
  margin-top: 12px;
}

.bk-email-prompt {
  max-width: 520px;
  margin: 0 auto;
  padding: 0.8rem 1.6rem 1rem !important;
  text-align: center;
}

.bk-email-prompt__icon {
  margin-bottom: 2px;
}

.bk-email-prompt__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 3px;
}

.bk-email-prompt__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 0 10px;
  line-height: 1.4;
}

.bk-email-prompt__input-row {
  display: flex;
  justify-content: center;
}

.bk-email-prompt__input {
  width: 100%;
  max-width: 360px;
  padding: 10px 16px;
  border: 1.5px solid rgba(107,148,138,0.3);
  border-radius: 10px;
  font-size: 1.05rem;
  font-family: inherit;
  background: rgba(255,255,255,0.8);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bk-email-prompt__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,148,138,0.15);
}

.bk-email-prompt__hint {
  font-size: 0.82rem;
  margin: 10px 0 0;
  line-height: 1.4;
}

.bk-email-prompt__gdpr {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 6px 0 0;
  line-height: 1.3;
}

.bk-email-prompt__gdpr a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.bk-email-prompt__skip {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 4px 0 0;
}

.bk-email-continue {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 40px;
  background: var(--accent, #8b6f5a);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(139,111,90,0.25);
}

.bk-email-continue:hover {
  background: var(--accent-hover, #7a6050);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139,111,90,0.3);
}

.bk-email-continue:active {
  transform: translateY(0);
}

/* Slide-in animation */
.bk-slide-in {
  animation: bkSlideIn 0.35s ease-out;
}

@keyframes bkSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- STEP 5: YOUR DETAILS ---- */
.bk-your-details.bk-glass-card {
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.2rem;
}
.bk-consent-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bk-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-light);
}
.bk-consent-item input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.bk-consent-item label {
  cursor: pointer;
}
.bk-consent-item a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---- BREED LOCKED STATE ---- */
.bk-breed-locked {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.bk-breed-locked::after {
  content: 'Breed on file — cannot be changed';
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 6px;
  text-align: center;
}

.bk-glass-card {
  background: linear-gradient(160deg,
    rgba(255,255,255,0.68) 0%,
    rgba(255,255,255,0.42) 50%,
    rgba(255,255,255,0.52) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 0.75rem 1.1rem;
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.05),
    0 1px 2px rgba(0,0,0,0.03),
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bk-glass-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.07),
    0 2px 6px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(255,255,255,0.25);
}

/* Shine sweep animation on glass cards */
.bk-glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255,255,255,0.2) 43%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.2) 57%,
    transparent 62%
  );
  pointer-events: none;
  transition: left 0.65s ease;
}

.bk-glass-card:hover::after {
  left: 130%;
}

/* Accent top border lines */
.bk-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 6px 6px 0 0;
  z-index: 1;
}

.bk-dog-form__left::before {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.bk-dog-form__right::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

/* ---- STEP 1: SERVICES ---- */
.bk-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 900px;
}

.bk-service {
  background: linear-gradient(160deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.38) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 6px;
  padding: 0.8rem 0.8rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(255,255,255,0.15);
}

.bk-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
  border-radius: 5px 5px 0 0;
}

.bk-service:hover {
  border-color: rgba(107,148,138,0.35);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(107,148,138,0.12),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.bk-service.selected {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(232,240,236,0.85) 0%, rgba(220,232,226,0.6) 100%);
  box-shadow:
    0 0 0 3px rgba(107,148,138,0.15),
    0 8px 24px rgba(107,148,138,0.15),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

.bk-service input[type="radio"] { display: none; }

.bk-service__icon {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 70%;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 0.15rem;
  transition: padding-bottom 0.35s ease;
}

.bk-service__icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.4s ease;
}

.bk-service:hover .bk-service__icon img {
  transform: scale(1.05);
}

.bk-service__info {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bk-service__info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
  color: var(--gray-900);
}

.bk-service__price {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.2rem;
}

.bk-service__time {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.1rem;
}

/* ---- BREED BAR (full-width, above panels) ---- */
.bk-breed-bar {
  width: 100%;
  background: linear-gradient(160deg,
    rgba(255,255,255,0.6) 0%,
    rgba(255,255,255,0.35) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.035),
    inset 0 1px 0 rgba(255,255,255,0.65);
  animation: bkBreedBarAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
  overflow: visible;
  position: relative;
  z-index: 10;
}

@keyframes bkBreedBarAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bk-breed-bar__label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bk-breed-bar__hint {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

.bk-breed-bar__hint strong {
  color: var(--gray-700);
  font-weight: 600;
}

/* Breed grid: 6 columns for 12 breeds */
.bk-breeds--grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

/* ---- STEP 2: DOG DETAILS ---- */
.bk-dog-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  align-items: start;
  position: relative;
  z-index: 1;
}

.bk-dog-form__left {
  animation: bkCardAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.bk-dog-form__right {
  animation: bkCardAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  display: flex;
  flex-direction: column;
}

@keyframes bkCardAppear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.bk-dog-form__left > .bk-field:first-of-type,
.bk-dog-form__left > .bk-field-row:first-of-type,
.bk-dog-form__right > .bk-field:first-of-type {
  margin-top: 0.15rem;
}

.bk-section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bk-dog-form__left .bk-section-label {
  color: var(--primary);
}

.bk-dog-form__right .bk-section-label {
  color: var(--accent);
}

.bk-section-label svg {
  width: 14px;
  height: 14px;
}

.bk-field {
  margin-bottom: 0.4rem;
}

.bk-field:last-child {
  margin-bottom: 0;
}

.bk-field--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bk-field--grow textarea {
  flex: 1;
  min-height: 55px;
}

.bk-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bk-optional {
  font-weight: 400;
  text-transform: none;
  color: var(--gray-500);
  letter-spacing: 0;
}

/* ---- READ-ONLY FIELD DISPLAY ---- */
.bk-field__display {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark, #658E82);
  background: linear-gradient(160deg, rgba(232,240,236,0.6) 0%, rgba(220,232,226,0.4) 100%);
  border: 1px solid rgba(107,148,138,0.2);
  letter-spacing: 0.01em;
}

/* ---- GLASS FORM INPUTS ---- */
.bk-field input,
.bk-field select,
.bk-field textarea {
  width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(160deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.45) 100%);
  color: var(--gray-700);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.04),
    inset 0 -1px 0 rgba(255,255,255,0.3),
    0 1px 3px rgba(0,0,0,0.02);
}

.bk-field input:focus,
.bk-field select:focus,
.bk-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow:
    0 0 0 3px rgba(107,148,138,0.12),
    0 4px 12px rgba(107,148,138,0.08),
    inset 0 1px 2px rgba(0,0,0,0.02);
  background: rgba(255,255,255,0.92);
  transform: scale(1.01);
}

.bk-field input::placeholder,
.bk-field textarea::placeholder {
  color: var(--gray-500);
}

.bk-field textarea {
  resize: none;
}

.bk-field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.bk-field-row--equal {
  grid-template-columns: 1fr 1fr;
}

.bk-field--small {
  min-width: 110px;
}

/* ---- YES/NO TOGGLE (neutered) ---- */
.bk-yn-toggle {
  display: flex;
  gap: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  width: fit-content;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.bk-yn-toggle__btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255,255,255,0.6);
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}

.bk-yn-toggle__btn:first-child {
  border-right: 1px solid var(--border);
  border-radius: 7px 0 0 7px;
}

.bk-yn-toggle__btn:last-child {
  border-radius: 0 7px 7px 0;
}

.bk-yn-toggle__btn:hover {
  background: rgba(107,148,138,0.1);
}

.bk-yn-toggle__btn.active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.18);
}

/* Dim the non-selected option when one is active */
.bk-yn-toggle:has(.bk-yn-toggle__btn.active) .bk-yn-toggle__btn:not(.active) {
  opacity: 0.55;
}

.bk-yn-toggle.bk-field--error {
  border: 2px solid #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15) !important;
}

/* ---- BREED BUTTONS (glass style, square) ---- */
.bk-breeds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.bk-breed {
  padding: 0.5rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  background: linear-gradient(160deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.35) 100%);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 1px 3px rgba(0,0,0,0.04);
  text-align: center;
  width: 100%;
}

/* Glass reflection on breed buttons */
.bk-breed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
  border-radius: 4px 4px 0 0;
}

.bk-breed:hover {
  border-color: rgba(107,148,138,0.35);
  background: linear-gradient(160deg, rgba(232,240,236,0.7) 0%, rgba(232,240,236,0.35) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(107,148,138,0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
  color: var(--primary-dark);
}

.bk-breed.selected,
.bk-breed.active {
  border-color: var(--primary);
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: white;
  box-shadow:
    0 4px 12px rgba(107,148,138,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* "Add a new dog" button in the dog picker */
.bk-breed--add-new {
  border: 1.5px dashed rgba(107,148,138,0.4) !important;
  background: linear-gradient(160deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.2) 100%) !important;
  color: var(--primary) !important;
  font-weight: 600;
}
.bk-breed--add-new:hover {
  border-color: var(--primary) !important;
  background: linear-gradient(160deg, rgba(232,240,236,0.7) 0%, rgba(232,240,236,0.35) 100%) !important;
  color: var(--primary-dark) !important;
}
.bk-breed--add-new.active {
  border-style: solid !important;
  border-color: var(--primary) !important;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-darker) 100%) !important;
  color: white !important;
}

/* Breed autocomplete dropdown */
.booking-page .breed-autocomplete {
  position: relative;
}

.booking-page .breed-autocomplete__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(107,148,138,0.2);
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.booking-page .breed-autocomplete__dropdown.visible {
  display: block;
  animation: bkDropdownIn 0.2s ease;
}

@keyframes bkDropdownIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.booking-page .breed-autocomplete__item {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: background 0.15s;
  border-bottom: 1px solid var(--gray-100);
}

.booking-page .breed-autocomplete__item:last-child {
  border-bottom: none;
}

.booking-page .breed-autocomplete__item:hover,
.booking-page .breed-autocomplete__item.highlighted {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

.booking-page .breed-autocomplete__item mark {
  background: transparent;
  color: var(--primary);
  font-weight: 700;
}

.booking-page .breed-autocomplete__empty {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

/* Dog picker for logged-in customers */
.bk-dog-picker {
  margin-bottom: 1rem;
}

.bk-dog-picker__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  display: block;
}

.bk-dog-picker__buttons {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.bk-dog-picker__btn {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  background: linear-gradient(160deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.35) 100%);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.25s;
  backdrop-filter: blur(12px);
}

.bk-dog-picker__btn:hover {
  border-color: var(--primary);
  background: var(--primary-pale);
  transform: translateY(-1px);
}

/* ---- STEP 3: PRICE QUOTE ---- */
.bk-quote {
  background: linear-gradient(160deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.45) 100%);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(22px) saturate(1.2);
  animation: bkCardAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.bk-quote__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(232,240,236,0.5) 0%, rgba(197,216,209,0.25) 100%);
  border-bottom: 1px solid rgba(107,148,138,0.08);
}

.bk-quote__icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(160deg, rgba(255,255,255,0.8), rgba(255,255,255,0.45));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.5);
}

.bk-quote__header h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.bk-quote__header p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

.bk-quote__details {
  padding: 0.75rem 1.25rem;
}

.bk-quote__row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 1rem;
}

.bk-quote__row:last-child { border-bottom: none; }

.bk-quote__row span {
  color: var(--gray-500);
}

.bk-quote__row strong {
  color: var(--gray-900);
  font-weight: 600;
}

.bk-quote__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: white;
}

.bk-quote__price span:first-child {
  font-weight: 500;
  font-size: 0.95rem;
}

.bk-quote__amount {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
}

.bk-quote__note {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  color: var(--gray-500);
  background: rgba(241,243,242,0.35);
  margin: 0;
  text-align: center;
}

/* ---- STEP 4: DATE & TIME ---- */
.bk-datetime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
}

.bk-calendar {
  background: linear-gradient(160deg, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.42) 100%);
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(22px) saturate(1.2);
  animation: bkCardAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}

.bk-calendar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.bk-calendar__header h3 {
  font-size: 1.15rem;
}

.bk-calendar__nav {
  background: linear-gradient(160deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.35) 100%);
  border: 1px solid rgba(255,255,255,0.5);
  width: 30px;
  height: 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gray-700);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.bk-calendar__nav:hover {
  background: var(--primary-pale);
  color: var(--primary);
  border-color: var(--primary-light);
  transform: scale(1.05);
}

/* Calendar grid styling */
.booking-page .calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.25rem;
}

.booking-page .calendar__weekday {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: 0.25rem;
  text-transform: uppercase;
}

.booking-page .calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.booking-page .calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  color: var(--gray-700);
}

.booking-page .calendar__day:hover:not(.calendar__day--disabled) {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

.booking-page .calendar__day--today {
  font-weight: 700;
  border: 2px solid var(--primary-light);
}

.booking-page .calendar__day--selected {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker)) !important;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(107,148,138,0.3);
}

.booking-page .calendar__day--disabled {
  color: var(--gray-300);
  cursor: not-allowed;
}

.booking-page .calendar__day--other-month {
  color: var(--gray-300);
}

/* Time slots */
.bk-times {
  background: linear-gradient(160deg, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.42) 100%);
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(22px) saturate(1.2);
  animation: bkCardAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

.bk-times__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.bk-times__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  align-content: start;
}

.bk-times__empty {
  grid-column: 1 / -1;
  color: var(--gray-500);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem 0;
}

.booking-page .timeslot {
  padding: 0.6rem 0.75rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  background: linear-gradient(160deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.35) 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.booking-page .timeslot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  pointer-events: none;
}

.booking-page .timeslot:hover {
  border-color: rgba(107,148,138,0.35);
  background: linear-gradient(160deg, rgba(232,240,236,0.6) 0%, rgba(232,240,236,0.3) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107,148,138,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
}

.booking-page .timeslot--selected {
  border-color: var(--primary);
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(107,148,138,0.3);
}

/* ---- LOGIN HINT ---- */
.bk-login-hint {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  text-align: center;
}

.bk-login-hint a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bk-login-hint a:hover {
  color: var(--primary-dark);
}


/* ============================================
   NAVIGATION BUTTONS (glass, square)
   ============================================ */
.bk-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2.5rem 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
  /* Fixed to bottom so it's always visible on mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to top, rgba(240,245,243,1) 70%, rgba(240,245,243,0.85) 100%);
  box-sizing: border-box;
}

/* Hide the fixed bottom nav bar on step 1 — the email card has its own Continue */
.bk-form:has([data-step="1"].active) .bk-nav {
  display: none;
}

.bk-nav__back {
  padding: 0.65rem 1.35rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.35) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 6px rgba(0,0,0,0.04);
}

/* Glass reflection on back button */
.bk-nav__back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
}

.bk-nav__back:hover {
  border-color: rgba(107,148,138,0.35);
  color: var(--primary);
  background: linear-gradient(160deg, rgba(232,240,236,0.6) 0%, rgba(232,240,236,0.3) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(107,148,138,0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.bk-nav__next {
  padding: 0.7rem 1.75rem;
  background: linear-gradient(160deg, var(--accent) 0%, #8E4A3B 50%, #7B3F32 100%);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow:
    0 4px 16px rgba(212,133,106,0.3),
    inset 0 1px 0 rgba(255,255,255,0.25);
  text-decoration: none;
}

/* Glass reflection on continue button */
.bk-nav__next::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
  pointer-events: none;
}

.bk-nav__next:hover {
  background: linear-gradient(160deg, var(--accent-light) 0%, var(--accent) 50%, #8E4A3B 100%);
  transform: translateY(-3px);
  box-shadow:
    0 10px 28px rgba(212,133,106,0.35),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.bk-nav__next:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(212,133,106,0.3);
}

.bk-nav__next.bk-nav__next--confirm {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  padding: 0.75rem 2rem;
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 4px 16px rgba(107,148,138,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}

.bk-nav__next.bk-nav__next--confirm:hover {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  box-shadow: 0 10px 28px rgba(107,148,138,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ---- SUCCESS ---- */
.bk-success {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.75rem 1.5rem 2rem;
  overflow-y: auto;
  width: 100%;
  min-height: 0;
  animation: bkBreedBarAppear 0.5s ease;
}

.bk-success__card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(160deg,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.06),
    0 1px 2px rgba(0,0,0,0.03),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.bk-success__header {
  text-align: center;
  padding: 1.75rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(107,148,138,0.1);
}

.bk-success__icon {
  margin-bottom: 0.75rem;
}

.bk-success__header h2 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.bk-success__header p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0;
}

.bk-success__details {
  padding: 1rem 1.5rem;
}

.bk-success__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.92rem;
  gap: 1rem;
}

.bk-success__row:last-child { border-bottom: none; }

.bk-success__row span {
  color: var(--gray-500);
  flex-shrink: 0;
}

.bk-success__row strong {
  color: var(--gray-900);
  text-align: right;
}

.bk-success__footer {
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(107,148,138,0.1);
  background: rgba(248,246,243,0.4);
}

.bk-success__note {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.bk-success__home-btn {
  display: inline-block;
  padding: 0.6rem 1.75rem;
  background: var(--primary-dark);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.bk-success__home-btn:hover {
  background: var(--primary-dark);
  color: white;
}

/* Fix 25: Manage-booking link on confirmation screen */
.bk-success__manage-btn {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-dark, #5a7f77);
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-weight: 500;
  transition: color 0.2s;
}
.bk-success__manage-btn:hover { color: var(--primary, #6b948a); text-decoration: underline; }

/* ---- HAND STRIPPING FIELD ---- */
.bk-handstrip__label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.bk-handstrip__label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.bk-handstrip__note {
  display: block;
  color: var(--gray-500);
  font-size: 0.72rem;
  line-height: 1.4;
  margin-top: 0.15rem;
  padding-left: 26px;
}

/* Hand-stripping info tooltip */
.bk-handstrip__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(107,148,138,0.2);
  color: var(--primary-dark, #5a7f77);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: help;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  border: 1px solid rgba(107,148,138,0.3);
  line-height: 1;
}
.bk-handstrip__info:hover::after,
.bk-handstrip__info:focus::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,40,38,0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 8px;
  width: 220px;
  white-space: normal;
  line-height: 1.45;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.bk-handstrip__info:focus { outline: 2px solid var(--primary, #6b948a); outline-offset: 2px; }


/* ---- BREED SEARCH SPACING ---- */
.bk-breed-search {
  margin-top: 0.15rem;
  position: relative;
  z-index: 200;
}

/* ---- SERVICE DESCRIPTIONS ---- */
.bk-service__desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.35;
  margin: 0.15rem 0 0.2rem;
  min-height: 0;
  overflow: hidden;
  max-height: 15em;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
  opacity: 1;
}

.bk-service__desc--short {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
}

/* ---- COMPACT SERVICE CARDS (after selection) ---- */
.bk-services--compact .bk-service__desc {
  max-height: 0;
  opacity: 0;
  margin: 0;
}

.bk-services--compact .bk-service__desc--short {
  max-height: 3em;
  opacity: 1;
  margin: 0.15rem 0 0.2rem;
}

.bk-services--compact .bk-service__icon {
  padding-bottom: 42%;
}

.bk-services--compact .bk-service__icon img {
  object-fit: cover;
}

.bk-services--compact .bk-service__time {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.bk-services--compact .bk-service {
  padding: 0.5rem 0.6rem;
  gap: 0.3rem;
}

.bk-services--compact .bk-service__info h3 {
  font-size: 0.95rem;
}

.bk-services--compact .bk-service__price {
  font-size: 0.95rem;
  padding-top: 0.1rem;
}

/* ---- INLINE VALIDATION ERRORS ---- */
.bk-error-msg {
  display: block;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.15rem;
  font-weight: 500;
  animation: bkShake 0.35s ease;
}

@keyframes bkShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

.bk-field--error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15) !important;
}

select.bk-field--error,
input.bk-field--error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15) !important;
}

/* ---- STEP 2 VALIDATION SUMMARY ---- */
.bk-step-error-summary {
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 6px;
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 0.85rem;
  margin-top: 0.75rem;
  animation: bkShake 0.35s ease;
}

/* ---- LOCKED COAT FIELDS ---- */
.bk-field select:disabled {
  background: linear-gradient(160deg, rgba(240,243,242,0.7) 0%, rgba(236,238,237,0.5) 100%);
  color: var(--gray-700);
  cursor: not-allowed;
  opacity: 0.9;
  border-color: rgba(107,148,138,0.15);
  border-style: dashed;
}

/* ---- FIELD STATES: auto-filled vs needs-input ---- */

/* Auto-filled fields — soft green tint to show they're done */
.bk-field input.bk-filled,
.bk-field select.bk-filled,
.bk-field textarea.bk-filled {
  background: linear-gradient(160deg, rgba(107,148,138,0.08) 0%, rgba(107,148,138,0.04) 100%);
  border-color: rgba(107,148,138,0.35);
  color: var(--gray-700);
}

/* Locked fields (disabled + filled from record) — dashed green border */
.bk-field input.bk-locked,
.bk-field select.bk-locked {
  background: linear-gradient(160deg, rgba(107,148,138,0.10) 0%, rgba(107,148,138,0.05) 100%);
  border: 1.5px dashed rgba(107,148,138,0.4);
  color: var(--gray-700);
  cursor: not-allowed;
  opacity: 0.9;
}

/* Empty required fields — warm border to draw attention */
.bk-field input.bk-needs-input,
.bk-field select.bk-needs-input,
.bk-field textarea.bk-needs-input {
  border: 2px solid rgba(193,135,100,0.5);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(193,135,100,0.08);
}

.bk-field input.bk-needs-input:focus,
.bk-field select.bk-needs-input:focus,
.bk-field textarea.bk-needs-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,148,138,0.12);
}

/* ---- CALENDAR ERROR ---- */
.bk-calendar__error {
  text-align: center;
  color: #c0392b;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---- MOBILE STEP INDICATOR ---- */
.bk-mobile-step {
  display: none;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ---- SUCCESS SCREEN EXTRAS ---- */
.bk-success__expect {
  padding: 1rem 1.5rem;
  background: rgba(248,246,243,0.5);
  border-top: 1px solid rgba(107,148,138,0.1);
}

.bk-success__expect-title {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bk-success__expect-title svg {
  color: var(--primary);
}

.bk-success__expect p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ---- REGULAR SCHEDULE SIGNUP (success screen) ---- */
.bk-schedule-signup {
  padding: 1.25rem 1.5rem 1.4rem;
  border-top: 2px solid rgba(107,148,138,0.18);
  background: linear-gradient(160deg, rgba(107,148,138,0.07) 0%, rgba(107,148,138,0.02) 100%);
}

.bk-schedule-signup__header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading, 'Bellota', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}
.bk-schedule-signup__header svg { color: var(--primary); flex-shrink: 0; }

.bk-schedule-signup__intro {
  font-size: 0.86rem;
  color: var(--gray-600);
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.bk-schedule-signup__benefits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.bk-schedule-signup__benefits li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.bk-schedule-signup__benefits li svg {
  color: var(--primary);
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

.bk-schedule-signup__controls {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  border: 1px solid rgba(107,148,138,0.15);
}

.bk-schedule-signup__control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bk-schedule-signup__control-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-600);
  flex-shrink: 0;
  min-width: 90px;
}

.bk-schedule-signup__interval {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.bk-schedule-signup__adj {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--primary, #6b948a);
  background: transparent;
  color: var(--primary-dark, #5a7f77);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.bk-schedule-signup__adj:hover { background: var(--primary, #6b948a); color: white; }
.bk-schedule-signup__adj:disabled { opacity: 0.3; cursor: default; }

.bk-schedule-signup__weeks {
  font-size: 0.9rem;
  color: var(--gray-800);
  white-space: nowrap;
}
.bk-schedule-signup__weeks strong { color: var(--primary-dark); }

.bk-schedule-signup__duration-select {
  flex: 1;
  padding: 0.35rem 0.65rem;
  border: 1.5px solid rgba(107,148,138,0.35);
  border-radius: 6px;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--gray-800);
  background: white;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b948a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  padding-right: 2rem;
}
.bk-schedule-signup__duration-select:focus { border-color: var(--primary, #6b948a); }

.bk-schedule-signup__preview {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.9rem;
  line-height: 1.65;
  padding: 0 0.1rem;
}
.bk-schedule-signup__preview strong { color: var(--primary-dark); }

.bk-schedule-signup__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}

.bk-schedule-signup__confirm {
  background: var(--primary-dark, #5a7f77);
  color: white;
  border: none;
  border-radius: 7px;
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: inherit;
  text-align: center;
}
.bk-schedule-signup__confirm:hover { opacity: 0.88; }
.bk-schedule-signup__confirm:disabled { opacity: 0.45; cursor: default; }

.bk-schedule-signup__skip {
  background: transparent;
  color: var(--gray-400, #9ca3af);
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem;
  text-align: center;
  font-family: inherit;
  transition: color 0.15s;
}
.bk-schedule-signup__skip:hover { color: var(--gray-600); }

.bk-schedule-signup__done {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 500;
  line-height: 1.5;
  padding: 0.25rem 0;
}
.bk-schedule-signup__done svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .bk-header__steps {
    display: none;
  }

  .bk-mobile-step {
    display: block;
  }

  .bk-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .bk-dog-form {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .bk-breeds--grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .bk-datetime {
    grid-template-columns: 1fr;
  }

  .bk-field-row {
    grid-template-columns: 1fr;
  }

  .bk-field-row--equal {
    grid-template-columns: 1fr 1fr;
  }

  .bk-step-content {
    padding: 1rem;
  }

  .bk-nav {
    padding: 0.75rem 1rem 1rem;
  }

  .booking-page .form-step {
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .bk-services {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .bk-service {
    padding: 0.75rem;
  }

  .bk-service__icon {
    padding-bottom: 65%;
  }

  .bk-breeds--grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Dog Photo Upload ── */
.bk-photo-upload { margin-top: 4px; }

.bk-photo-dropzone {
  position: relative;
  border: 2px dashed rgba(107, 148, 138, 0.35);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.4);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bk-photo-dropzone:hover,
.bk-photo-dropzone.drag-over {
  border-color: var(--primary);
  background: rgba(107, 148, 138, 0.06);
}

.bk-photo-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bk-photo-prompt__text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
}
.bk-photo-prompt__hint {
  font-size: 0.75rem;
  color: var(--text-light);
}

.bk-photo-preview {
  position: relative;
  display: inline-block;
}
.bk-photo-preview img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.bk-photo-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e74c3c;
  color: white;
  border: 2px solid white;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}
.bk-photo-remove:hover {
  transform: scale(1.15);
}

/* ─── Accuracy Note (Step 2) ────────────────────────── */
.bk-accuracy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(107,148,138,0.06);
  border: 1px solid rgba(107,148,138,0.15);
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--gray-500);
}
.bk-accuracy-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--primary);
  opacity: 0.7;
}

/* ─── Returning Visitor Popup ───────────────────────── */
.bk-welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: bk-fadeIn 0.3s ease;
  padding: 20px;
}
.bk-welcome-popup {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  animation: bk-slideUp 0.35s ease;
}
.bk-welcome-popup h3 {
  font-size: 1.2rem;
  color: var(--gray-800);
  margin: 0 0 8px;
}
.bk-welcome-popup p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0 0 16px;
  line-height: 1.5;
}
.bk-welcome-voucher {
  display: inline-block;
  background: linear-gradient(135deg, rgba(107,148,138,0.1), rgba(107,148,138,0.18));
  border: 2px dashed var(--primary);
  border-radius: 10px;
  padding: 12px 24px;
  margin-bottom: 20px;
}
.bk-welcome-voucher__code {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 2px;
  display: block;
}
.bk-welcome-voucher__desc {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 2px;
}
.bk-welcome-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.bk-welcome-actions button {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.bk-welcome-actions .bk-btn-primary {
  background: var(--primary-dark);
  color: #fff;
}
.bk-welcome-actions .bk-btn-primary:hover {
  background: var(--primary-dark);
}
.bk-welcome-actions .bk-btn-ghost {
  background: transparent;
  color: var(--gray-500);
}
.bk-welcome-actions .bk-btn-ghost:hover {
  color: var(--gray-800);
}
@keyframes bk-slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Gaming-Detection Discount Banner ─────────────── */
.bk-discount-banner {
  background: linear-gradient(135deg, #fef9f0 0%, #fdf3e3 100%);
  border-top: 1px solid rgba(196, 128, 97, 0.25);
  border-radius: 0 0 6px 6px;
  padding: 20px 24px;
  text-align: center;
  animation: bk-slideUp 0.4s ease;
  width: 100%;
}
.bk-discount-banner__icon {
  font-size: 2rem;
  margin-bottom: 6px;
}
.bk-discount-banner__content {
  margin-bottom: 14px;
}
.bk-discount-banner__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800, #2d2d2d);
  margin: 0 0 4px;
}
.bk-discount-banner__text {
  font-size: 0.85rem;
  color: var(--gray-700, #3a3d3b); /* darkened from gray-500 for WCAG AA contrast on warm-white background */
  margin: 0 0 10px;
}
.bk-discount-banner__code {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-dark, #a55746);
  letter-spacing: 2px;
  background: rgba(165, 87, 70, 0.1);
  border: 2px dashed var(--accent-dark, #a55746);
  border-radius: 8px;
  padding: 8px 20px;
}
.bk-discount-banner__apply {
  display: inline-block;
  background: var(--primary-dark, #4E7E70);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.bk-discount-banner__apply:hover {
  background: var(--primary-darker, #3E6459);
  transform: translateY(-1px);
}
.bk-discount-banner__apply--applied {
  background: var(--gray-400, #999) !important;
  cursor: default;
  transform: none !important;
}
@media (max-width: 480px) {
  .bk-discount-banner {
    padding: 16px 18px;
    margin-top: 12px;
  }
  .bk-discount-banner__code {
    font-size: 1.1rem;
    padding: 6px 16px;
  }
}

/* ─── Promo Code Input (Step 5) ────────────────────── */
.bk-promo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bk-promo-input {
  flex: 0 1 200px;
  padding: 8px 12px;
  border: 1.5px solid var(--gray-300, #cedcdc);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  letter-spacing: 0.05em;
  background: var(--white, #fff);
  color: var(--gray-900, #1a1d1b);
  transition: border-color 0.15s;
}
.bk-promo-input:focus {
  outline: none;
  border-color: var(--primary, #7aa699);
  box-shadow: 0 0 0 3px rgba(122,166,153,0.18);
}
.bk-promo-apply {
  padding: 8px 18px;
  background: var(--primary, #7aa699);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.bk-promo-apply:hover { background: var(--primary-dark, #4E7E70); }
.bk-promo-apply:disabled { background: var(--gray-300, #cedcdc); color: var(--gray-700, #3a3d3b); cursor: default; }
.bk-promo-success { color: #27ae60; font-weight: 600; }
.bk-promo-error   { color: #c0392b; }


/* ---- 320px NARROW VIEWPORT (e.g. iPhone SE 1st gen) ---- */
@media (max-width: 375px) {
  .bk-header {
    padding: 0.35rem 0.75rem;
  }
  .bk-header__logo {
    font-size: 0.85rem;
  }
  .bk-header__logo-img {
    width: 22px;
    height: 22px;
  }
  .bk-step-content,
  .bk-step-content--centered {
    padding: 0.75rem;
  }
  .bk-nav {
    padding: 0.5rem 0.75rem 0.75rem;
  }
  .bk-nav__back,
  .bk-nav__next {
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
  }
  .bk-services {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .bk-service {
    padding: 0.6rem;
  }
  .bk-breeds--grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .bk-field-row--equal {
    grid-template-columns: 1fr;
  }
  .bk-yn-toggle__btn {
    padding: 0.4rem 0.85rem;
  }
}