.wiz-closed {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}

.wiz-closed h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.wiz-closed p {
  color: var(--gray-600);
  margin-bottom: 1.1rem;
}


.page-book {
  min-height: 100svh;
  overscroll-behavior-x: none;
  -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(1, 94, 199, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(1, 94, 199, 0.12), transparent 50%),
    linear-gradient(180deg, #001a42 0%, #012965 42%, #f3f7fc 42%, #f3f7fc 100%);
  color: var(--gray-800);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.header--solid {
  background: rgba(0, 26, 66, 0.96);
}

.nav__cta--ghost {
  display: inline-flex !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.nav__cta--ghost:hover {
  border-color: var(--secondary-soft);
  color: var(--secondary-soft) !important;
  background: transparent !important;
  transform: none;
}

.book {
  position: relative;
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  overflow: hidden;
  overflow: clip; /* permette agli elementi sticky (CTA wizard) di restare agganciati al viewport */
}

.book__atmosphere {
  position: absolute;
  inset: 0 0 auto;
  height: min(52vh, 480px);
  pointer-events: none;
  z-index: 0;
}

.book__pitch {
  position: absolute;
  inset: 8% 5% auto;
  height: 70%;
  border-radius: 40% 40% 0 0 / 20%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 48px,
      rgba(255, 255, 255, 0.04) 48px 49px
    ),
    linear-gradient(180deg, rgba(1, 94, 199, 0.25), transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 0;
  transform: perspective(600px) rotateX(18deg);
  transform-origin: center top;
  opacity: 0.7;
  animation: pitchDrift 12s ease-in-out infinite alternate;
}

.book__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  left: 12%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 142, 240, 0.35), transparent 68%);
  filter: blur(8px);
  animation: glowPulse 5s ease-in-out infinite;
}

.book__glow--success {
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(1, 94, 199, 0.55), transparent 68%);
}

@keyframes pitchDrift {
  from { transform: perspective(600px) rotateX(18deg) translateY(0); }
  to { transform: perspective(600px) rotateX(18deg) translateY(10px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.book__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 960px) {
  .book__layout {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 2.5rem;
  }
}

.book__aside {
  color: #fff;
  padding-top: 0.5rem;
}

.book__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-soft);
  margin-bottom: 0.85rem;
}

.book__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.book__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.book__lead strong {
  color: var(--secondary-soft);
}

/* Deposit visual card */
.deposit-card {
  position: relative;
  max-width: 340px;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(160deg, #013a7a 0%, #012965 55%, #001a42 100%);
  border: 1px solid rgba(59, 142, 240, 0.35);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 1.75rem;
  animation: cardIn 0.9s var(--ease-out) both;
}

.deposit-card::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 142, 240, 0.28), transparent 70%);
}

.deposit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  position: relative;
}

.deposit-card__chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #3b8ef0, #015ec7 40%, #013a7a 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  position: relative;
}

.deposit-card__chip::after {
  content: '';
  position: absolute;
  inset: 6px 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 3px,
      rgba(0, 0, 0, 0.12) 3px 4px
    );
}

.deposit-card__brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-soft);
}

.deposit-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  color: #fff;
  position: relative;
  margin-bottom: 0.65rem;
}

.deposit-card__currency {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-soft);
}

.deposit-card__value {
  font-family: 'Outfit', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.deposit-card__cents {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.85;
}

.deposit-card__note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  position: relative;
}

.deposit-card__perks {
  display: grid;
  gap: 0.35rem;
  position: relative;
}

.deposit-card__perks li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 1.1rem;
  position: relative;
}

.deposit-card__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-soft);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) rotate(-1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.book__steps {
  display: grid;
  gap: 0.55rem;
  max-width: 280px;
}

.book__steps li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

.book__steps li.is-active {
  color: #fff;
  font-weight: 600;
}

.book__steps li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.55);
}

.book__steps li.is-active span {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

/* Form panel */
.book__panel {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 26, 66, 0.22);
  border: 1px solid rgba(1, 41, 101, 0.06);
}

@media (min-width: 640px) {
  .book__panel {
    padding: 2rem 2rem 2.25rem;
  }
}

.book__panel-head {
  margin-bottom: 1.5rem;
}

.book__panel-head h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.book__panel-head p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.book-form .form-row {
  margin-bottom: 1rem;
}

