/* Book Online - step pages (/book/...). Builds on the tokens in /index.css. */

body.book-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    color: var(--text-main);
}

/* ------------------------------------------------------------------
   Top bar
   ------------------------------------------------------------------ */
.book-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.book-topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.book-topbar-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.book-topbar-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.88rem;
    font-weight: 600;
}

.book-topbar-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.book-topbar-links a:hover {
    color: var(--primary-color);
}

/* ------------------------------------------------------------------
   Shell: purple journey panel + white work area
   ------------------------------------------------------------------ */
.book-shell {
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
}

.book-shell.solo {
    display: block;
    background:
        radial-gradient(circle at 8% 0%, rgba(142, 102, 222, 0.12), transparent 40%),
        radial-gradient(circle at 100% 10%, rgba(215, 198, 247, 0.35), transparent 38%),
        var(--bg-calm);
}

.book-aside {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 110% -10%, rgba(215, 198, 247, 0.35), transparent 45%),
        radial-gradient(circle at -20% 110%, rgba(142, 102, 222, 0.55), transparent 50%),
        linear-gradient(165deg, #3A2170 0%, #4A2E80 55%, #5B3A9C 100%);
}

/* Soft "lap" rings - a quiet nod to the logo mark */
.book-aside::before,
.book-aside::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    pointer-events: none;
}

.book-aside::before {
    width: 420px;
    height: 420px;
    right: -210px;
    bottom: -120px;
}

.book-aside::after {
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -40px;
}

.book-aside-inner {
    position: sticky;
    top: 61px;
    padding: 44px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    min-height: calc(100vh - 61px);
    box-sizing: border-box;
}

.book-aside-eyebrow {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent-soft);
    margin: 0 0 6px;
}

.book-aside-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #fff;
}

/* ------------------------------------------------------------------
   Step tracker - vertical in the panel, horizontal elsewhere
   ------------------------------------------------------------------ */
.book-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
}

.book-aside .book-stepper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.book-aside .book-stepper li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.book-aside .book-stepper li + li::before {
    content: '';
    position: absolute;
    left: 15px;
    top: -12px;
    height: 18px;
    width: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.18);
}

.book-aside .book-stepper li.done::before,
.book-aside .book-stepper li.active::before {
    background: var(--accent-soft);
}

.book-step-dot {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.book-aside .book-step-dot {
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.7);
}

.book-aside .book-stepper li.done {
    color: rgba(255, 255, 255, 0.85);
}

.book-aside .book-stepper li.done .book-step-dot {
    background: rgba(215, 198, 247, 0.22);
    border-color: var(--accent-soft);
    color: #fff;
}

.book-aside .book-stepper li.active {
    color: #fff;
}

.book-aside .book-stepper li.active .book-step-dot {
    background: #fff;
    border-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}

/* Horizontal tracker on the checkout page */
.book-shell.solo .book-stepper {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 640px;
    box-sizing: border-box;
    margin: 30px auto 0;
    padding: 0 24px;
}

.book-shell.solo .book-stepper li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
}

.book-shell.solo .book-stepper li + li::before {
    content: '';
    position: absolute;
    top: 15px;
    right: calc(50% + 22px);
    left: calc(-50% + 22px);
    height: 2px;
    border-radius: 2px;
    background: var(--border-light);
}

.book-shell.solo .book-stepper li.done::before,
.book-shell.solo .book-stepper li.active::before {
    background: var(--accent-color);
}

.book-shell.solo .book-step-dot {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    color: var(--text-light);
}

.book-shell.solo .book-stepper li.done {
    color: var(--text-muted);
}

.book-shell.solo .book-stepper li.done .book-step-dot {
    background: var(--bg-lavender);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.book-shell.solo .book-stepper li.active {
    color: var(--primary-color);
}

.book-shell.solo .book-stepper li.active .book-step-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(142, 102, 222, 0.18);
}

/* ------------------------------------------------------------------
   "Your booking" summary in the panel
   ------------------------------------------------------------------ */
.book-summary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.book-summary[hidden] {
    display: none;
}

.book-summary h2 {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin: 0 0 12px;
}

.book-summary dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.book-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.88rem;
}

.book-summary dt {
    color: rgba(255, 255, 255, 0.62);
    flex-shrink: 0;
}

.book-summary dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    color: #fff;
    overflow-wrap: anywhere;
}

