/* Booking wizard shell — Phase 1 (see Docs/booking-mockup-v2.html) */

/* Override DevExpress/Bootstrap primary so list/combo selection uses OLEA olive.
   bootstrap-external theme uses: background-color: var(--bs-primary, var(--primary)) */
:root {
    --primary: #6c7f66;
    --bs-primary: #6c7f66;
    --bs-primary-rgb: 108, 127, 102;
    --dxbl-client-component-palette-primary: var(--primary);
}

.dxbl-listbox div.dxbl-listbox-item-selected::before,
.dxbl-listbox tr.dxbl-listbox-item-selected > td::before {
    background-color: #6c7f66 !important;
    opacity: 1 !important;
}

.dxbl-listbox div.dxbl-listbox-item-selected,
.dxbl-listbox tr.dxbl-listbox-item-selected > td {
    color: #ffffff !important;
}

/* booking-wizard-page is inside #CenteredContent > .content (not a parent of CenteredContent) */
#CenteredContent:has(.booking-wizard-page),
#CenteredContent.layout-booking-content {
    max-width: 1120px;
    width: 100%;
    background-color: var(--bk-bg, #F0F0EE);
    border: none;
    box-shadow: none;
}

.main:has(.booking-wizard-page),
.main.layout-booking {
    flex: 0 1 auto;
    flex-basis: auto;
    min-height: 0;
    height: auto;
}

.content:has(.booking-wizard-page),
.layout-booking .content {
    padding-top: 0;
    min-height: 0;
}

.booking-wizard-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.layout-booking-logo {
    /*position: sticky;*/
    top: 0;
    z-index: 100;
    text-align: center;
    padding: 16px 16px 8px;
    background: var(--bk-pebble-white, #F0F0EE);
}

.layout-booking-logo-img {
    width: 200px;
    max-width: 70vw;
    height: auto;
    display: inline-block;
}

.booking-wizard {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    --bk-sage-green: #9cbea4;
    --bk-olive-green: #6c7f66;
    --bk-sand-beige: #DBD4C1;
    --bk-pebble-white: #F0F0EE;
    --bk-services-green: #9BB493;
    --bk-bg: var(--bk-pebble-white);
    --bk-surface: #ffffff;
    --bk-text: #2a3028;
    --bk-text-secondary: #5a6358;
    --bk-text-muted: #8a9288;
    --bk-border: #e2e0da;
    --bk-accent-soft: #eef2ec;
    --bk-radius: 12px;
    --bk-radius-lg: 16px;
    --bk-shadow: 0 1px 3px rgba(42, 48, 40, .06), 0 4px 12px rgba(42, 48, 40, .04);
    --bk-touch-min: 44px;
    --bk-bottom-dock-height: 80px;
    color: var(--bk-text);
    line-height: 1.5;
    margin: 0;
    padding-bottom: calc(var(--bk-bottom-dock-height) + env(safe-area-inset-bottom));
}

#page-booking-wizard:focus {
    outline: none;
}

.bk-hero h1:focus {
    outline: none;
}

@media (min-width: 861px) {
    .booking-wizard {
        padding-bottom: 24px;
    }
}

.bk-hero {
    background: linear-gradient(135deg, var(--bk-sand-beige) 0%, var(--bk-pebble-white) 100%);
    border-bottom: 1px solid var(--bk-border);
    margin: 0 0 0 0;
    width: 100%;
}

.bk-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px;
}

.bk-hero h1 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 4px;
    color: var(--bk-olive-green);
}

.bk-hero-tagline {
    color: var(--bk-text-secondary);
    font-size: 14px;
    margin-bottom: 0;
}

.bk-stepper-wrap {
    background: var(--bk-surface);
    border-bottom: 1px solid var(--bk-border);
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
}

.bk-stepper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.bk-stepper::-webkit-scrollbar {
    display: none;
}

.bk-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 14px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--bk-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.bk-step:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--bk-sand-beige);
    margin-left: 8px;
    border-radius: 1px;
}

.bk-step-active {
    color: var(--bk-olive-green);
    font-weight: 600;
}

.bk-step-done {
    color: var(--bk-text-secondary);
    cursor: pointer;
}

.bk-step-done:hover {
    color: var(--bk-olive-green);
}

.bk-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bk-sand-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.bk-step-active .bk-step-num {
    background: var(--bk-olive-green);
    border-color: var(--bk-olive-green);
    color: #fff;
}

.bk-step-done .bk-step-num {
    background: var(--bk-sage-green);
    border-color: var(--bk-sage-green);
    color: #fff;
}

.bk-layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

@media (min-width: 861px) {
    .bk-layout {
        grid-template-columns: 1fr 320px;
        padding: 24px;
        gap: 24px;
    }
}

.bk-layout-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
}

.bk-panel {
    background: var(--bk-surface);
    border-radius: var(--bk-radius-lg);
    border: 1px solid var(--bk-border);
    box-shadow: var(--bk-shadow);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bk-panel-body {
    padding: 20px 16px;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bk-step-content {
    flex: 1;
    min-height: 0;
}

@media (min-width: 600px) {
    .bk-panel-body {
        padding: 24px;
    }
}

.bk-panel-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 4px;
    color: var(--bk-olive-green);
}

.bk-panel-subtitle {
    color: var(--bk-text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.45;
}

.bk-placeholder-note {
    color: var(--bk-text-muted);
    font-size: 14px;
    padding: 16px;
    border: 1px dashed var(--bk-border);
    border-radius: var(--bk-radius);
    background: var(--bk-accent-soft);
}

.bk-services-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--bk-text-muted);
    font-size: 14px;
    border: 1.5px dashed var(--bk-border);
    border-radius: var(--bk-radius);
    background: var(--bk-accent-soft);
    margin: 0;
}

.bk-category-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 500px) {
    .bk-category-tiles {
        grid-template-columns: 1fr 1fr;
    }
}

.bk-category-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 18px;
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius-lg);
    background: var(--bk-surface);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    min-height: 120px;
    width: 100%;
    transition: all var(--bk-transition, .2s ease);
    box-shadow: var(--bk-shadow);
}

