:root {
    --tsb-bg: #fbfaf7;
    --tsb-surface: #ffffff;
    --tsb-border: #e4ded4;
    --tsb-text: #242424;
    --tsb-muted: #6d6a64;
    --tsb-green: #123f31;
    --tsb-green-soft: #e8f1ec;
    --tsb-gold: #a5793c;
}

.tsb-suite,
.tsb-search {
    color: var(--tsb-text);
    font-family: inherit;
}

.tsb-suite {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    margin: 32px auto;
    max-width: 1380px;
}

.tsb-suite__gallery,
.tsb-suite__panel {
    min-width: 0;
}

.tsb-suite__main-image {
    aspect-ratio: 16 / 10;
    background: #ddd6ca;
    border-radius: 8px;
    overflow: hidden;
}

.tsb-suite__main-image img,
.tsb-result__image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tsb-suite__placeholder,
.tsb-result__placeholder {
    align-items: center;
    background: #ded6ca;
    color: var(--tsb-muted);
    display: flex;
    height: 100%;
    justify-content: center;
}

.tsb-suite__thumbs {
    display: grid;
    gap: 12px;
    grid-auto-flow: column;
    grid-auto-columns: minmax(110px, 1fr);
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tsb-suite__thumbs button {
    aspect-ratio: 4 / 3;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.tsb-suite__thumbs button.is-active {
    border-color: var(--tsb-green);
}

.tsb-suite__thumbs img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tsb-suite__panel {
    background: var(--tsb-surface);
    border: 1px solid var(--tsb-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(36, 36, 36, 0.08);
    padding: 28px;
    position: sticky;
    top: 24px;
}

.tsb-suite__panel h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
    margin: 0 0 10px;
}

.tsb-suite__intro {
    border-bottom: 1px solid var(--tsb-border);
    color: var(--tsb-muted);
    margin: 0 0 22px;
    padding-bottom: 18px;
}

.tsb-booking-step {
    display: grid;
    gap: 14px;
    grid-template-columns: 34px minmax(0, 1fr);
    margin: 0 0 22px;
}

.tsb-step-number {
    align-items: center;
    background: var(--tsb-green);
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.tsb-booking-step label,
.tsb-step-title {
    display: block;
    font-weight: 700;
    margin: 5px 0 10px;
}

.tsb-booking-step input[type="date"],
.tsb-search input,
.tsb-search select {
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 6px;
    color: var(--tsb-text);
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.tsb-slots {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tsb-slot {
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 6px;
    color: var(--tsb-text);
    cursor: pointer;
    min-height: 96px;
    padding: 14px 10px;
    text-align: center;
}

.tsb-slot strong,
.tsb-slot span,
.tsb-slot small {
    display: block;
}

.tsb-slot strong {
    font-size: 15px;
    margin-bottom: 6px;
}

.tsb-slot span {
    color: var(--tsb-gold);
    font-weight: 700;
}

.tsb-slot small {
    color: var(--tsb-muted);
    margin-top: 8px;
}

.tsb-slot.is-selected {
    background: var(--tsb-green);
    border-color: var(--tsb-green);
    color: #fff;
}

.tsb-slot.is-selected span,
.tsb-slot.is-selected small {
    color: #fff;
}

.tsb-slot:disabled {
    background: #f1eee9;
    color: #9b948a;
    cursor: not-allowed;
}

.tsb-total,
.tsb-summary__total {
    align-items: baseline;
    border-top: 1px solid var(--tsb-border);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 18px;
}

.tsb-total span,
.tsb-summary__total span {
    margin-right: auto;
}

.tsb-total strong,
.tsb-summary__total strong {
    color: var(--tsb-gold);
    font-size: 34px;
}

.tsb-total small,
.tsb-summary__total small {
    color: var(--tsb-muted);
}

.tsb-primary,
.tsb-secondary,
.tsb-search button,
.tsb-result__cta a {
    align-items: center;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    text-decoration: none;
}

.tsb-primary,
.tsb-search button,
.tsb-result__cta a {
    background: var(--tsb-green);
    color: #fff;
    width: 100%;
}

.tsb-primary:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.tsb-secondary {
    background: var(--tsb-green-soft);
    color: var(--tsb-green);
}

.tsb-secure,
.tsb-muted {
    color: var(--tsb-muted);
    font-size: 14px;
}

.tsb-secure {
    margin: 12px 0 0;
    text-align: center;
}

.tsb-modal[hidden] {
    display: none;
}

.tsb-modal {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.tsb-modal__backdrop {
    background: rgba(14, 17, 16, 0.58);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.tsb-modal__dialog {
    background: var(--tsb-surface);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    max-height: min(760px, calc(100vh - 40px));
    max-width: 1040px;
    overflow: auto;
    position: relative;
    width: 100%;
}

.tsb-modal__close {
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 999px;
    cursor: pointer;
    font-size: 24px;
    height: 38px;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
}

.tsb-modal__content {
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) 340px;
    padding: 34px;
}

.tsb-kicker {
    color: var(--tsb-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.tsb-modal h3 {
    font-size: 34px;
    margin: 0 0 18px;
}

.tsb-option-list {
    display: grid;
    gap: 12px;
}

.tsb-option {
    align-items: center;
    border: 1px solid var(--tsb-border);
    border-radius: 6px;
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 64px minmax(0, 1fr) auto;
    padding: 14px;
}

.tsb-option:hover {
    border-color: var(--tsb-green);
}

.tsb-option strong,
.tsb-option small {
    display: block;
}

.tsb-option img,
.tsb-option__image {
    aspect-ratio: 1;
    background: var(--tsb-green-soft);
    border-radius: 6px;
    display: block;
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.tsb-option small {
    color: var(--tsb-muted);
    margin-top: 2px;
}

.tsb-option em {
    color: var(--tsb-gold);
    font-style: normal;
    font-weight: 700;
}

.tsb-summary {
    background: var(--tsb-bg);
    border: 1px solid var(--tsb-border);
    border-radius: 8px;
    padding: 20px;
}

.tsb-summary h4 {
    margin: 0 0 18px;
}

.tsb-summary dl {
    display: grid;
    gap: 8px;
    grid-template-columns: 90px 1fr;
    margin: 0;
}

.tsb-summary dt {
    color: var(--tsb-muted);
}

.tsb-summary dd {
    margin: 0;
    text-align: right;
}

.tsb-modal__actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.tsb-message {
    color: #9c3b2e;
    font-size: 14px;
    margin-top: 12px;
}

.tsb-modal-open {
    overflow: hidden;
}

.tsb-search {
    background: var(--tsb-bg);
    border: 1px solid var(--tsb-border);
    border-radius: 8px;
    margin: 28px auto;
    max-width: 1180px;
    padding: 18px;
}

.tsb-search__form {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 220px 180px;
}

.tsb-search label span {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.tsb-search__results {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.tsb-result {
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: 220px minmax(0, 1fr) 170px;
    overflow: hidden;
    padding: 12px;
}

.tsb-result__image {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
}

.tsb-result h3 {
    margin: 0 0 8px;
}

.tsb-result h3 a {
    color: var(--tsb-text);
    text-decoration: none;
}

.tsb-result p {
    color: var(--tsb-muted);
    margin: 0 0 12px;
}

.tsb-result__slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tsb-result__slots span {
    background: var(--tsb-green-soft);
    border-radius: 999px;
    color: var(--tsb-green);
    font-size: 13px;
    padding: 6px 10px;
}

.tsb-result__cta {
    align-items: end;
    display: grid;
    gap: 8px;
    justify-items: end;
}

.tsb-result__cta small {
    color: var(--tsb-muted);
}

.tsb-result__cta strong {
    color: var(--tsb-gold);
    font-size: 24px;
}

@media (max-width: 980px) {
    .tsb-suite,
    .tsb-modal__content,
    .tsb-search__form,
    .tsb-result {
        grid-template-columns: 1fr;
    }

    .tsb-suite__panel {
        position: static;
    }

    .tsb-result__cta {
        justify-items: stretch;
    }
}

@media (max-width: 640px) {
    .tsb-suite {
        gap: 18px;
        margin: 20px auto;
    }

    .tsb-suite__panel,
    .tsb-modal__content {
        padding: 20px;
    }

    .tsb-slots {
        grid-template-columns: 1fr;
    }

    .tsb-total strong,
    .tsb-summary__total strong {
        font-size: 26px;
    }
}

/* Calendrier inline réservation suite */
.tsb-inline-calendar {
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 8px;
    overflow: hidden;
    padding: 14px 16px 16px;
}

.tsb-inline-calendar__nav {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 36px 1fr 36px;
    margin-bottom: 12px;
}

.tsb-inline-calendar__nav strong {
    color: var(--tsb-text);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.tsb-inline-calendar__nav button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--tsb-text);
    cursor: pointer;
    display: flex;
    font-size: 28px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 36px;
}

.tsb-inline-calendar__nav button:hover {
    background: var(--tsb-green-soft);
    color: var(--tsb-green);
}

.tsb-inline-calendar__weekdays,
.tsb-inline-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.tsb-inline-calendar__weekdays span {
    color: var(--tsb-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 8px 2px;
    text-align: center;
}

.tsb-inline-calendar__day {
    align-items: center;
    aspect-ratio: 1;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--tsb-text);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    justify-content: center;
    margin: 2px auto;
    max-height: 40px;
    max-width: 40px;
    min-height: 34px;
    min-width: 34px;
    padding: 0;
    width: calc(100% - 4px);
}

.tsb-inline-calendar__day:hover:not(:disabled) {
    background: var(--tsb-green-soft);
    color: var(--tsb-green);
}

.tsb-inline-calendar__day.is-selected {
    background: var(--tsb-green);
    color: #fff;
    font-weight: 700;
}

.tsb-inline-calendar__day.is-muted {
    color: #c4beb4;
}

.tsb-inline-calendar__day.is-disabled {
    color: #d5d0c7;
    cursor: not-allowed;
    opacity: .55;
}

@media (max-width: 640px) {
    .tsb-inline-calendar {
        padding: 12px;
    }

    .tsb-inline-calendar__day {
        font-size: 13px;
        min-height: 30px;
        min-width: 30px;
    }
}

/* Ajustement UX : le calendrier et les créneaux doivent démarrer sous le numéro d'étape, pas décalés sous le libellé. */
.tsb-booking-step > div {
    display: contents;
}

.tsb-booking-step label,
.tsb-booking-step .tsb-step-title {
    align-self: center;
    grid-column: 2;
    margin: 0;
}

.tsb-booking-step .tsb-inline-calendar,
.tsb-booking-step .tsb-slots,
.tsb-booking-step .tsb-muted {
    grid-column: 1 / -1;
    margin-top: 6px;
}

/* Pages suites : masquer le haut de page imposé par certains thèmes (XStore, etc.) quand le plugin gère l’affichage. */
body.single-tsb_suite.tsb-hide-theme-template .page-heading,
body.single-tsb_suite.tsb-hide-theme-template .page-title,
body.single-tsb_suite.tsb-hide-theme-template .page-title-section,
body.single-tsb_suite.tsb-hide-theme-template .content-page-heading,
body.single-tsb_suite.tsb-hide-theme-template .etheme-page-heading,
body.single-tsb_suite.tsb-hide-theme-template .et_breadcrumbs,
body.single-tsb_suite.tsb-hide-theme-template .single-post-large,
body.single-tsb_suite.tsb-hide-theme-template .post-heading,
body.single-tsb_suite.tsb-hide-theme-template .article-heading,
body.single-tsb_suite.tsb-hide-theme-template .entry-header,
body.single-tsb_suite.tsb-hide-theme-template .post-meta,
body.single-tsb_suite.tsb-hide-theme-template .meta-post {
    display: none !important;
}

.tsb-suite-slider {
    margin: 0 auto 32px;
    max-width: 100%;
}

/* XStore : supprimer le wrapper hero single post qui laisse un grand blanc au-dessus du slider/module. */
body.single-tsb_suite.tsb-hide-theme-template .single-post-large-wrapper,
body.single-tsb_suite.tsb-hide-theme-template .single-post-large-wrapper * {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-tsb_suite.tsb-hide-theme-template .content-page,
body.single-tsb_suite.tsb-hide-theme-template .page-content,
body.single-tsb_suite.tsb-hide-theme-template .site-content,
body.single-tsb_suite.tsb-hide-theme-template .main-content,
body.single-tsb_suite.tsb-hide-theme-template .container.content-page,
body.single-tsb_suite.tsb-hide-theme-template .page-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-tsb_suite.tsb-hide-theme-template .tsb-suite-slider {
    margin-top: 0 !important;
}

/* Ajustement ratio page suite : 60% galerie / 40% réservation. */
.tsb-suite {
    grid-template-columns: minmax(0, 3fr) minmax(380px, 2fr) !important;
}

/* Contraste créneau sélectionné : tous les textes restent lisibles sur fond vert. */
.tsb-slot.is-selected,
.tsb-slot.is-selected strong,
.tsb-slot.is-selected span,
.tsb-slot.is-selected small,
.tsb-slot.is-selected em,
.tsb-slot.is-selected * {
    color: #fff !important;
}

.tsb-slot.is-selected {
    background: var(--tsb-green) !important;
    border-color: var(--tsb-green) !important;
    box-shadow: 0 8px 18px rgba(18, 63, 49, .18);
}

/* Ajustement demandé : équilibre 50/50 et photo principale plus haute. */
.tsb-suite {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr) !important;
}

.tsb-suite__main-image {
    aspect-ratio: 5 / 4 !important;
}

@media (max-width: 980px) {
    .tsb-suite {
        grid-template-columns: 1fr !important;
    }
}

/* Ajustement final demandé : retour 60/40 + photo principale nettement plus haute. */
.tsb-suite {
    grid-template-columns: minmax(0, 3fr) minmax(390px, 2fr) !important;
}

.tsb-suite__main-image {
    aspect-ratio: auto !important;
    height: clamp(480px, 42vw, 620px) !important;
}

@media (max-width: 980px) {
    .tsb-suite {
        grid-template-columns: 1fr !important;
    }

    .tsb-suite__main-image {
        height: clamp(340px, 72vw, 520px) !important;
    }
}

/* Calendrier frontend : signaler visuellement les dates bloquées/indisponibles. */
.tsb-inline-calendar__day.is-blocked {
    background: #ffe5e5;
    color: #a32020;
    font-weight: 700;
    position: relative;
}

.tsb-inline-calendar__day.is-blocked::after {
    background: currentColor;
    border-radius: 999px;
    bottom: 4px;
    content: "";
    height: 3px;
    left: 50%;
    opacity: .75;
    position: absolute;
    transform: translateX(-50%);
    width: 14px;
}

.tsb-inline-calendar__day.is-blocked:hover:not(:disabled) {
    background: #ffd2d2;
    color: #8f1616;
}

.tsb-inline-calendar__day.is-selected.is-blocked {
    background: #b42318;
    color: #fff;
}

.tsb-inline-calendar__day.is-unavailable:not(.is-selected):not(.is-blocked) {
    background: #f3f0eb;
    color: #9b948a;
}

/* Vidéo suite : hero desktop + intégration mobile dans la galerie. */
.tsb-suite-video-hero {
    height: clamp(460px, 52vw, 760px);
    margin: 0 0 36px;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    width: 100vw;
}

.tsb-suite-video-hero video {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tsb-suite__main-video {
    background: #000;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tsb-suite__main-video[hidden] {
    display: none !important;
}

.tsb-video-mobile-only {
    display: none !important;
}

.tsb-suite__video-thumb {
    align-items: center;
    background: var(--tsb-green) !important;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.tsb-suite__video-thumb span {
    align-items: center;
    background: rgba(255,255,255,.16);
    border-radius: 999px;
    display: flex;
    font-size: 20px;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.tsb-suite__video-thumb em {
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 980px) {
    .tsb-suite-video-hero {
        display: none !important;
    }

    .tsb-video-mobile-only {
        display: flex !important;
    }
}

/* Support YouTube/Vimeo-like embeds pour le hero et la galerie mobile. */
.tsb-suite-video-hero iframe,
.tsb-suite__main-iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.tsb-suite__main-iframe[hidden] {
    display: none !important;
}

/* Hero vidéo desktop : hauteur maîtrisée, vidéo centrée et sans interaction. */
.tsb-suite-video-hero {
    align-items: center !important;
    background: #000 !important;
    display: flex !important;
    height: min(590px, 56.25vw) !important;
    justify-content: center !important;
    margin-top: 0 !important;
    max-height: 590px !important;
}

.tsb-suite-video-hero iframe,
.tsb-suite-video-hero video {
    aspect-ratio: 16 / 9 !important;
    background: #000 !important;
    display: block !important;
    height: 100% !important;
    max-height: 590px !important;
    max-width: 1049px !important;
    object-fit: contain !important;
    width: min(100vw, 1049px) !important;
}

@media (max-width: 980px) {
    .tsb-suite-video-hero {
        display: none !important;
    }
}

/* Hero vidéo desktop décoratif : pas de titre, pas de pause/clic en version PC. */
.tsb-suite-video-hero iframe,
.tsb-suite-video-hero video {
    pointer-events: none !important;
}

@media (max-width: 980px) {
    .tsb-suite-video-hero iframe,
    .tsb-suite-video-hero video {
        pointer-events: auto !important;
    }
}

/* Correction hero vidéo : plein écran en largeur, sans interface YouTube visible. */
.tsb-suite-video-hero {
    background: #000 !important;
    display: block !important;
    height: min(590px, 56.25vw) !important;
    margin: 0 0 36px !important;
    margin-left: calc(50% - 50vw) !important;
    max-height: 590px !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100vw !important;
}

.tsb-suite-video-hero iframe,
.tsb-suite-video-hero video {
    aspect-ratio: 16 / 9 !important;
    background: #000 !important;
    border: 0 !important;
    display: block !important;
    height: 56.25vw !important;
    left: 50% !important;
    max-height: none !important;
    max-width: none !important;
    min-height: 100% !important;
    object-fit: cover !important;
    pointer-events: none !important;
    position: absolute !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(1.22) !important;
    width: 100vw !important;
}

.tsb-suite-video-hero::after {
    content: "";
    inset: 0;
    pointer-events: auto;
    position: absolute;
    z-index: 2;
}

@media (max-width: 980px) {
    .tsb-suite-video-hero {
        display: none !important;
    }
}

/* Correction galerie mobile : iframe vidéo visible quand on clique sur le bouton Vidéo. */
.tsb-suite__main-iframe:not([hidden]),
.tsb-suite__main-video:not([hidden]) {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

/* Cache de départ : masque les pictos/titres YouTube injectés au lancement du hero. */
@keyframes tsbHeroVideoMaskOut {
    0%, 80% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.tsb-suite-video-hero__mask {
    background-color: #000;
    background-position: center;
    background-size: cover;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 4;
    animation: tsbHeroVideoMaskOut 1.55s ease forwards;
}

/* Sécurité mobile : le bouton vidéo reste vraiment cliquable et affiche le player dans la galerie. */
.tsb-suite__main-image img[hidden] {
    display: none !important;
}

.tsb-video-mobile-only {
    cursor: pointer !important;
    position: relative;
    z-index: 2;
}

@media (max-width: 980px) {
    .tsb-suite__main-iframe:not([hidden]),
    .tsb-suite__main-video:not([hidden]) {
        display: block !important;
        min-height: 280px;
    }
}

/* Galerie mobile : vidéo YouTube sans interface, recadrée pour remplir tout le bloc image. */
.tsb-suite__main-image {
    position: relative !important;
}

.tsb-suite__main-iframe:not([hidden]) {
    aspect-ratio: 16 / 9 !important;
    background: #000 !important;
    border: 0 !important;
    display: block !important;
    height: 100% !important;
    left: 50% !important;
    max-height: none !important;
    max-width: none !important;
    min-width: 100% !important;
    pointer-events: none !important;
    position: absolute !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(1.22) !important;
    width: auto !important;
    z-index: 2;
}

.tsb-suite__main-video-mask {
    background-color: #000;
    background-position: center;
    background-size: cover;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 4;
}

.tsb-suite__main-video-mask[hidden] {
    display: none !important;
}

.tsb-suite__main-video-mask.is-running {
    animation: tsbHeroVideoMaskOut 1.55s ease forwards;
    display: block !important;
}

/* Vidéo en dernier dans le carousel + bouton vidéo plus premium. */
.tsb-suite__video-thumb {
    background: linear-gradient(135deg, #123f31 0%, #1f5c47 52%, #a5793c 100%) !important;
    border-color: rgba(255,255,255,.25) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(18,63,49,.18);
    min-width: 128px;
}

.tsb-suite__video-thumb span {
    background: rgba(255,255,255,.18) !important;
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    font-size: 0 !important;
    position: relative;
}

.tsb-suite__video-thumb span::before {
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    border-top: 10px solid transparent;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-38%, -50%);
}

.tsb-suite__video-thumb em {
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Lightbox galerie photos. */
body.tsb-lightbox-open {
    overflow: hidden;
}

.tsb-gallery-lightbox[hidden] {
    display: none !important;
}

.tsb-gallery-lightbox {
    align-items: center;
    background: rgba(0,0,0,.86);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 999999;
}

.tsb-gallery-lightbox__backdrop {
    inset: 0;
    position: absolute;
}

.tsb-gallery-lightbox__inner {
    align-items: center;
    display: flex;
    height: min(86vh, 820px);
    justify-content: center;
    max-width: 1180px;
    position: relative;
    width: min(92vw, 1180px);
    z-index: 1;
}

.tsb-gallery-lightbox__inner img {
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.tsb-gallery-lightbox__close,
.tsb-gallery-lightbox__nav {
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 34px;
    height: 54px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    transition: background .2s ease, transform .2s ease;
    width: 54px;
    z-index: 2;
}

.tsb-gallery-lightbox__close:hover,
.tsb-gallery-lightbox__nav:hover {
    background: rgba(255,255,255,.22);
    transform: scale(1.04);
}

.tsb-gallery-lightbox__close {
    font-size: 32px;
    right: 0;
    top: -68px;
}

.tsb-gallery-lightbox__nav--prev {
    left: -72px;
}

.tsb-gallery-lightbox__nav--next {
    right: -72px;
}

.tsb-gallery-lightbox__count {
    bottom: -42px;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    font-weight: 700;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

@media (max-width: 760px) {
    .tsb-gallery-lightbox {
        padding: 18px;
    }

    .tsb-gallery-lightbox__inner {
        width: 100%;
    }

    .tsb-gallery-lightbox__close {
        right: 6px;
        top: -62px;
    }

    .tsb-gallery-lightbox__nav {
        bottom: -66px;
        top: auto;
    }

    .tsb-gallery-lightbox__nav--prev {
        left: calc(50% - 72px);
    }

    .tsb-gallery-lightbox__nav--next {
        right: calc(50% - 72px);
    }
}

/* Correctifs lightbox mobile + support vidéo dans la lightbox. */
.tsb-gallery-lightbox__media {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tsb-gallery-lightbox__media iframe,
.tsb-gallery-lightbox__media video {
    background: #000;
    border: 0;
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
    width: 100%;
}

.tsb-gallery-lightbox__media iframe[hidden],
.tsb-gallery-lightbox__media video[hidden],
.tsb-gallery-lightbox__media img[hidden],
.tsb-gallery-lightbox__video-mask[hidden] {
    display: none !important;
}

.tsb-gallery-lightbox__video-mask {
    background-color: #000;
    background-position: center;
    background-size: cover;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 4;
}

.tsb-gallery-lightbox__video-mask.is-running {
    animation: tsbHeroVideoMaskOut 1.35s ease forwards;
    display: block !important;
}

@media (max-width: 760px) {
    .tsb-gallery-lightbox__inner {
        height: calc(100vh - 170px);
        max-height: calc(100vh - 170px);
    }

    .tsb-gallery-lightbox__nav {
        bottom: -74px !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
    }

    .tsb-gallery-lightbox__nav--prev {
        transform: translateX(-68px) !important;
    }

    .tsb-gallery-lightbox__nav--next {
        transform: translateX(14px) !important;
    }

    .tsb-gallery-lightbox__nav--prev:hover {
        transform: translateX(-68px) scale(1.04) !important;
    }

    .tsb-gallery-lightbox__nav--next:hover {
        transform: translateX(14px) scale(1.04) !important;
    }

    .tsb-gallery-lightbox__count {
        bottom: -112px !important;
    }
}

/* Correctif mobile lightbox : contrôles toujours visibles dans l'écran. */
@media (max-width: 760px) {
    .tsb-gallery-lightbox {
        align-items: center !important;
        padding: 64px 12px 72px !important;
    }

    .tsb-gallery-lightbox__inner {
        height: 100% !important;
        max-height: none !important;
        width: 100% !important;
    }

    .tsb-gallery-lightbox__close {
        background: rgba(0,0,0,.62) !important;
        border: 1px solid rgba(255,255,255,.35) !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.28) !important;
        height: 50px !important;
        position: fixed !important;
        right: max(14px, env(safe-area-inset-right)) !important;
        top: max(14px, env(safe-area-inset-top)) !important;
        transform: none !important;
        width: 50px !important;
        z-index: 1000002 !important;
    }

    .tsb-gallery-lightbox__nav {
        background: rgba(0,0,0,.58) !important;
        border: 1px solid rgba(255,255,255,.32) !important;
        bottom: auto !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.22) !important;
        height: 46px !important;
        position: fixed !important;
        top: 50% !important;
        width: 46px !important;
        z-index: 1000002 !important;
    }

    .tsb-gallery-lightbox__nav--prev {
        left: max(10px, env(safe-area-inset-left)) !important;
        right: auto !important;
        transform: translateY(-50%) !important;
    }

    .tsb-gallery-lightbox__nav--next {
        left: auto !important;
        right: max(10px, env(safe-area-inset-right)) !important;
        transform: translateY(-50%) !important;
    }

    .tsb-gallery-lightbox__nav--prev:hover {
        transform: translateY(-50%) scale(1.04) !important;
    }

    .tsb-gallery-lightbox__nav--next:hover {
        transform: translateY(-50%) scale(1.04) !important;
    }

    .tsb-gallery-lightbox__count {
        background: rgba(0,0,0,.55) !important;
        border-radius: 999px !important;
        bottom: max(18px, env(safe-area-inset-bottom)) !important;
        color: #fff !important;
        left: 50% !important;
        padding: 6px 12px !important;
        position: fixed !important;
        transform: translateX(-50%) !important;
        z-index: 1000002 !important;
    }

    .tsb-gallery-lightbox__media,
    .tsb-gallery-lightbox__inner img {
        border-radius: 12px !important;
    }
}

/* Recherche accueil : sélection de créneau + réservation directe. */
.tsb-search-slot {
    background: #fff !important;
    border: 1px solid var(--tsb-border) !important;
    border-radius: 10px !important;
    color: var(--tsb-text) !important;
    cursor: pointer;
    display: grid !important;
    gap: 3px;
    min-width: 132px;
    padding: 12px 14px !important;
    text-align: left;
}

.tsb-search-slot strong {
    font-size: 14px;
}

.tsb-search-slot span {
    background: transparent !important;
    color: var(--tsb-gold) !important;
    font-size: 16px !important;
    font-weight: 800;
    padding: 0 !important;
}

.tsb-search-slot small {
    color: var(--tsb-muted);
    font-size: 12px;
}

.tsb-search-slot.is-selected {
    background: var(--tsb-green) !important;
    border-color: var(--tsb-green) !important;
    color: #fff !important;
}

.tsb-search-slot.is-selected span,
.tsb-search-slot.is-selected small,
.tsb-search-slot.is-selected strong {
    color: #fff !important;
}

.tsb-result__cta button[data-tsb-search-reserve] {
    background: var(--tsb-green);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 11px 18px;
}

.tsb-result__cta button[data-tsb-search-reserve]:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.tsb-search-modal[hidden] {
    display: none !important;
}

.tsb-search-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 999998;
}

.tsb-search-modal__backdrop {
    background: rgba(0,0,0,.58);
    inset: 0;
    position: absolute;
}

.tsb-search-modal__dialog {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
    max-height: min(820px, 92vh);
    max-width: 760px;
    overflow: auto;
    padding: 28px;
    position: relative;
    width: min(100%, 760px);
    z-index: 1;
}

.tsb-search-modal__close {
    align-items: center;
    background: #f3f0eb;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    font-size: 26px;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 40px;
}

.tsb-search-modal h3 {
    margin: 0 52px 16px 0;
}

.tsb-search-modal__summary {
    background: var(--tsb-green-soft);
    border-radius: 14px;
    display: grid;
    gap: 5px;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.tsb-search-modal__summary span {
    color: var(--tsb-muted);
    font-size: 13px;
}

.tsb-search-modal__options {
    display: grid;
    gap: 10px;
}

.tsb-search-option {
    align-items: center;
    border: 1px solid var(--tsb-border);
    border-radius: 14px;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 56px minmax(0, 1fr) auto;
    padding: 12px;
}

.tsb-search-option > img {
    border-radius: 10px;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.tsb-search-option span {
    display: grid;
    gap: 3px;
}

.tsb-search-option small {
    color: var(--tsb-muted);
}

.tsb-search-option em {
    color: var(--tsb-gold);
    font-style: normal;
    font-weight: 800;
}

.tsb-search-modal__total {
    align-items: center;
    border-top: 1px solid var(--tsb-border);
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
}

.tsb-search-modal__total strong {
    color: var(--tsb-gold);
    font-size: 28px;
}

.tsb-search-modal__message {
    color: #b42318;
    margin: 12px 0 0;
}

.tsb-search-modal__confirm {
    background: var(--tsb-green);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    margin-top: 16px;
    padding: 14px 22px;
    width: 100%;
}

@media (max-width: 760px) {
    .tsb-result__cta {
        align-items: stretch;
        justify-items: stretch;
    }

    .tsb-result__cta button[data-tsb-search-reserve],
    .tsb-result__cta a {
        text-align: center;
        width: 100%;
    }

    .tsb-search-option {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tsb-search-option > img {
        display: none;
    }

    .tsb-search-option em {
        grid-column: 2;
    }
}

/* Ajustement design du module d'accueil : cohérent avec la fiche suite. */
.tsb-search {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(228,222,212,.9) !important;
    border-radius: 20px !important;
    box-shadow: 0 22px 60px rgba(36,36,36,.14) !important;
    padding: 22px !important;
}

.tsb-search__form {
    align-items: end !important;
    gap: 14px !important;
    grid-template-columns: minmax(260px, 1fr) 240px 190px !important;
}

.tsb-search__form button[type="submit"] {
    border-radius: 8px !important;
    min-height: 48px !important;
    text-transform: uppercase;
}

.tsb-result {
    border-radius: 16px !important;
    box-shadow: 0 12px 34px rgba(36,36,36,.08) !important;
    gap: 18px !important;
    grid-template-columns: 230px minmax(0, 1fr) 185px !important;
    padding: 14px !important;
}

.tsb-result__image {
    border-radius: 12px !important;
}

.tsb-result h3 {
    color: var(--tsb-green);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    margin-bottom: 12px !important;
}

.tsb-result__slots {
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.tsb-search .tsb-search-slot {
    align-content: center;
    border-radius: 12px !important;
    justify-items: center;
    min-height: 96px;
    min-width: 0 !important;
    text-align: center !important;
    width: auto !important;
}

.tsb-search .tsb-search-slot strong {
    line-height: 1.15;
}

.tsb-result__cta {
    align-content: center !important;
    border-left: 1px solid var(--tsb-border);
    padding-left: 18px;
}

.tsb-result__cta strong[data-tsb-search-card-total] {
    white-space: nowrap;
}

.tsb-result__cta button[data-tsb-search-reserve] {
    border-radius: 999px !important;
    min-height: 52px;
    width: 100%;
}

.tsb-result__cta a {
    border-radius: 8px !important;
}

@media (max-width: 980px) {
    .tsb-search__form,
    .tsb-result {
        grid-template-columns: 1fr !important;
    }

    .tsb-result__slots {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .tsb-result__cta {
        border-left: 0;
        border-top: 1px solid var(--tsb-border);
        padding-left: 0;
        padding-top: 16px;
    }
}

@media (max-width: 640px) {
    .tsb-result__slots {
        grid-template-columns: 1fr !important;
    }
}

/* Le modal options du shortcode recherche réutilise exactement le style fiche suite. */
.tsb-search-booking-modal .tsb-option-list .tsb-muted {
    margin: 0;
}

.tsb-search-booking-modal .tsb-summary__total {
    margin-top: 18px;
}

/* Lien "Voir la suite" plus discret dans le module d'accueil. */
.tsb-result__cta .tsb-result__suite-link {
    background: transparent !important;
    border: 0 !important;
    color: var(--tsb-muted) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    justify-self: center !important;
    min-height: auto !important;
    padding: 3px 0 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    width: auto !important;
}

.tsb-result__cta .tsb-result__suite-link:hover {
    color: var(--tsb-green) !important;
}

/* Calendrier premium du shortcode [tsb_search]. */
.tsb-search-date-wrap {
    position: relative;
}

.tsb-search-date-field {
    position: relative;
}

.tsb-search-date-field input[type="text"] {
    cursor: pointer;
    padding-right: 52px !important;
}

.tsb-search .tsb-search-date-toggle {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--tsb-muted) !important;
    display: flex !important;
    height: 42px !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px !important;
}

.tsb-search-calendar[hidden] {
    display: none !important;
}

.tsb-search-calendar {
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(36,36,36,.22);
    left: 0;
    margin-top: 12px;
    padding: 20px;
    position: absolute;
    top: 100%;
    width: min(520px, calc(100vw - 42px));
    z-index: 9999;
}

.tsb-search-calendar__nav {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px 1fr 44px;
    margin-bottom: 16px;
}

.tsb-search .tsb-search-calendar__nav button {
    background: #fff !important;
    border: 1px solid var(--tsb-border) !important;
    border-radius: 999px !important;
    color: var(--tsb-green) !important;
    font-size: 26px !important;
    height: 44px !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 44px !important;
}

.tsb-search-calendar__nav strong {
    color: var(--tsb-green);
    font-size: 18px;
    text-align: center;
}

.tsb-search-calendar__weekdays,
.tsb-search-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.tsb-search-calendar__weekdays {
    color: var(--tsb-muted);
    font-size: 11px;
    font-weight: 800;
    gap: 6px;
    letter-spacing: .04em;
    margin-bottom: 8px;
    text-align: center;
}

.tsb-search-calendar__days {
    gap: 7px;
}

.tsb-search .tsb-search-calendar__day {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    color: var(--tsb-text) !important;
    cursor: pointer;
    display: flex !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: 48px !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative;
    width: 100% !important;
}

.tsb-search .tsb-search-calendar__day:hover:not(:disabled) {
    background: var(--tsb-green-soft) !important;
    border-color: rgba(18,63,49,.22) !important;
    color: var(--tsb-green) !important;
}

.tsb-search .tsb-search-calendar__day.is-selected {
    background: var(--tsb-green) !important;
    border-color: var(--tsb-green) !important;
    color: #fff !important;
}

.tsb-search .tsb-search-calendar__day.is-blocked:not(.is-selected) {
    background: #ffe5e5 !important;
    border-color: #ffc8c8 !important;
    color: #a32020 !important;
}

.tsb-search .tsb-search-calendar__day.is-blocked:not(.is-selected)::after {
    background: currentColor;
    border-radius: 999px;
    bottom: 6px;
    content: "";
    height: 3px;
    left: 50%;
    opacity: .72;
    position: absolute;
    transform: translateX(-50%);
    width: 14px;
}

.tsb-search .tsb-search-calendar__day.is-muted {
    color: #b8b3aa !important;
}

.tsb-search .tsb-search-calendar__day.is-disabled {
    cursor: not-allowed;
    opacity: .36;
}

.tsb-search-calendar__hint {
    color: var(--tsb-muted);
    font-size: 12px;
    margin: 14px 0 0;
    text-align: center;
}

@media (max-width: 760px) {
    .tsb-search-calendar {
        left: 50%;
        padding: 16px;
        transform: translateX(-50%);
        width: calc(100vw - 28px);
    }

    .tsb-search .tsb-search-calendar__day {
        height: 42px !important;
    }
}

/* Résultats du shortcode [tsb_search] dans un panneau dédié. */
.tsb-search-results-modal .tsb-modal__dialog {
    max-height: min(860px, 92vh) !important;
    max-width: 1180px !important;
    overflow: auto !important;
    width: min(1180px, calc(100vw - 44px)) !important;
}

.tsb-search-results-modal__content {
    padding: 30px !important;
}

.tsb-search-results-modal__content h3 {
    color: var(--tsb-green);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    margin: 0 50px 8px 0;
}

.tsb-search-results-modal__subtitle {
    color: var(--tsb-muted);
    font-size: 15px;
    margin: 0 0 22px;
}

.tsb-search-results-modal__results {
    display: grid;
    gap: 16px;
}

.tsb-search-results-modal .tsb-result {
    grid-template-columns: 230px minmax(0, 1fr) 185px !important;
}

.tsb-search-results-modal .tsb-result__slots {
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.tsb-search-results-modal .tsb-search-slot {
    align-content: center;
    justify-items: center;
    min-height: 96px;
    min-width: 0 !important;
    text-align: center !important;
    width: auto !important;
}

.tsb-search-results-modal .tsb-result__cta {
    align-content: center !important;
    border-left: 1px solid var(--tsb-border);
    padding-left: 18px;
}

.tsb-search-results-modal .tsb-result__cta button[data-tsb-search-reserve] {
    min-height: 52px;
    width: 100%;
}

@media (max-width: 980px) {
    .tsb-search-results-modal .tsb-result {
        grid-template-columns: 1fr !important;
    }

    .tsb-search-results-modal .tsb-result__cta {
        border-left: 0;
        border-top: 1px solid var(--tsb-border);
        padding-left: 0;
        padding-top: 16px;
    }
}

@media (max-width: 640px) {
    .tsb-search-results-modal .tsb-modal__dialog {
        border-radius: 18px !important;
        max-height: calc(100vh - 28px) !important;
        width: calc(100vw - 22px) !important;
    }

    .tsb-search-results-modal__content {
        padding: 22px 12px 14px !important;
    }

    .tsb-search-results-modal__content h3 {
        font-size: 30px;
        margin-right: 42px;
    }

    .tsb-search-results-modal .tsb-result {
        border-radius: 16px !important;
        gap: 12px !important;
        padding: 10px !important;
    }

    .tsb-search-results-modal .tsb-result h3 {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }

    .tsb-search-results-modal .tsb-result__image {
        aspect-ratio: 16 / 10;
    }

    .tsb-search-results-modal .tsb-result__slots,
    .tsb-search .tsb-result__slots {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .tsb-search-results-modal .tsb-search-slot,
    .tsb-search .tsb-search-slot {
        border-radius: 10px !important;
        min-height: 80px !important;
        padding: 8px 4px !important;
    }

    .tsb-search-results-modal .tsb-search-slot strong,
    .tsb-search .tsb-search-slot strong {
        font-size: 11px !important;
        line-height: 1.15 !important;
    }

    .tsb-search-results-modal .tsb-search-slot span,
    .tsb-search .tsb-search-slot span {
        font-size: 13px !important;
    }

    .tsb-search-results-modal .tsb-search-slot small,
    .tsb-search .tsb-search-slot small {
        font-size: 10px !important;
    }

    .tsb-search-results-modal .tsb-result__cta {
        gap: 6px !important;
        padding-top: 10px !important;
    }
}

/* Résultats recherche : infos rapides de la suite. */
.tsb-result__quick {
    color: var(--tsb-muted) !important;
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 10px !important;
}

.tsb-result__features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 12px;
}

.tsb-result__features span {
    align-items: center;
    background: var(--tsb-green-soft) !important;
    border: 1px solid rgba(18,63,49,.10);
    border-radius: 999px;
    color: var(--tsb-green) !important;
    display: inline-flex;
    font-size: 12px !important;
    font-weight: 800;
    gap: 5px;
    padding: 6px 9px !important;
}

.tsb-result__features em {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    display: inline-flex;
    font-style: normal;
    height: 18px;
    justify-content: center;
    line-height: 1;
    width: 18px;
}

/* Page suite : garder les créneaux côte à côte aussi en mobile. */
@media (max-width: 640px) {
    .tsb-suite .tsb-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .tsb-suite .tsb-slot {
        border-radius: 10px !important;
        min-height: 80px !important;
        padding: 8px 4px !important;
    }

    .tsb-suite .tsb-slot strong {
        font-size: 11px !important;
        line-height: 1.15 !important;
        margin-bottom: 4px !important;
    }

    .tsb-suite .tsb-slot span {
        font-size: 13px !important;
    }

    .tsb-suite .tsb-slot small {
        font-size: 10px !important;
        margin-top: 4px !important;
    }

    .tsb-result__features {
        gap: 5px;
        margin-bottom: 10px;
    }

    .tsb-result__features span {
        font-size: 11px !important;
        padding: 5px 7px !important;
    }
}

/* Page / shortcode Last Minute. */
.tsb-last-minute {
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(36,36,36,.10);
    margin: 34px auto;
    max-width: 1180px;
    padding: clamp(18px, 3vw, 34px);
}

.tsb-last-minute__header {
    margin-bottom: 24px;
    text-align: center;
}

.tsb-last-minute__header h2 {
    color: var(--tsb-green);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    margin: 4px 0 10px;
}

.tsb-last-minute__header > p:not(.tsb-kicker) {
    color: var(--tsb-muted);
    margin: 0 auto;
    max-width: 720px;
}

.tsb-last-minute__days {
    display: grid;
    gap: 22px;
}

.tsb-last-minute-day {
    background: #fbfaf8;
    border: 1px solid var(--tsb-border);
    border-radius: 18px;
    padding: 16px;
}

.tsb-last-minute-day__head {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.tsb-last-minute-day__head h3 {
    color: var(--tsb-green);
    font-size: 25px;
    line-height: 1;
    margin: 0 0 4px;
}

.tsb-last-minute-day__head p {
    color: var(--tsb-muted);
    margin: 0;
}

.tsb-last-minute-day__head > span {
    background: var(--tsb-gold);
    border-radius: 999px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 8px 13px;
}

.tsb-last-minute-day__grid {
    display: grid;
    gap: 14px;
}

.tsb-last-minute-card {
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 16px;
    display: grid;
    gap: 16px;
    grid-template-columns: 220px minmax(0, 1fr) 185px;
    overflow: hidden;
    padding: 12px;
}

.tsb-last-minute-card__image {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.tsb-last-minute-card__image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tsb-last-minute-card__image span {
    align-items: center;
    background: var(--tsb-green-soft);
    color: var(--tsb-green);
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.tsb-last-minute-card__image b {
    background: var(--tsb-gold);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    padding: 6px 9px;
    position: absolute;
    right: 8px;
    top: 8px;
}

.tsb-last-minute-card__body h3 {
    color: var(--tsb-green);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    margin: 0 0 10px;
}

.tsb-last-minute-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.tsb-last-minute-card__slots {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tsb-last-minute-slot {
    align-content: center;
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 12px;
    color: var(--tsb-text);
    cursor: pointer;
    display: grid;
    gap: 4px;
    justify-items: center;
    min-height: 104px;
    padding: 10px 8px;
    text-align: center;
}

.tsb-last-minute-slot strong,
.tsb-last-minute-slot span,
.tsb-last-minute-slot small {
    display: block;
}

.tsb-last-minute-slot strong {
    font-size: 13px;
    line-height: 1.15;
}

.tsb-last-minute-slot del {
    color: var(--tsb-muted);
    display: inline-block;
    font-size: 12px;
    margin-right: 5px;
    opacity: .75;
}

.tsb-last-minute-slot b {
    color: var(--tsb-gold);
    font-size: 16px;
}

.tsb-last-minute-slot small {
    color: var(--tsb-muted);
    font-size: 11px;
}

.tsb-last-minute-slot.is-selected {
    background: var(--tsb-green);
    border-color: var(--tsb-green);
    color: #fff;
}

.tsb-last-minute-slot.is-selected b,
.tsb-last-minute-slot.is-selected del,
.tsb-last-minute-slot.is-selected small,
.tsb-last-minute-slot.is-selected strong {
    color: #fff !important;
}

.tsb-last-minute-card__cta {
    align-content: center;
    border-left: 1px solid var(--tsb-border);
    display: grid;
    gap: 8px;
    justify-items: center;
    padding-left: 16px;
}

.tsb-last-minute-card__cta small {
    color: var(--tsb-muted);
}

.tsb-last-minute-card__cta strong {
    color: var(--tsb-gold);
    font-size: 24px;
    white-space: nowrap;
}

.tsb-last-minute-card__cta button {
    background: var(--tsb-green);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 52px;
    padding: 11px 18px;
    width: 100%;
}

.tsb-last-minute-card__cta button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.tsb-last-minute-card__cta a {
    color: var(--tsb-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tsb-last-minute-empty {
    background: #fff;
    border: 1px dashed var(--tsb-border);
    border-radius: 14px;
    color: var(--tsb-muted);
    margin: 0;
    padding: 18px;
    text-align: center;
}

@media (max-width: 980px) {
    .tsb-last-minute-card {
        grid-template-columns: 1fr;
    }

    .tsb-last-minute-card__cta {
        border-left: 0;
        border-top: 1px solid var(--tsb-border);
        padding-left: 0;
        padding-top: 14px;
    }
}

@media (max-width: 640px) {
    .tsb-last-minute {
        border-radius: 18px;
        margin: 22px auto;
        padding: 12px;
    }

    .tsb-last-minute-day {
        padding: 11px;
    }

    .tsb-last-minute-card {
        gap: 11px;
        padding: 10px;
    }

    .tsb-last-minute-card__slots {
        gap: 7px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tsb-last-minute-slot {
        min-height: 86px;
        padding: 8px 4px;
    }

    .tsb-last-minute-slot strong {
        font-size: 11px;
    }

    .tsb-last-minute-slot del {
        display: none;
    }

    .tsb-last-minute-slot b {
        font-size: 13px;
    }

    .tsb-last-minute-slot small {
        font-size: 10px;
    }
}

/* Sélecteur nombre de personnes pour les réservations journée. */
.tsb-people-field {
    background: var(--tsb-green-soft);
    border: 1px solid rgba(18,63,49,.12);
    border-radius: 14px;
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding: 14px;
}

.tsb-people-field[hidden] {
    display: none !important;
}

.tsb-people-field label {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 180px;
}

.tsb-people-field span {
    color: var(--tsb-green);
    font-weight: 800;
}

.tsb-people-field select {
    background: #fff;
    border: 1px solid var(--tsb-border);
    border-radius: 10px;
    min-height: 42px;
    padding: 8px 10px;
    width: 100%;
}

.tsb-people-field small {
    color: var(--tsb-muted);
}

@media (max-width: 640px) {
    .tsb-people-field label {
        grid-template-columns: 1fr;
    }
}

/* UX améliorée : choix du nombre de personnes en boutons. */
.tsb-people-field {
    background: #fff !important;
    border: 1px solid var(--tsb-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(18,63,49,.06) !important;
    gap: 12px !important;
    padding: 16px !important;
}

.tsb-people-field label {
    display: block !important;
}

.tsb-people-field label span {
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
}

.tsb-people-field select {
    display: none !important;
}

.tsb-people-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tsb-people-choices button {
    align-items: center;
    background: #f7f4ee;
    border: 1px solid var(--tsb-border);
    border-radius: 999px;
    color: var(--tsb-green);
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    padding: 0 14px;
}

.tsb-people-choices button.is-active {
    background: var(--tsb-green);
    border-color: var(--tsb-green);
    color: #fff;
}

.tsb-people-field small {
    background: var(--tsb-green-soft);
    border-radius: 999px;
    color: var(--tsb-muted) !important;
    display: inline-flex;
    font-size: 12px;
    line-height: 1.2;
    padding: 7px 10px;
    width: fit-content;
}

/* Affichage prix barré / remise last minute sur les créneaux. */
.tsb-slot span del,
.tsb-search-slot span del,
.tsb-last-minute-slot del {
    color: var(--tsb-muted) !important;
    display: inline-block;
    font-size: 12px;
    margin-right: 5px;
    opacity: .75;
}

.tsb-slot span b,
.tsb-search-slot span b,
.tsb-last-minute-slot b {
    color: var(--tsb-gold) !important;
    font-size: inherit;
}

.tsb-slot span i,
.tsb-search-slot span i {
    background: var(--tsb-gold);
    border-radius: 999px;
    color: #fff !important;
    display: inline-block;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    margin-left: 5px;
    padding: 2px 5px;
    vertical-align: middle;
}

.tsb-slot.is-selected span del,
.tsb-slot.is-selected span b,
.tsb-slot.is-selected span i,
.tsb-search-slot.is-selected span del,
.tsb-search-slot.is-selected span b,
.tsb-search-slot.is-selected span i {
    color: #fff !important;
}

.tsb-slot.is-selected span i,
.tsb-search-slot.is-selected span i {
    background: rgba(255,255,255,.18);
}

/* Galerie suite : le bouton vidéo garde exactement la même hauteur que les miniatures photo. */
.tsb-suite__thumbs .tsb-suite__video-thumb {
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    min-width: 110px !important;
    width: auto !important;
}

@media (max-width: 640px) {
    .tsb-suite__thumbs {
        grid-auto-columns: minmax(92px, 1fr) !important;
    }

    .tsb-suite__thumbs button,
    .tsb-suite__thumbs .tsb-suite__video-thumb {
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        min-height: 0 !important;
        min-width: 92px !important;
    }

    .tsb-suite__video-thumb span {
        height: 38px !important;
        width: 38px !important;
    }

    .tsb-suite__video-thumb em {
        font-size: 12px !important;
    }
}

/* Page suite : les créneaux remplissent toujours toute la largeur disponible.
   Avec 3 créneaux : 3 colonnes. Avec 2 : 2 colonnes larges. Avec 1 : pleine largeur. */
.tsb-suite .tsb-slots {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)) !important;
}

@media (max-width: 640px) {
    .tsb-suite .tsb-slots {
        grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)) !important;
    }
}

/* Correction mobile/desktop : largeur exacte selon le nombre de créneaux réellement affichés. */
.tsb-suite .tsb-slots.tsb-slots--count-1 {
    grid-template-columns: 1fr !important;
}

.tsb-suite .tsb-slots.tsb-slots--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.tsb-suite .tsb-slots.tsb-slots--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.tsb-suite .tsb-slots.tsb-slots--count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 640px) {
    .tsb-suite .tsb-slots.tsb-slots--count-1 {
        grid-template-columns: 1fr !important;
    }

    .tsb-suite .tsb-slots.tsb-slots--count-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tsb-suite .tsb-slots.tsb-slots--count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .tsb-suite .tsb-slots.tsb-slots--count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Recherche + Last Minute : les créneaux remplissent aussi toute la largeur disponible. */
.tsb-result__slots.tsb-slots--count-1,
.tsb-last-minute-card__slots.tsb-slots--count-1 {
    grid-template-columns: 1fr !important;
}

.tsb-result__slots.tsb-slots--count-2,
.tsb-last-minute-card__slots.tsb-slots--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.tsb-result__slots.tsb-slots--count-3,
.tsb-last-minute-card__slots.tsb-slots--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.tsb-result__slots.tsb-slots--count-4,
.tsb-last-minute-card__slots.tsb-slots--count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 640px) {
    .tsb-result__slots.tsb-slots--count-1,
    .tsb-last-minute-card__slots.tsb-slots--count-1 {
        grid-template-columns: 1fr !important;
    }

    .tsb-result__slots.tsb-slots--count-2,
    .tsb-last-minute-card__slots.tsb-slots--count-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tsb-result__slots.tsb-slots--count-3,
    .tsb-last-minute-card__slots.tsb-slots--count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .tsb-result__slots.tsb-slots--count-4,
    .tsb-last-minute-card__slots.tsb-slots--count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Recherche : les dates passées restent uniquement grisées, même si le mois est complet. */
.tsb-search .tsb-search-calendar__day.is-disabled {
    background: #f6f3ef !important;
    border-color: transparent !important;
    color: #b8b3aa !important;
}

.tsb-search .tsb-search-calendar__day.is-disabled::after {
    display: none !important;
}

/* Grands écrans : éviter que les titres/badges des cartes empiètent sur les images. */
.tsb-search-results-modal .tsb-result,
.tsb-search .tsb-result {
    column-gap: 26px !important;
}

.tsb-last-minute-card {
    column-gap: 26px !important;
}

.tsb-result__image,
.tsb-last-minute-card__image {
    max-width: 100% !important;
    min-width: 0 !important;
    position: relative;
    z-index: 0;
}

.tsb-result__body,
.tsb-last-minute-card__body {
    min-width: 0 !important;
    overflow: hidden;
    padding-left: 4px;
    position: relative;
    z-index: 1;
}

.tsb-search-results-modal .tsb-result h3,
.tsb-search .tsb-result h3,
.tsb-last-minute-card__body h3 {
    font-size: clamp(24px, 2.2vw, 32px) !important;
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .tsb-result__body,
    .tsb-last-minute-card__body {
        padding-left: 0;
    }
}

/* Widget de recherche premium v0.6.27 : rendu compact inspiré maquette validée. */
.tsb-search.tsb-search--premium {
    --tsb-widget-gold: #b9853c;
    --tsb-widget-gold-soft: #f5efe4;
    --tsb-widget-ivory: rgba(255, 252, 247, .985);
    background: var(--tsb-widget-ivory) !important;
    border: 1px solid rgba(196, 156, 103, .28) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 70px rgba(17, 17, 17, .18) !important;
    max-width: 1320px !important;
    overflow: visible !important;
    padding: 28px 34px 24px !important;
    position: relative !important;
}

.tsb-search.tsb-search--premium::before {
    align-items: center;
    background: #fffaf1;
    border: 1px solid rgba(196, 156, 103, .3);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(17, 17, 17, .10);
    color: var(--tsb-widget-gold);
    content: "▣";
    display: flex;
    font-size: 15px;
    height: 52px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: -26px;
    transform: translateX(-50%);
    width: 52px;
    z-index: 2;
}

.tsb-search.tsb-search--premium .tsb-search__header {
    align-items: flex-start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
    margin-bottom: 24px;
}

.tsb-search.tsb-search--premium .tsb-search__kicker {
    color: var(--tsb-widget-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.tsb-search.tsb-search--premium .tsb-search__header h2 {
    color: var(--tsb-green);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.06;
    margin: 0;
}

.tsb-search.tsb-search--premium .tsb-search__last-minute {
    align-items: center;
    background: linear-gradient(135deg, #fffaf2, #f6ecdb);
    border: 1px solid rgba(196, 156, 103, .28);
    border-radius: 10px;
    color: #806235;
    display: grid;
    gap: 2px 10px;
    grid-template-columns: 26px 1fr;
    justify-self: end;
    max-width: 330px;
    padding: 14px 18px;
}

.tsb-search.tsb-search--premium .tsb-search__last-minute span {
    align-items: center;
    color: var(--tsb-widget-gold);
    display: flex;
    font-size: 18px;
    grid-row: span 2;
    justify-content: center;
    margin: 0;
}

.tsb-search.tsb-search--premium .tsb-search__last-minute strong {
    color: #8d642f;
    font-size: 12px;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tsb-search.tsb-search--premium .tsb-search__last-minute small {
    color: #6f665a;
    font-size: 12px;
    line-height: 1.35;
}

.tsb-search.tsb-search--premium .tsb-search__form {
    align-items: end !important;
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: minmax(220px, 1.25fr) minmax(210px, .95fr) minmax(170px, .75fr) minmax(210px, .95fr) minmax(210px, .98fr) !important;
    margin: 0 !important;
}

.tsb-search.tsb-search--premium .tsb-search-field {
    display: block;
    margin: 0 !important;
    min-width: 0;
    position: relative;
}

.tsb-search.tsb-search--premium .tsb-search-field__label {
    color: #2e2d2a !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    line-height: 1.2;
    margin: 0 0 8px !important;
}

.tsb-search.tsb-search--premium .tsb-search-field__label small {
    color: var(--tsb-muted);
    font-size: 11px;
    font-weight: 600;
}

.tsb-search.tsb-search--premium .tsb-search-field__control {
    align-items: center;
    background: #fff !important;
    border: 1px solid rgba(196, 156, 103, .24) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(36, 36, 36, .035) !important;
    display: flex !important;
    min-height: 58px !important;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.tsb-search.tsb-search--premium .tsb-search-field__control:focus-within,
.tsb-search.tsb-search--premium .tsb-search-field__control:hover {
    border-color: rgba(185, 133, 60, .46) !important;
    box-shadow: 0 12px 28px rgba(36, 36, 36, .06) !important;
}

.tsb-search.tsb-search--premium .tsb-search-field__icon {
    align-items: center;
    background: #fbf7ef;
    border-radius: 999px;
    color: var(--tsb-widget-gold);
    display: flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    margin-left: 14px;
    width: 34px;
}

.tsb-search.tsb-search--premium input[type="text"],
.tsb-search.tsb-search--premium select {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #302d28 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    height: 56px !important;
    line-height: 1.2 !important;
    min-height: 0 !important;
    outline: none !important;
    padding: 0 42px 0 12px !important;
    width: 100% !important;
}

.tsb-search.tsb-search--premium select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #a78145 50%), linear-gradient(135deg, #a78145 50%, transparent 50%) !important;
    background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50% !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
}

.tsb-search.tsb-search--premium .tsb-search-date-field input[type="text"] {
    padding-right: 42px !important;
}

.tsb-search.tsb-search--premium .tsb-search-date-toggle {
    color: var(--tsb-widget-gold) !important;
    font-size: 18px !important;
    right: 8px !important;
    width: 34px !important;
}

.tsb-search.tsb-search--premium .tsb-search__submit {
    align-items: center !important;
    background: linear-gradient(135deg, #064b3b, #0e5a47) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 28px rgba(6, 75, 59, .22) !important;
    color: #fff !important;
    display: flex !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    gap: 12px !important;
    height: 58px !important;
    justify-content: center !important;
    letter-spacing: .04em;
    line-height: 1.1 !important;
    min-height: 58px !important;
    padding: 0 22px !important;
    text-transform: uppercase !important;
    white-space: nowrap;
}

.tsb-search.tsb-search--premium .tsb-search__submit:hover {
    background: linear-gradient(135deg, #043d31, #0b4b3d) !important;
    transform: translateY(-1px);
}

.tsb-search.tsb-search--premium .tsb-search__submit i {
    color: #dcb66f;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.tsb-search.tsb-search--premium .tsb-search__trust {
    border-top: 1px solid rgba(196, 156, 103, .20);
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 26px;
    padding-top: 22px;
}

.tsb-search.tsb-search--premium .tsb-search__trust span {
    align-items: center;
    display: grid;
    gap: 2px 12px;
    grid-template-columns: 38px minmax(0, 1fr);
    min-width: 0;
}

.tsb-search.tsb-search--premium .tsb-search__trust em {
    align-items: center;
    background: #fbf7ef;
    border-radius: 999px;
    color: var(--tsb-widget-gold);
    display: flex;
    font-style: normal;
    grid-row: span 2;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.tsb-search.tsb-search--premium .tsb-search__trust strong {
    color: #2d2b28;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tsb-search.tsb-search--premium .tsb-search__trust small {
    color: var(--tsb-muted);
    font-size: 12px;
    line-height: 1.25;
}

.tsb-search.tsb-search--premium .tsb-search__results {
    margin: 12px 0 0 !important;
}

.tsb-search.tsb-search--premium .tsb-search__results .tsb-muted {
    margin: 0;
    padding-top: 2px;
}

@media (max-width: 1180px) {
    .tsb-search.tsb-search--premium .tsb-search__form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tsb-search.tsb-search--premium .tsb-search__submit {
        grid-column: span 2;
    }
}

@media (max-width: 920px) {
    .tsb-search.tsb-search--premium {
        border-radius: 16px !important;
        padding: 24px 18px 20px !important;
    }

    .tsb-search.tsb-search--premium::before {
        height: 44px;
        top: -22px;
        width: 44px;
    }

    .tsb-search.tsb-search--premium .tsb-search__header {
        grid-template-columns: 1fr;
    }

    .tsb-search.tsb-search--premium .tsb-search__last-minute {
        justify-self: stretch;
        max-width: none;
    }

    .tsb-search.tsb-search--premium .tsb-search__trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tsb-search.tsb-search--premium {
        margin-left: 14px !important;
        margin-right: 14px !important;
        padding: 22px 14px 18px !important;
    }

    .tsb-search.tsb-search--premium .tsb-search__header h2 {
        font-size: 28px;
    }

    .tsb-search.tsb-search--premium .tsb-search__form {
        grid-template-columns: 1fr !important;
    }

    .tsb-search.tsb-search--premium .tsb-search__submit {
        grid-column: auto;
        width: 100% !important;
    }

    .tsb-search.tsb-search--premium .tsb-search__trust {
        display: none !important;
    }
}


/* v0.6.28 - Ajustements widget accueil : pas de message inutile, CTA mieux dimensionné, Last Minute cliquable. */
.tsb-search.tsb-search--premium .tsb-search__last-minute {
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tsb-search.tsb-search--premium .tsb-search__last-minute:hover {
    border-color: rgba(185, 133, 60, .46) !important;
    box-shadow: 0 12px 28px rgba(36, 36, 36, .06);
    transform: translateY(-1px);
}

.tsb-search.tsb-search--premium .tsb-search__form {
    gap: 12px !important;
    grid-template-columns: minmax(190px, 1.1fr) minmax(160px, .82fr) minmax(150px, .72fr) minmax(175px, .9fr) minmax(225px, .95fr) !important;
}

.tsb-search.tsb-search--premium .tsb-search__submit {
    min-width: 225px !important;
    padding-left: 16px !important;
    padding-right: 14px !important;
}

.tsb-search.tsb-search--premium .tsb-search__submit span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tsb-search.tsb-search--premium .tsb-search__results:empty {
    display: none !important;
}

@media (max-width: 1280px) {
    .tsb-search.tsb-search--premium .tsb-search__form {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .tsb-search.tsb-search--premium .tsb-search__submit {
        grid-column: 1 / -1;
        justify-self: end;
        width: min(100%, 320px) !important;
    }
}

@media (max-width: 760px) {
    .tsb-search.tsb-search--premium .tsb-search__submit {
        justify-self: stretch;
        width: 100% !important;
    }
}


/* v0.6.29 - Mobile accueil : retour à une vraie mise en colonne, champs lisibles un par ligne. */
@media (max-width: 760px) {
    .tsb-search.tsb-search--premium .tsb-search__form {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .tsb-search.tsb-search--premium .tsb-search-field,
    .tsb-search.tsb-search--premium .tsb-search__submit {
        grid-column: auto !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .tsb-search.tsb-search--premium .tsb-search-field__control {
        min-height: 56px !important;
    }

    .tsb-search.tsb-search--premium input[type="text"],
    .tsb-search.tsb-search--premium select {
        height: 54px !important;
        font-size: 15px !important;
    }

    .tsb-search.tsb-search--premium .tsb-search__submit {
        height: 58px !important;
        justify-self: stretch !important;
    }
}

.tsb-search-field--locked .tsb-search-field__control {
    opacity: .72;
}

.tsb-search-field--locked select {
    cursor: not-allowed;
}


/* 0.6.31 - Last Minute : images moins coupées, rendu homogène.
   On garde une hauteur stable mais on évite le zoom agressif du cover. */
.tsb-last-minute-card__image {
    background: #f8f4ed !important;
}

.tsb-last-minute-card__image img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f8f4ed !important;
}

@media (min-width: 981px) {
    .tsb-last-minute-card__image {
        aspect-ratio: 16 / 11 !important;
        align-self: center;
    }
}

@media (max-width: 980px) {
    .tsb-last-minute-card__image {
        aspect-ratio: 16 / 10 !important;
    }
}

/* Navigation subtile sur l'image principale de la suite. */
.tsb-suite-gallery-arrow {
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
    color: var(--tsb-green);
    cursor: pointer;
    display: flex;
    font-size: 34px;
    height: 48px;
    justify-content: center;
    line-height: 1;
    opacity: .78;
    padding: 0 0 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease;
    width: 48px;
    z-index: 6;
}

.tsb-suite-gallery-arrow--prev {
    left: 18px;
}

.tsb-suite-gallery-arrow--next {
    right: 18px;
}

.tsb-suite__main-image:hover .tsb-suite-gallery-arrow,
.tsb-suite-gallery-arrow:focus-visible {
    opacity: 1;
}

.tsb-suite-gallery-arrow:hover,
.tsb-suite-gallery-arrow:focus-visible {
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

.tsb-suite-gallery-arrow[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .tsb-suite-gallery-arrow {
        height: 42px;
        width: 42px;
        font-size: 30px;
        opacity: .92;
    }

    .tsb-suite-gallery-arrow--prev {
        left: 10px;
    }

    .tsb-suite-gallery-arrow--next {
        right: 10px;
    }
}


/* 0.6.40 - Galerie/date : pas de doublon vidéo si elle est déjà en hero, et suppression du petit soulignement des dates indisponibles. */
.tsb-inline-calendar__day.is-blocked::after,
.tsb-search .tsb-search-calendar__day.is-blocked:not(.is-selected)::after {
    content: none !important;
    display: none !important;
}

/* 0.6.41 - Dates complètes : visibles mais non cliquables. */
.tsb-inline-calendar__day.is-blocked,
.tsb-search .tsb-search-calendar__day.is-blocked:not(.is-selected) {
    cursor: not-allowed !important;
}


/* 0.6.42 - Mobile : les images de galerie changent l'image principale sans ouvrir la lightbox. */
@media (max-width: 767px) {
    .tsb-suite__main img[data-tsb-main-image],
    .tsb-suite__thumbs [data-image] {
        cursor: default !important;
    }
}


/* 0.6.43 - Mobile : respiration haute du panneau de résultats recherche. */
@media (max-width: 640px) {
    .tsb-search-results-modal {
        align-items: flex-start !important;
        padding: max(28px, env(safe-area-inset-top)) 10px 18px !important;
    }

    .tsb-search-results-modal .tsb-modal__dialog {
        margin: 18px auto 0 !important;
        max-height: calc(100dvh - 54px) !important;
        overflow: auto !important;
        position: relative !important;
    }

    .tsb-search-results-modal__content {
        padding-top: 46px !important;
    }

    .tsb-search-results-modal .tsb-modal__close {
        right: 14px !important;
        top: 14px !important;
        z-index: 20 !important;
    }

    .tsb-search-results-modal__content > .tsb-kicker:first-child,
    .tsb-search-results-modal__content > h3:first-child {
        margin-top: 0 !important;
    }
}

/* v0.6.45 - Last Minute : phrase courte sur une ligne. */
.tsb-search.tsb-search--premium .tsb-search__last-minute small {
    white-space: nowrap;
}

@media (max-width: 420px) {
    .tsb-search.tsb-search--premium .tsb-search__last-minute small {
        white-space: normal;
    }
}


/* v0.6.47 - Widget mobile : réassurances masquées et icône Expérience privatisée ajustée. */
@media (max-width: 640px) {
    .tsb-search.tsb-search--premium .tsb-search__trust {
        display: none !important;
    }
}

/* v0.6.50 - Compatibilité thème : suppression de l’espace bas imposé par .main-header. */
.main-header {
    margin-bottom: 0 !important;
}


/* v0.6.60 - Correction z-index du calendrier du widget de recherche.
   Le calendrier doit toujours passer au-dessus du contenu de la page et des blocs de réassurance du widget. */
.tsb-search,
.tsb-search.tsb-search--premium {
    position: relative !important;
    z-index: 99990 !important;
    overflow: visible !important;
    isolation: isolate;
}

.tsb-search.tsb-search--premium .tsb-search__header,
.tsb-search.tsb-search--premium .tsb-search__form,
.tsb-search.tsb-search--premium .tsb-search__trust,
.tsb-search.tsb-search--premium .tsb-search__results {
    position: relative;
}

.tsb-search.tsb-search--premium .tsb-search__header {
    z-index: 5;
}

.tsb-search.tsb-search--premium .tsb-search__form {
    z-index: 60;
}

.tsb-search.tsb-search--premium .tsb-search__trust,
.tsb-search.tsb-search--premium .tsb-search__results {
    z-index: 1;
}

.tsb-search-date-wrap,
.tsb-search.tsb-search--premium .tsb-search-date-wrap {
    position: relative !important;
    z-index: 99995 !important;
    overflow: visible !important;
}

.tsb-search-calendar,
.tsb-search.tsb-search--premium .tsb-search-calendar {
    z-index: 2147483000 !important;
    isolation: isolate;
}

.tsb-search-calendar *,
.tsb-search.tsb-search--premium .tsb-search-calendar * {
    position: relative;
    z-index: 1;
}


/* v0.6.61 - Calendrier recherche en portail body : évite le clipping par les sections du thème. */
body > .tsb-search-calendar--portal,
body > .tsb-search-calendar.tsb-search-calendar--portal {
    box-sizing: border-box !important;
    left: auto;
    margin: 0 !important;
    max-height: calc(100vh - 28px) !important;
    overflow-y: auto !important;
    position: fixed !important;
    top: auto;
    transform: none !important;
    z-index: 2147483647 !important;
}

@media (max-width: 760px) {
    body > .tsb-search-calendar--portal,
    body > .tsb-search-calendar.tsb-search-calendar--portal {
        left: auto;
        transform: none !important;
        width: calc(100vw - 28px) !important;
    }
}


/* v0.6.62 - Le calendrier déplacé dans le body conserve exactement le style premium du widget. */
body > .tsb-search-calendar--portal .tsb-search-calendar__nav button,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__nav button {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid var(--tsb-border) !important;
    border-radius: 999px !important;
    color: var(--tsb-green) !important;
    cursor: pointer !important;
    display: flex !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    height: 44px !important;
    justify-content: center !important;
    line-height: 1 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 44px !important;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__nav button:hover,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__nav button:hover {
    background: var(--tsb-green-soft) !important;
    border-color: rgba(18,63,49,.22) !important;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day {
    align-items: center !important;
    appearance: none !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: var(--tsb-text) !important;
    cursor: pointer;
    display: flex !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: 48px !important;
    justify-content: center !important;
    line-height: 1 !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative;
    text-align: center !important;
    width: 100% !important;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day:hover:not(:disabled),
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day:hover:not(:disabled) {
    background: var(--tsb-green-soft) !important;
    border-color: rgba(18,63,49,.22) !important;
    color: var(--tsb-green) !important;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day.is-selected,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day.is-selected {
    background: var(--tsb-green) !important;
    border-color: var(--tsb-green) !important;
    color: #fff !important;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day.is-blocked:not(.is-selected),
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day.is-blocked:not(.is-selected) {
    background: #ffe5e5 !important;
    border-color: #ffc8c8 !important;
    color: #a32020 !important;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day.is-blocked:not(.is-selected)::after,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day.is-blocked:not(.is-selected)::after {
    background: currentColor;
    border-radius: 999px;
    bottom: 6px;
    content: "";
    height: 3px;
    left: 50%;
    opacity: .72;
    position: absolute;
    transform: translateX(-50%);
    width: 14px;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day.is-muted,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day.is-muted {
    color: #b8b3aa !important;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day.is-disabled,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day.is-disabled {
    background: #f6f3ef !important;
    border-color: transparent !important;
    color: #b8b3aa !important;
    cursor: not-allowed;
    opacity: .36;
}

body > .tsb-search-calendar--portal .tsb-search-calendar__day.is-disabled::after,
body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day.is-disabled::after {
    display: none !important;
}

@media (max-width: 760px) {
    body > .tsb-search-calendar--portal .tsb-search-calendar__day,
    body > .tsb-search-calendar.tsb-search-calendar--portal .tsb-search-calendar__day {
        height: 42px !important;
    }
}
