/**
 * Hero — formulaire « Réserver votre séjour » (12px standard, dates natives)
 */

body.ht-zante-home .ht-hero-pro__booking {
    width: 392px;
    max-width: calc(100vw - 24px);
    overflow: visible;
    z-index: 20;
}

body.ht-zante-home .ht-hero-pro__booking-card.ht-hero-booking-card,
body.ht-zante-home .ht-hero-pro__booking-card {
    overflow: visible;
}

body.ht-zante-home .ht-hero-pro__booking-card.ht-hero-booking-card {
    background: linear-gradient(165deg, #ffffff 0%, #fdfbf7 48%, #faf6ee 100%) !important;
    border-radius: 16px !important;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 24px 56px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(222, 182, 102, 0.22) !important;
    padding: 0 !important;
    border: none !important;
    font-size: 12px;
    line-height: 1.45;
}

body.ht-zante-home .ht-hero-pro__booking-card .inner {
    overflow: visible;
    padding: 1.15rem 1.4rem 1.4rem;
}

body.ht-zante-home .ht-hero-booking-card__head {
    padding: 1.25rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(222, 182, 102, 0.2);
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.06) 0%, transparent 70%);
}

body.ht-zante-home .ht-hero-booking-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2d6a4f;
    background: rgba(45, 106, 79, 0.1);
    border: 1px solid rgba(45, 106, 79, 0.15);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

body.ht-zante-home .ht-hero-booking-card__badge i {
    color: #deb666;
    font-size: 12px;
}

body.ht-zante-home .ht-hero-pro__booking-card .form_title {
    font-family: 'Nunito', sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #3d3d3d !important;
    margin: 0 0 0.25rem !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}

body.ht-zante-home .ht-hero-booking-card__sub {
    margin: 0;
    font-size: 12px;
    color: #858a99;
    line-height: 1.45;
}

body.ht-zante-home .ht-hero-booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

body.ht-zante-home .ht-hero-booking-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

body.ht-zante-home .ht-hero-booking-field > label {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Nunito', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280 !important;
    margin-bottom: 0.4rem !important;
}

body.ht-zante-home .ht-hero-booking-field > label i {
    color: #deb666;
    font-size: 12px;
    width: 1rem;
    text-align: center;
}

body.ht-zante-home .ht-hero-booking-field.ht-booking-date-wrap {
    position: relative;
    z-index: 5;
}

body.ht-zante-home .ht-hero-dates-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    position: relative;
    padding: 0.65rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

body.ht-zante-home .ht-hero-dates-row:focus-within,
body.ht-zante-home .ht-hero-dates-row.is-complete {
    border-color: #deb666;
    box-shadow: 0 0 0 3px rgba(222, 182, 102, 0.2);
}

body.ht-zante-home .ht-hero-date-piece {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

body.ht-zante-home .ht-hero-date-piece__label {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    line-height: 1.2;
}

body.ht-zante-home .ht-hero-date-native {
    width: 100%;
    min-height: 42px;
    padding: 0.45rem 0.5rem;
    border: 2px solid #deb666;
    border-radius: 8px;
    background: #fffdf8;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1.3;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

body.ht-zante-home .ht-hero-date-native:hover {
    border-color: #b69854;
    background: #fff;
}

body.ht-zante-home .ht-hero-date-native:focus {
    outline: none;
    border-color: #b69854;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(222, 182, 102, 0.35);
}

body.ht-zante-home .ht-hero-date-native::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 1;
    width: 18px;
    height: 18px;
    margin-left: 4px;
}

body.ht-zante-home .ht-hero-dates-visual__sep {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-bottom: 0.45rem;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23deb666' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    opacity: 0.85;
}

body.ht-zante-home .ht-hero-booking-nights-badge {
    position: absolute;
    right: 0.5rem;
    top: -0.5rem;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.35);
    pointer-events: none;
    z-index: 2;
}

body.ht-zante-home .ht-hero-booking-nights-badge[hidden] {
    display: none !important;
}

body.ht-zante-home .ht-hero-select,
body.ht-zante-home .ht-hero-pro__booking-card select.ht-hero-select {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b69854' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 12px 8px;
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #3d3d3d;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

body.ht-zante-home .ht-hero-select:hover,
body.ht-zante-home .ht-hero-select:focus {
    border-color: #deb666;
    outline: none;
    box-shadow: 0 0 0 3px rgba(222, 182, 102, 0.22);
}

body.ht-zante-home .ht-hero-booking-field__group-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

body.ht-zante-home .ht-hero-booking-field__group-label i {
    color: #deb666;
    font-size: 12px;
}

body.ht-zante-home .ht-hero-guests-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

body.ht-zante-home .ht-hero-guests-grid__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    cursor: default;
}

