.booking-picker {
    position: relative;
    width: 100%;
    min-width: 0;
}

.booking-picker__native {
    width: 100%;
    min-width: 0;
}
.booking-picker.is-enhanced > .booking-picker__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.booking-picker__toggle[hidden],
.booking-picker__panel[hidden] { display: none !important; }
.booking-picker__toggle:not([hidden]) {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    gap: .75rem;
    padding: .65rem .8rem;
    border: 1px solid var(--color-gold, #c9a35f);
    border-radius: 0;
    color: var(--color-primary, #07342f);
    background: var(--color-surface, #fffdf9);
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}
.booking-picker__toggle:hover,
.booking-picker__toggle[aria-expanded="true"] {
    border-color: var(--color-primary, #07342f);
    background: #f4f2ec;
}
.booking-picker__toggle:focus-visible {
    outline: 2px solid var(--color-gold, #c9a35f);
    outline-offset: 3px;
}
.booking-picker__value { flex: 1 1 auto; min-width: 0; }
.booking-picker__toggle .site-icon { width: 19px; height: 19px; flex: 0 0 19px; }
.booking-picker__empty {
    display: block;
    max-width: 100%;
    margin-top: .5rem;
    color: var(--color-muted, #6d6a63);
    font-size: 0.81375rem;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.booking-picker__empty[hidden] { display: none; }

.booking-picker__panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + .45rem);
    left: 0;
    width: min(340px, 100%);
    max-width: 100vw;
    max-height: min(320px, calc(100dvh - 5rem));
    overflow: auto;
    padding: .7rem;
    border: 1px solid var(--color-border, #e5ded3);
    color: var(--color-text, #1b1c1a);
    background: var(--color-surface, #fffdf9);
    box-shadow: 0 10px 24px rgba(4, 31, 28, .14);
    animation: booking-picker-enter 150ms ease-out both;
}
@keyframes booking-picker-enter {
    from { opacity: .5; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
.booking-calendar__header {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
}
.booking-calendar__header button {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid var(--color-border, #e5ded3);
    color: var(--color-primary, #07342f);
    background: transparent;
    cursor: pointer;
}
.booking-calendar__header button:hover { border-color: var(--color-gold, #c9a35f); }
.booking-calendar__header .site-icon { width: 1rem; height: 1rem; }
.booking-calendar__title { min-width: 0; color: var(--color-primary, #07342f); font-weight: 600; text-align: center; }
.booking-calendar__weekdays,
.booking-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .25rem;
}
.booking-calendar__weekdays { margin-bottom: .3rem; color: var(--color-muted, #6d6a63); font-size: 0.71375rem; font-weight: 600; text-align: center; }
.booking-calendar__weekdays > * { min-width: 0; overflow: hidden; }
.booking-calendar__day,
.booking-calendar__empty {
    display: grid;
    min-width: 0;
    height: 36px;
    place-items: center;
}
.booking-calendar__day {
    padding: 0;
    border: 1px solid transparent;
    color: var(--color-text, #1b1c1a);
    background: transparent;
    font-size: 0.87375rem;
    cursor: pointer;
}
.booking-calendar__day:hover:not(:disabled) { border-color: var(--color-gold, #c9a35f); background: #f4f2ec; }
.booking-calendar__day.is-today { border-color: var(--color-gold, #c9a35f); }
.booking-calendar__day.is-selected,
.booking-calendar__day[aria-pressed="true"] { border-color: var(--color-primary, #07342f); color: #fff; background: var(--color-primary, #07342f); }
.booking-calendar__day:disabled,
.booking-calendar__day[aria-disabled="true"] { color: #aaa69d; background: transparent; cursor: not-allowed; }
.booking-time-picker { width: 100%; }
.booking-time-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.booking-picker__option {
    min-width: 0;
    min-height: 40px;
    padding: .35rem .25rem;
    border: 1px solid var(--color-border, #e5ded3);
    color: var(--color-primary, #07342f);
    background: transparent;
    font-size: 0.89375rem;
    cursor: pointer;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.booking-picker__option:hover:not(:disabled):not([aria-disabled="true"]) { border-color: var(--color-gold, #c9a35f); background: #f4f2ec; }
.booking-picker__option[aria-selected="true"] { border-color: var(--color-primary, #07342f); color: #fff; background: var(--color-primary, #07342f); }
.booking-picker__option:disabled,
.booking-picker__option[aria-disabled="true"] { color: #aaa69d; cursor: not-allowed; }

@media (min-width: 768px) {
    .booking-calendar__day,
    .booking-calendar__empty { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .booking-picker__toggle,
    .booking-picker__option { transition: none; }
    .booking-picker__panel { animation: none; }
}

.booking-calendar__day.is-booked { text-decoration: line-through; border: 1px dashed #b6ae9e; background: #f0ece5; }
.booking-picker__option:disabled { background: #f0ece5; }

.booking-staff-options { width: 100%; padding: .45rem; border-top: 2px solid var(--color-gold, #c9a35f); }
.booking-staff-options .booking-picker__option { display: flex; align-items: center; width: 100%; min-height: 48px; padding: .75rem .9rem; border: 0; text-align: left; font-size: 1rem; overflow-wrap: anywhere; }
.booking-staff-options .booking-picker__option + .booking-picker__option { border-top: 1px solid var(--color-border, #e5ded3); }
.booking-staff-options .booking-picker__option[aria-selected="true"]::after { content: ''; flex: 0 0 16px; width: 16px; height: 16px; margin-left: auto; background: var(--color-gold, #c9a35f); -webkit-mask: url('../icons/check-lg.svg') center / contain no-repeat; mask: url('../icons/check-lg.svg') center / contain no-repeat; }
.booking-staff-options .booking-picker__option:focus-visible { outline: 2px solid var(--color-gold, #c9a35f); outline-offset: -2px; background: #f4f2ec; color: var(--color-primary, #07342f); }
.booking-staff-picker .booking-picker__toggle .site-icon { transition: transform 150ms ease; }
.booking-staff-picker .booking-picker__toggle[aria-expanded="true"] .site-icon { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .booking-staff-picker .booking-picker__toggle .site-icon { transition: none; } }
