body.booking-open {
  overflow: hidden;
}

.bk {
  --bk-accent: #c8973f;
  --bk-accent-soft: #fbf3e4;
  --bk-line: #e4ddd0;
  --bk-ink: #1a1714;
  --bk-muted: #6b645b;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fbf8f1;
  color: var(--bk-ink);
  font-family: "Lato", system-ui, sans-serif;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bk[hidden] {
  display: none;
}

.bk.is-open {
  opacity: 1;
}

.bk__scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.bk__shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.bk__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 max(16px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(26, 23, 20, 0.08);
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(8px);
}

.bk__brand {
  color: #b5862f;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bk__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bk-line);
  border-radius: 50%;
  background: #fff;
  color: var(--bk-ink);
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.bk__close:hover {
  border-color: var(--bk-accent);
  color: var(--bk-accent);
}

/* Header */
.bk__head {
  text-align: center;
}

.bk__eyebrow {
  margin: 0 0 14px;
  color: var(--bk-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.bk__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  font-weight: 600;
  line-height: 1.1;
  outline: none;
}

.bk__rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 22px auto 24px;
  background: var(--bk-accent);
}

.bk__intro {
  max-width: 470px;
  margin: 0 auto;
  color: #4a443d;
  font-size: 16px;
  line-height: 1.6;
}

/* Stepper */
.bk-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 0 34px;
  padding: 0;
  list-style: none;
}

.bk-steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9b948a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bk-steps__item:not(:last-child)::after {
  content: "";
  width: 56px;
  height: 1px;
  margin-left: 4px;
  background: #d6cfc3;
}

.bk-steps__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid #cfc8bb;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0;
}

.bk-steps__item.is-active {
  color: var(--bk-accent);
}

.bk-steps__item.is-active .bk-steps__num {
  border-color: var(--bk-accent);
  box-shadow: 0 0 0 3px rgba(200, 151, 63, 0.15);
}

.bk-steps__item.is-done {
  color: var(--bk-ink);
}

.bk-steps__item.is-done .bk-steps__num {
  border-color: var(--bk-accent);
  background: var(--bk-accent);
  color: #fff;
}

.bk-steps__item.is-done::after {
  background: var(--bk-accent);
}

@media (max-width: 640px) {
  .bk-steps {
    gap: 6px;
  }

  .bk-steps__item:not(.is-active) .bk-steps__label {
    display: none;
  }

  .bk-steps__item:not(:last-child)::after {
    width: 22px;
  }
}

/* Card */
.bk-card {
  overflow: hidden;
  border-top: 5px solid var(--bk-accent);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(40, 30, 15, 0.1);
  padding: 34px 32px 30px;
}

@media (max-width: 560px) {
  .bk-card {
    padding: 26px 18px 22px;
  }
}

.bk-panel__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.bk-panel__title i {
  color: var(--bk-accent);
  font-size: 1.05rem;
}

.bk-panel__sub {
  margin: 8px 0 26px;
  color: var(--bk-muted);
  font-size: 14px;
}

/* Services */
.bk-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 760px) {
  .bk-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.bk-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 160px;
  padding: 16px 16px 18px;
  border: 1.5px solid var(--bk-line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.bk-service:hover {
  border-color: #d8b878;
}

.bk-service:focus-visible,
.bk-cal__day:focus-visible,
.bk-time:focus-visible,
.bk-btn:focus-visible,
.bk__close:focus-visible {
  outline: 3px solid rgba(200, 151, 63, 0.45);
  outline-offset: 2px;
}

.bk-service.is-selected {
  border-color: var(--bk-accent);
  background: var(--bk-accent-soft);
  box-shadow: 0 6px 18px rgba(200, 151, 63, 0.16);
}

.bk-service__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #f3efe7;
  color: #4a443d;
  font-size: 1.05rem;
}

.bk-service.is-selected .bk-service__icon {
  background: var(--bk-accent);
  color: #fff;
}

.bk-service__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.bk-service__desc {
  margin-top: 6px;
  color: var(--bk-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.bk-service__price {
  margin-top: auto;
  padding-top: 14px;
  color: var(--bk-accent);
  font-size: 15px;
  font-weight: 900;
}

/* Date & time */
.bk-when {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .bk-when {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
}

.bk-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.bk-cal__month {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.bk-cal__nav {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bk-line);
  border-radius: 50%;
  background: #fff;
  color: var(--bk-ink);
  cursor: pointer;
}

.bk-cal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.bk-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.bk-cal__weekdays {
  margin-bottom: 6px;
  color: #9b948a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.bk-cal__day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f8f5ef;
  color: var(--bk-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bk-cal__day:hover:not(:disabled) {
  border-color: var(--bk-accent);
}

.bk-cal__day:disabled {
  background: transparent;
  color: #c9c2b7;
  font-weight: 400;
  cursor: default;
}

.bk-cal__day.is-selected {
  background: var(--bk-accent);
  color: #fff;
}

.bk-times__label {
  margin: 6px 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.bk-times__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 759px) {
  .bk-times__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bk-time {
  padding: 11px 8px;
  border: 1.5px solid var(--bk-line);
  border-radius: 8px;
  background: #fff;
  color: var(--bk-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.bk-time:hover {
  border-color: var(--bk-accent);
}

.bk-time.is-selected {
  border-color: var(--bk-accent);
  background: var(--bk-accent);
  color: #fff;
}

/* Details */
.bk-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

@media (max-width: 560px) {
  .bk-form {
    grid-template-columns: 1fr;
  }
}

.bk-field {
  display: grid;
  gap: 7px;
}

.bk-field--full {
  grid-column: 1 / -1;
}

.bk-field span {
  font-size: 13px;
  font-weight: 700;
}

.bk-field input,
.bk-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--bk-line);
  border-radius: 8px;
  background: #fff;
  color: var(--bk-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bk-field textarea {
  resize: vertical;
}

.bk-field input:focus,
.bk-field textarea:focus {
  border-color: var(--bk-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 151, 63, 0.15);
}

/* Review */
.bk-summary {
  display: grid;
  margin: 0;
  border: 1px solid var(--bk-line);
  border-radius: 10px;
}

.bk-summary div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 13px 18px;
}

.bk-summary div + div {
  border-top: 1px solid #efe9df;
}

.bk-summary dt {
  color: var(--bk-muted);
  font-size: 13px;
  font-weight: 700;
}

.bk-summary dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.bk-error {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fdecea;
  color: #8a2a1f;
  font-size: 14px;
}

.bk-error[hidden] {
  display: none;
}

/* Actions */
.bk-actions[hidden] {
  display: none;
}

.bk-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #efe9df;
}

.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: var(--bk-accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 480px) {
  .bk-btn {
    padding: 0 18px;
    letter-spacing: 0.03em;
  }

  .bk-btn--ghost {
    padding: 0 8px;
  }
}

.bk-btn:hover:not(:disabled) {
  background: #b5862f;
}

.bk-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bk-btn--ghost {
  padding: 0 14px;
  background: transparent;
  color: var(--bk-ink);
}

.bk-btn--ghost:hover:not(:disabled) {
  background: #f3efe7;
}

/* Done */
.bk-done {
  padding: 20px 0 10px;
  text-align: center;
}

.bk-done__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bk-accent);
  color: #fff;
  font-size: 1.8rem;
}

.bk-done__title {
  margin: 20px 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.bk-done__text {
  max-width: 480px;
  margin: 0 auto 26px;
  color: #4a443d;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .bk {
    transition: none;
  }
}