.bk-category-tile:hover {
    border-color: var(--bk-sage-green);
    background: var(--bk-accent-soft);
    transform: translateY(-1px);
}

.bk-category-tile-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.bk-category-tile-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.bk-category-tile-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--bk-olive-green);
    letter-spacing: -.02em;
}

.bk-category-tile-desc {
    font-size: 13px;
    color: var(--bk-text-secondary);
    line-height: 1.4;
    flex: 1;
}

.bk-category-tile-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--bk-services-green);
    background: var(--bk-accent-soft);
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 4px;
}

.bk-browse-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-olive-green);
    cursor: pointer;
    min-height: var(--bk-touch-min);
}

.bk-panel-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--bk-border);
}

@media (min-width: 600px) {
    .bk-panel-actions {
        flex-direction: row;
    }

    .bk-panel-actions .bk-btn-primary {
        flex: 1;
    }
}

.bk-btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: var(--bk-olive-green);
    color: #fff;
    border: none;
    border-radius: var(--bk-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-height: var(--bk-touch-min);
}

.bk-btn-primary:hover:not(:disabled) {
    background: #5a6b55;
}

.bk-btn-primary:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.bk-btn-secondary {
    padding: 14px 20px;
    background: var(--bk-surface);
    color: var(--bk-olive-green);
    border: 1.5px solid var(--bk-sand-beige);
    border-radius: var(--bk-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-height: var(--bk-touch-min);
}

.bk-btn-secondary:hover {
    background: var(--bk-accent-soft);
}

.bk-summary {
    display: block;
    background: var(--bk-surface);
    border-radius: var(--bk-radius-lg);
    border: 1px solid var(--bk-border);
    box-shadow: var(--bk-shadow);
    overflow: hidden;
    height: fit-content;
    width: 100%;
}

@media (min-width: 861px) {
    .bk-summary {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

@media (max-width: 860px) {
    .bk-layout-aside {
        width: 100%;
        min-width: 0;
    }

    .bk-summary {
        position: static;
        align-self: stretch;
    }

    .bk-summary-footer .bk-btn-primary {
        display: none;
    }
}

.bk-summary-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--bk-border);
    background: linear-gradient(135deg, var(--bk-accent-soft), var(--bk-surface));
}

.bk-summary-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--bk-olive-green);
    margin: 0;
}

.bk-summary-body {
    padding: 14px 18px;
    max-height: 50vh;
    overflow-y: auto;
}

.bk-summary-empty {
    color: var(--bk-text-muted);
    font-size: 14px;
    text-align: center;
    padding: 16px 0;
    margin: 0;
}

.bk-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--bk-border);
}

.bk-summary-item-label {
    color: var(--bk-text-secondary);
}

.bk-summary-item-value {
    font-weight: 500;
}

.bk-summary-category-link {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--bk-olive-green);
    cursor: pointer;
    text-decoration: underline;
    margin-top: 8px;
    margin-bottom: 6px;
    min-height: var(--bk-touch-min);
}

.bk-summary-category-link:hover {
    color: var(--bk-sage-green);
}

.bk-summary-service-row {
    align-items: center;
}

.bk-summary-service-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bk-summary-remove {
    background: none;
    border: none;
    padding: 0;
    color: var(--bk-olive-green);
    font-weight: 800;
    cursor: pointer;
    font-size: 13px;
    min-height: var(--bk-touch-min);
}

.bk-summary-remove:hover {
    color: var(--bk-sage-green);
}

.bk-summary-edit {
    background: none;
    border: none;
    padding: 4px 0;
    width: 100%;
    text-align: left;
    color: var(--bk-olive-green);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 10px;
    min-height: var(--bk-touch-min);
}

.bk-summary-edit:hover {
    color: var(--bk-sage-green);
}

.bk-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid var(--bk-border);
    font-weight: 700;
    font-size: 16px;
    color: var(--bk-olive-green);
    background: var(--bk-sand-beige);
}

.bk-summary-footer {
    padding: 10px 18px 18px;
}

.bk-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
}

.bk-mobile-bar {
    display: flex;
    background: var(--bk-surface);
    border-top: 1px solid var(--bk-border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(42, 48, 40, .1);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (min-width: 861px) {
    .bk-mobile-bar {
        display: none;
    }
}

.bk-mobile-bar-info {
    flex: 1;
    min-width: 0;
}

.bk-mb-total {
    font-weight: 700;
    font-size: 17px;
    color: var(--bk-olive-green);
}

.bk-mb-detail {
    font-size: 12px;
    color: var(--bk-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-mobile-continue {
    width: auto;
    padding: 12px 20px;
    flex-shrink: 0;
    min-width: 120px;
}

.bk-confirm-screen {
    text-align: center;
    padding: 12px 0 8px;
    max-width: 560px;
    margin: 0 auto;
}

.bk-confirm-icon {
    width: 72px;
    height: 72px;
    background: var(--bk-sage-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #fff;
}

.bk-confirm-screen h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--bk-olive-green);
}

.bk-confirm-screen p {
    color: var(--bk-text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.bk-confirm-card {
    background: var(--bk-pebble-white);
    border-radius: var(--bk-radius);
    padding: 16px;
    text-align: left;
    margin-bottom: 20px;
    border: 1px solid var(--bk-border);
}

.bk-confirm-ref {
    font-size: 13px;
    color: var(--bk-text-muted);
    margin-bottom: 12px;
}

.bk-confirm-ref strong {
    color: var(--bk-olive-green);
}

.bk-confirm-visit-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-olive-green);
    margin-bottom: 8px;
}

.bk-confirm-visit {
    padding: 6px 0;
    border-bottom: 1px solid var(--bk-border);
}

.bk-confirm-visit:last-of-type {
    border-bottom: none;
}

.bk-confirm-visit-datetime {
    font-size: 14px;
    font-weight: 600;
    color: var(--bk-text);
}

.bk-confirm-visit-detail {
    font-size: 13px;
    color: var(--bk-text-secondary);
    margin-top: 2px;
    line-height: 1.4;
}

.bk-confirm-restart {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.bk-summary-footer .bk-btn-primary:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ── Review step (Phase 6) ── */

.bk-review-block {
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius);
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bk-pebble-white);
}

.bk-review-block h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bk-services-green);
    margin: 0 0 10px;
}