.form-row--2,
.form-row--3 {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
  .form-row--3 { grid-template-columns: 1.1fr 1fr 0.8fr; }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field > span,
.field legend {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--gray-50);
  color: var(--gray-800);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--secondary-soft);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 94, 199, 0.15);
}

.field--choice legend {
  margin-bottom: 0.65rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.choice-grid--pitches {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 720px) {
  .choice-grid:not(.choice-grid--pitches) { grid-template-columns: repeat(3, 1fr); }
}

.choice {
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  min-height: 74px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.choice--pitch span {
  min-height: 104px;
  place-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  background:
    linear-gradient(180deg, rgba(232, 241, 251, 0.65), rgba(247, 250, 248, 0.95)),
    var(--gray-50);
}

.pitch-icon {
  width: 36px;
  height: 24px;
  border-radius: 4px;
  border: 1.5px solid var(--secondary);
  background:
    linear-gradient(90deg, transparent 46%, rgba(1, 94, 199, 0.35) 46% 54%, transparent 54%),
    linear-gradient(180deg, transparent 42%, rgba(1, 94, 199, 0.25) 42% 58%, transparent 58%),
    linear-gradient(135deg, #015ec7, #012965);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.15);
  margin-bottom: 0.15rem;
}

.choice strong {
  font-size: 0.88rem;
  color: var(--primary);
}

.choice--pitch strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.choice em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gray-600);
}

.choice input:checked + span {
  border-color: var(--secondary);
  background: var(--blue-muted);
  box-shadow: 0 0 0 3px rgba(1, 94, 199, 0.12);
}

.choice--pitch input:checked + span {
  background:
    linear-gradient(180deg, rgba(1, 94, 199, 0.18), rgba(232, 241, 251, 0.95));
}

.choice--pitch input:checked + span .pitch-icon {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(1, 94, 199, 0.25);
}

.choice:hover span {
  transform: translateY(-1px);
  border-color: var(--secondary-soft);
}

.book-legal a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.book-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(232, 241, 251, 0.95), rgba(255, 255, 255, 0.9)),
    var(--blue-muted);
  border: 1px solid rgba(1, 94, 199, 0.12);
}

@media (max-width: 400px) {
  .book-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .book-summary > p {
    text-align: left;
  }
}

.book-summary > div {
  display: grid;
  gap: 0.15rem;
}

.book-summary span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.book-summary strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  color: var(--primary);
}

.book-summary > p {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
  text-align: right;
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.book-submit {
  width: 100%;
  position: relative;
  min-height: 54px;
}

.book-submit.is-loading .book-submit__label { opacity: 0; }
.book-submit.is-loading .book-submit__spinner { opacity: 1; }

.book-submit__spinner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(1, 41, 101, 0.2);
  border-top-color: var(--primary);
  opacity: 0;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.book-legal {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.5;
}

.footer--compact {
  padding: 1.25rem 0;
  background: #001a42;
}

.footer--compact a:hover { color: var(--secondary-soft); }

/* Pay page */
.book--pay,
.book--result {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
}

.pay-layout,
.result-wrap {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-inline: auto;
}

.pay-card,
.result-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.75rem 1.4rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 26, 66, 0.25);
  border: 1px solid rgba(1, 41, 101, 0.06);
  position: relative;
  overflow: hidden;
}

@media (min-width: 560px) {
  .pay-card,
  .result-card {
    padding: 2.1rem 2rem 1.85rem;
  }
}

.pay-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--secondary-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.pay-card h1,
.result-card h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.55rem, 4vw, 1.9rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pay-card__lead,
.result-card__lead {
  color: var(--gray-600);
  margin-bottom: 1.35rem;
  font-size: 0.98rem;
}

.pay-meta {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.pay-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.pay-meta__row span { color: var(--gray-600); }
.pay-meta__row strong { color: var(--primary); text-align: right; }

.pay-meta__row--total {
  padding-top: 0.65rem;
  border-top: 1px dashed var(--gray-200);
  font-size: 1rem;
}

.pay-meta__row--total strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: var(--secondary);
}

.card-input {
  position: relative;
}

.card-input input {
  padding-right: 3.2rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.04em;
}

.card-input__icons {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  opacity: 0.9;
}

.pay-cancel {
  display: block;
  text-align: center;
  margin-top: 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}

.pay-cancel:hover { color: var(--secondary); }

.pay-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
}

