/*
 * WC Bookings Step Wizard — Modern UI
 * v19 — Persons, Vehicle & Date combined into Step 1
 */

/* ── Base ── */
html body #wc-bookings-booking-form,
html body #wc-bookings-booking-form * {
    font-family: inherit !important;
    font-size:   inherit !important;
    line-height: inherit !important;
    box-sizing:  border-box;
}

/* ================================================================
   STEP PANELS
================================================================ */
.wbdn-step-panel { display: none; }
.wbdn-step-panel.wbdn-panel-active {
    display: block;
    animation: wbdn-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}
@keyframes wbdn-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   STEP HEADER — 3 steps
================================================================ */
.wbdn-wizard-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 2px;
}
.wbdn-wiz-step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.wbdn-wiz-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ebebeb;
    color: #bbb;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0;
}
.wbdn-wiz-label {
    font-size: 12px;
    color: #c0c0c0;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s;
}
.wbdn-wiz-sep {
    flex: 1;
    height: 2px;
    background: #ebebeb;
    margin: 0 8px;
    min-width: 12px;
    border-radius: 2px;
    transition: background 0.3s;
}
.wbdn-wiz-step.active .wbdn-wiz-num {
    background: #3B6D11;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(59,109,17,0.15);
}
.wbdn-wiz-step.active .wbdn-wiz-label {
    color: #3B6D11;
    font-weight: 700;
}
.wbdn-wiz-step.done .wbdn-wiz-num {
    background: #3B6D11;
    color: #fff;
}
.wbdn-wiz-step.done .wbdn-wiz-label { color: #3B6D11; font-weight: 600; }
.wbdn-wiz-step.done + .wbdn-wiz-sep { background: #3B6D11; }

/* ================================================================
   FORM FIELDS
================================================================ */
html body #wc-bookings-booking-form input[type="number"],
html body #wc-bookings-booking-form input[type="text"],
html body #wc-bookings-booking-form select {
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 11px 14px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    outline: none !important;
    color: #1a1a1a !important;
    width: 100% !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
html body #wc-bookings-booking-form input:focus,
html body #wc-bookings-booking-form select:focus {
    border-color: #3B6D11 !important;
    box-shadow: 0 0 0 3px rgba(59,109,17,0.12) !important;
}

/* ── Hide any stray WC Bookings cost elements outside our label group ── */
html body #wc-bookings-booking-form .wbdn-persons-row > p.form-field > abbr,
html body #wc-bookings-booking-form .wbdn-persons-row > p.form-field > span:not(.wbdn-qty-wrap):not(.wbdn-qty-btn) {
    display: none !important;
}

/* ================================================================
   PERSONS ROW — vertical stack, one person type per row
================================================================ */
html body #wc-bookings-booking-form .wbdn-persons-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
}
html body #wc-bookings-booking-form .wbdn-persons-row > p.form-field {
    flex: none !important;
    margin-bottom: 0 !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
html body #wc-bookings-booking-form .wbdn-persons-row > p.form-field:last-child {
    border-bottom: none !important;
}

/* ── Inline row: label+price LEFT, stepper RIGHT on same line ── */
html body #wc-bookings-booking-form .wbdn-inline-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    gap: 10px !important;
}
html body #wc-bookings-booking-form .wbdn-label-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 !important;
    min-width: 0 !important;
}
html body #wc-bookings-booking-form .wbdn-inline-row label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin: 0 !important;
    cursor: default !important;
    white-space: normal !important;
    word-break: break-word !important;
}
html body #wc-bookings-booking-form .wbdn-price-suffix {
    color: #3B6D11 !important;
    font-weight: 500 !important;
}

/* ── Qty stepper — fixed compact width, floats right ── */
html body #wc-bookings-booking-form .wbdn-qty-wrap {
    display: flex !important;
    align-items: stretch !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    width: auto !important;
    flex-shrink: 0 !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
