/* Booking page */
.bk { background: var(--paper); }
.nav--solid { background: var(--ink); }
.bk__call { text-decoration: none; opacity: .8; }
.bk__wrap { padding: 120px var(--pad) 100px; max-width: 1400px; margin: 0 auto; }
.bk__intro { margin-bottom: 40px; }
.bk__title { font-size: clamp(48px, 8vw, 120px); line-height: .88; letter-spacing: -.055em; margin: 0 0 20px; font-weight: 800; }
.inline-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--canary-2); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.bk__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }

/* steps */
.step { border: 0; margin: 0 0 14px; padding: 0; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s, opacity .3s; min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.step legend + * { clear: both; }
.step__n { font: 600 13px var(--mono); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--concrete-2); flex: none; transition: .3s; }
.step__t { flex: none; }
.step__v { flex: 1; min-width: 0; font: 500 15px var(--display); opacity: .65; letter-spacing: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step__edit { display: none; border: 1px solid var(--line); background: none; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.step__body { display: none; padding: 0 24px 26px; }
.step.is-active { box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); border-color: var(--ink); }
.step.is-active .step__body { display: block; animation: stepIn .5s var(--ease); }
.step.is-active .step__n { background: var(--canary); }
.step.is-done .step__n { background: var(--ink); color: var(--canary); }
.step.is-done .step__n::after { content: "✓"; }
.step.is-done .step__n { font-size: 0; } .step.is-done .step__n::after { font-size: 15px; }
.step.is-done .step__edit { display: inline-block; }
.step.is-done legend { cursor: pointer; }
.step:not(.is-active):not(.is-done) { opacity: .55; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }

.bk__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bk__cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.bk__cats::-webkit-scrollbar { display: none; }
.bk__cats button { flex: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: none; font-weight: 600; font-size: 13.5px; }
.bk__cats button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bk__search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; min-width: 220px; flex: 1; max-width: 320px; }
.bk__search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .5; }
.bk__search input { border: 0; outline: 0; background: none; padding: 10px 0; font: inherit; font-size: 16px; width: 100%; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.svc { text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); display: grid; gap: 6px; transition: transform .3s var(--ease), border-color .2s, background .2s; position: relative; }
.svc:hover { transform: translateY(-3px); border-color: var(--ink); }
.svc[aria-pressed="true"] { background: var(--canary); border-color: var(--ink); }
.svc b { font-size: 16px; letter-spacing: -.02em; line-height: 1.15; padding-right: 20px; }
.svc small { font-size: 13px; opacity: .65; line-height: 1.35; }
.svc .svc__meta { display: flex; justify-content: space-between; font: 600 12.5px var(--mono); margin-top: 4px; }
.svc[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 12px; right: 14px; font-weight: 800; }
.svc__tag { justify-self: start; font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: var(--ink); color: var(--canary); }
.hint { margin: 16px 0 0; opacity: .6; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.hint a { font-weight: 600; }

.stylists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stylist { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--paper); text-align: left; transition: .25s; }
.stylist:hover { border-color: var(--ink); }
.stylist[aria-pressed="true"] { background: var(--canary); border-color: var(--ink); }
.stylist img, .stylist__any { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.stylist__any { background: var(--ink); position: relative; display: grid; place-items: center; }
.stylist__any i { position: absolute; width: 26px; height: 26px; border: 2px solid var(--canary); transform: rotate(45deg); }
.stylist__any i + i { border-color: #fff; transform: rotate(12deg); width: 22px; height: 22px; }
.stylist b { display: block; font-size: 17px; }
.stylist small { font-size: 13px; opacity: .7; }

.dates-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.dates { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px; flex: 1; }
.dates::-webkit-scrollbar { display: none; }
.dates-nav { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: none; font-size: 20px; flex: none; }
.date { flex: none; width: 76px; padding: 12px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); display: grid; justify-items: center; gap: 2px; transition: .2s; }
.date:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.date .mono { font-size: 10.5px; opacity: .65; }
.date b { font-size: 26px; letter-spacing: -.04em; line-height: 1; }
.date i { font-style: normal; font: 600 10px var(--mono); color: #2e8b57; }
.date:disabled { opacity: .35; cursor: not-allowed; }
.date:disabled i { color: inherit; }
.date[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.date[aria-pressed="true"] i { color: var(--canary); }
.times h4 { margin: 14px 0 8px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; opacity: .55; }
.times .row { display: flex; flex-wrap: wrap; gap: 8px; }
.time { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 600 14px var(--mono); transition: .2s; }
.time:hover { border-color: var(--ink); background: #fff; }
.time[aria-pressed="true"] { background: var(--canary); border-color: var(--ink); }
.times .empty { opacity: .65; }

.notice { padding: 14px 16px; border-radius: 14px; background: var(--canary); border: 1.5px solid var(--ink); margin-bottom: 18px; font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.f--wide { grid-column: 1 / -1; }
.f input:not([type=radio]), .f textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, background .2s; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.f input.bad { border-color: #c0392b; background: #fff5f3; }
.opt { font-family: var(--display); font-style: normal; font-weight: 400; opacity: .55; font-size: 13px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--concrete-2); gap: 4px; justify-self: start; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; transition: .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--canary); }
.err { color: #c0392b; font-weight: 600; min-height: 1.2em; margin: 14px 0 8px; }
.bk__submit { width: 100%; justify-content: center; }
.bk__submit[disabled] { opacity: .6; pointer-events: none; }

/* ticket */
.ticket-col { position: sticky; top: 100px; }
.ticket { background: var(--canary); border-radius: 26px; padding: 24px; position: relative; box-shadow: 0 40px 70px -40px rgba(0,0,0,.5); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.ticket__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ticket__top svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2; }
.ticket__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.ticket__rows > div { grid-column: 1 / -1; }
.ticket__rows > .ticket__half { grid-column: auto; }
.ticket dt { font-size: 10.5px; opacity: .6; margin-bottom: 3px; }
.ticket dd { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.ticket dd.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.06); color: #000; } }
.ticket__perf { margin: 22px -24px; border-top: 2.5px dashed rgba(15,15,14,.35); position: relative; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); }
.ticket__perf::before { left: -13px; } .ticket__perf::after { right: -13px; }
.ticket__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ticket__foot span { display: block; font-size: 10.5px; opacity: .6; }
.ticket__foot b { display: block; font-size: 15px; }
.ticket__foot small { opacity: .7; }
.barcode { width: 92px; height: 46px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); flex: none; }
.assure { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 13px; opacity: .75; }

/* done overlay */
.done { position: fixed; inset: 0; z-index: 120; background: rgba(15,15,14,.6); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; animation: fade .4s; }
.done[hidden], .notice[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.done__card { position: relative; background: var(--paper); border-radius: 30px; padding: clamp(28px, 5vw, 56px); max-width: 640px; width: 100%; animation: rise .7s var(--ease); }
@keyframes rise { from { transform: translateY(60px) rotate(-3deg); opacity: 0; } }
.done__card .h2 { font-size: clamp(42px, 6vw, 72px); }
.done__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1020px) {
  .bk__grid { grid-template-columns: minmax(0, 1fr); }
  .ticket-col { position: static; order: -1; }
  .ticket { padding: 18px; }
  .ticket dd { font-size: 16px; }
  .assure { display: none; }
}
@media (max-width: 640px) {
  .bk__wrap { padding-top: 100px; }
  .bk__call { display: none; }
  .nav--solid .btn { padding: 10px 14px; }
  .nav--solid .btn span { font-size: 0; }
  .nav--solid .btn span::before { content: "← Site"; font-size: 14px; }
  .step legend { padding: 18px; font-size: 19px; gap: 10px; }
  .step__body { padding: 0 16px 20px; }
  .step__v { display: none; }
  .stylists, .fields { grid-template-columns: 1fr; }
  .bk__search { max-width: none; min-width: 0; }
  .dates-nav { display: none; }
}
