/* Shared booking appearance for every website theme. Structure and behavior stay independent. */
body.aioness-booking-flow {
    --dp-ink: #141513;
    --dp-muted: #65665f;
    --dp-line: #d7d8d0;
    --dp-surface: #fff;
    --dp-page: var(--booking-background-color, #f5f5f0);
    --dp-soft: var(--booking-soft-color, #e9e9e4);
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--dp-page);
    color: var(--dp-ink);
    font-family: var(--booking-font, 'Onest', sans-serif);
}
html[data-theme="dark"] body.aioness-booking-flow {
    --dp-ink: #f6f6ef;
    --dp-muted: #a7a89e;
    --dp-line: #363831;
    --dp-surface: var(--theme-dark-surface);
    --dp-page: var(--theme-dark-page);
    --dp-soft: var(--theme-dark-surface-soft);
}
/* Focused full-screen booking route, independent of the company website layout. */
body.aioness-booking-flow > main { flex: 1; }
.aioness-booking-flow *, .aioness-booking-flow *::before, .aioness-booking-flow *::after { box-sizing: border-box; }
.abf-flow-control { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--dp-line); border-radius: 50%; color: var(--dp-ink); background: var(--dp-surface); text-decoration: none; }
.abf-flow-control:hover { background: var(--dp-soft); border-color: var(--brand); }
.abf-flow-control svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.abf-flow-note { margin-left: auto; color: var(--dp-muted); font-size: 12px; }
.abf-flow-header :focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.abf-shell { max-width: 1440px; margin: 0 auto; padding: 34px 16px 24px; }
.abf-shell *, .abf-shell *::before, .abf-shell *::after { box-sizing: border-box; }
.abf-shell [hidden] { display: none !important; }
.abf-shell button, .abf-shell input, .abf-shell select { font: inherit; }
.abf-shell svg { width: 19px; height: 19px; flex: 0 0 auto; }
.abf-shell svg.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.abf-shell a { text-decoration: none; }
.abf-shell :is(button, a, input, select, summary):focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.abf-intro { margin-bottom: 30px; }
.abf-intro h1 { margin: 12px 0 12px; color: var(--dp-ink); font-size: clamp(29px, 3vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.abf-intro > p:last-child { margin: 0; max-width: 720px; color: var(--dp-muted); font-size: 14px; line-height: 1.6; }
.abf-eyebrow { margin: 0; font-size: 12px; font-weight: 600; color: var(--brand-readable); }
.abf-back { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--dp-muted); }
.abf-back:hover, .abf-edit:hover { text-decoration: underline; }
.abf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 32px; align-items: start; }
.abf-main { min-width: 0; }
.abf-service-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.abf-category { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; background: var(--dp-soft); color: var(--brand-readable); font-size: 13px; font-weight: 600; white-space: nowrap; }
.abf-category > span { font-size: 11px; opacity: .75; }
.abf-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--dp-line); border-radius: 12px; padding: 0 12px; background: var(--dp-surface); color: var(--dp-muted); max-width: 250px; min-width: 0; }
.abf-search input { width: 100%; min-width: 0; height: 42px; border: 0; color: var(--dp-ink); background: transparent; font-size: 13px; outline-offset: 0; }
.abf-service-list { display: grid; gap: 10px; }
.abf-service { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; align-items: center; gap: 18px; min-height: 112px; border: 1px solid var(--dp-line); border-radius: 16px; padding: 20px; background: var(--dp-surface); cursor: pointer; transition: border-color .15s, background-color .15s; }
.abf-service:hover { border-color: var(--brand); }
.abf-service input, .abf-slot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.abf-service:has(input:focus-visible), .abf-slot:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.abf-service:has(input:checked) { border-color: var(--brand); background: var(--dp-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.abf-service-copy { display: grid; gap: 6px; }
.abf-service-copy > strong { font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--dp-ink); }
.abf-duration { display: flex; align-items: center; gap: 5px; color: var(--dp-muted); font-size: 12px; }
.abf-duration svg { width: 13px; height: 13px; }
.abf-description { color: var(--dp-muted); font-size: 12px; line-height: 1.5; }
.abf-service-price { color: var(--dp-ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.abf-choice { width: 32px; height: 32px; display: grid; place-items: center; color: var(--brand-readable); background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: 50%; }
.abf-plus { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.abf-check { display: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.abf-service:has(input:checked) .abf-choice { background: var(--brand-action); border-color: var(--brand-action); color: #fff; }
.abf-service:has(input:checked) .abf-check { display: block; }
.abf-service:has(input:checked) .abf-plus { display: none; }
.abf-summary { position: sticky; top: 102px; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: 20px; overflow: hidden; }
.abf-company { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--dp-line); }
.abf-company-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; background: var(--dp-soft); color: var(--brand-readable); font-size: 16px; font-weight: 700; }
.abf-company > div { display: grid; gap: 5px; min-width: 0; }
.abf-company strong { font-size: 16px; color: var(--dp-ink); }
.abf-company div > span { font-size: 12px; line-height: 1.5; color: var(--dp-muted); }
.abf-summary-content { padding: 16px 20px; min-height: 0; }
.abf-summary { display: flex; flex-direction: column; }
.abf-summary.is-tall { position: static; }
.abf-company, .abf-summary-bottom { flex-shrink: 0; }
.abf-summary-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; }
.abf-summary-caption > span { color: var(--dp-muted); white-space: nowrap; font-size: 11px; }
.abf-summary-items { display: grid; gap: 14px; padding: 14px 0; border-top: 1px solid var(--dp-line); }
.abf-summary-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.abf-summary-item > div { display: grid; gap: 3px; min-width: 0; }
.abf-summary-item strong { font-size: 12px; font-weight: 600; line-height: 1.4; }
.abf-summary-item > strong { align-self: center; flex-shrink: 0; color: var(--brand-readable); white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; }
.abf-summary-item span { color: var(--dp-muted); font-size: 10px; }
.abf-summary-section { display: grid; gap: 4px; border-top: 1px solid var(--dp-line); margin-top: 14px; padding-top: 12px; }
[data-summary-services]:not([hidden]) + .abf-summary-section { margin-top: 0; }
.abf-summary-section > strong { font-size: 13px; font-weight: 600; line-height: 1.5; }
.abf-summary-section .abf-summary-label { margin-bottom: 2px; }
.abf-summary-section .abf-edit, .abf-summary-section .abf-summary-meta { margin-top: 0; }
.abf-summary-label { display: block; margin: 0 0 8px; font-size: 11px; color: var(--dp-muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.abf-summary-empty { margin: 0; color: var(--dp-muted); font-size: 14px; line-height: 1.6; }
.abf-summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.5; }
.abf-summary-line strong { font-weight: 600; }
.abf-summary-line > strong:last-child { white-space: nowrap; }
.abf-summary-meta { display: block; margin-top: 6px; color: var(--dp-muted); font-size: 12px; line-height: 1.5; }
.abf-edit { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--brand-readable); }
.abf-summary-time { border-top: 1px solid var(--dp-line); margin-top: 22px; padding-top: 20px; }
.abf-summary-time > strong { font-size: 13px; line-height: 1.5; display: block; font-weight: 600; }
.abf-summary-bottom { border-top: 1px solid var(--dp-line); padding: 16px 20px; }
.abf-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 16px; }
.abf-total > strong { color: var(--brand-readable); font-size: 20px; }
.abf-summary-bottom > .abf-button { min-height: 44px; margin-top: 14px; padding: 10px 14px; }
.abf-summary .abf-booking-note { margin-top: 8px; font-size: 10px; }
.abf-summary .abf-edit { margin-top: 8px; font-size: 11px; }
.abf-summary-section .abf-edit { margin-top: 0; }
.abf-summary-services-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.abf-summary .abf-summary-services-heading > * { margin: 0; }
.abf-button { width: 100%; border: 1px solid var(--brand-action); border-radius: 12px; min-height: 48px; padding: 12px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: #fff; background: var(--brand-action); font-size: 14px; font-weight: 600; cursor: pointer; }
.abf-button:hover:not(:disabled) { background: var(--brand-action-hover); }
.abf-button:disabled { background: var(--dp-line); border-color: var(--dp-line); color: var(--dp-muted); cursor: not-allowed; }
.abf-booking-note { display: block; margin-top: 12px; text-align: center; color: var(--dp-muted); font-size: 11px; }
/* Employee selection is shown only when the demo has employee profiles. */
.abf-staff-list { display: grid; gap: 14px; }
.abf-staff-choice { display: flex; align-items: center; gap: 18px; position: relative; padding: 24px; min-height: 112px; border: 1px solid var(--dp-line); border-radius: 18px; background: var(--dp-surface); cursor: pointer; }
.abf-staff-choice > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.abf-staff-choice:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--dp-soft); }
.abf-staff-choice:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 4px; }
.abf-staff-avatar { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; color: var(--brand-readable); background: var(--dp-soft); font-size: 19px; font-weight: 600; overflow: hidden; }
.abf-staff-avatar svg { width: 26px; height: 26px; }
.abf-staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.abf-staff-copy { display: grid; gap: 8px; min-width: 0; }
.abf-staff-copy strong { font-size: 17px; line-height: 1.4; }
.abf-staff-copy > span { font-size: 13px; color: var(--dp-muted); line-height: 1.5; }
.abf-staff-pick { margin-left: auto; padding: 10px 16px; border: 1px solid var(--dp-line); border-radius: 999px; background: var(--dp-surface); font-size: 13px; white-space: nowrap; }
.abf-staff-pick > span:last-child { display: none; }
.abf-staff-choice:has(input:checked) .abf-staff-pick { border-color: var(--brand-action); background: var(--brand-action); color: #fff; }
.abf-staff-choice:has(input:checked) .abf-staff-pick > span:first-child { display: none; }
.abf-staff-choice:has(input:checked) .abf-staff-pick > span:last-child { display: flex; align-items: center; gap: 6px; }
.abf-selected-person { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.abf-selected-person .abf-staff-avatar { width: 40px; height: 40px; flex-basis: 40px; }
.abf-selected-person .abf-staff-avatar svg { width: 20px; height: 20px; }
.abf-selected-person > div { display: grid; gap: 4px; }
.abf-selected-person small { color: var(--dp-muted); font-size: 11px; }
.abf-selected-person strong { font-size: 14px; }
.abf-selected-person > a { margin-left: auto; color: var(--brand-readable); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.abf-date-toolbar { scroll-margin-top: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.abf-date-toolbar h2 { margin: 0; font-size: 17px; font-weight: 600; }
.abf-view-switch { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--dp-line); border-radius: 12px; background: var(--dp-soft); }
.abf-view-switch a { padding: 8px 13px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--dp-muted); }
.abf-view-switch a[aria-current] { background: var(--dp-surface); color: var(--brand-readable); box-shadow: 0 1px 4px #0000000d; }
.abf-date-time { display: grid; grid-template-columns: minmax(310px, 1.1fr) minmax(250px, 1fr); gap: 24px; align-items: start; }
.abf-date-time[data-calendar-mode="days"] { grid-template-columns: 1fr; }
.abf-dates { min-width: 0; }
.abf-times { min-width: 0; }
.abf-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.abf-section-heading h2 { margin: 0; color: var(--dp-ink); font-size: 19px; font-weight: 600; line-height: 1.3; }
.abf-section-heading p { margin: 7px 0 0; color: var(--dp-muted); font-size: 13px; }
.abf-date-controls { display: flex; gap: 8px; }
.abf-round { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--dp-line); border-radius: 50%; background: var(--dp-surface); color: var(--dp-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.abf-round:disabled { opacity: .35; cursor: default; }
.abf-date-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 7); gap: 10px; overflow-x: auto; padding: 3px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--dp-line) transparent; }
.abf-date { scroll-snap-align: start; min-width: 0; min-height: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--dp-line); border-radius: 14px; background: var(--dp-surface); color: var(--dp-ink); font-size: 12px; line-height: 1.3; }
.abf-date > strong { font-size: 27px; font-weight: 600; margin: 3px 0; }
.abf-date > small { color: var(--brand-readable); margin-top: 5px; font-size: 9px; white-space: nowrap; }
.abf-date.is-selected { border-color: var(--brand-action); background: var(--brand-action); color: #fff; }
.abf-date.is-selected > small { color: #fff; }
.abf-date.is-unavailable:not(.is-selected) { background: transparent; color: var(--dp-muted); border-style: dashed; }
.abf-date.is-unavailable:not(.is-selected) small { color: var(--dp-muted); }
.abf-date:not(.is-unavailable):hover { border-color: var(--brand); }
.abf-month-panel { padding: 20px; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: 18px; }
.abf-month-head { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; text-align: center; gap: 8px; margin-bottom: 18px; font-size: 15px; }
.abf-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.abf-weekday { text-align: center; font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--dp-muted); padding: 5px 0 10px; }
.abf-month-day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--dp-line); border-radius: 10px; color: var(--dp-ink); font-size: 14px; line-height: 1; }
a.abf-month-day:hover { background: var(--dp-soft); }
.abf-month-day > span { color: var(--brand-readable); font-size: 10px; margin-top: 3px; }
.abf-month-day.is-selected, a.abf-month-day.is-selected:hover { border-color: var(--brand-action); color: #fff; background: var(--brand-action); }
.abf-month-day.is-selected > span { color: #fff; }
.abf-month-day.is-unavailable:not(.is-selected) { color: var(--dp-muted); opacity: .45; }
.abf-month-day.is-other-month { opacity: .5; }
.abf-month-panel > p { margin: 14px 0 0; font-size: 11px; color: var(--dp-muted); }
.abf-times { padding-top: 3px; }
.abf-times .abf-section-heading { align-items: start; gap: 8px; }
.abf-times h2 { font-size: 17px; }
.abf-times .abf-section-heading p { font-size: 12px; line-height: 1.5; }
.abf-count { color: var(--dp-muted); font-size: 12px; white-space: nowrap; }
.abf-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
@media(min-width: 761px) { .abf-date-time[data-calendar-mode="days"] .abf-slots { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.abf-slot { position: relative; cursor: pointer; }
.abf-slot > span { display: grid; place-items: center; min-height: 47px; border: 1px solid var(--dp-line); border-radius: 11px; background: var(--dp-surface); color: var(--dp-ink); font-size: 15px; font-weight: 600; }
.abf-slot:hover > span { border-color: var(--brand); }
.abf-slot:has(input:checked) > span { border-color: var(--brand-action); background: var(--brand-action); color: #fff; }
.abf-preferred { padding: 22px; border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--dp-line)); border-top: 3px solid var(--brand); border-radius: 18px; background: linear-gradient(125deg, var(--dp-soft), var(--dp-surface)); margin: 28px 0 0; }
.abf-preferred-heading { display: flex; align-items: center; gap: 14px; list-style: none; cursor: pointer; }
.abf-preferred-heading::-webkit-details-marker { display: none; }
.abf-preferred-copy { flex: 1; min-width: 0; }
.abf-preferred-toggle { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; margin-left: auto; flex-shrink: 0; color: var(--brand-readable); font-size: 13px; font-weight: 600; white-space: nowrap; }
.abf-preferred-toggle > span { text-decoration: underline; text-underline-offset: 4px; }
.abf-preferred-toggle svg { width: 16px; height: 16px; transition: transform .18s ease; }
.abf-preferred-hide, .abf-preferred[open] .abf-preferred-show { display: none; }
.abf-preferred[open] .abf-preferred-hide { display: inline; }
.abf-preferred[open] .abf-preferred-toggle svg { transform: rotate(180deg); }
.abf-preferred[open] .abf-preferred-content { animation: abf-preferred-reveal .18s ease-out; }
@keyframes abf-preferred-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media(prefers-reduced-motion: reduce) { .abf-preferred[open] .abf-preferred-content { animation: none; } .abf-preferred-toggle svg { transition: none; } }
.abf-preferred-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--dp-line); background: var(--dp-surface); color: var(--brand-readable); }
.abf-preferred-icon svg { width: 23px; height: 23px; }
.abf-preferred h2 { margin: 0; font-size: 17px; line-height: 1.4; }
.abf-preferred p { margin: 5px 0 0; color: var(--dp-muted); font-size: 12px; line-height: 1.5; }
.abf-preferred form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; margin-top: 16px; }
.abf-preferred label { display: grid; gap: 7px; font-size: 12px; color: var(--dp-muted); }
.abf-preferred input { width: 100%; min-width: 0; height: 48px; border: 1px solid var(--dp-line); border-radius: 12px; padding: 10px 14px; background: var(--dp-surface); color: var(--dp-ink); color-scheme: light; font-size: 18px; }
html[data-theme="dark"] .abf-preferred input { color-scheme: dark; }
.abf-preferred .abf-search-result { margin-top: 14px; color: var(--brand-readable); }
.abf-secondary { min-height: 42px; padding: 10px 12px; border: 1px solid var(--dp-line); border-radius: 10px; color: var(--brand-readable); background: var(--dp-surface); font-size: 12px; cursor: pointer; }
.abf-confirm { padding: 24px; border: 1px solid var(--dp-line); border-radius: 18px; background: var(--dp-surface); display: grid; gap: 24px; }
.abf-confirm-heading { display: flex; gap: 12px; align-items: center; }
.abf-confirm h2 { margin: 0; font-size: 18px; color: var(--dp-ink); }
.abf-confirm-heading p { margin: 7px 0 0; color: var(--dp-muted); font-size: 12px; line-height: 1.5; }
.abf-confirm label { display: grid; gap: 9px; font-size: 12px; color: var(--dp-muted); }
.abf-confirm input:not([type="checkbox"]) { width: 100%; min-width: 0; border: 1px solid var(--dp-line); border-radius: 10px; background: var(--dp-page); padding: 13px; color: var(--dp-ink); font-size: 14px; }
.abf-contact-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.abf-confirm .abf-consent { display: flex; gap: 10px; align-items: start; color: var(--dp-ink); font-size: 13px; line-height: 1.6; }
.abf-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--brand-action); }
.abf-safe-note { display: flex; align-items: start; gap: 9px; margin: 0; color: var(--dp-muted); font-size: 12px; line-height: 1.6; }
.abf-notice, .abf-empty { padding: 18px; border-radius: 12px; background: var(--dp-soft); font-size: 13px; line-height: 1.6; color: var(--dp-ink); }
.abf-notice a { display: block; margin-top: 9px; color: var(--brand-readable); font-weight: 600; }
.abf-notice--error { color: #a12636; background: #fff0f2; }
.abf-footnote { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--dp-line); font-size: 11px; color: var(--dp-muted); }
.abf-footnote a { color: var(--dp-muted); }
.abf-mobile-action { display: none; }
.abf-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(max-width: 1120px) {
    .abf-date-time { grid-template-columns: 1fr; }
    .abf-month-panel { max-width: 480px; }
    .abf-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) 290px; }
    .abf-date-strip { grid-auto-columns: calc((100% - 40px) / 5); }
    .abf-service { gap: 12px; padding: 16px; }
    .abf-description { grid-column: 1 / -1; }
}
@media(max-width: 760px) {
    .abf-flow-note { display: none; }
    .abf-date-toolbar { scroll-margin-top: 82px; }
    .abf-date-toolbar h2 { font-size: 16px; }
    .abf-view-switch a { padding: 8px 12px; }
    .abf-month-panel { padding: 16px; max-width: none; }
    .abf-month-day { min-height: 44px; }
    .abf-shell { padding: 26px 18px 110px; }
    .abf-intro { margin-bottom: 26px; }
    .abf-intro h1 { font-size: 29px; margin-block: 12px; }
    .abf-intro > p:last-child { font-size: 13px; }
    .abf-layout { grid-template-columns: 1fr; }
    .abf-service-tools { gap: 10px; flex-wrap: wrap; }
    .abf-category { padding: 9px 12px; font-size: 12px; }
    .abf-search { flex: 1; min-width: 135px; max-width: none; }
    .abf-search input { font-size: 12px; }
    .abf-service { grid-template-columns: minmax(0, 1fr) 30px; align-items: start; column-gap: 10px; row-gap: 10px; min-height: 0; padding: 17px; }
    .abf-service-copy { grid-row: 1; grid-column: 1; }
    .abf-service-copy > strong { font-size: 15px; }
    .abf-service-price { grid-row: 2; grid-column: 1; font-size: 14px; }
    .abf-choice { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 30px; height: 30px; }
    .abf-summary { position: static; display: none; max-height: none; }
    [data-step="details"] .abf-summary { display: block; grid-row: 1; }
    [data-step="details"] .abf-summary-bottom { display: none; }
    .abf-staff-choice { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; padding: 18px 14px; gap: 14px 12px; }
    .abf-staff-avatar { width: 46px; height: 46px; flex-basis: 46px; font-size: 16px; }
    .abf-staff-choice > .abf-staff-avatar { grid-column: 1; grid-row: 1; }
    .abf-staff-copy { grid-column: 2; grid-row: 1; }
    .abf-staff-copy strong { font-size: 15px; }
    .abf-staff-copy > span { font-size: 12px; }
    .abf-staff-pick { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: center; min-height: 40px; margin: 0; padding: 8px 12px; }
    .abf-preferred { padding: 18px; }
    .abf-preferred-heading { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; }
    .abf-preferred-toggle { grid-column: 2; justify-self: end; margin-top: 3px; }
    .abf-preferred-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
    .abf-preferred h2 { font-size: 16px; }
    .abf-preferred form { grid-template-columns: 1fr; gap: 12px; }
    .abf-preferred .abf-button { width: 100%; }
    .abf-date-strip { grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; }
    .abf-date { min-height: 116px; }
    .abf-date > strong { font-size: 25px; }
    .abf-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .abf-mobile-action { position: fixed; z-index: 80; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 18px max(14px, env(safe-area-inset-bottom)); background: var(--dp-surface); border-top: 1px solid var(--dp-line); box-shadow: 0 -6px 24px #00000006; }
    .abf-mobile-action > div { min-width: 0; display: grid; gap: 5px; }
    .abf-mobile-action > div > strong { font-size: 16px; color: var(--dp-ink); }
    .abf-mobile-action > div > span { color: var(--dp-muted); font-size: 11px; }
    .abf-mobile-action .abf-button { width: auto; min-width: 130px; }
    .abf-confirm { padding: 20px; }
    .abf-contact-row { grid-template-columns: 1fr; gap: 20px; }
    .abf-confirm-heading { align-items: start; }
    .abf-confirm-heading h2 { font-size: 16px; }
    .abf-footnote { flex-direction: row; align-items: center; gap: 10px; margin-top: 32px; }
    .abf-footnote a { flex: 1; min-width: 0; }
    .abf-footnote a:last-child { text-align: right; }
}
.abf-complete { max-width: 720px; padding-top: 48px; }
.abf-complete .abf-intro { text-align: center; }
.abf-success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; color: var(--brand-readable); background: var(--dp-soft); }
.abf-success-icon svg { width: 32px; height: 32px; }
.abf-receipt { padding: 28px; border: 1px solid var(--dp-line); border-radius: 20px; background: var(--dp-surface); }
.abf-receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--dp-line); padding-top: 20px; margin-top: 20px; font-size: 13px; color: var(--dp-muted); }
.abf-receipt-total strong { font-size: 20px; color: var(--brand-readable); white-space: nowrap; }
.abf-receipt dl { display: grid; gap: 20px; padding: 24px 0; margin: 24px 0; border-block: 1px solid var(--dp-line); }
.abf-receipt dl > div { display: grid; gap: 6px; }
.abf-receipt dt { color: var(--dp-muted); font-size: 12px; }
.abf-receipt dd { margin: 0; font-size: 14px; font-weight: 600; }
.abf-receipt-return { display: block; margin-top: 20px; color: var(--brand-readable); text-align: center; font-size: 13px; }
@media(prefers-reduced-motion: reduce) { .abf-service { transition: none; } }

