/* CMS + simplified booking */

.cms-empty {
  margin: 0;
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cms-empty--pad {
  padding: 2rem 1.25rem;
}

.skeleton-line,
.skeleton-block,
.skeleton-card {
  background: linear-gradient(90deg, rgba(39, 35, 30, 0.06), rgba(39, 35, 30, 0.12), rgba(39, 35, 30, 0.06));
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  border-radius: 12px;
}

.skeleton-line {
  display: block;
  height: 0.9rem;
  margin-bottom: 0.75rem;
}

.skeleton-card {
  min-width: 240px;
  height: 320px;
  flex: 0 0 auto;
}

.skeleton-card--wide {
  min-width: 320px;
  height: 240px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.service-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.service-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.service-book {
  display: inline-flex;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

/* -- Booking (simple) -- */
.contact-shell--wizard {
  max-width: 560px;
  width: 100%;
  min-width: 0;
}

.booking-wizard {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.bk-body {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.bk-progress {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.bk-progress-label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.bk-progress-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bk-dots {
  display: flex;
  gap: 0.4rem;
  padding-bottom: 0.35rem;
  flex-shrink: 0;
}

.bk-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(39, 35, 30, 0.18);
}

.bk-dot.is-active,
.bk-dot.is-done {
  background: var(--primary);
}

.bk-dot.is-active {
  width: 1.1rem;
}

.bk-help {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.bk-label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
}

.bk-label span {
  font-weight: 400;
  color: var(--muted);
}

.bk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 0.85rem;
  overflow: visible;
}

.bk-chips--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.35rem;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.bk-chip {
  flex: 0 1 auto;
  max-width: 100%;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  word-break: break-word;
}

.bk-chip.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.bk-list {
  max-height: min(52vh, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.bk-row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.bk-row:last-child {
  border-bottom: 0;
}

.bk-row.is-selected {
  background: rgba(87, 127, 108, 0.08);
}

.bk-row-check {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: #fff;
}

.bk-row.is-selected .bk-row-check {
  background: var(--primary);
  border-color: var(--primary);
}

.bk-row-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.bk-row-copy strong {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
}

.bk-row-copy small {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-row-meta {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  flex-shrink: 0;
}

.bk-row-meta em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

.bk-row-meta b {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.bk-block {
  margin-top: 1.25rem;
}

.bk-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.bk-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
}

.bk-field label span {
  font-weight: 400;
  color: var(--muted);
}

.bk-field input,
.bk-field select,
.bk-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
  font-size: 1rem;
  color: var(--dark);
}

.bk-field textarea {
  min-height: 72px;
  resize: vertical;
}

.bk-field input:focus,
.bk-field select:focus,
.bk-field textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.bk-fields {
  display: grid;
  gap: 0.25rem;
}

.bk-help--error {
  color: var(--accent);
}

.bk-timepicker {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  min-width: 0;
}

.bk-time-chosen {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(87, 127, 108, 0.1);
  border: 1px solid rgba(87, 127, 108, 0.22);
}

.bk-time-chosen span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bk-time-chosen strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.bk-periods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: rgba(39, 35, 30, 0.05);
}

.bk-period {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.bk-period.is-active {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(39, 35, 30, 0.12);
}

.bk-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.bk-time {
  min-height: 52px;
  padding: 0.7rem 0.4rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

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

.bk-time.is-selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(87, 127, 108, 0.22);
}

.bk-time-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bk-time-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

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

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

  .bk-period {
    text-align: left;
    padding-inline: 0.85rem;
  }
}

.bk-review {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.bk-review li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.bk-review li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bk-review span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bk-review strong {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}

.bk-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0.75rem;
  background: linear-gradient(180deg, rgba(247, 237, 208, 0), var(--cream) 28%);
  padding-bottom: 0.25rem;
  z-index: 2;
}

.bk-footer-summary {
  font-size: 0.88rem;
  color: var(--muted);
  min-width: 0;
}

.bk-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-left: auto;
}

.bk-footer-actions .btn {
  min-height: 48px;
}

.bk-footer-actions .btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.bk-note {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--primary);
}

.bk-note.is-error {
  color: var(--accent);
}

.bk-success {
  padding: 0.5rem 0 1rem;
}

.bk-success h3 {
  margin-bottom: 0.5rem;
}

.bk-success .btn {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .bk-footer {
    flex-direction: column;
    align-items: stretch;
    bottom: 0;
  }

  .bk-footer-actions {
    margin-left: 0;
  }

  .bk-footer-actions .btn {
    flex: 1;
  }

  .bk-list {
    max-height: 48vh;
  }
}