.bk-review-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    font-size: 14px;
}

.bk-review-label {
    color: var(--bk-text-secondary);
    flex-shrink: 0;
}

.bk-review-value {
    font-weight: 500;
    text-align: right;
}

.bk-review-row-addon {
    opacity: .8;
}

.bk-review-row-addon .bk-review-label {
    font-size: 13px;
}

.bk-review-row-discount,
.bk-review-row-discount .bk-review-label,
.bk-review-row-discount .bk-review-value {
    color: var(--bk-olive-green);
    font-weight: 600;
}

.bk-review-total-row {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--bk-border);
    font-size: 16px;
}

.bk-review-total-row .bk-review-label,
.bk-review-total-row .bk-review-value {
    color: var(--bk-olive-green);
    font-weight: 700;
}

.bk-review-row-confirm-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bk-border);
    font-weight: 700;
}

.bk-review-row-confirm-total .bk-review-label,
.bk-review-row-confirm-total .bk-review-value {
    font-weight: 700;
}

.bk-review-appt-item {
    padding: 10px 12px;
    background: var(--bk-surface);
    border-radius: 8px;
    margin-bottom: 6px;
    border-left: 3px solid var(--bk-services-green);
}

.bk-ra-date {
    font-weight: 600;
    font-size: 14px;
    color: var(--bk-olive-green);
}

.bk-ra-detail {
    font-size: 13px;
    color: var(--bk-text-secondary);
    margin-top: 2px;
}

.bk-ra-detail-addon {
    color: #d4a574;
}

.bk-ra-detail-employee {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

.bk-review-edit {
    background: none;
    border: none;
    color: var(--bk-olive-green);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 8px;
    padding: 4px 0;
    min-height: var(--bk-touch-min);
    display: inline-flex;
    align-items: center;
}

.bk-review-edit:hover {
    color: var(--bk-sage-green);
}

/* Phase 3 — browse: filter pills, accordion, service cards, add-ons */

.bk-filter-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bk-category-pills-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.bk-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 14px 8px 10px;
    border: 1.5px solid var(--bk-border);
    border-radius: 999px;
    background: var(--bk-surface);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-olive-green);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    min-height: var(--bk-touch-min);
    box-shadow: 0 1px 2px rgba(42, 48, 40, .06);
}

.bk-category-pill-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.bk-category-pill-label {
    line-height: 1.2;
}

.bk-category-pill:hover {
    border-color: var(--bk-sage-green);
    background: var(--bk-accent-soft);
}

.bk-category-pill.selected {
    border-color: var(--bk-olive-green);
    background: var(--bk-olive-green);
    color: #fff;
    box-shadow: 0 2px 6px rgba(42, 48, 40, .12);
}

.bk-category-pill.selected .bk-category-pill-icon {
    filter: brightness(0) invert(1);
}

@media (min-width: 600px) {
    .bk-category-pills-row {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

.bk-filter-pill {
    padding: 8px 14px;
    border: 1.5px solid var(--bk-border);
    border-radius: 999px;
    background: var(--bk-surface);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-text-secondary);
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.bk-filter-pill:hover {
    border-color: var(--bk-sage-green);
    color: var(--bk-olive-green);
}

.bk-filter-pill.selected {
    border-color: var(--bk-olive-green);
    background: var(--bk-olive-green);
    color: #fff;
}

.bk-category {
    margin-bottom: 0;
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius);
    overflow: hidden;
    background: var(--bk-surface);
}

.bk-services-list-wrap {
    min-height: 0;
}

.bk-services-loading-panel {
    --dxbl-loading-panel-message-color: var(--bk-olive-green);
    min-height: 0 !important;
}

.bk-services-loading-panel .dxbl-wait-indicator {
    --dxbl-wait-indicator-color: var(--bk-olive-green);
}

.bk-services-loading-panel .dxbl-wait-indicator.dxbl-wait-indicator-spin > svg > g > g,
.bk-services-loading-panel .dxbl-wait-indicator.dxbl-wait-indicator-spin > svg > g > circle {
    stroke: var(--bk-olive-green);
}

.bk-services-loading-panel .dxbl-loading-panel-container.dxbl-loading-panel-shading .dxbl-loading-panel-indicator-area.dxbl-loading-panel-hidden {
    --dxbl-loading-panel-message-color: var(--bk-olive-green);
}

.bk-services-loading-panel .dxbl-loading-panel-container.dxbl-loading-panel-shading .dxbl-loading-panel-indicator-area.dxbl-loading-panel-hidden .dxbl-wait-indicator {
    --dxbl-wait-indicator-color: var(--bk-olive-green);
}

.bk-services-loading-panel .dxbl-loading-panel-message {
    color: var(--bk-olive-green) !important;
}

.bk-services-loading-placeholder {
    min-height: 72px;
}

.bk-category-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bk-accent-soft);
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    min-height: var(--bk-touch-min);
    transition: background .2s ease;
}

.bk-category-header:hover {
    background: #e4ebe2;
}

.bk-category-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bk-services-green);
    flex: 1;
}

.bk-category-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--bk-text-secondary);
    background: var(--bk-surface);
    padding: 3px 10px;
    border-radius: 12px;
}

.bk-category-selected {
    font-size: 11px;
    font-weight: 600;
    background: var(--bk-services-green);
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    display: none;
}

.bk-category-selected.visible {
    display: inline-block;
}

.bk-category-chevron {
    width: 20px;
    height: 20px;
    color: var(--bk-olive-green);
    transition: transform .2s ease;
    flex-shrink: 0;
}

.bk-category.is-collapsed .bk-category-chevron {
    transform: rotate(-90deg);
}

.bk-category-body {
    padding: 12px 12px 14px;
}

.bk-category.is-collapsed .bk-category-body {
    display: none;
}

