/* V15.6.4.7 - scoped to public booking; no global/admin/gallery overrides. */
#bookingWizard {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    scroll-margin-top: 110px;
}
#bookingWizard [hidden] { display: none !important; }
#bookingWizard .booking-progress,
#bookingWizard .booking-wizard-layout,
#bookingWizard .booking-wizard__content,
#bookingWizard .booking-step,
#bookingWizard .booking-summary,
#bookingWizard .rdv-fields,
#bookingWizard .field { min-width: 0; max-width: 100%; }
#bookingWizard .booking-progress { width: 100%; margin-bottom: 22px; padding: 22px 24px; }
#bookingWizard .booking-progress__steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
#bookingWizard .booking-progress__steps li { display: flex; min-width: 0; gap: 9px; align-items: center; }
#bookingWizard .booking-progress__steps span { flex: 0 0 32px; width: 32px; height: 32px; line-height: 1; }
#bookingWizard .booking-progress__steps strong { display: block; min-width: 0; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
#bookingWizard .booking-wizard-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,300px); gap: 24px; align-items: start; }
#bookingWizard .booking-wizard__content { display: block; }
#bookingWizard .booking-step { width: 100%; min-height: 0; padding: clamp(20px,2.3vw,28px) !important; }
#bookingWizard .panel-head { display: block; margin: 0 0 22px; }
#bookingWizard .panel-head h2 { margin: 4px 0 10px; }
#bookingWizard .panel-head p { font-size: 14px; line-height: 1.6; }
#bookingWizard .rdv-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 18px; align-items: start; }
#bookingWizard .field { display: grid; gap: 8px; margin: 0; }
#bookingWizard .field--wide { grid-column: 1 / -1; }
#bookingWizard .field label,
#bookingWizard .booking-field-label,
#bookingWizard .date-box > label { display: block; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--primary-dark,#6b4e71); }
#bookingWizard .field input,
#bookingWizard .field textarea,
#bookingWizard .date-modern-input,
#bookingWizard .abdd-booking-date-fallback input,
#bookingWizard .abdd-booking-date-fallback select {
    box-sizing: border-box;
    width: 100%; min-width: 0; max-width: 100%; min-height: 50px;
    margin: 0; padding: 12px 14px;
    font: inherit; font-size: 16px; line-height: 1.5;
    border: 1px solid var(--line-strong,#eadff0); border-radius: 14px;
    background: #fff; color: var(--text,#47384f);
}
#bookingWizard .field textarea { min-height: 112px; resize: vertical; }
#bookingWizard .booking-field-help,
#bookingWizard .field-hint { display: block; margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted,#74627c); overflow-wrap: anywhere; }
#bookingWizard .location-choice-note { margin-top: 0; }
#bookingWizard .date-box { display: grid; gap: 10px; margin: 0 0 18px; }
#bookingWizard .date-input-wrap { position: relative; display: block; min-width: 0; width: 100%; }
#bookingWizard .date-input-icon { position: absolute; z-index: 1; left: 15px; top: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; transform: translateY(-50%); pointer-events: none; color: var(--primary-dark,#6b4e71); }
#bookingWizard .date-modern-input { display: block; padding-left: 46px !important; background: linear-gradient(180deg,#fff,#fcf8fb); }
#bookingWizard .abdd-booking-date-fallback { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 12px; }
#bookingWizard .abdd-booking-date-fallback label { display: grid; align-content: start; min-width: 0; gap: 8px; font-size: 13px; }
#bookingWizard .slot-grid--premium { grid-template-columns: repeat(auto-fit,minmax(86px,1fr)); gap: 10px; margin-top: 14px; }
#bookingWizard .slot-btn { min-height: 46px; padding: 12px 8px; }
#bookingWizard .booking-summary { width: 100%; padding: 22px; }
#bookingWizard .booking-summary dl div { grid-template-columns: minmax(0,80px) minmax(0,1fr); }
#bookingWizard .booking-summary dd,
#bookingWizard .booking-review__item strong { overflow-wrap: anywhere; }
#bookingWizard .booking-review__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
#bookingWizard .service-card { min-width: 0; gap: 12px; }
#bookingWizard .service-card__left,
#bookingWizard .service-card__info { min-width: 0; }
#bookingWizard .service-card__name { overflow-wrap: anywhere; }
#bookingWizard .service-card__price { flex-shrink: 0; white-space: nowrap; }
#bookingWizard .booking-wizard__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
#bookingWizard .booking-wizard__actions button { min-width: 0; max-width: 100%; min-height: 48px; white-space: normal; text-align: center; }
#bookingWizard .booking-wizard__actions #wizardNext,
#bookingWizard .booking-wizard__actions #wizardSubmit { margin-left: auto; }
#bookingWizard input:focus-visible,
#bookingWizard select:focus-visible,
#bookingWizard textarea:focus-visible,
#bookingWizard button:focus-visible { outline: 3px solid var(--primary,#8e6bae); outline-offset: 3px; }
@media(max-width:980px) {
    #bookingWizard .booking-wizard-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
    #bookingWizard .booking-summary { position: static; order: 0; }
    #bookingWizard .booking-progress__steps li { justify-content: center; flex-direction: column; gap: 7px; text-align: center; }
}
@media(max-width:600px) {
    #bookingWizard .booking-progress { padding: 18px 12px; border-radius: 20px; }
    #bookingWizard .booking-progress__steps { gap: 6px; }
    #bookingWizard .booking-progress__steps strong { font-size: 11px; }
    #bookingWizard .booking-step { padding: 20px 16px !important; border-radius: 22px; }
    #bookingWizard .rdv-fields,
    #bookingWizard .booking-review__grid,
    #bookingWizard .abdd-booking-date-fallback { grid-template-columns: minmax(0,1fr); }
    #bookingWizard .booking-review__item--wide { grid-column: auto; }
    #bookingWizard .booking-summary { padding: 20px 16px; }
    #bookingWizard .booking-wizard__actions { position: static; padding: 0; box-shadow: none; background: transparent; backdrop-filter: none; }
    #bookingWizard .booking-wizard__actions button { flex: 1 1 110px; padding: 12px; font-size: 14px; }
    #bookingWizard .booking-wizard__actions #wizardSubmit { flex-basis: 190px; }
}
@media(prefers-reduced-motion:reduce) {
    #bookingWizard .booking-step,
    #bookingWizard .slot-btn { animation: none; transition: none; }
    #bookingWizard .booking-progress__bar span { transition: none; }
}