html body #wc-bookings-booking-form .wbdn-qty-wrap:focus-within {
    border-color: #3B6D11 !important;
    box-shadow: 0 0 0 3px rgba(59,109,17,0.12) !important;
}
html body #wc-bookings-booking-form .wbdn-qty-wrap input[type="number"] {
    border: none !important;
    border-left: 1.5px solid #e5e7eb !important;
    border-right: 1.5px solid #e5e7eb !important;
    border-radius: 0 !important;
    text-align: center !important;
    flex: none !important;
    width: 44px !important;
    padding: 8px 4px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    -moz-appearance: textfield !important;
    box-shadow: none !important;
    background: #fff !important;
}
html body #wc-bookings-booking-form .wbdn-qty-wrap input:focus {
    box-shadow: none !important;
    border-color: #e5e7eb !important;
}
html body #wc-bookings-booking-form .wbdn-qty-wrap input::-webkit-inner-spin-button,
html body #wc-bookings-booking-form .wbdn-qty-wrap input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}
html body #wc-bookings-booking-form .wbdn-qty-btn {
    width: 36px !important;
    min-width: 36px !important;
    background: #f9fafb !important;
    border: none !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background 0.15s, color 0.15s !important;
    user-select: none !important;
    line-height: 1 !important;
}
html body #wc-bookings-booking-form .wbdn-qty-btn:hover {
    background: #ecfdf5 !important;
    color: #3B6D11 !important;
}
html body #wc-bookings-booking-form .wbdn-qty-btn:active {
    background: #d1fae5 !important;
}

/* ── Hide vehicle / resource field entirely ── */
html body #wc-bookings-booking-form .wc_bookings_field_resource { display: none !important; }

/* ── Calendar starts right after persons row ── */
html body #wc-bookings-booking-form fieldset.wc-bookings-date-picker,
html body #wc-bookings-booking-form .wc-bookings-date-picker.wc_bookings_field_start_date {
    margin-top: 0 !important;
}

/* ================================================================
   CALENDAR
================================================================ */
html body #wc-bookings-booking-form fieldset.wc-bookings-date-picker,
html body #wc-bookings-booking-form .wc-bookings-date-picker.wc_bookings_field_start_date {
    border: 1.5px solid #e5e7eb !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
    background: #fff !important;
    width: 100% !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

/* ── Time slot section gets its own card too ── */
html body #wc-bookings-booking-form .form-field-wide:has(.block-picker) {
    border: 1.5px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #fff !important;
    padding: 14px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}
html body #wc-bookings-booking-form .picker,
html body #wc-bookings-booking-form .ui-datepicker-inline {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    width: 100% !important;
    box-shadow: none !important;
}
html body #wc-bookings-booking-form .ui-datepicker-header,
html body #wc-bookings-booking-form .ui-widget-header {
    background: #fff !important;
    border: none !important;
    border-bottom: 1.5px solid #f3f4f6 !important;
    border-radius: 0 !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}
html body #wc-bookings-booking-form .ui-datepicker-title {
    font-weight: 800 !important;
    color: #111827 !important;
    text-align: center !important;
    flex: 1 !important;
    margin: 0 !important;
    float: none !important;
    order: 2 !important;
    font-size: 1.05em !important;
    letter-spacing: 0.02em !important;
}
html body #wc-bookings-booking-form .ui-datepicker-header a.ui-datepicker-prev { order:1 !important; position:static !important; float:none !important; }
html body #wc-bookings-booking-form .ui-datepicker-header a.ui-datepicker-next { order:3 !important; position:static !important; float:none !important; }
html body #wc-bookings-booking-form .ui-datepicker-header a.ui-datepicker-prev,
html body #wc-bookings-booking-form .ui-datepicker-header a.ui-datepicker-next {
    width: 32px !important; height: 32px !important; min-width: 32px !important;
    border-radius: 8px !important; border: 1.5px solid #e5e7eb !important;
    background-color: #fff !important; cursor: pointer !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    margin: 0 !important; padding: 0 !important; overflow: hidden !important;
    background-repeat: no-repeat !important; background-position: center !important;
    background-size: 7px 12px !important;
    transition: all 0.15s !important;
}
html body #wc-bookings-booking-form .ui-datepicker-header a:hover {
    background-color: #f0fdf4 !important;
    border-color: #3B6D11 !important;
}
html body #wc-bookings-booking-form .ui-datepicker-header a span { display:none !important; }
html body #wc-bookings-booking-form .ui-datepicker-header a::after { content:none !important; }
html body #wc-bookings-booking-form .ui-datepicker-header a.ui-datepicker-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12'%3E%3Cpath d='M6 1L1 6l5 5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
html body #wc-bookings-booking-form .ui-datepicker-header a.ui-datepicker-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar {
    width: 100% !important; border-collapse: separate !important; border-spacing: 3px !important;
    padding: 8px 12px 12px !important; margin: 0 !important;
    background: transparent !important; border: none !important; table-layout: fixed !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar thead th,