.bk-category-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bk-btn-show-more {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: var(--bk-surface);
    border: 1.5px solid var(--bk-sage-green);
    border-radius: var(--bk-radius);
    color: var(--bk-olive-green);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-height: var(--bk-touch-min);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all .2s ease;
}

.bk-btn-show-more:hover {
    background: var(--bk-accent-soft);
}

.bk-btn-show-more-mobile {
    display: none;
}

.bk-category-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.bk-category-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.bk-addons-available-badge {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #c9a227;
}

.bk-service-addons {
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed var(--bk-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bk-service-addons-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bk-text-muted);
    margin-bottom: 2px;
}

.bk-addon-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bk-addon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 1.5px solid var(--bk-border);
    border-radius: 10px;
    background: var(--bk-surface);
    font-family: inherit;
    text-align: left;
    transition: border-color .2s ease, background .2s ease;
}

.bk-addon-row.selected {
    border-color: var(--bk-services-green);
    background: var(--bk-accent-soft);
}

.bk-addon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bk-addon-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--bk-text);
}

.bk-addon-meta {
    font-size: 11px;
    color: var(--bk-text-muted);
}

.bk-addon-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bk-addon-add {
    border: 1.5px solid var(--bk-sage-green);
    background: var(--bk-surface);
    color: var(--bk-olive-green);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.bk-addon-add:hover {
    border-color: var(--bk-olive-green);
    background: var(--bk-accent-soft);
}

.bk-addon-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--bk-olive-green);
    background: var(--bk-surface);
    color: var(--bk-olive-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    line-height: 0;
    transition: background .2s ease, color .2s ease;
}

.bk-addon-step svg {
    width: 12px;
    height: 12px;
    display: block;
}

.bk-addon-step:hover {
    background: var(--bk-olive-green);
    color: #fff;
}

.bk-addon-count {
    min-width: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--bk-text);
}

.bk-addon-remove {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--bk-olive-green);
    background: var(--bk-surface);
    color: var(--bk-olive-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    margin-right: 2px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.bk-addon-remove svg {
    width: 14px;
    height: 14px;
    display: block;
}

.bk-addon-remove:hover {
    background: var(--bk-olive-green);
    border-color: var(--bk-olive-green);
    color: #fff;
}

.bk-service-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
    transition: border-color .2s ease, background .2s ease;
}

.bk-service-item.selected {
    border-color: var(--bk-services-green);
    background: var(--bk-accent-soft);
}

.bk-service-info {
    min-width: 0;
}

.bk-service-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.bk-duration-badge {
    background: var(--bk-sand-beige);
    color: var(--bk-olive-green);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.bk-service-price {
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    color: var(--bk-olive-green);
}

.bk-service-action {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--bk-sage-green);
    background: var(--bk-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s ease;
    color: var(--bk-olive-green);
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    line-height: 0;
}

.bk-service-action svg {
    width: 18px;
    height: 18px;
    display: block;
}

.bk-service-action:hover {
    background: var(--bk-accent-soft);
}

.bk-service-item.selected .bk-service-action {
    background: var(--bk-services-green);
    border-color: var(--bk-services-green);
    color: #fff;
}

.bk-summary-addon {
    padding-left: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.bk-summary-addon .bk-summary-item-label {
    font-size: 12px;
    color: var(--bk-text-muted);
    flex: 1 1 auto;
    min-width: 0;
}

.bk-summary-addon .bk-summary-service-right {
    flex: 0 0 auto;
    gap: 6px;
}

.bk-summary-addon .bk-summary-item-value {
    white-space: nowrap;
}

.bk-summary-addon-remove {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--bk-olive-green);
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    min-height: 0;
    min-width: 16px;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bk-summary-addon-remove:hover {
    color: var(--bk-sage-green);
}

.bk-summary-appt-group {
    margin: 8px 0;
    padding: 8px 10px;
    background: var(--bk-accent-soft);
    border-radius: 8px;
}

.bk-sag-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--bk-services-green);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bk-summary-appt-line {
    font-size: 12px;
    color: var(--bk-text);
    padding: 2px 0;
    line-height: 1.4;
}

.bk-summary-discount .bk-summary-item-label,
.bk-summary-discount .bk-summary-item-value {
    color: var(--bk-olive-green);
    font-weight: 600;
}

.bk-summary-discount {
    border-bottom: none;
    padding-top: 10px;
}

@media (max-width: 860px) {
    .bk-category-services.bk-mobile-collapsed .bk-service-item.bk-hidden-mobile {
        display: none !important;
    }

    .bk-btn-show-more-mobile {
        display: flex;
    }

    .bk-layout-main {
        min-height: auto;
    }

    .bk-panel {
        flex: 0 1 auto;
    }

    .bk-panel-body {
        flex: 0 1 auto;
    }

    .bk-step-content {
        flex: 0 1 auto;
    }

    .bk-panel-actions {
        margin-top: 16px;
        flex-shrink: 0;
    }

    .bk-layout {
        align-items: start;
    }

    .bk-stepper {
        overflow-x: hidden;
        justify-content: space-between;
        padding: 8px 4px;
        align-items: flex-start;
    }

    .bk-step {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        padding: 4px 0;
        font-size: 10px;
        gap: 4px;
        white-space: normal;
        text-align: center;
    }

    .bk-step:not(:last-child)::after {
        display: none;
    }

    .bk-step-num {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .bk-step-label {
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        line-height: 1.2;
        font-size: 10px;
        word-break: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .bk-scheduled-section-desktop.bk-has-visits {
        display: block !important;
    }

    .bk-visits-bar,
    .bk-visits-bar.bk-visible {
        display: none !important;
    }

    .booking-wizard {
        --bk-bottom-dock-height: 72px;
    }

    .bk-appt-card {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .bk-appt-card-time {
        flex-shrink: 0;
        font-size: 14px;
        white-space: nowrap;
    }

    .bk-appt-card-actions {
        align-self: flex-start;
    }
}

.bk-scheduled-section-desktop {
    display: none;
}

.bk-scheduled-section-desktop.bk-has-visits {
    display: block;
}

@media (min-width: 861px) {
    .bk-visits-bar,
    .bk-visits-bar.bk-visible {
        display: none !important;
    }
}

/* ── Schedule step (Phase 4) ── */

.bk-schedule-progress {
    padding: 12px 14px;
    background: var(--bk-accent-soft);
    border-radius: var(--bk-radius);
    font-size: 13px;
    color: var(--bk-text-secondary);
    margin-bottom: 16px;
    text-align: center;
}

.bk-schedule-progress strong {
    color: var(--bk-olive-green);
}

.bk-schedule-placeholder {
    padding: 28px 20px;
    text-align: center;
    background: var(--bk-pebble-white);
    border: 1.5px dashed var(--bk-border);
    border-radius: var(--bk-radius);
    color: var(--bk-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.bk-schedule-placeholder-inline {
    margin: 0;
}

.bk-schedule-picker {
    animation: bkFadeIn .25s ease;
}

@keyframes bkFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.bk-add-visit-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-text-secondary);
}

.bk-add-visit-divider::before,
.bk-add-visit-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bk-border);
}

.bk-carousel-section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-text-secondary);
    margin: 0 0 10px;
}

