/* ============================================================
   CONSULTATION WIZARD — step-by-step booking panel, bottom right
   ============================================================ */
.consult { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(720px, calc(100vw - 48px)); }   /* above the chat widget */
.consult[hidden] { display: none; }
.consult__panel { background: #fff; border-radius: 10px; box-shadow: 0 30px 80px rgba(13,25,40,.35), 0 0 0 1px rgba(19,36,58,.08); overflow: hidden;
  display: flex; flex-direction: column; max-height: min(760px, calc(100vh - 48px)); transform: translateY(24px); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.consult.is-open .consult__panel { transform: none; opacity: 1; }
.consult__head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: var(--c-navy); color: #fff; }
.consult__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px; }
.consult__title { font-family: var(--f-display); font-weight: 700; font-size: var(--t-body); line-height: 22px; color: #fff; margin: 0; }
.consult__sub { font-size: var(--t-small); line-height: 18px; color: var(--c-on-dark-soft); margin: 0; }
.consult__close { margin-left: auto; background: none; border: 0; color: #fff; font-size: var(--t-sub); line-height: 1; cursor: pointer; opacity: .7; padding: 0 4px; }
.consult__close:hover { opacity: 1; }

/* Progress: numbered steps */
.consult__progress { display: flex; gap: 6px; padding: 16px 24px 0; }
.consult__progress span { flex: 1; height: 3px; background: var(--c-rule); border-radius: 2px; transition: background-color .4s ease; }
.consult__progress span.is-done { background: var(--c-navy); }
.consult__progress span.is-current { background: var(--c-accent); }

/* Body */
.consult__body { padding: 20px 24px 8px; overflow-y: auto; flex: 1 1 auto; min-height: 300px; }
.step { animation: step-in .35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.step__label { font-size: var(--t-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 6px; }
.step h3 { font-size: var(--t-lead); line-height: 30px; margin-bottom: 4px; }
.step__hint { font-size: var(--t-small); color: var(--c-ink-soft); margin: 0 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: var(--t-small); font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: var(--t-body); border: 1px solid #D0D3D4; border-radius: 6px; color: var(--c-ink); background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--c-navy); }
.field.is-error input, .field.is-error select { border-color: #B5121B; }
.field__msg { margin: 8px 0 0; font-size: var(--t-small); line-height: 18px; color: #B5121B; }
.field__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field__row { grid-template-columns: 1fr 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.choice { font: inherit; font-size: var(--t-small); font-weight: 700; padding: 10px 16px; border: 1px solid #D0D3D4; border-radius: 6px; background: #fff; color: var(--c-navy); cursor: pointer; transition: var(--t); }
.choice:hover { border-color: var(--c-navy); }
.choice.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.choice.is-disabled { opacity: .35; cursor: default; }
.choice--day { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.2; padding: 10px 12px; min-width: 72px; }
.choice--day small { font-weight: 400; font-size: var(--t-label); opacity: .8; }
.choice--slot { min-width: 88px; text-align: center; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-bottom: 18px; }
.empty { color: var(--c-ink-soft); font-size: var(--t-small); }
.summary { border: 1px solid var(--c-rule); border-radius: 8px; padding: 6px 18px; margin-bottom: 18px; }
.summary div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-rule); font-size: var(--t-small); line-height: 20px; }
.summary div:last-child { border-bottom: 0; }
.summary dt { font-weight: 700; color: var(--c-navy); margin: 0; }
.summary dd { margin: 0; color: var(--c-ink); }
.done { text-align: center; padding: 30px 10px 20px; }
.done__tick { width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent); color: #fff; display: grid; place-items: center; font-size: var(--t-sub); margin: 0 auto 16px; }
.done h3 { margin-bottom: 4px; }
.done__sub { font-weight: 700; color: var(--c-navy); margin-bottom: 14px; }
.done p { font-size: var(--t-body); }

/* Footer nav */
.consult__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px 18px; border-top: 1px solid var(--c-rule); background: #fff; }
.consult__nav:empty { display: none; }
.consult__nav .btn { font-size: var(--t-label); padding: 14px 22px 15px; }
.consult__back { font: inherit; font-size: var(--t-small); font-weight: 700; color: var(--c-ink-soft); background: none; border: 0; padding: 0; cursor: pointer; }
.consult__back:hover { color: var(--c-navy); }
.consult__note { font-size: var(--t-label); color: var(--c-ink-soft); margin: 0; }
@media (max-width: 640px) { .consult { right: 0; bottom: 0; width: 100vw; } .consult__panel { border-radius: 10px 10px 0 0; max-height: 94vh; } }
