/* Multi-step GymDesk-style booking wizard */
.trial-book {
  background: #fff;
  border: 1px solid #e2e5eb;
  border-radius: 6px;
  padding: 18px 16px 16px;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.35;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.trial-book__steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 4px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid #eceef2;
}
.trial-book__steps::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: calc(50% - 6px);
  height: 1px;
  background: #e4e7ec;
  z-index: 0;
}
.trial-book__steps li {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #cfd3db;
  background: #fff;
  color: #1a2030;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.trial-book__steps li.is-current {
  background: #d40002;
  border-color: #d40002;
  color: #fff;
}
.trial-book__steps li.is-done {
  background: #fff;
  border-color: #d40002;
  color: #d40002;
}
.trial-book__steps li.is-done span { font-size: 0; }
.trial-book__steps li.is-done::after {
  content: "✓";
  font-size: 14px;
  font-weight: 700;
  color: #d40002;
}
.trial-book__intro {
  margin: 0 0 12px;
  font-size: 13px;
  color: #4b5160;
  line-height: 1.4;
}
.trial-book__guardian-note {
  margin: 0 0 8px;
  font-size: 12px;
  color: #4b5160;
  line-height: 1.35;
}
.trial-field__hint {
  font-size: 11px;
  color: #8b919e;
  margin-top: 2px;
}
.trial-book__loading {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.trial-book__error { margin-bottom: 10px; font-size: 13px; }
.trial-book__fields { display: grid; gap: 12px; }
.trial-field { display: flex; flex-direction: column; gap: 5px; }
.trial-field label,
.trial-confirm__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #111831;
}
.trial-field .req, .trial-check .req { color: #d40002; }
.trial-field input,
.trial-field textarea {
  width: 100%;
  border: 1px solid #d0d4dc;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: #111831;
  background: #fff;
  min-height: 42px;
  box-sizing: border-box;
}
.trial-field textarea {
  min-height: 72px;
  resize: vertical;
}
.trial-field input:focus,
.trial-field textarea:focus {
  outline: none;
  border-color: #d40002;
  box-shadow: none;
}
.trial-guardian { display: grid; gap: 12px; }
.trial-guardian[hidden] { display: none !important; }
.trial-check {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: 13px;
  color: #111831;
  margin-top: 2px;
}
.trial-check input { margin-top: .15rem; }
.trial-book__btn {
  margin-top: 14px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: #d40002;
  color: #18181b;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 12px 14px;
  cursor: pointer;
}
.trial-book__btn:disabled { opacity: .7; cursor: wait; }
.trial-book__nav {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 6px;
  align-items: start;
  margin: 2px 0 12px;
}
.trial-book__back {
  border: 0;
  background: transparent;
  color: #b0b5c0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.trial-book__session {
  margin: 0;
  text-align: center;
  color: #111831;
  font-size: 16px;
  font-weight: 700;
}
.trial-book__confirm-head { text-align: center; }
.trial-book__confirm-head p {
  margin: 4px 0 0;
  color: #4b5160;
  font-size: 13px;
}
.trial-book__date {
  text-align: center;
  font-weight: 800;
  letter-spacing: .03em;
  color: #111831;
  font-size: 14px;
  margin: 0 0 12px;
}
.trial-book__choices { display: grid; gap: 10px; }
.trial-book__choice {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  border: 1px solid #d8dbe3;
  border-radius: 8px;
  background: #fff;
  color: #111831;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 14px;
  cursor: pointer;
}
.trial-book__choice:hover { border-color: #d40002; }
.trial-book__choice.is-recommended {
  border-color: #d40002;
  box-shadow: inset 0 0 0 1px rgba(212, 0, 2, .15);
}
.trial-book__choice-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
.trial-book__recommended {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #d40002;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.trial-book__choice--time strong { font-size: 16px; }
.trial-book__choice--time em {
  font-style: normal;
  font-weight: 500;
  color: #8b919e;
  margin-left: .35rem;
  font-size: 13px;
}
.trial-book__chev { color: #c0c4ce; font-size: 18px; flex-shrink: 0; }
.trial-book__empty { color: var(--muted); margin: .5rem 0; font-size: 14px; }

.trial-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}
.trial-cal__head em {
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  color: #111831;
  font-size: 14px;
}
.trial-cal__nav { display: flex; gap: 2px; }
.trial-cal__nav button {
  border: 0;
  background: transparent;
  color: #d40002;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
}
.trial-cal__nav button:disabled { color: #c5c9d2; cursor: default; }
.trial-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 2px;
  text-align: center;
}
.trial-cal__dow {
  font-size: 11px;
  font-weight: 700;
  color: #8b919e;
  letter-spacing: .03em;
  padding-bottom: 4px;
}
.trial-cal__day,
button.trial-cal__day {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #8b919e;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.trial-cal__day.is-blank { visibility: hidden; }
.trial-cal__day.is-available,
button.trial-cal__day.is-available {
  background: #d40002;
  color: #fff;
  cursor: pointer;
}
.trial-cal__day.is-selected,
button.trial-cal__day.is-selected {
  outline: 2px solid #111831;
  outline-offset: 1px;
}

.trial-confirm { display: grid; gap: 12px; }
.trial-confirm__value {
  margin-top: 5px;
  border: 1px solid #d0d4dc;
  border-radius: 6px;
  padding: 10px 12px;
  background: #f5f7fa;
  color: #111831;
  font-size: 15px;
  min-height: 42px;
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .trial-book { margin-inline: 0; }
}

.booking-embed .trial-book { max-width: 100%; }
.booking-embed__frame:has(.trial-book) { min-height: 0; }