.bk-visit-service-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.bk-visit-service-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all .2s ease;
}

.bk-visit-service-option:hover:not(:disabled) {
    border-color: var(--bk-sage-green);
    background: var(--bk-accent-soft);
}

.bk-visit-service-option.selected {
    border-color: var(--bk-olive-green);
    background: var(--bk-accent-soft);
}

.bk-visit-service-option.done {
    opacity: .65;
    cursor: default;
}

.bk-visit-service-option-info {
    flex: 1;
    min-width: 0;
}

.bk-visit-service-option-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--bk-text);
}

.bk-visit-service-option-meta {
    display: block;
    font-size: 12px;
    color: var(--bk-text-muted);
    margin-top: 2px;
}

.bk-visit-service-option-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--bk-olive-green);
    flex-shrink: 0;
}

.bk-visit-service-option-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bk-sand-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.bk-visit-service-option.selected .bk-visit-service-option-check,
.bk-visit-service-option.done .bk-visit-service-option-check {
    background: var(--bk-sage-green);
    border-color: var(--bk-sage-green);
    color: #fff;
}

.bk-employee-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .bk-employee-picker {
        grid-template-columns: 1fr;
    }
}

.bk-employee-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    width: 100%;
    transition: all .2s ease;
}

.bk-employee-option:hover {
    border-color: var(--bk-sage-green);
    background: var(--bk-accent-soft);
}

.bk-employee-option.selected {
    border-color: var(--bk-olive-green);
    background: var(--bk-accent-soft);
}

.bk-employee-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bk-sage-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.bk-employee-avatar-any {
    background: var(--bk-olive-green);
}

.bk-employee-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.bk-employee-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-text);
}

.bk-employee-role {
    font-size: 11px;
    color: var(--bk-text-muted);
}

.bk-employee-check {
    font-size: 14px;
    color: var(--bk-olive-green);
    flex-shrink: 0;
}

.bk-schedule-closed-notice {
    color: #c0392b;
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0;
}

.bk-time-section {
    margin-bottom: 16px;
}

.bk-time-placeholder {
    text-align: center;
    color: var(--bk-text-muted);
    font-size: 14px;
    padding: 16px;
}

/* ── Date picker carousel & calendar panel ── */

.bk-date-picker-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
}

.bk-date-picker-row .bk-carousel-wrap {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.bk-calendar-icon-btn {
    width: 48px;
    flex-shrink: 0;
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
    color: var(--bk-olive-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    align-self: center;
    height: 50px;
}

.bk-calendar-icon-btn:hover {
    background: var(--bk-accent-soft);
    border-color: var(--bk-sage-green);
}

.bk-calendar-icon-btn.bk-active {
    background: var(--bk-olive-green);
    border-color: var(--bk-olive-green);
    color: #fff;
}

.bk-calendar-panel {
    display: none;
    margin-bottom: 12px;
    padding: 16px;
    background: var(--bk-surface);
    border: 1.5px solid var(--bk-sage-green);
    border-radius: var(--bk-radius-lg);
    box-shadow: var(--bk-shadow);
    animation: bkFadeIn .2s ease;
}

.bk-calendar-panel.bk-open {
    display: block;
}

.bk-calendar-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bk-calendar-panel-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--bk-olive-green);
    margin: 0;
}

.bk-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.bk-cal-day-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--bk-text-muted);
    padding: 6px 0;
    text-transform: uppercase;
}

.bk-cal-day-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px 0 4px;
    min-height: 48px;
}

.bk-cal-day {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    border: none;
    background: none;
    color: var(--bk-text);
    font-family: inherit;
}

.bk-cal-day:hover:not(:disabled):not(.bk-empty) {
    background: var(--bk-accent-soft);
}

.bk-cal-day.bk-empty {
    visibility: hidden;
    pointer-events: none;
}

.bk-cal-day.bk-disabled {
    color: var(--bk-text-muted);
    cursor: not-allowed;
    opacity: .4;
}

.bk-cal-day.bk-today {
    font-weight: 700;
    box-shadow: inset 0 0 0 2px var(--bk-sage-green);
}

.bk-cal-day.bk-selected {
    background: var(--bk-olive-green) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: none;
}

.bk-cal-day.bk-has-appts:not(.bk-selected) {
    box-shadow: inset 0 0 0 2px var(--bk-services-green);
}

.bk-cal-day-wrap .bk-cal-dot {
    margin-top: 2px;
}

.bk-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.bk-carousel-arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1.5px solid var(--bk-border);
    border-radius: 50%;
    background: var(--bk-surface);
    color: var(--bk-olive-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.bk-carousel-arrow:hover:not(:disabled) {
    background: var(--bk-accent-soft);
}

.bk-carousel-arrow:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.bk-carousel-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
    flex: 1;
    min-width: 0;
}

.bk-carousel-track::-webkit-scrollbar {
    display: none;
}