/* Demo booking identity, scroll context and reversible exit confirmation. */
.abf-business-brand { display: flex; align-items: center; min-width: 0; color: var(--brand-readable); text-decoration: none; font-size: 23px; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.abf-business-brand span { white-space: nowrap; }
.abf-step-bar { position: fixed; z-index: 85; top: var(--abf-header-height, 67px); left: 0; right: 0; height: 48px; visibility: hidden; opacity: 0; transform: translateY(-100%); pointer-events: none; background: var(--dp-surface); border-bottom: 1px solid var(--dp-line); box-shadow: 0 5px 16px #101c3406; transition: transform .18s ease, opacity .18s ease, visibility .18s; }
.abf-step-bar > div { max-width: 1440px; margin: 0 auto; height: 100%; padding: 0 16px; display: flex; align-items: center; color: var(--dp-ink); font-size: 17px; font-weight: 600; }
.abf-is-scrolled .abf-step-bar { visibility: visible; opacity: 1; transform: translateY(0); }
.abf-summary { top: calc(var(--abf-header-height, 67px) + 16px); }
.abf-is-scrolled .abf-summary { top: calc(var(--abf-header-height, 67px) + 64px); }
.abf-date-toolbar { scroll-margin-top: calc(var(--abf-header-height, 67px) + 66px); }
html:has(.abf-exit-dialog[open]) { overflow: hidden; }
.abf-exit-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px; border: 1px solid var(--dp-line); border-radius: 24px; color: var(--dp-ink); background: var(--dp-surface); box-shadow: 0 24px 80px #101c3433; }
.abf-exit-dialog::backdrop { background: #101c3466; backdrop-filter: blur(3px); }
.abf-exit-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 20px; border-radius: 16px; background: var(--dp-soft); color: var(--brand-readable); }
.abf-exit-symbol svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.abf-exit-dialog h2 { margin: 0; font-size: 25px; line-height: 1.25; letter-spacing: -.03em; }
.abf-exit-dialog p { margin: 14px 0 24px; color: var(--dp-muted); font-size: 14px; line-height: 1.6; }
.abf-exit-actions { display: grid; gap: 10px; }
.abf-exit-actions button { font-family: inherit; }
.abf-exit-actions .abf-button--secondary { background: var(--dp-surface); color: var(--dp-ink); border-color: var(--dp-line); }
.abf-exit-actions .abf-button--secondary:hover { background: var(--dp-soft); border-color: var(--brand); }
.abf-exit-actions :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media(max-width: 1000px) { .abf-flow-note { display: none; } }
@media(max-width: 760px) {
    .abf-flow-control { width: 36px; height: 36px; flex-basis: 36px; }
    .abf-business-brand { font-size: 17px; }
    .abf-step-bar { height: 44px; }
    .abf-step-bar > div { padding-inline: 18px; font-size: 15px; }
    .abf-exit-dialog { padding: 24px; }
    .abf-exit-dialog h2 { font-size: 23px; }
}
@media(max-width: 380px) {
    .abf-business-brand { font-size: 15px; }
}
@media(prefers-reduced-motion: reduce) { .abf-step-bar { transition: none; } }

/* Category navigation follows the service list without changing the selection. */
.abf-catalog-count { color: var(--dp-muted); font-size: 13px; font-weight: 500; }
.abf-catalog-nav { position: sticky; top: calc(var(--abf-header-height, 67px) + 48px); z-index: 84; display: flex; align-items: center; gap: 10px; padding: 12px 0; margin-bottom: 22px; background: var(--dp-page); border-bottom: 1px solid var(--dp-line); }
.abf-category-strip { display: flex; gap: 8px; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: 2px; padding: 3px 2px; }
.abf-category-strip::-webkit-scrollbar { display: none; }
.abf-category-strip .abf-category { flex: 0 0 auto; background: var(--dp-surface); color: var(--dp-ink); border: 1px solid var(--dp-line); font-weight: 500; }
.abf-category-strip .abf-category:hover { border-color: var(--brand); }
.abf-category-strip .abf-category[aria-current] { border-color: var(--brand-action); background: var(--brand-action); color: #fff; }
.abf-category-menu { flex: 0 0 42px; }
.abf-category-menu summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--dp-line); border-radius: 50%; background: var(--dp-surface); color: var(--dp-ink); cursor: pointer; box-shadow: 0 3px 10px #101c3410; }
.abf-category-menu summary::-webkit-details-marker { display: none; }
.abf-category-menu[open] summary { border-color: var(--brand); color: var(--brand-readable); }
.abf-category-menu-items { position: absolute; right: 0; top: calc(100% + 6px); width: min(330px, 100%); padding: 7px; border: 1px solid var(--dp-line); border-radius: 14px; background: var(--dp-surface); box-shadow: 0 10px 30px #101c341a; }
.abf-category-menu-items a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px; border-radius: 9px; color: var(--dp-ink); font-size: 13px; }
.abf-category-menu-items a:hover, .abf-category-menu-items a[aria-current] { background: var(--dp-soft); color: var(--brand-readable); }
.abf-category-menu-items a > span { color: var(--dp-muted); font-size: 11px; }
.abf-service-groups { display: grid; gap: 32px; }
.abf-service-group { min-width: 0; scroll-margin-top: calc(var(--abf-header-height, 67px) + 48px + var(--abf-category-height, 72px) + 12px); }
.abf-service-group:last-child { min-height: calc(100dvh - var(--abf-header-height, 67px) - 48px - var(--abf-category-height, 72px) - 12px); }
.abf-service-group h2 { margin: 0 0 16px; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.abf-service-group h2:focus { outline: none; }
@media(max-width: 760px) {
    .abf-catalog-nav { top: calc(var(--abf-header-height, 66px) + 44px); margin-bottom: 20px; gap: 8px; padding: 9px 0; }
    .abf-category-strip .abf-category { padding: 10px 12px; min-height: 42px; }
    .abf-service-groups { gap: 28px; }
    .abf-service-group { scroll-margin-top: calc(var(--abf-header-height, 66px) + 44px + var(--abf-category-height, 66px) + 12px); }
    .abf-service-group h2 { font-size: 19px; }
}
/* Production data, account and location controls. */
.aioness-booking-flow { --surface: var(--dp-surface); --line: var(--dp-line); --ink: var(--dp-ink); --muted: var(--dp-muted); }
.abf-company-symbol img { width: 100%; height: 100%; padding: 3px; object-fit: contain; border-radius: inherit; }
.abf-service-price { text-align: right; }
.abf-service-price [data-additional-prices] { max-width: 180px; white-space: normal; }
.abf-slot > span { display: grid; gap: 3px; }
.abf-slot small { font-size: 10px; font-weight: 400; }
.abf-location { display: grid; gap: 10px; margin-bottom: 24px; color: var(--dp-ink); font-size: 14px; }
.abf-location > div { display: flex; gap: 10px; }
.abf-location select { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--dp-line); border-radius: 12px; background: var(--dp-surface); color: var(--dp-ink); }
.abf-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.abf-account-fields, .abf-custom-fields { display: grid; gap: 20px; min-width: 0; }
.abf-custom-fields, .abf-custom-fields fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.abf-custom-fields legend { padding: 0; margin-bottom: 14px; font-size: 14px; }
.abf-confirm select, .abf-confirm textarea { width: 100%; min-width: 0; border: 1px solid var(--dp-line); border-radius: 10px; background: var(--dp-page); padding: 13px; color: var(--dp-ink); font: inherit; }
.abf-confirm textarea { min-height: 110px; resize: vertical; }
.abf-confirm input[type="radio"] { width: 18px; min-width: 18px; accent-color: var(--brand-action); }
.abf-confirm .abf-choice-field { display: flex; align-items: center; gap: 9px; margin: 8px 0; }
.abf-phone { display: flex; align-items: center; gap: 8px; }
.abf-field-help { margin: -10px 0 0; color: var(--dp-muted); font-size: 12px; }
.abf-consent a { color: var(--brand-readable); text-decoration: underline; }
.abf-confirm .checkout-auth-links strong { grid-column: 2; grid-row: 1; font-size: 15px; }
.abf-confirm .checkout-auth-links small { grid-column: 2; grid-row: 2; color: var(--dp-muted); font-size: 12px; line-height: 1.5; }
.abf-confirm .checkout-auth-links { grid-template-columns: 1fr; }
.aioness-booking-flow.is-embed { --abf-header-height: 0px; }
.is-embed .abf-shell { padding-top: 20px; }
.is-embed .abf-summary { top: 24px; }
@media(max-width: 760px) { .abf-service-price { text-align: left; } .abf-location > div { flex-wrap: wrap; } }

/* The completed booking keeps its payment actions in the same branded shell. */
body.aioness-booking-flow.it-order-skin { --page: var(--dp-page); --surface: var(--dp-surface); --surface-blue: var(--dp-soft); --ink: var(--dp-ink); --muted: var(--dp-muted); --line: var(--dp-line); background: var(--dp-page); }
body.aioness-booking-flow.it-order-skin::before { display: none; }
body.aioness-booking-flow.it-order-skin .site-wrap { max-width: 1440px; margin-inline: auto; padding-inline: 16px; }
body.aioness-booking-flow.it-order-skin .it-order-page { padding-top: 34px; }
body.aioness-booking-flow.it-order-skin .it-order-hero { background: var(--dp-surface); box-shadow: none; }
body.aioness-booking-flow.it-order-skin .it-order-hero::after { display: none; }
.abf-booking-note { display: grid; gap: 8px; margin-top: 20px; font-size: 13px; font-weight: 600; }
.abf-booking-note textarea { width: 100%; resize: vertical; padding: 12px; border: 1px solid var(--dp-line); border-radius: 12px; background: var(--dp-surface); color: var(--dp-ink); font: inherit; font-weight: 400; }
@media (max-width: 600px) { body.aioness-booking-flow.it-order-skin .site-wrap { padding-inline: 16px; } }
@media (max-width: 800px) {
    body.aioness-booking-flow:has(.abf-mobile-action) .aioness-cookie-consent__widget { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
html[data-theme="dark"] .abf-platform { padding: 0; border-radius: 8px; background: #fff; }
html[data-theme="dark"] .abf-business-brand:has(img) { padding: 0; border-radius: 8px; background: #fff; }
html[data-theme="dark"] .abf-company-symbol:has(img) { background: #fff; }


/* Match the industry website header container and brand dimensions. */
.abf-flow-header { position: sticky; z-index: 90; top: 0; border-bottom: 1px solid var(--dp-line); background: var(--dp-surface); }
.abf-header-inner { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; width: min(1440px, 100%); min-height: 66px; margin-inline: auto; padding-inline: 16px; gap: 24px; }
.abf-flow-heading { display: flex; align-items: center; min-width: 0; gap: 18px; }
.abf-flow-actions { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.abf-platform { display: flex; align-items: center; flex-shrink: 0; padding: 0; }
.abf-platform .abf-platform-logo { display: block; width: 138px; height: 28px; }
.abf-platform .abf-platform-symbol { display: none; }
.abf-brand-divider { width: 1px; height: 28px; background: var(--dp-line); flex-shrink: 0; }
.abf-business-brand { height: 44px; }
.abf-business-brand img { display: block; width: 132px; max-width: 100%; height: 40px; object-fit: contain; object-position: left center; }
.abf-business-brand span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1180px) {
    .abf-header-inner { min-height: 73px; }
    .abf-platform .abf-platform-logo { width: 146px; }
}
@media (max-width: 900px) {
    .abf-header-inner { min-height: 67px; }
}
@media (max-width: 760px) {
    .abf-header-inner { padding-inline: 12px; gap: 9px; }
    .abf-flow-heading { max-width: 242px; flex: 1 1 auto; gap: 9px; }
    .abf-brand-divider { display: none; }
    .abf-platform { min-width: 0; flex: 1.18 1 0; }
    .abf-platform .abf-platform-logo { width: 100%; height: auto; max-height: 34px; object-fit: contain; object-position: left center; }
    .abf-business-brand { flex: 1 1 0; height: 34px; }
    .abf-business-brand img { width: 108px; height: 30px; }
}
@media (max-width: 680px) {
    .abf-header-inner { min-height: 63px; }
    .abf-brand-divider { display: block; }
    .abf-platform { flex: 0 0 26px; }
    .abf-platform .abf-platform-logo { display: none; }
    .abf-platform .abf-platform-symbol { display: block; width: 26px; height: 26px; }
    .abf-business-brand { flex: 0 1 120px; }
    html body .abf-business-brand [data-business-wordmark] { font-size: 24px !important; }
    html[data-theme="dark"] .abf-platform { padding: 0; background: transparent; }
    html[data-theme="dark"] .abf-platform-symbol { filter: brightness(0) invert(1); }
}
@media (max-width: 390px) {
    .abf-business-brand { flex-basis: 108px; }
    html body .abf-business-brand [data-business-wordmark] { font-size: 22px !important; }
}
@media (max-width: 380px) {
    .abf-header-inner { padding-inline: 6px; gap: 3px; }
}

.abf-business-brand .abf-logo-dark { display: none; }
html[data-theme="dark"] .abf-business-brand .abf-logo-light { display: none; }
html[data-theme="dark"] .abf-business-brand .abf-logo-dark { display: block; }
html[data-theme="dark"] .abf-business-brand:has(.abf-logo-dark) { background: transparent; }

/* Keep the shared footer visible above the existing fixed mobile action bar. */
@media(max-width:800px) {
    body.aioness-booking-flow:not(.is-embed):has(.abf-mobile-action) .abf-shell { padding-bottom:24px; }
    body.aioness-booking-flow:has(.abf-mobile-action) > .aioness-copyright { margin-bottom:calc(88px + env(safe-area-inset-bottom)); }
}
