.acp-booking {
  --acp-ink: #071f33;
  --acp-teal: #0881c5;
  --acp-teal-dark: #075f91;
  --acp-lime: #f6410f;
  --acp-paper: #f4f8fb;
  --acp-line: rgba(7, 31, 51, 0.14);
  color: var(--acp-ink);
  background: #fff;
  border: 1px solid var(--acp-line);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(7, 28, 36, 0.12);
  overflow: hidden;
}

.acp-booking *,
.acp-booking *::before,
.acp-booking *::after {
  box-sizing: border-box;
}

.acp-booking__progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--acp-ink);
  color: rgba(255, 255, 255, 0.58);
  min-height: 74px;
}

.acp-booking__progress > span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, background 0.2s ease;
}

.acp-booking__progress > span:last-child {
  border-right: 0;
}

.acp-booking__progress > span.is-active,
.acp-booking__progress > span.is-done {
  color: #fff;
}

.acp-booking__progress > span.is-active {
  background: rgba(246, 65, 15, 0.12);
}

.acp-booking__progress > span.is-active::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 3px;
  background: var(--acp-lime);
}

.acp-booking__progress small {
  font-size: 0.78rem;
  font-weight: 700;
}

.acp-booking__step {
  padding: clamp(24px, 5vw, 48px);
}

.acp-booking__step[hidden] {
  display: none !important;
}

.acp-booking__step h3 {
  margin: 0 0 6px;
  color: var(--acp-ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.acp-booking__step p {
  margin: 0 0 26px;
  color: #506169;
}

.acp-booking__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.acp-booking__service {
  width: 100%;
  padding: 20px;
  color: var(--acp-ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--acp-line);
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.acp-booking__service:hover,
.acp-booking__service:focus-visible,
.acp-booking__service.is-selected {
  outline: none;
  border-color: var(--acp-teal);
  box-shadow: 0 12px 30px rgba(8, 129, 197, 0.13);
  transform: translateY(-2px);
}

.acp-booking__service.is-selected { background: #eef8fd; }

.acp-booking__service strong,
.acp-booking__service span,
.acp-booking__service small {
  display: block;
}

.acp-booking__service strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.acp-booking__service span {
  color: #5b696f;
  font-size: 0.9rem;
  line-height: 1.45;
}

.acp-booking__service small {
  margin-top: 12px;
  color: var(--acp-teal-dark);
  font-weight: 800;
}

.acp-booking__step-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.acp-booking__back,
.acp-booking__restart {
  padding: 8px 0;
  color: var(--acp-teal-dark);
  font: inherit;
  font-weight: 800;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.acp-booking__days {
  display: grid;
  grid-template-columns: repeat(5, minmax(76px, 1fr));
  gap: 10px;
  margin: 6px 0 24px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: thin;
}

.acp-booking__day,
.acp-booking__time {
  color: var(--acp-ink);
  font: inherit;
  background: #fff;
  border: 1px solid var(--acp-line);
  cursor: pointer;
}

.acp-booking__day {
  min-width: 80px;
  min-height: 116px;
  padding: 11px 8px;
  border-radius: 13px;
}

.acp-booking__day span,
.acp-booking__day strong,
.acp-booking__day small,
.acp-booking__day-count {
  display: block;
}

.acp-booking__day span,
.acp-booking__day small {
  color: #6b797e;
  font-size: 0.73rem;
  text-transform: uppercase;
}

.acp-booking__day strong {
  margin: 4px 0;
  font-size: 1.35rem;
}

.acp-booking__day-count {
  width: fit-content;
  margin: 8px auto 0;
  padding: 3px 7px;
  color: #b62d0a;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  background: #fff0eb;
  border-radius: 999px;
}

.acp-booking__day:hover,
.acp-booking__day:focus-visible,
.acp-booking__day.is-selected,
.acp-booking__time:hover,
.acp-booking__time:focus-visible,
.acp-booking__time.is-selected {
  color: #fff;
  background: var(--acp-teal);
  border-color: var(--acp-teal);
  outline: none;
}

.acp-booking__day:hover span,
.acp-booking__day:hover small,
.acp-booking__day.is-selected span,
.acp-booking__day.is-selected small,
.acp-booking__day:focus-visible span,
.acp-booking__day:focus-visible small {
  color: rgba(255, 255, 255, 0.78);
}

.acp-booking__day:hover .acp-booking__day-count,
.acp-booking__day.is-selected .acp-booking__day-count,
.acp-booking__day:focus-visible .acp-booking__day-count {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.acp-booking__times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
}

.acp-booking__times::before {
  content: attr(data-label);
  flex: 0 0 100%;
  color: #647278;
  font-size: 0.85rem;
  font-weight: 700;
}

.acp-booking__time {
  min-width: 88px;
  padding: 12px 15px;
  border-radius: 999px;
  font-weight: 800;
}

.acp-booking__loading,
.acp-booking__empty {
  padding: 24px;
  text-align: center;
  background: var(--acp-paper);
  border-radius: 14px;
}

.acp-booking__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.acp-booking__form label {
  display: grid;
  gap: 7px;
}

.acp-booking__form label > span {
  font-size: 0.84rem;
  font-weight: 800;
}

.acp-booking__form input:not([type="checkbox"]),
.acp-booking__form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--acp-ink);
  font: inherit;
  background: #fff;
  border: 1px solid rgba(7, 28, 36, 0.25);
  border-radius: 10px;
}

.acp-booking__form textarea {
  resize: vertical;
}

.acp-booking__form input:focus,
.acp-booking__form textarea:focus {
  border-color: var(--acp-teal);
  box-shadow: 0 0 0 3px rgba(8, 129, 197, 0.13);
  outline: none;
}

.acp-booking__wide,
.acp-booking__submit {
  grid-column: 1 / -1;
}

.acp-booking__consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
}

.acp-booking__consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.acp-booking__submit,
.acp-booking__calendar,
.acp-booking__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  background: var(--acp-lime);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.acp-booking__submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.acp-booking__notice {
  margin: 20px 24px 0;
  padding: 13px 16px;
  color: #7b1c1c;
  background: #fff0f0;
  border: 1px solid #efc2c2;
  border-radius: 10px;
}

.acp-booking__success {
  padding-block: 58px;
  text-align: center;
}

.acp-booking__success-icon {
  display: inline-grid;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  background: var(--acp-lime);
  border-radius: 50%;
}

.acp-booking__success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 12px;
}

.acp-booking__whatsapp {
  color: #fff;
  background: var(--acp-teal);
}

.acp-booking__trap {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 720px) {
  .acp-booking__progress {
    min-height: 62px;
  }

  .acp-booking__progress small {
    display: none;
  }

  .acp-booking__services,
  .acp-booking__form {
    grid-template-columns: 1fr;
  }

  .acp-booking__wide,
  .acp-booking__submit {
    grid-column: 1;
  }

  .acp-booking__step-header,
  .acp-booking__success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .acp-booking__days {
    grid-template-columns: repeat(5, 82px);
  }
}
