/* Full QuanticaLabs forms only. Native visibility, events, prices and layouts remain plugin-owned. */
body.noir-booking-page {
    --noir-paper: #f7f5f1;
    --noir-ink: #202020;
    --noir-gold: #b99a62;
    --noir-line: #e6e2da;
    background: var(--noir-paper);
}
.noir-booking-page #main-content.services-section {
    padding: clamp(28px, 5vw, 64px) 5%;
    background: var(--noir-paper);
}
.noir-booking-page .entry-title {
    margin: 0 0 32px;
    color: var(--noir-ink);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.5px;
}
.noir-booking-page .chbs-main:not(.chbs-widget) {
    max-width: 100%;
    color: var(--noir-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    /* CHBS scrolls to the form with a fixed 20px offset. Reserve header space
       inside its scroll target, cancelling that space in the initial layout. */
    padding-top: calc(var(--noir-header-height, 80px) + 16px);
    margin-top: calc(-1 * (var(--noir-header-height, 80px) + 16px));
}
.noir-booking-page .chbs-main :is(input, select, textarea, button, .chbs-button, .ui-selectmenu-button, h2, h3, h4, label) {
    font-family: Arial, Helvetica, sans-serif;
}
.noir-booking-page .chbs-main :is(input, select, textarea, a, button, [tabindex]) {
    scroll-margin-top: calc(var(--noir-header-height, 80px) + var(--noir-admin-offset, 0px) + 16px);
}
.noir-booking-page .chbs-main :is(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid #806332;
    outline-offset: 3px;
}

/* All four native steps, including completed and selected states. */
.noir-booking-page .chbs-main .chbs-main-navigation-default { margin-bottom: 32px; }
.noir-booking-page .chbs-main .chbs-main-navigation-default > ul > li > div { background-color: var(--noir-line); }
.noir-booking-page .chbs-main .chbs-main-navigation-default > ul > li > a > span:first-child {
    background-color: var(--noir-paper);
    border-color: #cfc7ba;
    color: #625b50;
}
.noir-booking-page .chbs-main .chbs-main-navigation-default > ul > li > a > span:last-child { color: #625b50; }
.noir-booking-page .chbs-main .chbs-main-navigation-default > ul > li:is(.chbs-state-selected, .chbs-state-completed) > a > span:first-child,
.noir-booking-page .chbs-main .chbs-main-navigation-default > ul > li:has(~ li.chbs-state-selected) > a > span:first-child {
    background-color: var(--noir-gold);
    border-color: var(--noir-gold);
    color: var(--noir-ink);
}
.noir-booking-page .chbs-main .chbs-main-navigation-default > ul > li.chbs-state-selected > a > span:last-child {
    color: var(--noir-ink);
    font-weight: 700;
}
.noir-booking-page .chbs-main .chbs-main-navigation-default .chbs-meta-icon-tick { color: var(--noir-ink); }

/* Keep the original One Way / Hourly tabs and jQuery UI panels. */
.noir-booking-page .chbs-main .chbs-tab.ui-tabs > .ui-tabs-nav { border-color: var(--noir-line); }
.noir-booking-page .chbs-main .chbs-tab.ui-tabs > .ui-tabs-nav > li > a {
    border-color: var(--noir-line);
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    color: var(--noir-ink);
}
.noir-booking-page .chbs-main .chbs-tab.ui-tabs > .ui-tabs-nav > li.ui-tabs-active > a {
    background-color: var(--noir-ink);
    border-color: var(--noir-ink);
    color: #fff;
}
.noir-booking-page .chbs-main .chbs-tab.ui-tabs .ui-tabs-panel {
    padding: clamp(16px, 3vw, 28px);
    border: 1px solid var(--noir-line);
    border-radius: 0 14px 14px 14px;
    background-color: #fff;
}
.noir-booking-page .chbs-main .chbs-form-label-group {
    color: var(--noir-ink);
    font-size: 18px;
    font-weight: 600;
}
.noir-booking-page .chbs-main .chbs-form-field {
    border-color: var(--noir-line);
    border-radius: 10px;
    background-color: var(--noir-paper);
}
.noir-booking-page .chbs-main .chbs-form-field:focus-within {
    border-color: var(--noir-gold);
    box-shadow: 0 0 0 3px #b99a621a;
}
.noir-booking-page .chbs-main .chbs-form-field > label,
.noir-booking-page .chbs-main .chbs-form-field > label a { color: #625b50; font-size: 13px; }
.noir-booking-page .chbs-main .chbs-form-field :is(input, select, textarea, .ui-selectmenu-button, .ui-selectmenu-text) {
    color: var(--noir-ink);
    background-color: transparent;
    font-size: 16px;
    font-weight: 400;
}
.noir-booking-page .chbs-main .chbs-form-field input::placeholder,
.noir-booking-page .chbs-main .chbs-form-field textarea::placeholder { color: #6a645b; opacity: 1; }
.noir-booking-page .chbs-main .chbs-form-field textarea { min-height: 120px; }

/* Native buttons: no replacement controls, no changes to disabled/loading states. */
.noir-booking-page .chbs-main .chbs-button {
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
}
.noir-booking-page .chbs-main .chbs-button.chbs-button-style-1 {
    background-color: var(--noir-ink);
    border-color: var(--noir-ink);
    color: #fff;
}
.noir-booking-page .chbs-main .chbs-button.chbs-button-style-1:hover {
    background-color: #303030;
    border-color: var(--noir-gold);
    color: #fff;
}
.noir-booking-page .chbs-main .chbs-button.chbs-button-style-2:not(.noir-meet-greet-toggle) {
    background-color: #fff;
    border-color: #cfc7ba;
    color: var(--noir-ink);
}
.noir-booking-page .chbs-main .chbs-button.chbs-button-style-2.chbs-state-selected:not(.noir-meet-greet-toggle) {
    background-color: var(--noir-ink);
    border-color: var(--noir-ink);
    color: #fff;
}
.noir-booking-page .chbs-main .chbs-main-content-navigation-button { margin-top: 28px; }

/* AJAX vehicle cards retain their native grid, gallery, price and selection. */
.noir-booking-page .chbs-main .chbs-vehicle {
    padding: 24px;
    gap: 24px;
    border-color: var(--noir-line);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 4px 16px #30261906;
}
.noir-booking-page .chbs-main .chbs-vehicle:has(.chbs-button.chbs-state-selected) {
    border-color: var(--noir-gold);
    box-shadow: 0 0 0 1px var(--noir-gold);
}
.noir-booking-page .chbs-main .chbs-vehicle .chbs-vehicle-image > img { border-radius: 10px; }
.noir-booking-page .chbs-main .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-header > span {
    color: var(--noir-ink);
    font-size: 22px;
    font-weight: 500;
}
.noir-booking-page .chbs-main .chbs-vehicle .chbs-vehicle-content-price { color: var(--noir-ink); }
.noir-booking-page .chbs-main .chbs-vehicle-content-description { color: #625b50; }
.noir-booking-page .chbs-main .chbs-vehicle-filter .chbs-form-field { border-color: var(--noir-line); background-color: #fff; }

/* Summaries, optional extras, contact panels and payment choices. */
.noir-booking-page .chbs-main .chbs-summary,
.noir-booking-page .chbs-main .chbs-ride-info,
.noir-booking-page .chbs-main .chbs-client-form .chbs-panel {
    padding: 24px;
    border: 1px solid var(--noir-line);
    border-radius: 14px;
    background-color: #fff;
}
.noir-booking-page .chbs-main .chbs-summary + .chbs-summary { margin-top: 20px; }
.noir-booking-page .chbs-main .chbs-summary .chbs-summary-header > h4 { color: var(--noir-ink); font-size: 20px; font-weight: 500; }
.noir-booking-page .chbs-main .chbs-summary .chbs-summary-field-name { color: #625b50; }
.noir-booking-page .chbs-main .chbs-summary .chbs-summary-field-value { color: var(--noir-ink); overflow-wrap: anywhere; }
.noir-booking-page .chbs-main .chbs-summary .chbs-summary-route::after { animation: none; background-color: var(--noir-gold); }
.noir-booking-page .chbs-main .chbs-summary .chbs-summary-route::before { background-color: var(--noir-line); }
.noir-booking-page .chbs-main .chbs-summary .chbs-summary-route-location::before { background-color: var(--noir-gold); border-color: var(--noir-gold); }
.noir-booking-page .chbs-main .chbs-booking-extra-list > ul > li {
    padding: 20px;
    border-color: var(--noir-line);
    border-radius: 14px;
    background-color: #fff;
}
.noir-booking-page .chbs-main .chbs-booking-extra-list > ul > li:has(.chbs-button.chbs-state-selected) {
    border-color: var(--noir-gold);
    box-shadow: none;
}
.noir-booking-page .chbs-main .chbs-booking-extra-list .chbs-booking-form-extra-price { color: #806332; }
.noir-booking-page .chbs-main .chbs-booking-extra-list .chbs-booking-form-extra-name { color: var(--noir-ink); }
.noir-booking-page .chbs-main .chbs-form-checkbox { border-color: #a69a85; background-color: #fff; }
.noir-booking-page .chbs-main .chbs-form-checkbox.chbs-state-selected { border-color: var(--noir-gold); background-color: var(--noir-gold); color: var(--noir-ink); }
.noir-booking-page .chbs-main .chbs-payment > li > a { border-color: var(--noir-line); background-color: #fff; color: var(--noir-ink); }
.noir-booking-page .chbs-main .chbs-payment > li > a.chbs-state-selected { border-color: var(--noir-gold); background-color: var(--noir-paper); color: var(--noir-ink); }
.noir-booking-page .chbs-main .chbs-payment > li > a > .chbs-meta-icon-tick { background-color: var(--noir-gold); color: var(--noir-ink); }
.noir-booking-page .chbs-main .chbs-summary-header > a { background-color: var(--noir-paper); color: #705a36; }
.noir-booking-page .chbs-main .chbs-summary-price-element-total { color: var(--noir-ink); border-color: var(--noir-line); }

/* Plugin-generated popups may be appended to body, so target only their CHBS classes. */
.noir-booking-page .chbs-datepicker.ui-datepicker { border: 1px solid var(--noir-line); border-radius: 12px; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.noir-booking-page .chbs-datepicker.ui-datepicker td a.ui-state-active,
.noir-booking-page .chbs-datepicker.ui-datepicker td a.ui-state-hover,
.noir-booking-page .chbs-main .ui-menu .ui-menu-item-wrapper.ui-state-active,
.noir-booking-page .chbs-main .ui-timepicker-list > li.ui-timepicker-selected { background-color: var(--noir-gold); color: var(--noir-ink); border-color: var(--noir-gold); }

/* Compact first step on desktop only. Keep every native field and hidden state. */
@media (min-width: 1024px) {
    .noir-booking-page #main-content.services-section { padding-top: 24px; }
    .noir-booking-page .entry-title { margin-bottom: 16px; }
    .noir-booking-page .chbs-main .chbs-main-navigation-default { margin-bottom: 16px; }
    .noir-booking-page .chbs-main .chbs-main-content { margin-top: 16px; }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .chbs-tab.ui-tabs .ui-tabs-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
        padding: 16px;
    }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .ui-tabs-panel > :is(.chbs-form-label-group, .chbs-layout, .chbs-form-field-transfer-type, .chbs-form-field-duration) {
        grid-column: 1 / -1;
    }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .ui-tabs-panel > .chbs-form-field-waypoint {
        grid-column: 1 / -1;
    }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .chbs-form-field {
        min-width: 0;
        margin-top: 0;
        padding: 8px 12px;
    }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .chbs-form-field > label { margin-bottom: 2px; }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .chbs-form-label-group {
        margin: 0;
        padding: 0;
    }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .chbs-layout { gap: 12px; }
    .noir-booking-page .chbs-main .chbs-main-content-step-1 .chbs-main-content-navigation-button { margin-top: 14px; }
}

@media (min-width: 1024px) {
    body.noir-booking-page .chbs-main.chbs-summary-sidebar-sticky .chbs-main-content :is(.chbs-main-content-step-2, .chbs-main-content-step-3) > .chbs-layout-25x75 > .chbs-layout-column-left {
        top: calc(var(--noir-header-height, 80px) + var(--noir-admin-offset, 0px) + 20px);
    }
}
@media (max-width: 767px) {
    .noir-booking-page .chbs-main .chbs-main-navigation-default > ul { gap: 8px; }
    .noir-booking-page .chbs-main .chbs-main-navigation-default > ul > li > a > span:last-child { font-size: 11px; line-height: 1.4; }
    .noir-booking-page .chbs-main .chbs-vehicle,
    .noir-booking-page .chbs-main .chbs-summary,
    .noir-booking-page .chbs-main .chbs-client-form .chbs-panel { padding: 16px; }
    .noir-booking-page .chbs-main .chbs-main-content-navigation-button .chbs-button { max-width: 100%; white-space: normal; }
}

/* Step 2 only: vertical cards retain CHB.noir-booking-page .chbs-main .chbs-main-content-step-2 markup, buttons, capacities and prices. */
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle-list > ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle-list > ul > li {
    display: flex;
    min-width: 0;
    margin: 0;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: center;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-image > img {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    margin: 0 auto;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 8px;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-header { display: contents; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-header > span {
    order: 1;
    min-height: 0;
    font-size: 21px;
    line-height: 1.25;
    text-align: left;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-meta > div > .chbs-vehicle-content-meta-info {
    order: 2;
    margin: 0;
    align-self: flex-start;
    justify-self: start;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content-meta .chbs-vehicle-content-meta-info > div { justify-content: flex-start; flex-wrap: wrap; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content-meta :is(.chbs-meta-icon-people, .chbs-meta-icon-bag) { font-size: 20px; color: #806332; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content-meta .chbs-vehicle-content-meta-info > div > span.chbs-circle { margin-left: 6px; font-size: 14px; font-weight: 400; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-price {
    order: 3;
    align-self: stretch;
    justify-self: stretch;
    align-items: flex-start;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid var(--noir-line);
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-price > span > .chbs-vehicle-content-price-before-discount {
    position: static;
    white-space: normal;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-price > span > span {
    color: var(--noir-ink);
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-header > .chbs-button {
    order: 4;
    align-self: stretch;
    justify-self: stretch;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    white-space: normal;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle:has(.chbs-button.chbs-state-selected) {
    border-color: var(--noir-gold);
    box-shadow: 0 0 0 1px var(--noir-gold);
    background-color: #fcfaf6;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-show-more-button { order: 5; align-self: flex-start; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-show-more-button > a { min-height: 44px; margin: 0; font-size: 12px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-description { order: 7; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-price-bid { order: 6; align-self: flex-start; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content-description > div { margin-top: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-description > div > .chbs-vehicle-content-description-attribute { grid-template-columns: minmax(0, 1fr); }

/* Compact native extras. Preserve availability, off-state, quantity and note rules. */
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-1 { grid-column: 1; grid-row: 1; padding: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-2 { grid-column: 1 / -1; grid-row: 2; padding: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-3 { grid-column: 2; grid-row: 1; padding: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-1 > div > .chbs-booking-form-extra-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
    font-size: 16px;
    line-height: 1.4;
}
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-1 > div > .chbs-booking-form-extra-price { font-size: 15px; line-height: 1.4; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-1 > div > .chbs-booking-form-extra-price { color: #806332; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-1 > div > .chbs-booking-form-extra-description { font-size: 14px; line-height: 1.5; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list .noir-meet-greet-toggle { min-height: 44px; min-width: 104px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li[data-booking_extra_name*="meet" i] { --noir-extra-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%226%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M2%2021v-4a6%206%200%200%201%2012%200v4m2-10h6v8h-6zM5%203h6%22%2F%3E%3C%2Fsvg%3E"); }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li[data-booking_extra_id="71"],
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li[data-booking_extra_name*="seat" i],
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li[data-booking_extra_name*="booster" i] { --noir-extra-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h5l2%209h5v6H6L3%205h4m-1%2013v3m12-3v3M8%208l5%206m-5%200%204-6%22%2F%3E%3C%2Fsvg%3E"); }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li:is([data-booking_extra_name*="meet" i], [data-booking_extra_id="71"], [data-booking_extra_name*="seat" i], [data-booking_extra_name*="booster" i]) .chbs-booking-form-extra-name::before {
    content: '';
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background-color: #806332;
    -webkit-mask: var(--noir-extra-icon) center / contain no-repeat;
    mask: var(--noir-extra-icon) center / contain no-repeat;
}

/* Keep the native left summary, values and price breakdown. */
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary { padding: 18px; background-color: var(--noir-paper); border-color: #ddd3c1; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary + .chbs-summary { margin-top: 16px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary .chbs-summary-header { padding-bottom: 12px; border-bottom: 1px solid var(--noir-line); }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary .chbs-summary-header > h4 { font-size: 18px; font-weight: 500; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary .chbs-summary-field { margin-top: 14px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary .chbs-summary-field-name { font-size: 12px; color: #705a36; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary .chbs-summary-field-value { font-size: 14px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-summary-price-element { border-color: var(--noir-line); background-color: var(--noir-paper); border-radius: 14px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-main-content-navigation-button .chbs-button-step-prev {
    background-color: var(--noir-ink);
    border-color: var(--noir-ink);
    color: #fff;
}
@media (min-width: 1024px) {
    body.noir-booking-page .chbs-main .chbs-main-content .chbs-main-content-step-2 > .chbs-layout-25x75 {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 24px;
    }
    body.noir-booking-page .chbs-main .chbs-main-content .chbs-main-content-step-2 > .chbs-layout-25x75 > .chbs-layout-column-left,
    body.noir-booking-page .chbs-main .chbs-main-content .chbs-main-content-step-2 > .chbs-layout-25x75 > .chbs-layout-column-right { order: 0; }
    .noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle-list > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li:has(> .chbs-column-2:not(:empty)):not(.noir-child-seat-off) { grid-template-columns: minmax(0, 1fr) minmax(100px, 130px) auto; }
    .noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li:has(> .chbs-column-2:not(:empty)):not(.noir-child-seat-off) > .chbs-column-2 { grid-column: 2; grid-row: 1; }
    .noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li:has(> .chbs-column-2:not(:empty)):not(.noir-child-seat-off) > .chbs-column-3 { grid-column: 3; }
}

/* Compact later booking steps. Step 1 fields/layout and shared theme stay untouched. */
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-main-content-navigation-button { margin-top: 16px; gap: 12px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary { padding: 16px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary + .chbs-summary { margin-top: 12px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-header { padding-bottom: 8px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-header > h4 { font-size: 18px; line-height: 1.35; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-header > a { min-height: 32px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-field { margin-top: 10px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-field .chbs-summary-field-name { margin-bottom: 2px; font-size: 12px; line-height: 1.4; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-field .chbs-summary-field-value { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-route + .chbs-summary-field { margin-top: 14px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary .chbs-summary-route-location + .chbs-summary-route-location { margin-top: 12px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary-price-element { margin-top: 16px; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary-price-element > div.chbs-summary-price-element-total { margin-top: 10px; padding-top: 10px; }
/* Keep Total in normal flow so long amounts cannot overlap their labels. */
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary-price-element > div.chbs-summary-price-element-total > span:first-child + span {
    position: static;
    float: none;
    padding-top: 0;
    border: 0;
}
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary-price-element > div.chbs-summary-price-element-total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary-price-element > div.chbs-summary-price-element-total > span { font-size: 18px; line-height: 1.5; }
.noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-summary-price-element > div { overflow-wrap: anywhere; }

/* Retain the approved vehicle grid and collapsed details. */
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-vehicle-filter { margin-bottom: 16px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-header { margin: 18px 0 12px; font-size: 22px; line-height: 1.4; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li { margin-bottom: 10px; padding: 12px 14px; }
.noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list .chbs-booking-form-extra-note { margin-top: 8px; }

/* Step 3: preserve the native field grid, required flags and all payment controls. */
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form { padding: 12px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form .chbs-panel { padding: 16px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form .chbs-form-label-group { margin-top: 16px; font-size: 18px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form .chbs-form-field { margin-top: 8px; padding: 8px 12px; min-width: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form .chbs-form-field > label { margin-bottom: 2px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form textarea { min-height: 80px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form :is(.chbs-layout, .chbs-layout-50x50, .chbs-layout-33x33x33) { gap: 12px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-client-form .chbs-client-form-sign-in > div:last-child { margin-top: 16px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment-header { margin: 20px 0 12px; font-size: 18px; line-height: 1.4; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 12px;
    position: static;
    width: 100%;
    margin: 0;
}
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment > li { height: auto; min-width: 0; margin: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    height: 100%;
    padding: 12px;
    background-size: auto 44px;
}
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment > li > a.chbs-state-selected { padding: 12px; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment > li > a > span.chbs-payment-name { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment > li > a > span.chbs-meta-icon-tick {
    top: 6px;
    right: 6px;
    bottom: auto;
    left: auto;
    width: 20px;
    height: 20px;
    margin: 0;
    transform: none;
    font-size: 13px;
    line-height: 20px;
}

/* Step 4: compact information, images, coupon and agreements without removing data. */
.noir-booking-page .chbs-main .chbs-main-content-step-4 > .chbs-layout-33x33x33 { gap: 20px; align-items: start; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-summary .chbs-summary-field .chbs-layout-50x50 { gap: 8px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-layout-column-right > div:has(> img) > img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto;
}
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section,
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-gratuity-section { margin-top: 14px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section .chbs-form-field,
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-gratuity-section .chbs-form-field { margin-top: 8px; padding: 8px 12px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section a.chbs-button.chbs-button-style-2,
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-gratuity-section a.chbs-button.chbs-button-style-2 { margin-top: 8px; min-height: 44px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-agreement-header { margin: 20px 0 10px; font-size: 18px; line-height: 1.4; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-agreement > div { position: relative; margin-top: 10px; min-height: 44px; padding-left: 56px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-agreement > div > .chbs-form-checkbox {
    position: absolute;
    top: 1px;
    left: 0;
    float: none;
    width: 22px;
    height: 22px;
    margin: 0;
}
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-agreement > div > .chbs-form-checkbox > .chbs-meta-icon-tick { font-size: 14px; line-height: 20px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-agreement > div > div { margin-left: 0; min-height: 44px; font-size: 15px; line-height: 1.6; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-agreement a { overflow-wrap: anywhere; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-summary .chbs-summary-field { margin-top: 8px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: end;
    gap: 8px;
}
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section.chbs-clear-fix::after { display: none; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section .chbs-form-field { min-width: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section a.chbs-button.chbs-button-style-2 { float: none; margin-top: 0; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-agreement-header { margin-top: 16px; }
.noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-main-content-navigation-button { margin-top: 8px; }

/* State-aware chrome: no title or progress changes while Step 1 is selected. */
body.noir-booking-page:has(.chbs-main-navigation-default li.chbs-state-selected:is([data-step="2"], [data-step="3"], [data-step="4"])) #main-content.services-section { padding-top: 16px; padding-bottom: 28px; }
body.noir-booking-page:has(.chbs-main-navigation-default li.chbs-state-selected:is([data-step="2"], [data-step="3"], [data-step="4"])) .entry-title { margin-bottom: 16px; }
body.noir-booking-page:has(.chbs-main-navigation-default li.chbs-state-selected:is([data-step="2"], [data-step="3"], [data-step="4"])) .chbs-main .chbs-main-navigation-default { margin-bottom: 16px; }
body.noir-booking-page:has(.chbs-main-navigation-default li.chbs-state-selected:is([data-step="2"], [data-step="3"], [data-step="4"])) .chbs-main .chbs-main-content { margin-top: 12px; }
@media (min-width: 1024px) {
    /* Only align wrappers when the shortcode is a direct child of entry-content. */
    body.noir-booking-page:has(.chbs-main-navigation-default li.chbs-state-selected:is([data-step="2"], [data-step="3"], [data-step="4"])) #main-content .section-container > article:has(> .entry-content > .chbs-main) { position: relative; display: flow-root; }
    body.noir-booking-page:has(.chbs-main-navigation-default li.chbs-state-selected:is([data-step="2"], [data-step="3"], [data-step="4"])) #main-content .section-container > article:has(> .entry-content > .chbs-main) > .entry-header {
        position: absolute;
        top: 6px;
        left: 0;
        width: 220px;
    }
    body.noir-booking-page:has(.chbs-main-navigation-default li.chbs-state-selected:is([data-step="2"], [data-step="3"], [data-step="4"])) #main-content .section-container > article > .entry-content > .chbs-main .chbs-main-navigation-default {
        min-height: 72px;
        padding-left: 244px;
    }
    .noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-main-content-navigation-button .chbs-button { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 767px) {
    .noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-main-content-navigation-button { flex-direction: column; align-items: stretch; }
    .noir-booking-page .chbs-main :is(.chbs-main-content-step-2, .chbs-main-content-step-3, .chbs-main-content-step-4) .chbs-main-content-navigation-button .chbs-button { width: 100%; min-width: 0; margin-left: 0; }
    .noir-booking-page .chbs-main .chbs-main-content-step-3 .chbs-payment { grid-template-columns: minmax(0, 1fr); }
    .noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section { grid-template-columns: minmax(0, 1fr); }
    .noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-1 { min-width: 0; }
    .noir-booking-page .chbs-main .chbs-main-content-step-2 .chbs-booking-extra-list > ul > li > .chbs-column-3 { min-width: 0; align-self: start; }
    .noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-coupon-code-section a.chbs-button,
    .noir-booking-page .chbs-main .chbs-main-content-step-4 .chbs-gratuity-section a.chbs-button { float: none; width: 100%; }
}
