.booking-calendar {
    margin: 18px 0 22px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
}

.booking-calendar__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.booking-calendar__title {
    font-weight: 800;
    color: var(--text-color);
    text-transform: capitalize;
}

.booking-calendar__nav {
    appearance: none;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    width: 38px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.booking-calendar__nav:hover {
    border-color: var(--primary-color);
}

.booking-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 12px;
    font-size: 13px;
    color: rgba(74, 70, 62, 0.85);
}

.booking-calendar__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.booking-calendar__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid var(--border-color);
    background: var(--white);
}

.booking-calendar__dot--ok {
    background: rgba(195, 197, 148, 0.25);
}

.booking-calendar__dot--no {
    background: rgba(0, 0, 0, 0.08);
}

.booking-calendar__dot--sel {
    background: rgba(208, 108, 49, 0.22);
    border-color: var(--primary-color);
}

.booking-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 12px;
    color: rgba(74, 70, 62, 0.75);
}

.booking-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.booking-calendar__cell {
    border-radius: 10px;
}

.booking-calendar__cell--empty {
    height: 38px;
}

.booking-calendar__day {
    height: 38px;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    font-weight: 700;
    color: var(--text-color);
}

.booking-calendar__day--ok {
    background: rgba(195, 197, 148, 0.18);
}

.booking-calendar__day--ok:hover {
    border-color: var(--primary-color);
}

.booking-calendar__day--no {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(74, 70, 62, 0.5);
    cursor: not-allowed;
}

.booking-calendar__day--sel {
    background: rgba(208, 108, 49, 0.18);
    border-color: var(--primary-color);
}

.booking-calendar__day--range {
    background: rgba(208, 108, 49, 0.10);
}

.booking-calendar__hint {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(74, 70, 62, 0.8);
}

.booking-calendar__error {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ---------- Infos gîte (tarifs / prestations) ---------- */
.lodging-info__list {
    margin: 6px 0 0;
    padding-left: 18px;
}

.lodging-info__list li {
    margin: 2px 0;
}

/* ---------- Options table d'hôtes ---------- */
.contact-field__choices {
    display: grid;
    gap: 10px;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,245,236,0.85));
    box-shadow: 0 10px 24px rgba(74, 70, 62, 0.05);
}

.contact-choice {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
    color: var(--text-color);
    padding: 10px 12px;
    border-radius: 12px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.contact-choice input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 0;
}

.contact-choice:hover {
    background: rgba(208, 108, 49, 0.06);
    transform: translateX(2px);
}

.booking-party-field {
    display: grid;
    gap: 8px;
}

.contact-field__hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(74, 70, 62, 0.78);
}

[hidden] {
    display: none !important;
}

.booking-wizard {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-wizard__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.booking-wizard__step {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, #ffffff, rgba(244, 245, 236, 0.92));
    border-radius: 16px;
    padding: 12px 10px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(74, 70, 62, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.booking-wizard__step span {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.booking-wizard__step small {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.8;
}

.booking-wizard__step.is-active {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(208, 108, 49, 0.12), rgba(208, 108, 49, 0.06));
    box-shadow: 0 12px 26px rgba(208, 108, 49, 0.15);
}

.booking-wizard__step:hover {
    transform: translateY(-2px);
    border-color: rgba(208, 108, 49, 0.34);
}

.booking-wizard__panel {
    display: none;
    flex-direction: column;
    gap: 14px;
    animation: bookingPanelIn 0.22s ease;
}

.booking-wizard__panel.is-active {
    display: flex;
}

.booking-wizard__panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
}

.booking-wizard__actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.booking-wizard__back,
.booking-wizard__next {
    border: 0;
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.booking-wizard__back {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-color);
}

.booking-wizard__next {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    margin-left: auto;
    box-shadow: 0 10px 18px rgba(208, 108, 49, 0.22);
}

.booking-wizard__back:hover,
.booking-wizard__next:hover,
.contact-form__submit:hover {
    transform: translateY(-1px);
}

.diy-suboptions {
    margin-top: 0.5rem;
    margin-left: 1.75rem;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--color-accent, #7c9e6a);
    background: var(--color-surface-alt, #f7f5f0);
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.diy-suboptions__hint {
    font-size: 0.9em;
    opacity: 0.75;
    margin: 0 0 0.4rem;
}
.contact-choice--sub {
    font-size: 0.95em;
}

.booking-wizard__next:hover,
.contact-form__submit:hover {
    box-shadow: 0 12px 22px rgba(208, 108, 49, 0.28);
}

.booking-summary {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(195, 197, 148, 0.12));
    box-shadow: 0 14px 30px rgba(74, 70, 62, 0.06);
}

.booking-summary__empty {
    margin: 0;
    color: rgba(74, 70, 62, 0.75);
    font-size: 14px;
}

.booking-summary__lines {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.booking-summary__lines li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    font-size: 14px;
    color: var(--text-color);
}

.booking-summary__lines li:last-child {
    border-bottom: 0;
}

.booking-summary__lines li span {
    flex: 1 1 auto;
    word-break: break-word;
}

.booking-summary__lines li strong {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 800;
    color: var(--text-color);
}

.booking-summary__total {
    text-align: right;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 18px;
}

/* Style d'erreur pour les inputs date */
.contact-field__input.booking-input--error {
    border-color: #d32f2f !important;
    background-color: rgba(211, 47, 47, 0.04) !important;
}

.contact-field__input.booking-input--error:focus {
    border-color: #d32f2f !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
}

.booking-summary__total strong {
    font-size: 20px;
    color: var(--primary-color);
    text-align: right;
    font-weight: 800;
}

@keyframes bookingPanelIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .booking-wizard__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-wizard__next {
        width: 100%;
    }

    .booking-wizard__back {
        width: 100%;
    }

    .booking-summary__lines li,
    .booking-summary__total {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .booking-summary__lines li strong,
    .booking-summary__total strong {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .contact-field__choices {
        padding: 12px;
    }

    .contact-choice {
        padding: 10px;
        font-size: 14px;
    }

    .booking-summary {
        padding: 14px;
    }

    .booking-wizard__next,
    .booking-wizard__back,
    .contact-form__submit {
        width: 100%;
    }
}