html body #wc-bookings-booking-form table.ui-datepicker-calendar thead tr,
html body #wc-bookings-booking-form table.ui-datepicker-calendar thead { border: none !important; background: none !important; }
html body #wc-bookings-booking-form table.ui-datepicker-calendar thead th {
    font-size: 11px !important; font-weight: 700 !important; color: #9ca3af !important;
    text-align: center !important; padding: 8px 0 10px !important; letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td {
    padding: 1px !important; border: none !important; background: none !important; text-align: center !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td span.ui-state-default {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 100% !important; height: 36px !important; border-radius: 10px !important;
    font-size: 13px !important; font-weight: 500 !important; border: none !important;
    padding: 0 !important; text-decoration: none !important;
    background: #f9fafb !important; color: #d1d5db !important;
    cursor: default !important; transition: all 0.15s !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.not_bookable > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.not_bookable > span,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.ui-datepicker-unselectable > span,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.ui-state-disabled > span {
    background: #f3f4f6 !important; color: #e5e7eb !important;
    cursor: not-allowed !important; pointer-events: none !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.ui-datepicker-other-month > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.ui-datepicker-other-month > span {
    background: transparent !important; color: #e5e7eb !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.bookable:not(.not_bookable):not(.partial_booked):not(.ui-datepicker-unselectable):not(.ui-state-disabled):not(.ui-datepicker-other-month) > a {
    background: #f0fdf4 !important; color: #166534 !important;
    cursor: pointer !important; font-weight: 600 !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.bookable:not(.not_bookable):not(.partial_booked):not(.ui-datepicker-unselectable):not(.ui-state-disabled):not(.ui-datepicker-other-month) > a:hover {
    background: #dcfce7 !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked:not(.ui-datepicker-unselectable):not(.ui-state-disabled) > a {
    background: #fffbeb !important; color: #92400e !important;
    cursor: pointer !important; font-weight: 600 !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked:not(.ui-datepicker-unselectable):not(.ui-state-disabled):not(.ui-datepicker-current-day):not(.bookable-range):not(.selection-start-date) > a:hover {
    background: #fde68a !important;
    box-shadow: 0 0 0 2px rgba(245,158,11,0.25) !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.bookable-range > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.selection-start-date > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.ui-datepicker-current-day > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked.ui-datepicker-current-day > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked.bookable-range > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked.selection-start-date > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td > a.ui-state-active,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td > a.ui-state-active.ui-state-default,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.selected > a,
html body #wc-bookings-booking-form .ui-datepicker td.ui-datepicker-current-day a,
html body #wc-bookings-booking-form .ui-datepicker-calendar td a.ui-state-default.ui-state-active {
    background: #3B6D11 !important;
    background-color: #3B6D11 !important;
    background-image: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: 2px solid #3B6D11 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59,109,17,0.2) !important;
    text-shadow: none !important;
}
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked.ui-datepicker-current-day > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked.bookable-range > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked.selection-start-date > a,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked > a.ui-state-active,
html body #wc-bookings-booking-form table.ui-datepicker-calendar td.partial_booked > a.ui-state-active.ui-state-default {
    background: #f59e0b !important;
    background-color: #f59e0b !important;
    background-image: none !important;
    color: #92400e !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: 2px solid #f59e0b !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.2) !important;
    text-shadow: none !important;
}

/* ── Legend ── */
html body #wc-bookings-booking-form .wbdn-cal-legend {
    display: flex !important; flex-wrap: wrap !important; gap: 14px !important;
    padding: 10px 14px 14px !important; margin: 0 !important;
    border-top: 1px solid #f3f4f6 !important;
}
html body #wc-bookings-booking-form .wbdn-legend-item {
    display: flex !important; align-items: center !important; gap: 6px !important;
    font-size: 11px !important; color: #9ca3af !important; font-weight: 500 !important;
}
html body #wc-bookings-booking-form .wbdn-legend-dot {
    display: inline-block !important; width: 10px !important; height: 10px !important;
    min-width: 10px !important; border-radius: 4px !important;
}

/* ================================================================
   TIME SLOTS
================================================================ */
html body #wc-bookings-booking-form #wbdn-slot-ph {
    margin-top: 16px !important;
}
html body #wc-bookings-booking-form #wbdn-slot-ph ~ .form-field-wide,
html body #wc-bookings-booking-form .form-field-wide:has(.block-picker) {
    margin-top: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    overflow: visible !important;
}
html body #wc-bookings-booking-form #wbdn-slot-label {
    font-weight: 700 !important;
    font-size: 0.9em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #374151 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: left !important;
    float: none !important;
    width: 100% !important;
}
html body #wc-bookings-booking-form .form-field-wide:has(.block-picker),
html body #wc-bookings-booking-form .form-field:has(.block-picker),
html body #wc-bookings-booking-form .block-picker,
html body #wc-bookings-booking-form .block-picker li {
    text-align: left !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}
