/* /reservar/ page styles (tokens come from /css/site.css). */
.flow-page [hidden] { display: none !important; }
.flowbar { padding-top: 14px; }
.flowbar-row { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.back { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 10px 0 4px; margin-left: -4px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-weight: 600; cursor: pointer; }
.back:hover { background: var(--bg-2); }
.back:focus-visible, .svc:focus-visible, .crumb:focus-visible, .check input:focus-visible, .btn:focus-visible, .linkish:focus-visible { outline: 3px solid var(--red-2); outline-offset: 2px; }
.stepno { margin: 0 0 0 auto; color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.segments { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 6px 0 0; padding: 0; }
.segments li { position: relative; padding-top: 10px; font-size: .72rem; font-weight: 700; color: var(--ink-3); text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.segments li::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 2px; background: var(--bg-3); }
.segments li.done::before { background: rgba(224,39,27,.55); }
.segments li.now::before { background: var(--red); }
.segments li.now { color: var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.crumbs[hidden] { display: none; }
.crumb { border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-2); border-radius: 999px; min-height: 32px; padding: 0 12px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.crumb:hover { color: var(--ink); border-color: var(--ink-3); }
.flow { padding: 20px 0 calc(60px + var(--safe-b)); max-width: 640px; }
.step h1 { margin-bottom: .25em; outline: none; }
.lede { margin-bottom: 18px; }
.boot { padding: 40px 0; }

/* step 1: the shop's price board */
.board { border-top: 2px solid var(--ink); margin-top: 8px; }
.svc { display: flex; align-items: baseline; gap: 10px; width: 100%; min-height: 62px; padding: 14px 6px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background .12s ease, padding .12s ease; }
.svc:hover { background: var(--bg-2); }
.svc-n { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.svc-lead { flex: 1 1 12px; min-width: 12px; border-bottom: 2px dotted var(--ink-3); transform: translateY(-.3em); opacity: .7; }
.svc-p { white-space: nowrap; color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.svc[aria-pressed=true] { box-shadow: inset 4px 0 0 var(--red); padding-left: 16px; background: var(--bg-2); }
.svc[aria-pressed=true] .svc-p { color: var(--ink); }
.have { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); }
.have a { color: var(--ink); font-weight: 700; }
.soonest { margin-top: 18px; }
.change-day { margin-top: 22px; }

/* step 4: form */
.opt { font-weight: 400; color: var(--ink-3); }
.help { margin: 0; font-size: .85rem; color: var(--ink-3); }
.err { margin: 0; font-size: .9rem; font-weight: 600; color: #ff8a80; }
[aria-invalid=true] { border-color: var(--red) !important; }
.tel { display: flex; align-items: stretch; }
.tel .cc { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--bg-3); color: var(--ink-2); font-weight: 700; }
.tel input { border-radius: 0 var(--radius) var(--radius) 0; }
.bike { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 2px; margin: 0 0 1em; }
.bike legend { padding: 0 6px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.bike-grid { display: grid; grid-template-columns: 1fr 1fr 86px; gap: 0 10px; }
.bike-grid .field { margin-bottom: .8em; }
.bike .err { margin: -.4em 0 .8em; }
@media (max-width: 380px) { .bike-grid { grid-template-columns: 1fr 1fr; } .bike-grid .year { grid-column: 1 / -1; max-width: 120px; } }

/* step 5 */
.terms { border-left: 4px solid var(--red); background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 16px; margin: 0 0 18px; }
.terms h2 { font-size: 1.35rem; margin-bottom: .5em; }
.terms ul { margin: 0 0 .8em; padding-left: 1.1em; display: grid; gap: .45em; }
.terms a { color: var(--ink); font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin: 0 0 6px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.check input { width: 24px; height: 24px; margin: 0; flex: 0 0 auto; accent-color: var(--red); }
.ts-box { margin: 14px 0; min-height: 65px; }
.pay { margin-top: 6px; font-size: 1.3rem; min-height: 56px; }
.center { text-align: center; margin-top: 10px; }
.linkish { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; font-weight: 700; cursor: pointer; }
#pay-alert, #slot-alert { margin-bottom: 14px; }