.book-summary .book-summary-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.book-summary .book-summary-total dd {
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

/* ------------------------------------------------------------------
   Reassurance + help
   ------------------------------------------------------------------ */
.book-trust {
    list-style: none;
    margin: auto 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book-trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.book-trust svg {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    padding: 7px;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: var(--accent-soft);
}

.book-aside-help {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.book-aside-help a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ------------------------------------------------------------------
   Work area
   ------------------------------------------------------------------ */
.book-main {
    width: 100%;
    max-width: 620px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 52px 40px 72px;
}

.book-shell.solo .book-main {
    max-width: 640px;
    padding: 28px 24px 64px;
}

.book-shell.solo .book-main.wide {
    max-width: 1060px;
}

.book-card {
    background: transparent;
}

.book-shell.solo .book-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    padding: 34px;
}

.book-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 22px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
}

.book-back[hidden] {
    display: none;
}

.book-back:hover {
    color: var(--primary-color);
}

.book-back svg {
    width: 16px;
    height: 16px;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 10px;
}

.book-lead {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 30px;
}

.book-stack,
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.book-stack[hidden] {
    display: none;
}

.book-actions {
    margin-top: 8px;
}

.book-actions .btn,
.book-stack > .btn {
    width: 100%;
}

.book-help {
    margin-top: 22px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.book-help a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.book-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    border-radius: var(--radius-round);
    background: var(--success-light);
    color: #0E8F63;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.book-verified-chip[hidden] {
    display: none;
}

.book-verified-chip button {
    background: none;
    border: none;
    padding: 0 0 0 8px;
    border-left: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--text-muted);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.book-verified-chip button:hover {
    color: var(--primary-color);
}

.modal-cta-box[hidden] {
    display: none;
}

/* Fields keep the site's styles; make sure controls use the page font. */
.book-page button,
.book-page input,
.book-page select,
.book-page textarea {
    font-family: inherit;
}

.book-page select.phone-input-prefix {
    max-width: 170px;
}

/* ------------------------------------------------------------------
   Schedule: pick blocks
   ------------------------------------------------------------------ */
.pick-block {
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
}

.pick-block:first-of-type {
    border-top: none;
    padding-top: 0;
}

.pick-block[hidden] {
    display: none;
}

.pick-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 14px;
}

.pick-label .pick-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    background: var(--bg-lavender);
    color: var(--primary-color);
}

.pick-label small {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.option-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(74, 46, 128, 0.08);
}

.option-card[aria-checked="true"] {
    border-color: var(--primary-color);
    background: var(--bg-calm);
    box-shadow: 0 0 0 3px rgba(142, 102, 222, 0.16);
}

.option-card[aria-checked="true"]::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.option-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding-right: 18px;
}

.option-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.option-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.option-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--primary-color);
}

.option-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--bg-lavender);
    color: var(--primary-color);
}

.option-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.option-skeleton {
    height: 76px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, var(--bg-lavender) 0%, var(--bg-calm) 50%, var(--bg-lavender) 100%);
    background-size: 200% 100%;
    animation: book-shimmer 1.2s linear infinite;
}

@keyframes book-shimmer {
    to { background-position: -200% 0; }
}

/* Date strip */
.date-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.date-chip {
    flex: 0 0 auto;
    width: 66px;
    padding: 10px 0 12px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    scroll-snap-align: start;
    color: var(--text-main);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.date-chip:hover {
    border-color: var(--accent-color);
}

.date-chip .dow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.date-chip .dom {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.date-chip .mon {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.date-chip[aria-checked="true"] {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.date-chip[aria-checked="true"] .dow,
.date-chip[aria-checked="true"] .mon {
    color: rgba(255, 255, 255, 0.8);
}

/* Time slots, grouped */
.slot-group + .slot-group {
    margin-top: 18px;
}

.slot-group-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0 0 10px;
}

.slot-group-label svg {
    width: 15px;
    height: 15px;
    color: var(--accent-color);
}

.booking-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot-groups .booking-slots-empty,
.slot-groups .booking-slots-loading {
    margin: 0;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--bg-calm);
    border: 1px dashed var(--accent-soft);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.booking-slot {
    min-width: 92px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.booking-slot:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.booking-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.link-btn {
    background: none;
    border: none;
    padding: 0;
    margin-top: 12px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
}

/* Continue bar */
.step-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
}

.step-footer-summary {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.step-footer-summary strong {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-footer .btn {
    flex-shrink: 0;
    min-width: 180px;
}

.step-footer .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ------------------------------------------------------------------
   Checkout
   ------------------------------------------------------------------ */
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.review-section {
    padding: 18px 0;
    border-top: 1px solid var(--border-light);
}

.review-section:first-of-type {
    border-top: none;
    padding-top: 4px;
}

.review-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-section-head h2 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0;
}

.review-section-head a {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.review-session {
    display: flex;
    gap: 16px;
    align-items: center;
}

.review-date-tile {
    flex-shrink: 0;
    width: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}

.review-date-tile .month {
    display: block;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 0;
}

.review-date-tile .day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 4px 0 6px;
}

.review-session-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.review-session-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.review-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.review-list > div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
}

.review-list > div[hidden] {
    display: none;
}

.review-list dt {
    color: var(--text-light);
    font-weight: 600;
}

.review-list dd {
    margin: 0;
    color: var(--text-main);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.pay-card {
    position: sticky;
    top: 86px;
}

.pay-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px;
}

.pay-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.pay-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pay-line[hidden] {
    display: none;
}

.pay-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    margin-bottom: 20px;
    border-top: 1px dashed var(--accent-soft);
    font-weight: 700;
    color: var(--text-main);
}

.pay-total strong {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--primary-color);
}

.pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 12px;
}