.bk-date-chip {
    flex: 0 0 68px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 6px 8px;
    border: 1.5px solid var(--bk-border);
    border-radius: var(--bk-radius);
    background: var(--bk-surface);
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
    color: var(--bk-text);
    min-height: 88px;
}

.bk-date-chip:hover {
    border-color: var(--bk-sage-green);
    background: var(--bk-accent-soft);
}

.bk-date-chip.bk-today:not(.bk-selected) {
    border-color: var(--bk-sage-green);
}

.bk-date-chip.bk-selected {
    background: var(--bk-olive-green);
    border-color: var(--bk-olive-green);
    color: #fff;
}

.bk-date-chip.bk-has-appts:not(.bk-selected) {
    border-color: var(--bk-services-green);
    box-shadow: inset 0 0 0 1px var(--bk-services-green);
}

.bk-date-chip-day {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bk-text-secondary);
}

.bk-date-chip.bk-selected .bk-date-chip-day {
    color: rgba(255, 255, 255, .85);
}

.bk-date-chip-num {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.bk-date-chip-month {
    font-size: 11px;
    font-weight: 500;
    color: var(--bk-text-muted);
}

.bk-date-chip.bk-selected .bk-date-chip-month {
    color: rgba(255, 255, 255, .75);
}

.bk-cal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.bk-date-chip.bk-selected .bk-cal-dot.bk-avail-high,
.bk-date-chip.bk-selected .bk-cal-dot.bk-avail-limited {
    background: rgba(255, 255, 255, .9);
}

.bk-date-chip.bk-selected .bk-cal-dot.bk-has-booking {
    background: var(--bk-sand-beige);
}

.bk-cal-dot.bk-avail-high {
    background: var(--bk-sage-green);
}

.bk-cal-dot.bk-avail-limited {
    background: #d4a574;
}

.bk-cal-dot.bk-avail-none {
    background: #c5c5c5;
}

.bk-cal-dot.bk-has-booking {
    background: var(--bk-olive-green);
}

.bk-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 12px 14px;
    background: var(--bk-accent-soft);
    border-radius: var(--bk-radius);
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--bk-text-secondary);
}

.bk-cal-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.bk-cal-legend-item .bk-cal-dot {
    margin-top: 0;
    width: 8px;
    height: 8px;
}

/* ── Time carousel ── */

.bk-time-slot {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 12px 18px;
    min-height: var(--bk-touch-min);
    border: 1.5px solid var(--bk-border);
    border-radius: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--bk-surface);
    transition: all .2s ease;
    color: var(--bk-text);
    white-space: nowrap;
    font-family: inherit;
}

.bk-time-slot:hover {
    border-color: var(--bk-sage-green);
    background: var(--bk-accent-soft);
}

.bk-time-slot.bk-selected {
    border-color: var(--bk-olive-green);
    background: var(--bk-olive-green);
    color: #fff;
}

.bk-time-loading-placeholder {
    min-height: 48px;
}

.bk-slot-preview {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, var(--bk-accent-soft), var(--bk-surface));
    border: 1.5px solid var(--bk-services-green);
    border-radius: var(--bk-radius);
}

.bk-slot-preview-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bk-services-green);
    margin-bottom: 8px;
}

.bk-slot-preview-datetime {
    font-size: 17px;
    font-weight: 700;
    color: var(--bk-olive-green);
    margin-bottom: 4px;
}

.bk-slot-preview-services {
    font-size: 13px;
    color: var(--bk-text-secondary);
    margin-bottom: 14px;
}

.bk-btn-add-appt {
    width: 100%;
    padding: 14px;
    background: var(--bk-olive-green);
    color: #fff;
    border: none;
    border-radius: var(--bk-radius);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-height: var(--bk-touch-min);
}

.bk-btn-add-appt:hover {
    background: #5a6b55;
}

.bk-appt-list-section {
    margin-top: 4px;
    margin-bottom: 8px;
}

.bk-appt-list-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--bk-olive-green);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bk-appt-count-badge {
    background: var(--bk-olive-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.bk-appt-date-group {
    margin-bottom: 14px;
}

.bk-appt-date-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bk-services-green);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--bk-sand-beige);
}

.bk-appt-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bk-accent-soft);
    border: 1.5px solid var(--bk-sage-green);
    border-radius: var(--bk-radius);
    margin-bottom: 8px;
}

.bk-appt-card-time {
    font-weight: 700;
    font-size: 15px;
    color: var(--bk-olive-green);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.25;
}

.bk-appt-card-info {
    flex: 1;
    min-width: 0;
}

.bk-appt-card-services {
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-text);
}

.bk-appt-card-addons {
    font-size: 12px;
    color: var(--bk-text-muted);
    margin-top: 1px;
}

.bk-appt-card-duration {
    font-size: 12px;
    color: var(--bk-text-secondary);
    margin-top: 1px;
}

.bk-appt-card-employee {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--bk-text-secondary);
    margin-top: 4px;
}

.bk-appt-emp-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--bk-sage-green);
}

.bk-appt-card-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.bk-appt-edit,
.bk-appt-remove {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bk-surface);
    border-radius: 50%;
    cursor: pointer;
    color: var(--bk-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s ease;
    padding: 0;
}

.bk-appt-edit:hover {
    background: #f0f7f1;
    color: var(--bk-olive-green);
}

.bk-appt-remove:hover {
    background: #fde8e8;
    color: #c44;
}

/* ── Mobile visits bar (schedule step) ── */

.bk-visits-bar {
    display: none;
    background: var(--bk-surface);
    border-top: 1px solid var(--bk-border);
    box-shadow: 0 -4px 20px rgba(42, 48, 40, .08);
}

.bk-visits-bar.bk-visible {
    display: block;
}

.bk-visits-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
}

.bk-visits-bar-header-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bk-visits-bar-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--bk-olive-green);
    white-space: nowrap;
}

