/* ===== Booking tabs ===== */
.booki-booking-tabs {
    display: flex;
    gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 22px;
}

.booki-booking-tab {
    flex: 1;
    padding: 11px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #f9fafb;
    color: #6b7280;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.15s, color 0.15s;
}

.booki-booking-tab.booki-booking-tab--active {
    background: var(--booki-primary-color, #1a56db);
    color: #ffffff;
}

/* ===== Accommodation widget container ===== */
.booki-accw-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

.booki-accw-container * { box-sizing: border-box; }

/* ===== Step forms ===== */
.booki-accw-step { display: none; }
.booki-accw-step--active { display: block; }

/* ===== Checkin info ===== */
.booki-accw-checkin-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12px;
    color: #166534;
    margin-bottom: 16px;
}

/* ===== Results grid ===== */
.booki-accw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

/* ===== Accommodation card ===== */
.booki-accw-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.booki-accw-card:hover {
    border-color: var(--booki-primary-color, #1a56db);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.booki-accw-card.selected {
    border-color: var(--booki-primary-color, #1a56db);
    background: rgba(26, 86, 219, 0.03);
}

.booki-accw-card-image {
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
}

/* Thumbnails */
.booki-accw-thumbs {
    display: flex;
    gap: 5px;
    padding: 6px 8px;
    background: #f8fafc;
    border-top: 1px solid #f3f4f6;
}

.booki-accw-thumb {
    width: 44px;
    height: 34px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.booki-accw-thumb:hover { opacity: 1; }
.booki-accw-thumb--active {
    border-color: var(--booki-primary-color, #1a56db);
    opacity: 1;
}

.booki-accw-card-body { padding: 16px; }

.booki-accw-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.booki-accw-card-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Amenities */
.booki-accw-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.booki-accw-amenity {
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Price row */
.booki-accw-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 14px;
    gap: 8px;
}

.booki-accw-price-left {
    font-size: 13px;
    color: #6b7280;
}

.booki-accw-price-left strong { color: #374151; font-weight: 600; }

.booki-accw-price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.booki-accw-price-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    line-height: 1;
    margin-bottom: 2px;
}

.booki-accw-price-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--booki-primary-color, #1a56db);
    line-height: 1;
}

.booki-accw-card-btn {
    display: block;
    width: 100%;
    padding: 11px;
    background: var(--booki-primary-color, #1a56db);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.booki-accw-card-btn:hover { opacity: 0.88; }

/* ===== Options section ===== */
.booki-accw-options-list { margin-bottom: 16px; }

/* ===== Availability note ===== */
.booki-accw-availability-note {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.booki-accw-availability-note-inner {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #E1F5EE;
    border: 1px solid #5DCAA5;
    border-radius: 999px;
    padding: 6px 18px;
    color: #085041;
    font-size: 13px;
    font-weight: 500;
}

/* ===== No results ===== */
.booki-accw-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 14px;
}

/* ===== Recap bar ===== */
.booki-accw-date-recap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
    gap: 10px;
    font-size: 13px;
    color: #374151;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .booki-accw-grid { grid-template-columns: 1fr; gap: 14px; }
    .booki-accw-card-image { height: 170px; }
    .booki-booking-tab { font-size: 12px; }
}

/* ===== Sélectionneur voyageurs (dropdown Airbnb-style) ===== */
.booki-accw-guests-wrap { position: relative !important; }

/* Champ cliquable */
.booki-accw-guests-field { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 10px 14px !important; border: 1.5px solid #e5e7eb !important; border-radius: 8px !important; background: #fff !important; cursor: pointer !important; user-select: none !important; transition: border-color 0.15s !important; min-height: 42px !important; }
.booki-accw-guests-field:hover { border-color: #9ca3af !important; }
.booki-accw-guests-field.is-open { border-color: #374151 !important; }
.booki-accw-guests-field span { font-size: 14px !important; color: #374151 !important; }
.booki-accw-guests-chevron { color: #6b7280; flex-shrink: 0; transition: transform 0.2s; }
.booki-accw-guests-field.is-open .booki-accw-guests-chevron { transform: rotate(180deg); }

/* Dropdown panel */
#booki-accw-guests-dropdown { display: none; position: absolute !important; top: calc(100% + 6px) !important; left: 0 !important; right: 0 !important; background: #fff !important; border: 1.5px solid #e5e7eb !important; border-radius: 12px !important; box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important; z-index: 9999 !important; overflow: hidden !important; }
#booki-accw-guests-dropdown.is-open { display: block !important; }

/* Lignes */
#booki-accw-guests-dropdown .booki-accw-guest-row { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 14px 16px !important; border-bottom: 1px solid #f3f4f6 !important; margin: 0 !important; background: #fff !important; }
#booki-accw-guests-dropdown .booki-accw-guest-row:last-child { border-bottom: none !important; }
#booki-accw-guests-dropdown .booki-accw-guest-info { display: flex !important; flex-direction: column !important; gap: 2px !important; }
#booki-accw-guests-dropdown .booki-accw-guest-label { display: block !important; font-size: 14px !important; font-weight: 600 !important; color: #111827 !important; margin: 0 !important; padding: 0 !important; }
#booki-accw-guests-dropdown .booki-accw-guest-sub { display: block !important; font-size: 12px !important; color: #6b7280 !important; margin: 0 !important; padding: 0 !important; }
#booki-accw-guests-dropdown .booki-accw-guest-counter { display: flex !important; align-items: center !important; gap: 12px !important; flex-shrink: 0 !important; }

/* Boutons +/- */
#booki-accw-guests-dropdown button.booki-accw-guest-btn,
#booki-accw-guests-dropdown .booki-accw-guest-btn { width: 30px !important; height: 30px !important; min-width: 30px !important; max-width: 30px !important; min-height: 30px !important; max-height: 30px !important; border-radius: 50% !important; border: 1.5px solid #d1d5db !important; background-color: #fff !important; background: #fff !important; font-size: 20px !important; line-height: 1 !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #374151 !important; transition: border-color 0.15s, background 0.15s !important; font-family: inherit !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; text-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; float: none !important; }
#booki-accw-guests-dropdown button.booki-accw-guest-btn:hover:not([disabled]),
#booki-accw-guests-dropdown .booki-accw-guest-btn:hover:not(:disabled) { border-color: #111827 !important; background-color: #f9fafb !important; background: #f9fafb !important; color: #111827 !important; }
#booki-accw-guests-dropdown button.booki-accw-guest-btn[disabled],
#booki-accw-guests-dropdown .booki-accw-guest-btn:disabled { opacity: 0.35 !important; cursor: default !important; background-color: #fff !important; background: #fff !important; }
#booki-accw-guests-dropdown .booki-accw-guest-count { font-size: 14px !important; font-weight: 600 !important; min-width: 20px !important; text-align: center !important; color: #111827 !important; display: inline-block !important; }
