/* Call booking — loaded only on /call/. Shares the order wizard's palette
   (#e82e31 accent, #f5f5f5 body, #ececE6 rules) and inherits the site font
   from body, so there is no font import here either. */
.cb-intro {
  max-width: 62ch;
}

.cb-card {
  color: #111;
  background: #fff;
  border: 1px solid #ececE6;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.cb-body {
  padding: 38px 40px 40px;
  background: #f5f5f5;
}

@media only screen and (max-width: 575px) {
  .cb-body {
    padding: 28px 20px 30px;
  }
}

.cb-heading {
  font-size: 20px;
  margin: 0 0 6px;
}

.cb-zone {
  font-size: 14px;
  color: #8a8a83;
  margin: 0 0 24px;
}

.cb-loading,
.cb-empty {
  font-size: 15px;
  color: #6f6f68;
  padding: 20px 0;
}

/* Day strip */
.cb-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e6e6e2;
  scrollbar-width: thin;
}

.cb-day {
  flex: 0 0 auto;
  min-width: 78px;
  padding: 10px 12px;
  border: 1.5px solid #e6e6e2;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.cb-day:hover {
  border-color: #111;
}

.cb-day[aria-selected='true'] {
  border-color: #111;
  background: #111;
  color: #fff;
}

.cb-day__weekday {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cb-day__date {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

/* Time grid */
.cb-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}

.cb-time {
  padding: 13px 8px;
  border: 1.5px solid #e6e6e2;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}

.cb-time:hover {
  border-color: #e82e31;
  color: #e82e31;
}

.cb-time:active {
  transform: scale(0.97);
}

/* Chosen slot */
.cb-chosen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  margin: 0 0 26px;
  background: #fff;
  border-left: 3px solid #e82e31;
}

.cb-chosen__time {
  font-weight: 700;
  font-size: 15px;
}

.cb-change {
  border: none;
  background: none;
  padding: 0;
  color: #6f6f68;
  font-family: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.cb-change:hover {
  color: #e82e31;
}

/* Fields */
.cb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

@media only screen and (max-width: 575px) {
  .cb-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cb-field {
  margin-bottom: 20px;
}

.cb-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cb-input,
.cb-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e6e6e2;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  outline: none;
  transition: border-color 0.15s;
}

.cb-textarea {
  resize: vertical;
}

.cb-input:focus,
.cb-textarea:focus {
  border-color: #111;
}

.cb-input::placeholder,
.cb-textarea::placeholder {
  color: #b6b6b0;
}

.cb-input.is-invalid {
  border-color: #e82e31;
}

.cb-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Actions */
.cb-nav {
  display: flex;
  margin-top: 26px;
}

.cb-submit {
  margin-left: auto;
  padding: 14px 30px;
  border: none;
  background: #e82e31;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.1s;
}

.cb-submit:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.cb-submit:not(:disabled):active {
  transform: scale(0.97);
}

.cb-fineprint {
  font-size: 13px;
  color: #8a8a83;
  margin: 16px 0 0;
}

.cb-error {
  margin: 16px 0 0;
  color: #e82e31;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.2s;
}

.cb-error.is-visible {
  opacity: 1;
}

/* Success */
.cb-success__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e82e31;
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-success__title {
  text-align: center;
  margin: 0 0 12px;
}

.cb-success__text,
.cb-success__note {
  text-align: center;
  margin: 0 auto 10px;
  max-width: 46ch;
}

.cb-success__note {
  font-size: 14px;
  color: #6f6f68;
}