body.ht-zante-home .ht-hero-guests-grid__label {
    font-size: 11px;
    font-weight: 600;
    color: #858a99;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.ht-zante-home .ht-booking-error {
    margin: 0;
    padding: 0.5rem 0.65rem;
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

body.ht-zante-home .ht-booking-error[hidden] {
    display: none !important;
}

body.ht-zante-home .ht-hero-booking-trigger,
body.ht-zante-home .ht-hero-pro__booking-card .ht-guestspicker-trigger.ht-hero-booking-trigger {
    position: relative;
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 2.25rem 0.55rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #3d3d3d;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

body.ht-zante-home .ht-hero-booking-trigger:hover,
body.ht-zante-home .ht-hero-pro__booking-card .eb-guestspicker.is-open .ht-guestspicker-trigger {
    border-color: #deb666;
    box-shadow: 0 0 0 3px rgba(222, 182, 102, 0.22);
}

body.ht-zante-home .ht-hero-booking-trigger__chevron {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b69854;
    font-size: 12px;
    pointer-events: none;
}

body.ht-zante-home .ht-hero-pro__booking-card .eb-guestspicker {
    position: relative;
}

body.ht-zante-home .ht-hero-pro__booking-card .ht-guests-summary {
    flex: 1;
    font-weight: 600;
    font-size: 12px;
    color: #3d3d3d;
}

body.ht-zante-home .ht-hero-pro__booking-card .gueststotal,
body.ht-zante-home .ht-hero-pro__booking-card .ht-guests-label {
    display: none !important;
}

body.ht-zante-home .ht-hero-pro__booking-card .eb-guestspicker-content,
body.ht-zante-home .ht-hero-pro__booking-card .ht-hero-guests-panel {
    display: none !important;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 120;
    background: #fff;
    border: 1px solid rgba(222, 182, 102, 0.5);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0.85rem;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body.ht-zante-home .ht-hero-pro__booking-card .eb-guestspicker.is-open .eb-guestspicker-content,
body.ht-zante-home .ht-hero-pro__booking-card .eb-guestspicker.is-open .ht-hero-guests-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.ht-zante-home .ht-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0f0f0;
}

body.ht-zante-home .ht-guest-row:last-of-type {
    border-bottom: none;
}

body.ht-zante-home .ht-guest-row__title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #3d3d3d;
}

body.ht-zante-home .ht-guest-row__hint {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

body.ht-zante-home .ht-guest-stepper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

body.ht-zante-home .ht-guest-stepper__btn {
    width: 32px;
    height: 32px;
    border: 1px solid #deb666;
    border-radius: 8px;
    background: #fffdf8;
    color: #b69854;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.ht-zante-home .ht-guest-stepper__btn:hover {
    background: #deb666;
    color: #fff;
}

body.ht-zante-home .ht-guest-stepper__val {
    min-width: 1.5rem;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #2d2d2d;
}

body.ht-zante-home .ht-guest-panel-done {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #deb666 0%, #b69854 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Chambres dynamiques */
body.ht-zante-home .ht-hero-rooms {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 2px;
}

body.ht-zante-home .ht-hero-rooms__loading,
body.ht-zante-home .ht-hero-rooms__empty {
    margin: 0;
    font-size: 12px;
    color: #858a99;
}

body.ht-zante-home .ht-hero-room-opt {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.4rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s;
}

body.ht-zante-home .ht-hero-room-opt:hover {
    border-color: #deb666;
}

body.ht-zante-home .ht-hero-room-opt.is-selected {
    border-color: #deb666;
    background: #fffdf8;
    box-shadow: 0 0 0 2px rgba(222, 182, 102, 0.25);
}

body.ht-zante-home .ht-hero-room-opt__img {
    flex-shrink: 0;
    width: 48px;
    height: 40px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
}

body.ht-zante-home .ht-hero-room-opt__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

body.ht-zante-home .ht-hero-room-opt__name {
    font-size: 12px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1.25;
}

body.ht-zante-home .ht-hero-room-opt__price {
    font-size: 12px;
    font-weight: 600;
    color: #b69854;
}

body.ht-zante-home .ht-hero-room-opt__price small {
    font-weight: 500;
    color: #9ca3af;
}

body.ht-zante-home .ht-hero-booking-submit,
body.ht-zante-home .ht-hero-pro__booking-card .ht-hero-booking-submit#eb_search_form,
body.ht-zante-home .ht-hero-pro__booking-card .eb-btn.ht-hero-booking-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 0.15rem;
    padding: 0.75rem 1rem;
    border: none !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #deb666 0%, #b69854 100%) !important;
    color: #fff !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(182, 152, 84, 0.4);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

body.ht-zante-home .ht-hero-booking-submit .eb-btn-text {
    font-size: 12px;
}

body.ht-zante-home .ht-hero-booking-submit i {
    font-size: 12px;
    margin-left: 0.35rem;
}

body.ht-zante-home .ht-hero-booking-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 6px 18px rgba(182, 152, 84, 0.5);
}

body.ht-zante-home .ht-hero-pro__booking-card .ht-booking-error {
    margin: 0.35rem 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
    text-align: center;
}

body.ht-zante-home .ht-hero-pro__booking-card .ht-booking-error[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    body.ht-zante-home .ht-hero-pro__booking {
        width: 100%;
        max-width: 100%;
    }

    body.ht-zante-home .ht-hero-dates-row {
        flex-wrap: wrap;
    }

    body.ht-zante-home .ht-hero-dates-visual__sep {
        display: none;
    }

    body.ht-zante-home .ht-hero-date-piece {
        flex: 1 1 45%;
    }
}
