.booking-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:0 0 24px;gap:8px}.booking-steps li{display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;color:#89917f;text-align:center;font-size:13px}.booking-steps li:before{content:'';position:absolute;top:17px;right:55%;width:90%;height:2px;background:#d8dece}.booking-steps li:first-child:before{display:none}.booking-steps li>span{width:35px;height:35px;display:grid;place-items:center;border:1px solid #cbd2bf;border-radius:50%;background:#fafbf7;position:relative;font-size:15px}.booking-steps li strong{font-weight:500}.booking-steps .active{color:#35482f}.booking-steps .active>span{border:2px solid #53644e;background:#edf2e6}.booking-steps .complete>span{color:white;background:#53644e;border-color:#53644e}.booking-steps .complete:before,.booking-steps .active:before{background:#53644e}#pageSteps{max-width:700px;margin:28px auto 0;padding:0 16px}.calendar-mode #pageSteps{margin-top:16px}.success-mark{background:transparent;width:66px;height:66px;margin-bottom:16px}.success-mark svg{width:66px;height:66px;color:#53644e}.compact-treatments>div{align-items:center}.compact-treatments small{text-align:right;white-space:nowrap}#paymentDialog{width:min(680px,94vw);max-height:92dvh;border:0;border-radius:20px;padding:28px;overflow:auto;background:#fafbf7;color:#293329}#paymentDialog::backdrop{background:#26311f88;backdrop-filter:blur(5px)}#paymentHeading{font:30px Georgia;margin:8px 0 20px}#paymentVisit{background:#edf2e6;padding:16px;border-radius:12px;display:flex;flex-direction:column;gap:7px}#paymentVisit>span{font:25px Georgia}#paymentVisit p{margin:0;font-size:15px;line-height:1.5}.payment-actions{display:flex;gap:12px;align-items:stretch}.payment-actions button{min-height:50px;border-radius:10px;padding:12px 18px}.payment-actions .dark{flex:1;justify-content:center}#paymentError{color:#8a422c;font-size:15px}.confirmation-steps{margin-bottom:18px}#confirmationKind[hidden],#confirmationNotice[hidden]{display:none!important}@media(max-width:600px){.booking-steps{gap:4px;margin-bottom:18px}.booking-steps li{font-size:11px}.booking-steps li>span{width:30px;height:30px}.booking-steps li:before{top:15px}#paymentDialog{padding:20px 16px}#paymentHeading{font-size:26px}.compact-treatments>div{align-items:flex-start}.compact-treatments small{white-space:normal;max-width:46%;font-size:13px}.payment-actions button{padding-inline:12px;font-size:14px}}
/* Left-hand vertical progress, shared across every booking step. */
.booking-steps{display:flex;flex-direction:column;gap:0;margin:0;list-style:none;padding:0}.booking-steps li{flex-direction:row;align-items:center;text-align:left;gap:12px;min-height:64px;font-size:14px;white-space:nowrap}.booking-steps li:before{top:-15px;left:17px;right:auto;width:2px;height:30px}.booking-steps li>span{flex:0 0 35px}.booking-steps li strong{white-space:normal}.booking-steps li:first-child:before{display:none}
main{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:20px;max-width:1500px;margin:0 auto;padding:0 24px}#pageSteps{grid-column:1;grid-row:1;position:sticky;top:28px;align-self:start;padding:0;margin:46px 0 0;max-width:none}.calendar-mode #pageSteps{margin-top:16px}main>#services,main>#booking{grid-column:2;grid-row:1;min-width:0}.client-start{padding-inline:2%}.calendar-mode .calendar-booking{padding-inline:0}
#timeDialog[open],#waitlistHoursDialog[open],#paymentDialog[open]{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:24px;align-items:start;width:min(940px,96vw)}#timeDialog>nav,#waitlistHoursDialog>nav,#paymentDialog>.booking-steps{grid-column:1;grid-row:1/span 20;position:sticky;top:0}#timeDialog>:not(nav),#waitlistHoursDialog>:not(nav),#paymentDialog>:not(.booking-steps){grid-column:2;min-width:0}#timeDialog>.time-dialog-head,#waitlistHoursDialog>.time-dialog-head{grid-row:1}#timeDialog #slots{grid-template-columns:repeat(auto-fit,minmax(75px,1fr))}
.confirmation-content{display:grid;grid-template-columns:170px minmax(0,560px);gap:0 28px;width:min(100%,800px)}.confirmation-content>.confirmation-steps{grid-column:1;grid-row:1/span 20;align-self:start;margin:0}.confirmation-content>:not(.confirmation-steps){grid-column:2;min-width:0}.confirmation-content>.success-mark{grid-row:1}.confirmation-content>#confirmationTitle{grid-row:3}.confirmation-details{margin-bottom:14px}
@media(max-width:700px){main{grid-template-columns:42px minmax(0,1fr);gap:10px;padding-inline:10px}#pageSteps{margin-top:28px}.booking-steps li{min-height:62px;gap:0}.booking-steps li>span{width:30px;height:30px;flex-basis:30px}.booking-steps li:before{left:14px;top:-17px;height:34px}.booking-steps li strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#timeDialog[open],#waitlistHoursDialog[open],#paymentDialog[open]{grid-template-columns:32px minmax(0,1fr);column-gap:12px;padding:20px 12px;width:96vw}.confirmation-content{grid-template-columns:32px minmax(0,1fr);column-gap:12px}#confirmationScreen{padding-inline:12px}.client-start h1{font-size:30px}.procedure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-toolbar .month-head h3{font-size:16px}}
.confirmation-content>#confirmationTitle{grid-row:2}.confirmation-content>.confirmation-intro{grid-row:3}.confirmation-content>.confirmation-details{grid-row:4}.confirmation-content>.confirmation-notice{grid-row:5}.confirmation-content>#closeConfirmation{grid-row:6}
#paymentBreakdown{border-top:1px solid #d9e1d0;margin-top:16px;padding-top:12px}#paymentBreakdown>div{display:flex;justify-content:space-between;gap:15px;padding:6px 0;font-size:16px}#paymentBreakdown>div:first-child strong{font-size:22px;color:#354a2e}.checkout-placeholder{background:#edf2e6;padding:15px;border-radius:8px;color:#53644e;font-size:15px;margin-bottom:0}.remaining-balance{display:flex;justify-content:space-between;gap:15px;width:100%;border-top:1px solid #d0dac5;padding-top:9px;margin-top:4px}

/* Keep the rail in place while its fill travels between the four markers. */
.booking-steps{--marker:35px;--rail-color:var(--accent,#53644e);position:relative;justify-content:space-between;min-height:0;height:clamp(240px,calc(100dvh - 190px),900px)}
.booking-steps li{min-height:var(--marker);z-index:1}
.booking-steps li:before{display:none}
.booking-steps::before,.booking-steps::after{content:'';position:absolute;inset-block:calc(var(--marker) / 2);left:calc(var(--marker) / 2 - 3px);width:6px;border-radius:999px;pointer-events:none}
.booking-steps::before{background:#dedbd2}
.booking-steps::after{background:var(--rail-color);transform:scaleY(calc(var(--step,0) / 3));transform-origin:top;transition:transform 650ms cubic-bezier(.25,.7,.25,1)}
.booking-steps li>span{width:var(--marker);height:var(--marker);flex-basis:var(--marker);transition:background-color 350ms,border-color 350ms,color 350ms}
.booking-steps .active{color:var(--rail-color)}
.booking-steps .active>span{border-color:var(--rail-color);background:var(--paper,#fafbf7)}
.booking-steps .complete>span{background:var(--rail-color);border-color:var(--rail-color)}
#timeDialog[open] .booking-steps::after,#waitlistHoursDialog[open] .booking-steps::after,#paymentDialog[open] .booking-steps::after,#confirmationScreen[open] .booking-steps::after{animation:booking-rail-fill 650ms cubic-bezier(.25,.7,.25,1) both}
@keyframes booking-rail-fill{from{transform:scaleY(calc(var(--previous-step,0) / 3))}to{transform:scaleY(calc(var(--step,0) / 3))}}
@media(max-width:700px){.booking-steps{--marker:30px;height:clamp(210px,calc(100dvh - 150px),720px)}}
@media(prefers-reduced-motion:reduce){.booking-steps::after,.booking-steps li>span{transition:none}#timeDialog[open] .booking-steps::after,#waitlistHoursDialog[open] .booking-steps::after,#paymentDialog[open] .booking-steps::after,#confirmationScreen[open] .booking-steps::after{animation:none}}