html body #wc-bookings-booking-form .block-picker {
    width: auto !important;
    display: flex !important;
}
html body #wc-bookings-booking-form .block-picker li {
    width: auto !important;
    clear: none !important;
}
html body #wc-bookings-booking-form .block-picker {
    display: flex !important; flex-wrap: wrap !important;
    justify-content: flex-start !important; gap: 8px !important;
    padding: 4px !important; list-style: none !important;
    margin: 0 -4px !important; background: none !important;
    float: none !important;
    width: calc(100% + 8px) !important;
    text-align: left !important;
    overflow: visible !important;
}
html body #wc-bookings-booking-form .block-picker li {
    padding: 0 !important; margin: 0 !important; background: none !important;
    border: none !important; list-style: none !important; float: none !important;
}
html body #wc-bookings-booking-form .block-picker li a {
    width: auto !important; height: auto !important;
    display: inline-flex !important; align-items: center !important;
    padding: 9px 18px !important;
    border: 1.5px solid #3B6D11 !important;
    border-radius: 10px !important; color: #374151 !important;
    background: #fff !important; text-decoration: none !important;
    white-space: nowrap !important; cursor: pointer !important;
    transition: all 0.15s !important; font-weight: 500 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
html body #wc-bookings-booking-form .block-picker li a:hover {
    border-color: #3B6D11 !important; background: #f0fdf4 !important;
    color: #166534 !important;
    box-shadow: 0 0 0 2px rgba(59,109,17,0.2) !important;
}
html body #wc-bookings-booking-form .block-picker li a.selected {
    background: #3B6D11 !important;
    border: 1.5px solid #3B6D11 !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 0 0 3px rgba(59,109,17,0.25) !important;
}

/* ── Error notices ── */
html body #wc-bookings-booking-form #wbdn-step-err,
html body #wc-bookings-booking-form .booking-error {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}
html body #wc-bookings-booking-form #wbdn-driver-error {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}
html body #wc-bookings-booking-form #wbdn-step-err + #wbdn-driver-error,
html body #wc-bookings-booking-form #wbdn-driver-error + #wbdn-step-err {
    margin-top: 8px !important;
}
html body #wc-bookings-booking-form #wbdn-driver-error {
    padding: 10px 14px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 3px solid #dc2626 !important;
    border-radius: 10px !important;
    color: #dc2626 !important;
    font-weight: 500 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ── Book Now spinner ── */
.wbdn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wbdn-spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
    flex-shrink: 0;
}
@keyframes wbdn-spin {
    to { transform: rotate(360deg); }
}

/* ── Booking cost hidden until review step ── */
html body #wc-bookings-booking-form .wc-bookings-booking-cost { display: none !important; }