.pay-methods span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--bg-lavender);
    border-radius: var(--radius-round);
    padding: 4px 10px;
}

.pay-note {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.pay-note svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--accent-color);
}

.pay-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-lavender);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.pay-consent input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.pay-consent a {
    color: var(--primary-color);
    font-weight: 700;
}

.pay-consent.needs-attention {
    outline: 2px solid #E5484D;
    outline-offset: 2px;
}

/* ------------------------------------------------------------------
   Confirmation
   ------------------------------------------------------------------ */
.result-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--bg-lavender);
    color: var(--primary-color);
}

.result-icon.success {
    background: var(--success-light);
    color: var(--success-color);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.07);
}

.result-icon.warn {
    background: #FFF4E5;
    color: #C77700;
}

.result-icon svg {
    width: 32px;
    height: 32px;
}

.result-summary {
    background: var(--bg-calm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin: 4px 0 24px;
}

.result-summary[hidden] {
    display: none;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.result-actions .btn {
    flex: 1;
    min-width: 180px;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 960px) {
    .book-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }

    .book-aside-inner {
        position: static;
        min-height: 0;
        padding: 14px 20px;
        gap: 0;
    }

    .book-aside-intro,
    .book-summary,
    .book-trust,
    .book-aside-help,
    .book-aside::before,
    .book-aside::after {
        display: none;
    }

    /* The panel becomes a slim progress bar: numbered dots + the current step's name */
    .book-aside .book-stepper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .book-aside .book-stepper li {
        padding: 0;
        gap: 0;
        font-size: 0;
    }

    .book-aside .book-stepper li.active {
        gap: 8px;
        font-size: 0.85rem;
    }

    .book-aside .book-stepper li + li::before {
        display: none;
    }

    .book-aside .book-step-dot {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .book-main {
        padding: 28px 20px 120px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .pay-card {
        position: static;
    }

    /* Continue bar sticks to the bottom of the screen on phones */
    .step-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 15;
        margin: 0;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(8px);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 -8px 24px rgba(74, 46, 128, 0.08);
    }

    .step-footer .btn {
        min-width: 130px;
    }
}

@media (max-width: 560px) {
    .book-topbar-inner {
        padding: 10px 16px;
    }

    .book-topbar-logo img {
        height: 30px;
    }

    .book-topbar-links {
        gap: 14px;
    }

    .book-topbar-links .hide-sm {
        display: none;
    }

    .book-title {
        font-size: 1.55rem;
    }

    .book-lead {
        margin-bottom: 24px;
    }

    .book-shell.solo .book-stepper li {
        font-size: 0;
        gap: 0;
    }

    .book-shell.solo .book-step-dot {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .book-shell.solo .book-stepper li + li::before {
        top: 13px;
        right: calc(50% + 18px);
        left: calc(-50% + 18px);
    }

    .book-shell.solo .book-main {
        padding: 20px 16px 48px;
    }

    .book-shell.solo .book-card {
        padding: 24px 20px;
        border-radius: var(--radius-md);
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .booking-slot {
        min-width: 0;
        flex: 1 1 calc(33.333% - 8px);
        padding: 11px 6px;
    }
}

/* The WhatsApp line lives in the side panel on desktop; show it under the form on phones. */
.book-shell:not(.solo) .book-help {
    display: none;
}

@media (max-width: 960px) {
    .book-shell:not(.solo) .book-help {
        display: block;
    }
}

/* ------------------------------------------------------------------
   Slot holds
   ------------------------------------------------------------------ */
.booking-slot.holding {
    opacity: 0.7;
    cursor: progress;
}

.hold-inline {
    display: inline-block;
    margin-right: 4px;
    padding: 1px 8px;
    border-radius: var(--radius-round);
    background: var(--success-light);
    color: #0E8F63;
    font-size: 0.74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hold-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--success-light);
    color: #0E6B4B;
    font-size: 0.88rem;
}

.hold-banner strong {
    color: #0B5A3F;
}

.hold-clock {
    margin-left: auto;
    font-family: var(--font-heading);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hold-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    animation: hold-pulse 1.6s ease-in-out infinite;
}

.hold-banner.ended {
    background: #FFF4E5;
    color: #8A5300;
}

.hold-banner.ended .hold-dot {
    background: #C77700;
    box-shadow: none;
    animation: none;
}

@keyframes hold-pulse {
    50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.05); }
}

/* ------------------------------------------------------------------
   Therapist + session options
   ------------------------------------------------------------------ */
.option-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.option-tags span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--bg-lavender);
    border-radius: var(--radius-round);
    padding: 2px 9px;
}

