/* ════════════════════════════════════════════
   PARCOURS D'INSCRIPTION (espace client)
   ════════════════════════════════════════════ */

.wizard-body { background: var(--bg); }
.wizard-container { max-width: 480px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

.wizard-retour {
  display: inline-block; margin-bottom: 1rem;
  color: var(--text-muted); font-size: .9rem; font-weight: 600;
}
.wizard-retour:hover { color: var(--text); opacity: 1; }

.wizard-etape {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .4rem;
}
.wizard-titre {
  font-family: var(--font-display);
  font-size: 2.1rem; color: var(--navy); line-height: 1.15; margin-bottom: 1.25rem;
}

.wizard-card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); padding: 1.25rem; margin-bottom: 1rem;
}

.wizard-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .95rem; color: var(--text-muted); margin: 1rem 0;
}
.wizard-total strong { font-size: 1.15rem; color: var(--navy); }

.wizard-cta {
  display: block; width: 100%; text-align: center;
  padding: 1em; border-radius: var(--radius-pill);
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1.05rem;
  border: none; cursor: pointer;
}
.wizard-cta:hover { background: var(--accent-hover); opacity: 1; }

.wizard-produit {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.wizard-produit:last-child { border-bottom: none; }
.wizard-produit-photo {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface2);
}
.wizard-produit-info { flex: 1; }
.wizard-produit-nom { font-weight: 700; color: var(--navy); }
.wizard-produit-desc { font-size: .82rem; color: var(--text-muted); margin-top: .2rem; }
.wizard-produit-prix { font-weight: 700; margin-top: .4rem; }

.wizard-stepper { display: flex; align-items: center; gap: .6rem; }
.wizard-stepper button {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-mid);
  background: var(--surface); font-size: 1.1rem; font-weight: 700; cursor: pointer; color: var(--navy);
}
.wizard-stepper button.plus { background: var(--navy); color: #fff; border-color: var(--navy); }
.wizard-stepper output { min-width: 1.5rem; text-align: center; font-weight: 700; }

.wizard-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; font-weight: 700; font-size: 1.1rem; color: var(--navy);
}

.wizard-point {
  display: block; padding: 1rem; border-radius: var(--radius); border: 2px solid var(--border);
  margin-bottom: .75rem; cursor: pointer;
}
.wizard-point input { display: none; }
.wizard-point:has(input:checked) { border-color: var(--accent); background: var(--blue-soft); }
.wizard-point-nom { font-weight: 700; color: var(--navy); }
.wizard-point-meta { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }
.wizard-point-horaires { font-size: .85rem; color: var(--success); margin-top: .1rem; }

/* Onglets Point relais / À domicile — bascule en CSS pur, sans JS. */
.livraison-mode-radio { position: absolute; opacity: 0; pointer-events: none; }
.livraison-tabs {
  display: flex; gap: .4rem;
  background: var(--surface2); border-radius: var(--radius-pill);
  padding: .3rem; margin-bottom: 1.25rem;
}
.livraison-tabs label {
  flex: 1; text-align: center; padding: .65em .5em;
  border-radius: var(--radius-pill); font-weight: 700; font-size: .92rem;
  color: var(--text-muted); cursor: pointer; transition: background-color .15s, color .15s;
}
#mode-relais:checked ~ .livraison-tabs label[for="mode-relais"],
#mode-domicile:checked ~ .livraison-tabs label[for="mode-domicile"] {
  background: var(--navy); color: #fff;
}
.livraison-panel { display: none; }
#mode-relais:checked ~ .livraison-panel.panel-relais { display: block; }
#mode-domicile:checked ~ .livraison-panel.panel-domicile { display: block; }

.livraison-map {
  aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1rem; border: 1px solid var(--border);
  background:
    repeating-linear-gradient(0deg, var(--border) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 24px),
    var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .82rem; text-align: center; padding: 1rem;
}

.wizard-montants { display: flex; gap: .6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.wizard-montant-btn {
  padding: .6rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--navy);
  background: #fff; color: var(--navy); font-weight: 700; cursor: pointer;
}
.wizard-montant-btn.selected, .wizard-montant-btn:hover { background: var(--navy); color: #fff; }