.pay-secure code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  background: var(--gray-100);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Result */
.result-card {
  text-align: center;
}

.result-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  color: var(--secondary);
  animation: popIn 0.55s var(--ease-out) both;
}

.result-card--cancel .result-card__icon { color: #015ec7; }

@keyframes popIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

.result-details {
  text-align: left;
  display: grid;
  gap: 0.65rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.result-details__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.result-details__row span { color: var(--gray-600); }
.result-details__row strong { color: var(--primary); text-align: right; }

.result-actions {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .result-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(1, 41, 101, 0.25);
}

.btn--outline-dark:hover {
  border-color: var(--secondary);
  background: var(--blue-muted);
}

@media (prefers-reduced-motion: reduce) {
  .deposit-card,
  .book__pitch,
  .book__glow,
  .result-card__icon {
    animation: none !important;
  }
}

/* ── Wizard mobile-first ── */
.book--wizard {
  padding-top: calc(var(--header-h) + 1.25rem);
  padding-bottom: 2.5rem;
}

.book-wiz {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-inline: auto;
}

.wiz-intro {
  color: #fff;
  margin-bottom: 1.25rem;
}

.wiz-intro .book__title {
  font-size: clamp(1.75rem, 7vw, 2.4rem);
  margin-bottom: 0.55rem;
}

.wiz-intro .book__lead {
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.wiz-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wiz-progress li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.2;
}

.wiz-progress li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.55);
}

.wiz-progress li.is-active {
  color: #fff;
}

.wiz-progress li.is-active span {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.wiz-progress li.is-done span {
  background: rgba(1, 94, 199, 0.35);
  border-color: var(--secondary-soft);
  color: #fff;
}

.wiz-panel {
  padding: 1.25rem 1.1rem 1.5rem !important;
}

.wiz-step h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.wiz-hint {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.wiz-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 600;
  text-align: center;
}

.wiz-nav {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

@media (max-width: 640px) {
  .wiz-step .wiz-nav {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: 1.15rem;
    padding: 0.6rem 0 0.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), #fff 40%);
    border-top: 1px solid rgba(1, 41, 101, 0.07);
    backdrop-filter: blur(6px);
  }
}

@media (min-width: 480px) {
  .wiz-nav {
    grid-template-columns: 1fr 1.4fr;
  }
  .wiz-nav .wiz-next:only-child,
  .wiz-nav .book-submit:only-child,
  .wiz-step[data-step="1"] .wiz-nav {
    grid-template-columns: 1fr;
  }
}

.wiz-step[data-step="1"] .wiz-nav {
  grid-template-columns: 1fr;
}

.choice-grid--format {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

@media (min-width: 420px) {
  .choice-grid--format {
    grid-template-columns: repeat(3, 1fr);
  }
}

.choice--format span {
  min-height: 88px;
  place-items: center;
  text-align: center;
  padding: 1.1rem 0.75rem;
}

.choice--format strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.slots-block {
  margin-top: 1.1rem;
}

.slots-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.slots-head__meta {
  color: var(--secondary);
  font-weight: 700;
}

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

@media (min-width: 420px) {
  .slots-grid { grid-template-columns: repeat(4, 1fr); }
}

.slot-btn {
  appearance: none;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  min-height: 48px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--secondary);
  transform: translateY(-1px);
}

.slot-btn.is-selected {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(1, 94, 199, 0.18);
}

.slot-btn.is-busy,
.slot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slots-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
  padding: 1rem;
}

.wiz-recap {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--blue-muted);
  border: 1px solid rgba(1, 94, 199, 0.12);
}

.wiz-recap > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.wiz-recap span { color: var(--gray-600); }
.wiz-recap strong { color: var(--primary); text-align: right; }

.wiz-panel .field { margin-bottom: 0.85rem; }

@media (min-width: 960px) {
  .book-wiz { max-width: 640px; }
  .wiz-panel { padding: 1.75rem 1.75rem 2rem !important; }
}

/* ---- Selezione fascia multi-ora ---- */
.slots-tip {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.date-weekday-hint {
  margin: -0.3rem 0 0.85rem;
  font-size: 0.8rem;
  color: var(--gray-600);
  text-transform: capitalize;
}

.slot-btn.is-range-start,
.slot-btn.is-range-end {
  box-shadow: 0 0 0 3px rgba(1, 94, 199, 0.28);
}