.option-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.option-card.unavailable,
.option-card:disabled,
.session-type-card.unavailable,
.session-type-card:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border-color: var(--border-light);
    background: var(--bg-calm);
}

.therapist-note a {
    color: var(--primary-color);
    font-weight: 700;
}

.book-lead a {
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

/* ------------------------------------------------------------------
   My account
   ------------------------------------------------------------------ */
.account-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.account-head .book-lead {
    margin-bottom: 0;
}

.account-actions {
    display: flex;
    gap: 8px;
}

.account-actions .btn {
    padding: 10px 20px;
    font-size: 0.88rem;
}

.account-credits {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
}

.account-credits[hidden] {
    display: none;
}

.account-credits-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.account-credits-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.account-credits-text strong {
    font-size: 1rem;
    color: #fff;
}

.account-tabs {
    display: flex;
    gap: 8px;
    margin: 28px 0 16px;
}

.account-tabs[hidden] {
    display: none;
}

.account-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-round);
    border: 1.5px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
}

.account-tabs button[aria-selected="true"] {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.account-tabs .count {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: var(--radius-round);
    background: var(--bg-lavender);
    color: var(--primary-color);
    font-size: 0.72rem;
    text-align: center;
}

.account-tabs button[aria-selected="true"] .count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.account-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-session {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
}

.account-date {
    flex-shrink: 0;
    width: 68px;
    padding: 8px 0;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account-date .month {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.account-date .day {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-main);
}

.account-date .dow {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.account-session-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-top: 4px;
}

.account-session-main strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-main);
}

.account-meta {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.account-meta .dot {
    margin: 0 6px;
}

.account-amount {
    font-weight: 700;
    color: var(--text-main);
}

.account-badge {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-round);
    padding: 4px 10px;
    background: var(--success-light);
    color: #0E8F63;
}

.account-badge.done {
    background: var(--bg-lavender);
    color: var(--primary-color);
}

.account-badge.muted {
    background: #F1F1F3;
    color: var(--text-muted);
}

.account-empty {
    padding: 22px;
    border-radius: var(--radius-md);
    background: var(--bg-calm);
    border: 1px dashed var(--accent-soft);
    color: var(--text-muted);
    text-align: center;
}

.account-empty a {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 560px) {
    .account-session {
        position: relative;
        padding-top: 40px;
    }

    .account-badge {
        position: absolute;
        top: 12px;
        right: 12px;
    }
}

/* Log-in mode of /book/ (from the "Log In" menu link): no booking steps */
.login-mode .book-stepper,
.login-mode .book-summary {
    display: none;
}

.account-wallet + .account-credits {
    margin-top: 12px;
}

.account-wallet .account-credits-num {
    font-size: 1.8rem;
}

/* Plan page: Packages | Single session */
.plan-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 4px 0 18px;
    border-radius: var(--radius-round);
    background: var(--bg-calm);
    border: 1px solid var(--border-light);
}

.plan-tabs[hidden] {
    display: none;
}

.plan-tabs button {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 9px 20px;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.plan-tabs button.active {
    background: var(--bg-white);
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(30, 20, 60, 0.1);
}

.plan-list {
    margin-bottom: 8px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.plan-price s {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Verify page when already logged in: skip the number form */
.otp-continuing {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-calm);
    color: var(--text-main);
    font-weight: 500;
}

.auth-skip .otp-continuing {
    display: flex;
}

.auth-skip #otp-phone-step,
.auth-skip #otp-code-step,
.auth-skip .book-lead {
    display: none !important;
}

.otp-spinner {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    border-top-color: var(--primary-color);
    animation: otp-spin 0.8s linear infinite;
}

@keyframes otp-spin {
    to { transform: rotate(360deg); }
}

#credit-banner + .plan-tabs[hidden] + .plan-list,
#credit-banner + .plan-tabs + .plan-list {
    margin-top: 16px;
}
