:root {
  color-scheme: light;
  --bg: #ffe2ef;
  --ink: #301728;
  --muted: #825f75;
  --line: #f0b8d0;
  --panel: rgba(255, 253, 250, 0.94);
  --accent: #0bb7b7;
  --accent-dark: #078b8f;
  --hot: #ec2f91;
  --lime: #7bdc29;
  --sun: #ffe449;
  --coral: #ff6b7b;
  --shadow: 0 22px 55px rgba(160, 36, 100, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 226, 239, 0.92), rgba(255, 246, 248, 1)),
    #ffe2ef;
  color: var(--ink);
}

button,
input {
  font: inherit;
}

h1,
h2,
p {
  margin: 0;
}

.bookingShell {
  width: min(980px, calc(100% - 24px));
  margin: 14px auto 44px;
  display: grid;
  gap: 16px;
}

.bookingHero,
.stepPanel {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bookingHero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 28px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(48, 23, 40, 0.72), rgba(236, 47, 145, 0.22)),
    url("/assets/fashion-mania-card.jpg") center 42% / cover;
  color: #fff;
}

.eyebrow {
  margin-bottom: 8px;
  color: #fff9c7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  color: #f7ff63;
  text-shadow: 0 3px 0 #28e267, 0 10px 18px rgba(48, 23, 40, 0.55);
}

.brandServices {
  margin-top: 10px;
  max-width: 610px;
  color: #ffffff;
  font-size: clamp(1rem, 3vw, 1.45rem);
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(48, 23, 40, 0.8);
}

.brandAddress {
  margin-top: 8px;
  color: #e9ffff;
  font-size: 0.96rem;
  font-weight: 800;
  text-shadow: 0 3px 10px rgba(48, 23, 40, 0.72);
}

.stepPanel {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.stepHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.stepHeader span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hot), var(--accent));
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(236, 47, 145, 0.25);
}

h2 {
  font-size: 1.08rem;
}

.breakNotice {
  margin: -4px 0 14px;
  color: #9b285f;
  font-size: 0.9rem;
  font-weight: 700;
}

.serviceGroups {
  display: grid;
  gap: 18px;
}

.groupTitle {
  margin: 0 0 10px;
  color: #c9227b;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.categoryChoices,
.subcategoryChoices,
.choiceGrid,
.staffChoices,
.peopleChoices,
.dateChoices,
.timeChoices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.categoryChoices {
  margin-bottom: 18px;
}

.choice,
.categoryChoice,
.subcategoryChoice,
.staffChoice,
.peopleChoice,
.dateChoice,
.timeChoice {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(160, 36, 100, 0.06);
}

.choice strong,
.categoryChoice strong,
.subcategoryChoice strong,
.staffChoice strong,
.dateChoice strong {
  display: block;
  margin-bottom: 3px;
}

.choice small,
.categoryChoice small,
.subcategoryChoice small,
.staffChoice small,
.dateChoice small {
  color: var(--muted);
}

.choice .choiceNote {
  margin-top: 7px;
  color: #a5215f;
  font-weight: 800;
}

.choice.selected,
.categoryChoice.selected,
.subcategoryChoice.selected,
.staffChoice.selected,
.peopleChoice.selected,
.dateChoice.selected,
.timeChoice.selected {
  border-color: var(--hot);
  background: linear-gradient(135deg, #fff7cc, #e8ffff);
  box-shadow: inset 0 0 0 2px rgba(236, 47, 145, 0.14), 0 8px 18px rgba(11, 183, 183, 0.14);
}

.selectionSummary {
  margin: -2px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(11, 183, 183, 0.28);
  border-radius: 8px;
  background: #eaffff;
  color: #08676b;
  font-size: 0.92rem;
  font-weight: 800;
}

.unavailableNotice {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #ff9abe;
  border-radius: 8px;
  background: #fff4f8;
  color: #7a2450;
}

.unavailableNotice strong {
  color: #c9227b;
  font-size: 1rem;
}

.unavailableNotice p {
  line-height: 1.45;
}

.bookingNotice {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #f1a42a;
  border-radius: 8px;
  background: #fff9df;
  color: #5d3b16;
}

.bookingNotice strong {
  color: #a75f00;
  font-size: 1rem;
}

.bookingNotice ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.45;
}

.bookingNotice li + li {
  margin-top: 5px;
}

.bookingNotice small {
  color: #806018;
  font-weight: 800;
}

.bookingNotice.compact {
  background: #fffaf0;
}

.noticeConfirm {
  width: fit-content;
  min-height: 40px;
  border: 1px solid #f1a42a;
  border-radius: 8px;
  background: #ffffff;
  color: #7a4a00;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}

.noticeConfirm:hover {
  background: #fff0c4;
}

.staffChoices,
.peopleChoices {
  margin-bottom: 14px;
}

.dateChoices {
  margin-bottom: 14px;
}

.timeChoices:empty::before,
.dateChoices:empty::before {
  content: "Scegli prima un servizio.";
  color: var(--muted);
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.fieldHint {
  color: #8c6c80;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.primary,
.secondary {
  grid-column: 1 / -1;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  border: 1px solid var(--hot);
  background: linear-gradient(135deg, var(--hot), var(--accent));
  color: #fff;
  box-shadow: 0 12px 24px rgba(236, 47, 145, 0.24);
}

.primary:hover {
  background: linear-gradient(135deg, #d91f7d, var(--accent-dark));
}

.secondary {
  border: 1px solid var(--coral);
  background: #fff1f5;
  color: #a5215f;
}

.secondary:hover {
  background: #ffe1ed;
}

.message {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.emptyState {
  grid-column: 1 / -1;
  min-height: 48px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff8fb;
}

.hidden {
  display: none;
}

@media (max-width: 620px) {
  .customerForm,
  .categoryChoices,
  .subcategoryChoices,
  .choiceGrid,
  .staffChoices,
  .peopleChoices,
  .dateChoices,
  .timeChoices {
    grid-template-columns: 1fr;
  }
}