.bk-visits-bar-preview {
    font-size: 12px;
    color: var(--bk-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.bk-visits-bar.bk-expanded .bk-visits-bar-preview {
    display: none;
}

.bk-visits-bar-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--bk-border);
    background: var(--bk-pebble-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--bk-olive-green);
    transition: background .2s ease, border-color .2s ease;
}

.bk-visits-bar-toggle:hover {
    background: var(--bk-accent-soft);
    border-color: var(--bk-sage-green);
}

.bk-visits-bar-toggle svg {
    transition: transform .2s ease;
}

.bk-visits-bar.bk-expanded .bk-visits-bar-toggle svg {
    transform: rotate(180deg);
}

.bk-visits-bar-body {
    display: none;
    max-height: min(45vh, 320px);
    overflow-y: auto;
    padding: 0 16px 12px;
    -webkit-overflow-scrolling: touch;
}

.bk-visits-bar.bk-expanded .bk-visits-bar-body {
    display: block;
}

.bk-visits-bar .bk-appt-date-group {
    margin-bottom: 10px;
}

.bk-visits-bar .bk-appt-date-group:last-child {
    margin-bottom: 0;
}

.bk-visits-bar .bk-appt-date-header {
    font-size: 11px;
    margin-bottom: 6px;
    padding-bottom: 2px;
}

.bk-visits-bar .bk-appt-card {
    padding: 10px 12px;
}

/* ── Details step (Phase 5) ── */

.bk-form-grid {
    margin-bottom: 4px;
}

.bk-details-form-layout .dxbl-fl-item-caption {
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-olive-green);
    margin-bottom: 6px;
}

.bk-form-optional-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-olive-green);
    margin-bottom: 6px;
}

.bk-form-required-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-olive-green);
    margin-bottom: 6px;
}

.bk-form-optional-label span {
    font-weight: 400;
    color: var(--bk-text-muted);
}

.bk-phone-group {
    display: grid !important;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

.bk-phone-group > * {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
}

.bk-details-form-layout .bk-phone-group .dxbl-text-edit,
.bk-details-form-layout .bk-phone-group .dxbl-combobox {
    width: 100% !important;
}

.bk-phone-group .dxbl-text-edit.dxbl-focused,
.bk-phone-group .dxbl-text-edit:focus-within {
    border-color: var(--bk-olive-green);
    box-shadow: 0 0 0 1px var(--bk-olive-green);
}

/* Country dropdown + any booking-wizard listbox selection → OLEA olive */
.dxbl-listbox div.dxbl-listbox-item-selected,
.dxbl-listbox tr.dxbl-listbox-item-selected > td {
    --dxbl-listbox-item-selected-color: #ffffff;
    color: #ffffff !important;
}

.dxbl-listbox div.dxbl-listbox-item-selected::before,
.dxbl-listbox tr.dxbl-listbox-item-selected > td::before,
.dxbl-listbox div.dxbl-listbox-item:hover.dxbl-listbox-item-selected::before,
.dxbl-listbox tr.dxbl-listbox-item:hover.dxbl-listbox-item-selected > td::before {
    background-color: #6c7f66 !important;
    opacity: 1 !important;
}

.bk-phone-country-dropdown,
.bk-phone-country-dropdown .dxbl-listbox,
.bk-phone-country-dropdown .dxbl-dropdown-body {
    --primary: #6c7f66 !important;
    --bs-primary: #6c7f66 !important;
    --bs-primary-rgb: 108, 127, 102 !important;
    --dxbl-listbox-item-selected-bg: #6c7f66 !important;
    --dxbl-listbox-item-selected-color: #ffffff !important;
    --dxbl-listbox-item-selected-hover-bg: #5a6b55 !important;
    --dxbl-listbox-item-selected-hover-color: #ffffff !important;
    --dxbl-listbox-item-hover-bg: #eef2ec !important;
    --dxbl-listbox-item-hover-color: #6c7f66 !important;
    --dxbl-listbox-item-active-bg: #eef2ec !important;
}

.bk-phone-country-dropdown .dxbl-listbox div.dxbl-listbox-item-selected,
.bk-phone-country-dropdown .dxbl-listbox tr.dxbl-listbox-item-selected > td {
    background-color: #6c7f66 !important;
    color: #ffffff !important;
}

.bk-phone-country-dropdown .dxbl-listbox div.dxbl-listbox-item-selected::before,
.bk-phone-country-dropdown .dxbl-listbox tr.dxbl-listbox-item-selected > td::before,
.bk-phone-country-dropdown .dxbl-listbox div.dxbl-listbox-item-active:not(.dxbl-listbox-item-selected)::before,
.bk-phone-country-dropdown .dxbl-listbox tr.dxbl-listbox-item-active:not(.dxbl-listbox-item-selected) > td::before,
.bk-phone-country-dropdown .dxbl-listbox div.dxbl-listbox-item:hover.dxbl-listbox-item-selected::before,
.bk-phone-country-dropdown .dxbl-listbox tr.dxbl-listbox-item:hover.dxbl-listbox-item-selected > td::before {
    background-color: #6c7f66 !important;
    opacity: 1 !important;
}

.bk-phone-country-dropdown .dxbl-listbox div.dxbl-listbox-item:hover:not(.dxbl-listbox-item-selected),
.bk-phone-country-dropdown .dxbl-listbox tr.dxbl-listbox-item:hover:not(.dxbl-listbox-item-selected) > td {
    background-color: #eef2ec !important;
    color: #6c7f66 !important;
}

.bk-details-form-layout .dxbl-text-edit,
.bk-details-form-layout .dxbl-memo {
    font-size: 16px;
}

.bk-details-form-layout .dxbl-text-edit-input,
.bk-details-form-layout .dxbl-memo-input {
    min-height: var(--bk-touch-min);
    border-radius: var(--bk-radius);
}

.bk-voucher-section {
    margin-top: 18px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1.5px dashed var(--bk-sand-beige);
    border-radius: var(--bk-radius);
    background: var(--bk-pebble-white);
}

.bk-voucher-section.bk-applied {
    border-style: solid;
    border-color: var(--bk-services-green);
    background: #f0f7f1;
}

.bk-voucher-question {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.bk-voucher-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-olive-green);
    margin: 0;
    line-height: 1.4;
}