/* ================================================================
   DRIVER SECTION
================================================================ */
html body #wc-bookings-booking-form #wbdn-driver-section,
html body #wc-bookings-booking-form #wbdn-driver-section * {
    font-family: inherit !important; font-size: inherit !important;
}
html body #wc-bookings-booking-form #wbdn-driver-section > label {
    display: block !important; font-weight: 700 !important;
    margin-bottom: 16px !important; color: #374151 !important;
    font-size: 0.9em !important; text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}
html body #wc-bookings-booking-form #wbdn-accordion { border: none !important; background: none !important; }
html body #wc-bookings-booking-form #wbdn-accordion-toggle {
    width: 100% !important; display: flex !important;
    align-items: center !important; justify-content: space-between !important;
    padding: 0 0 10px 0 !important; background: none !important;
    border: none !important; cursor: default !important;
    font-weight: 500 !important; color: #6b7280 !important;
    font-size: 0.9em !important;
    pointer-events: none !important;
}
html body #wc-bookings-booking-form #wbdn-accordion-toggle.wbdn-all-done { color: #3B6D11 !important; }
html body #wc-bookings-booking-form #wbdn-toggle-icon { display: none !important; }
html body #wc-bookings-booking-form #wbdn-accordion-body {
    overflow: visible !important; max-height: none !important;
    padding: 0 !important; margin-top: 0 !important;
    display: block !important; background: none !important;
}
html body #wc-bookings-booking-form #wbdn-accordion-body.wbdn-open {
    max-height: none !important; padding: 0 !important; margin-top: 0 !important;
}
html body #wc-bookings-booking-form #wbdn-names-list {
    display: flex !important; flex-direction: column !important;
    gap: 8px !important; margin: 0 0 10px 0 !important; margin-top: 0 !important;
    padding: 0 !important; list-style: none !important;
}
html body #wc-bookings-booking-form #wbdn-names-list li {
    display: flex !important; align-items: center !important;
    gap: 12px !important; padding: 12px 14px !important;
    background: #f0fdf4 !important;
    border: 1.5px solid #bbf7d0 !important;
    border-radius: 10px !important; margin-bottom: 0 !important;
}
html body #wc-bookings-booking-form #wbdn-names-list li .wbdn-name-label {
    font-size: 0.75em !important; font-weight: 700 !important;
    color: #3B6D11 !important; text-transform: uppercase !important;
    letter-spacing: 0.06em !important; flex-shrink: 0 !important; min-width: 56px !important;
}
html body #wc-bookings-booking-form #wbdn-names-list li .wbdn-name-value {
    flex: 1 !important; color: #1a1a1a !important; font-weight: 500 !important;
}
html body #wc-bookings-booking-form #wbdn-names-list li button {
    background: none !important; border: none !important; color: #d1d5db !important;
    cursor: pointer !important; padding: 0 !important; flex-shrink: 0 !important;
    font-size: 1.1em !important; line-height: 1 !important; transition: color .15s !important;
}
html body #wc-bookings-booking-form #wbdn-names-list li button:hover { color: #ef4444 !important; }
html body #wc-bookings-booking-form #wbdn-input-row {
    display: flex !important; gap: 8px !important; align-items: stretch !important;
}
html body #wc-bookings-booking-form #wbdn-input-row.wbdn-hidden { display: none !important; }
html body #wc-bookings-booking-form #wbdn-name-input { flex: 1 !important; min-width: 0 !important; }
html body #wc-bookings-booking-form #wbdn-name-input.wbdn-input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}
html body #wc-bookings-booking-form #wbdn-add-name-btn {
    width: 44px !important; min-width: 44px !important; height: 44px !important;
    padding: 0 !important; background: #3B6D11 !important; color: #fff !important;
    border: none !important; border-radius: 10px !important;
    font-weight: 700 !important; font-size: 22px !important; cursor: pointer !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    flex-shrink: 0 !important; box-shadow: 0 2px 8px rgba(59,109,17,0.2) !important;
    transition: all 0.15s !important; font-family: inherit !important; line-height: 1 !important;
}
html body #wc-bookings-booking-form #wbdn-add-name-btn:hover {
    background: #2d5209 !important;
    box-shadow: 0 4px 12px rgba(59,109,17,0.3) !important;
    transform: scale(1.08) !important;
}
html body #wc-bookings-booking-form #wbdn-driver-error {
    display: none !important; padding: 10px 14px !important;
    margin-top: 0 !important;
    background: #fef2f2 !important; border: 1.5px solid #fecaca !important;
    border-left: 3px solid #ef4444 !important; border-radius: 10px !important;
    color: #dc2626 !important; font-weight: 500 !important;
    margin-top: 10px !important; width: 100% !important;
}

