/* Panel de réservation et contact — reprend les couleurs du thème si disponibles. */
.fs-booking {
  --fs-accent: var(--wp--preset--color--accent, #0f3d5e);
  --fs-accent-contrast: var(--wp--preset--color--accent-contrast, #ffffff);
  --fs-border: #d5dde5;
  --fs-muted: #5b6775;
  --fs-bg-soft: #f2f5f8;
  --fs-error: #b32d2e;
  max-width: 760px;
  margin: 2rem auto;
  font-size: 1rem;
}

.fs-step {
  border: 1px solid var(--fs-border);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
  margin: 0 0 1.25rem;
  background: #fff;
}
.fs-step legend {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0 .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.fs-step__num {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--fs-accent);
  color: var(--fs-accent-contrast);
  font-size: .95rem;
}

.fs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem 1rem;
}
.fs-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .75rem;
}
.fs-field input,
.fs-field select,
.fs-field textarea {
  font: inherit;
  font-weight: 400;
  padding: .65rem .75rem;
  border: 1px solid var(--fs-border);
  border-radius: 6px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
}
.fs-field input:focus,
.fs-field select:focus,
.fs-field textarea:focus {
  outline: 2px solid var(--fs-accent);
  outline-offset: 1px;
  border-color: var(--fs-accent);
}

.fs-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: .5rem 0 .75rem;
  cursor: pointer;
}
.fs-check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--fs-accent); flex-shrink: 0; }
.fs-check--inline { align-self: end; margin-bottom: 1.1rem; font-weight: 600; }

.fs-duration { margin: 0; color: var(--fs-accent); font-weight: 600; min-height: 1.5em; }

.fs-person {
  background: var(--fs-bg-soft);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.fs-person__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.fs-person__title { margin: 0; font-size: 1rem; }
.fs-remove-person {
  background: none;
  border: 0;
  color: var(--fs-error);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  padding: .25rem;
}
.fs-activity-fields[hidden] { display: none; }

.fs-btn {
  font: inherit;
  font-weight: 700;
  border-radius: 6px;
  padding: .8rem 1.4rem;
  cursor: pointer;
  min-height: 44px;
}
.fs-btn--primary { background: var(--fs-accent); color: var(--fs-accent-contrast); border: 0; width: 100%; font-size: 1.05rem; }
.fs-btn--primary:hover { filter: brightness(1.1); }
.fs-btn--primary:disabled { opacity: .6; cursor: wait; }
.fs-btn--ghost { background: transparent; color: var(--fs-accent); border: 2px dashed var(--fs-accent); width: 100%; }
.fs-btn[hidden], .fs-remove-person[hidden] { display: none; }

.fs-note { text-align: center; color: var(--fs-muted); font-size: .9rem; }

.fs-alert { padding: .9rem 1rem; border-radius: 6px; background: #fff8e5; border-left: 4px solid #dba617; margin-bottom: 1rem; }
.fs-alert--error { background: #fcf0f1; border-left-color: var(--fs-error); }
.fs-alert ul { margin: .4rem 0 0 1.2rem; }

.fs-booking--done,
.fs-booking--closed {
  border: 1px solid var(--fs-border);
  border-radius: 10px;
  padding: 1.5rem;
  background: #fff;
}
.fs-booking--done h2 { margin-top: 0; color: #1a7f37; }

/* Honeypot anti-spam */
.fs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fs-help { margin: -.25rem 0 1rem; font-size: .95rem; }
.fs-help a { color: var(--fs-accent); }

/* Prix et total indicatif */
.fs-duration--error { color: var(--fs-error); }
.fs-person__price { margin: .25rem 0 0; text-align: right; font-weight: 700; color: var(--fs-accent); }
.fs-person__price:empty { display: none; }
.fs-quote {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--fs-accent);
  border-radius: 8px;
}
.fs-quote[hidden] { display: none; }
.fs-quote__row { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .35rem; }
.fs-quote__discount { color: #1a7f37; }
.fs-quote__total { font-size: 1.25rem; font-weight: 700; color: var(--fs-accent); border-top: 1px solid var(--fs-border); padding-top: .5rem; margin-top: .5rem; }
.fs-quote__note { margin: .25rem 0 0; color: var(--fs-muted); font-size: .9rem; }

/* Champs obligatoires */
.fs-req { color: var(--fs-error, #b32d2e); font-weight: 700; }
.fs-note--req { text-align: left; margin: 0 0 1rem; }