.bk-required {
    color: #c44;
    margin-left: 2px;
}

.bk-voucher-radios {
    display: flex;
    gap: 20px;
}

.bk-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bk-text);
    cursor: pointer;
    user-select: none;
}

.bk-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.bk-radio-mark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--bk-sand-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .15s ease;
}

.bk-radio-mark::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: background .15s ease;
}

.bk-radio-option input[type="radio"]:checked + .bk-radio-mark {
    border-color: var(--bk-olive-green);
}

.bk-radio-option input[type="radio"]:checked + .bk-radio-mark::after {
    background: var(--bk-olive-green);
}

.bk-voucher-footnote {
    margin: 12px 0 0;
    font-size: 12px;
    font-style: italic;
    color: var(--bk-text-muted);
    line-height: 1.5;
    padding-left: 12px;
    border-left: 3px solid var(--bk-sand-beige);
}

.bk-footer-brand {
    color: #f28c00;
    font-weight: 600;
    text-decoration: none;
}

.bk-footer-brand:hover {
    color: #d97a00;
    text-decoration: underline;
}

.bk-confirm-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(42, 48, 40, .38);
    animation: bk-confirm-fade-in .18s ease;
}

@keyframes bk-confirm-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bk-confirm-dialog-panel {
    position: relative;
    width: min(400px, 100%);
    background: var(--bk-surface);
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-lg);
    box-shadow: 0 16px 48px rgba(42, 48, 40, .18);
    padding: 32px 28px 28px;
    text-align: center;
    animation: bk-confirm-slide-in .2s ease;
}

@keyframes bk-confirm-slide-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bk-confirm-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #b0b5ae;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0;
    transition: color .15s ease;
}

.bk-confirm-dialog-close:hover {
    color: var(--bk-text-secondary);
}

.bk-confirm-dialog-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e8f0ea;
    color: #5a6b55;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bk-confirm-dialog-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--bk-text);
    line-height: 1.35;
    letter-spacing: -.01em;
}

.bk-confirm-dialog-message {
    margin: 0 0 26px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--bk-text-muted);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.bk-confirm-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bk-confirm-dialog-btn {
    min-height: 44px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--bk-surface);
    font-family: inherit;
    line-height: 1.2;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.bk-confirm-dialog-btn-cancel {
    color: var(--bk-text);
    border: 1px solid #d8d4cc;
}

.bk-confirm-dialog-btn-cancel:hover {
    background: var(--bk-pebble-white);
    border-color: var(--bk-sand-beige);
}

.bk-confirm-dialog-btn-remove {
    color: #d44;
    border: 1px solid #e5a8a8;
}

.bk-confirm-dialog-btn-remove:hover {
    background: #fff8f8;
    border-color: #d44;
    color: #c33;
}

/* Honeypot — visually hidden, still in DOM for bots */
.bk-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}



.dxbl-list-box, .dxbl-list-box-render-container {
    --dxbl-list-box-focus-frame-color: var(--primary);
    --dxbl-list-box-item-drop-indicator-color: color-mix(in srgb, var(--primary) 95%, white 5%);
}

.dxbl-edit-dropdown {
    --dxbl-edit-dropdown-btn-focus-outline-color: var(--primary);
}

.dxbl-list-box-render-container:not(.dxbl-disabled):not(:disabled):not(.dxbl-readonly):not(.dxbl-list-box-multi-select)[data-dx-focus-hidden] > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > :not(.dxbl-list-box-empty-data-container) > li:not(.dxbl-list-box-item-disabled):not(.dxbl-list-box-group-item):not([dxbl-top-virtual-spacer-element]):not([dxbl-bottom-virtual-spacer-element]).dxbl-list-box-item-selected:hover::before, .dxbl-list-box:not(.dxbl-disabled):not(:disabled):not(.dxbl-readonly):not(.dxbl-list-box-multi-select)[data-dx-focus-hidden] > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > :not(.dxbl-list-box-empty-data-container) > li:not(.dxbl-list-box-item-disabled):not(.dxbl-list-box-group-item):not([dxbl-top-virtual-spacer-element]):not([dxbl-bottom-virtual-spacer-element]).dxbl-list-box-item-selected:hover::before {
    background-color: var(--primary);
}

.dxbl-list-box-render-container > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li.dxbl-list-box-item-selected:not(.dxbl-list-box-item-disabled)::before, .dxbl-list-box > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li.dxbl-list-box-item-selected:not(.dxbl-list-box-item-disabled)::before {
    background-color: var(--primary)
}

.dxbl-list-box-render-container > .dxbl-list-box-select-all-container.dxbl-list-box-item-focused, .dxbl-list-box-render-container > .dxbl-list-box-select-all-container:focus, .dxbl-list-box-render-container > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > table > thead > .dxbl-list-box-table-header-row.dxbl-list-box-item-focused, .dxbl-list-box-render-container > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > table > thead > .dxbl-list-box-table-header-row:focus, .dxbl-list-box-render-container > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li:not([dxbl-bottom-virtual-spacer-element]):not([dxbl-top-virtual-spacer-element]).dxbl-list-box-item-focused, .dxbl-list-box-render-container > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li:not([dxbl-bottom-virtual-spacer-element]):not([dxbl-top-virtual-spacer-element]):focus, .dxbl-list-box > .dxbl-list-box-select-all-container.dxbl-list-box-item-focused, .dxbl-list-box > .dxbl-list-box-select-all-container:focus, .dxbl-list-box > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > table > thead > .dxbl-list-box-table-header-row.dxbl-list-box-item-focused, .dxbl-list-box > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > table > thead > .dxbl-list-box-table-header-row:focus, .dxbl-list-box > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li:not([dxbl-bottom-virtual-spacer-element]):not([dxbl-top-virtual-spacer-element]).dxbl-list-box-item-focused, .dxbl-list-box > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li:not([dxbl-bottom-virtual-spacer-element]):not([dxbl-top-virtual-spacer-element]):focus {
    outline-color: var(--primary);
}