/* ================================================================
   SUMMARY CARD
================================================================ */
#wbdn-summary {
    background: linear-gradient(135deg, #f0fdf4 0%, #f9fafb 100%);
    border: 1.5px solid #bbf7d0;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}
#wbdn-summary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: #3B6D11;
    border-radius: 4px 0 0 4px;
}
#wbdn-summary .wbdn-sum-row {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
#wbdn-summary .wbdn-sum-row:last-child { border-bottom: none; }
#wbdn-summary .wbdn-sum-left { display: flex; align-items: center; gap: 12px; flex: 1; }
#wbdn-summary .wbdn-sum-icon { font-size: 16px; width: 24px; text-align: center; flex-shrink: 0; }
#wbdn-summary .wbdn-sum-text { color: #374151; font-weight: 500; }
#wbdn-summary .wbdn-sum-bold { font-weight: 700; color: #166534; font-size: 1.05em; }
#wbdn-summary .wbdn-sum-total { padding-top: 12px; margin-top: 4px; border-top: 1.5px solid #bbf7d0 !important; border-bottom: none !important; }
#wbdn-summary .wbdn-sum-edit {
    background: none; border: none; color: #3B6D11;
    font-size: 11px; cursor: pointer; font-weight: 600;
    padding: 3px 8px; border-radius: 6px;
    transition: background 0.15s; font-family: inherit;
    text-transform: uppercase; letter-spacing: 0.04em;
}
#wbdn-summary .wbdn-sum-edit:hover { background: rgba(59,109,17,0.08); }

/* ================================================================
   VALIDATION NOTICE
================================================================ */
#wbdn-step-err {
    border-radius: 10px !important;
    margin-top: 0 !important;
}

/* ================================================================
   NAV BUTTONS
================================================================ */
.wbdn-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    gap: 10px !important;
    border-top: 1.5px solid #e5e7eb !important;
    padding-top: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
#wbdn-back-btn[style*="display: none"] ~ #wbdn-next-btn,
#wbdn-back-btn[style*="display:none"] ~ #wbdn-next-btn {
    margin-left: auto !important;
}

#wbdn-book-btn { display: none !important; }

html body .wbdn-btn {
    padding: 0 !important;
    height: 44px !important;
    min-width: 120px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    letter-spacing: inherit !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}
html body .wbdn-btn-primary {
    background: #3B6D11 !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(59,109,17,0.25) !important;
}
html body .wbdn-btn-primary:hover {
    background: #2d5209 !important;
    box-shadow: 0 0 0 3px rgba(59,109,17,0.25) !important;
    color: #fff !important;
}
html body .wbdn-btn-primary:active {
    box-shadow: 0 2px 8px rgba(59,109,17,0.2) !important;
}
html body .wbdn-btn-secondary {
    background: #fff !important;
    color: #374151 !important;
    border: 1.5px solid #e5e7eb !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}
html body .wbdn-btn-secondary:hover {
    background: #f0fdf4 !important;
    border-color: #3B6D11 !important;
    color: #3B6D11 !important;
    box-shadow: 0 0 0 3px rgba(59,109,17,0.12) !important;
}

/* ── Hide original WC Book Now button ── */
html body .product.product-type-booking .cart .single_add_to_cart_button:not(#wbdn-book-btn) {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
}

/* ================================================================
   MOBILE
================================================================ */
@media (max-width: 540px) {
    .wbdn-wiz-label { display: none; }
    .wbdn-wiz-step.active .wbdn-wiz-label { display: block; font-size: 11px; }
    html body #wc-bookings-booking-form table.ui-datepicker-calendar td a,
    html body #wc-bookings-booking-form table.ui-datepicker-calendar td span.ui-state-default {
        height: 32px !important; font-size: 12px !important;
    }
}

/* ── Remove product_meta border ── */
html body .product_meta {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}