/* ============================================================
   reservation.css — Tunnel de réservation (étapes 1 & 2)
   La Kahute · Importe après base.css
   ============================================================ */


/* ============================================================
   1. HEADER TUNNEL
   ============================================================ */

.resa-header {
    background: var(--color-forest);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--container-pad);
    position: sticky;
    top: 0;
    z-index: 100;
}

.resa-header__logo img {
    display: block;
    width: 100px;
    height: auto;
}

.resa-header__logo:hover {
    opacity: 0.8;
}

.resa-header__exit {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.resa-header__exit:hover {
    color: rgba(255, 255, 255, 0.8);
}

.resa-header__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.resa-cart-icon:hover { color: #fff; }
.resa-header__exit-text-mobile {
    display: none;
}
@media (max-width: 480px) {
    .resa-header__exit {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    .resa-header__exit-text {
        display: none;
    }

    .resa-header__exit-text-mobile {
        display: inline;
    }
}

/* ============================================================
   2. PAGE WRAPPER
   ============================================================ */

.resa-page {
    min-height: 100vh;
    background: var(--color-sand);
    padding-top: 0; /* header n'est plus fixed */
}


/* ============================================================
   3. BARRE DE PROGRESSION (steps)
   ============================================================ */

.resa-steps {
    background: var(--color-terracotta);
    border-top: 0.5px solid var(--color-sand);
    border-bottom: 2px solid var(--color-sand);
    position: relative;
    z-index: 90;
}

.resa-steps__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 1rem var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.resa-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.875rem;
}

.resa-step__num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--color-forest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--color-forest);
    flex-shrink: 0;
}

.resa-step__label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-forest);
}

.resa-step__sep {
    width: 32px;
    height: 0.5px;
    background: rgba(255, 255, 255, 0.3);
}

/* Étape active */
.resa-step--active .resa-step__label,
.resa-step--active .resa-step__num {
    color: #fff;
}

.resa-step--active .resa-step__num {
    background: #fff;
    border-color: #fff;
    color: var(--color-terracotta);
}

/* Étape complétée */
.resa-step--done .resa-step__label {
    color: rgba(255, 255, 255, 0.75);
}

.resa-step--done .resa-step__num {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.6rem;
}

/* Étape cliquable (panier non vide) — cf. reservation.js renderCartBar() */
.resa-step.is-clickable {
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.15s ease;
}

.resa-step.is-clickable:hover,
.resa-step.is-clickable:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.resa-step.is-clickable:hover .resa-step__label,
.resa-step.is-clickable:focus-visible .resa-step__label {
    text-decoration: underline;
}


/* ============================================================
   4. BARRE DE RECHERCHE
   ============================================================ */

.resa-search-bar {
    background: var(--color-forest);
    padding: 1rem var(--container-pad) 2rem;
    border-bottom: 2px solid var(--color-terracotta);
    text-align: center;
}

/* Quand le timer est affiché, il apporte déjà son propre espacement
   (margin-top) — on réduit le padding-bottom du parent pour éviter le
   cumul des deux espaces qui rendait la zone trop aérée. */
.resa-search-bar:has(.resa-timer-badge.is-visible) {
    padding-bottom: 0rem;
}

.resa-search-bar__inner {
    max-width: 720px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 0.5px 1fr auto;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.96);
}

.resa-search-field {
    padding: 0.875rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.resa-search-field:hover {
    background: rgba(0, 0, 0, 0.03);
}

.resa-search-field__label {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
    line-height: 1;
}

.resa-search-field__value {
    font-size: var(--text-base);
    color: var(--color-forest);
    line-height: 1.4;
}

.resa-search-field__placeholder {
    color: var(--color-muted);
}

.resa-search-sep {
    background: var(--color-border);
    margin-block: 0.875rem;
}

.resa-search-btn {
    padding: 0 1.75rem;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
    white-space: nowrap;
}

.resa-search-btn:hover { background: var(--color-terracotta-dk); }
.resa-search-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Variante centrée pour affichage dans la barre de recherche (fond forest) —
   remplace le margin-bottom pensé pour le contexte "résultats" par un
   centrage horizontal sous les champs de recherche. */
.resa-timer-badge--searchbar {
    margin: 1.25rem 0 0;
}


.resa-header__cart-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px;
}

#resa-timer-badge.resa-timer-badge.resa-timer-badge--header {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    font-size: var(--text-sm, 0.75rem);
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    line-height: 1.2;
}

.resa-timer-badge--header.is-urgent {
    color: var(--danger, #dc2626);
}
/* ============================================================
   5. PANNEAUX OVERLAY (voyageurs / dates)
   ============================================================ */

.resa-panel {
    position: fixed;
    top: calc(var(--header-height) + 56px + 76px); /* header + steps + searchbar */
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    z-index: 200;
    width: min(480px, calc(100vw - 2rem));
    background: #fff;
    border: 0.5px solid var(--color-border);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.resa-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.resa-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 0.5px solid var(--color-sand-dark);
    font-size: var(--text-sm);
    color: var(--color-forest);
    font-weight: 500;
}

.resa-panel__close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.resa-panel__body {
    padding: 1.25rem;
}

.resa-panel__hint {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin-top: 0.75rem;
    text-align: center;
}

.resa-panel__foot {
    padding: 1rem 1.25rem;
    border-top: 0.5px solid var(--color-sand-dark);
}

.resa-panel__validate {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.resa-panel__validate:hover { background: var(--color-terracotta-dk); }

.resa-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0, 0, 0, 0.2);
}

.resa-backdrop.is-visible { display: block; }



/* ============================================================
   6. COMPTEURS VOYAGEURS & ÂGES ENFANTS
   ============================================================ */

.resa-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    border-bottom: 0.5px solid var(--color-sand-dark);
}

.resa-counter:last-of-type { border-bottom: none; }

.resa-counter__label {
    font-size: var(--text-sm);
    color: var(--color-forest);
}

.resa-counter__sub {
    font-size: var(--text-xs);
    color: var(--color-muted);
    display: block;
    margin-top: 2px;
}

.resa-counter__ctrl {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resa-counter__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0.5px solid var(--color-sand-dark);
    background: #fff;
    font-size: 1.125rem;
    color: var(--color-forest);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.resa-counter__btn:hover {
    border-color: var(--color-forest);
    background: var(--color-sand);
}

.resa-counter__val {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--color-forest);
    min-width: 1.5rem;
    text-align: center;
}

.resa-ages {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 0.5px solid var(--color-sand-dark);
}

.resa-ages__hint {
    font-size: var(--text-xs);
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: 0.875rem;
    line-height: 1.6;
}

.resa-age-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 0.5px solid var(--color-sand-dark);
}

.resa-age-row:last-child { border-bottom: none; }

.resa-age-row__label {
    font-size: var(--text-sm);
    color: var(--color-forest);
    flex-shrink: 0;
}

.resa-age-row__select {
    border: 0.5px solid var(--color-sand-dark);
    background: #fff;
    font-size: var(--text-sm);
    color: var(--color-forest);
    padding: 0.375rem 0.75rem;
    outline: none;
    cursor: pointer;
    min-width: 160px;
}


/* ============================================================
   7. RÉSULTATS & GRILLE
   ============================================================ */

.resa-results {
    padding: 2rem var(--container-pad) 6rem; /* 6rem = espace pour la cart-bar sticky */
}

.resa-results__inner {
    max-width: var(--container-max);
    margin-inline: auto;
}

.resa-results__meta {
    font-size: var(--text-sm);
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

.resa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    position: relative;
}

.resa-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.resa-card {
    background: #fff;
    border: 0.5px solid var(--color-sand-dark);
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-fast);
}

.resa-card.is-selected {
    border-color: var(--color-terracotta);
    border-width: 2px;
}

.resa-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--color-sand-dark);
    flex-shrink: 0;
}

.resa-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.resa-card:hover .resa-card__img img {
    transform: scale(1.04);
}

.resa-card__img-link {
    display: block;
    flex-shrink: 0;
}

.resa-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--color-terracotta);
    color: #fff;
}

.resa-card__body {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.resa-card__type {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.resa-card__name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-forest);
    margin-bottom: 0.5rem;
}

.resa-card__desc {
    font-size: var(--text-sm);
    color: var(--color-muted);
    line-height: 1.65;
}

.resa-card__footer {
    padding: 1rem 1.5rem;
    border-top: 0.5px solid var(--color-sand-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.resa-card__price-total {
    font-size: 1.125rem;
    color: var(--color-forest);
    display: block;
}

.resa-card__price-meta {
    font-size: var(--text-xs);
    color: var(--color-muted);
    display: block;
    margin-top: 2px;
}

.resa-card__btn {
    padding: 0.625rem 1.25rem;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition-fast);
}

.resa-card__btn:hover { background: var(--color-terracotta-dk); }

.resa-card__btn.is-selected {
    background: var(--color-forest);
}

.resa-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-muted);
    font-size: var(--text-base);
    line-height: 1.8;
}

.resa-empty__sub {
    font-size: var(--text-sm);
    margin-top: 0.5rem;
}

.resa-empty a {
    color: var(--color-terracotta);
    text-decoration: none;
}
.detail-promo-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #ff6a1a;
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
}

.recap-line__original {
    text-decoration: line-through;
    color: var(--color-muted);
    margin-right: 6px;
}

/* ── Accordéon détail nuit par nuit (transparence prix) ──── */

.recap-line--nights.is-clickable {
    cursor: pointer;
    user-select: none;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
    border-radius: 3px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.recap-line--nights.is-clickable:hover {
    background: rgba(200, 137, 90, 0.15);
    color: var(--color-forest);
}

.recap-line__chevron {
    display: inline-block;
    font-style: normal;
    margin-right: 6px;
    transition: transform var(--transition-fast);
    color: var(--color-terracotta);
}

.recap-line__chevron.is-open {
    transform: rotate(90deg);
}

.recap-nightly-breakdown {
    background: var(--color-sand);
    border: 0.5px solid var(--color-sand-dark);
    padding: 0.5rem 0 0.5rem 0.75rem;
    margin: 0.25rem 0 0.5rem;
}

.recap-nightly-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--color-muted);
    padding: 0.2rem 0;
}

.recap-nightly-row.is-promo {
    color: #ff6a1a;
    font-weight: 600;
}

.recap-nightly-discount {
    font-size: 0.6rem;
    font-weight: 700;
    background: #ff6a1a;
    color: #fff;
    padding: 1px 5px;
    border-radius: 999px;
    margin-right: 4px;
    vertical-align: middle;
}

/* ============================================================
   8. FLATPICKR — OVERRIDES COULEURS
   ============================================================ */

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
    background: var(--color-terracotta) !important;
    border-color: var(--color-terracotta) !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    color: #fff !important;
}

.flatpickr-day.inRange {
    background: rgba(200, 137, 90, 0.15) !important;
    border-color: transparent !important;
    -webkit-box-shadow: -5px 0 0 rgba(200, 137, 90, 0.15), 5px 0 0 rgba(200, 137, 90, 0.15) !important;
    box-shadow: -5px 0 0 rgba(200, 137, 90, 0.15), 5px 0 0 rgba(200, 137, 90, 0.15) !important;
}

.flatpickr-day.today {
    border-color: var(--color-terracotta) !important;
}

.flatpickr-day.today:hover {
    background: var(--color-terracotta) !important;
    border-color: var(--color-terracotta) !important;
    color: #fff !important;
}
/* Flatpickr overrides */
.resa-panel .flatpickr-calendar {
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: 478px;
    margin-inline: auto;
}
.resa-panel .flatpickr-days,
.resa-panel .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}
/* 7 jours par ligne, quelle que soit la largeur (3 novembre) : flatpickr limite chaque
   jour à 39 px ; dans un calendrier élargi à 440 px, 11 jours tenaient par ligne et les
   dates tombaient sous le mauvais jour de la semaine (6 mai 2027 affiché un dimanche). */
.resa-panel .flatpickr-day {
    flex-basis: 14.2857% !important;
    max-width: 14.2857% !important;
    width: 14.2857% !important;
}
/* ============================================================
   9. PANNEAU DÉTAIL (slide-in droite)
   ============================================================ */

.detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(480px, 100vw);
    background: #fff;
    z-index: 300;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow: hidden;
}

.detail-panel.is-open {
    transform: translateX(0);
}

.detail-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 0.5px solid var(--color-sand-dark);
    background: var(--color-forest);
    flex-shrink: 0;
}

.detail-panel__title {
    font-size: var(--text-sm);
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.detail-panel__close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color var(--transition-fast);
}

.detail-panel__close:hover {
    color: #fff;
}

.detail-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.detail-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.detail-meta {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 0.5px solid var(--color-sand-dark);
}

.detail-type {
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 3px;
}

.detail-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-forest);
    margin-bottom: 3px;
}

.detail-capacity {
    font-size: var(--text-xs);
    color: var(--color-muted);
}

.detail-section {
    padding: 0.5rem 1.25rem;
    border-bottom: 0.5px solid var(--color-sand-dark);
}

.detail-section__title {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 0.875rem;
}

/* Options */
.detail-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 0.5px solid var(--color-sand-dark);
}

.detail-option:last-child {
    border-bottom: none;
}

.detail-option--mandatory {
    opacity: 0.75;
}

.detail-option__included {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.detail-option:not(.detail-option--mandatory) {
    /* déborde jusqu'aux bords de .detail-section pour un hover pleine largeur */
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    transition: background var(--transition-fast);
}

.detail-option:not(.detail-option--mandatory):hover {
    background: rgba(200, 137, 90, 0.05);
}

.detail-option__label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.detail-option__label input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    border: 1.5px solid var(--color-terracotta);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.detail-option__label input[type="checkbox"]:checked {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.detail-option__label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* ── Avoirs disponibles (étape 3 du panier, page « Régler ce devis ») ──
   Grille régulière (14 octobre) : cases de même largeur et de même hauteur,
   le montant en avant, l'échéance dessous. Le titre et l'aide occupent une
   ligne entière. */
 
.resa-store-credits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr));
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
 
.resa-store-credits > :not(.resa-store-credits__item) {
    grid-column: 1 / -1;
}
 
.resa-store-credits__title {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-forest);
    margin: 0 0 0.25rem;
}
 
.resa-store-credits__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-sand-dark);
    border-radius: 4px;
    cursor: pointer;
    color: var(--color-forest);
    background: #fff;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
 
.resa-store-credits__item:hover {
    border-color: var(--color-terracotta);
}
 
.resa-store-credits__item:has(input:checked) {
    border-color: var(--color-terracotta);
    background: rgba(200, 137, 90, 0.08);
}
 
.resa-store-credits__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
 
.resa-store-credits__amount {
    font-size: var(--text-base, 1rem);
    font-weight: 600;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
 
.resa-store-credits__expiry {
    font-size: var(--text-xs);
    color: var(--color-muted);
    line-height: 1.3;
}
 
/* Téléphone : une seule colonne, en liste — montant à gauche, échéance à droite.
   Deux colonnes débordaient de la carte du devis et coupaient l'échéance. */
@media (max-width: 560px) {
    .resa-store-credits {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.4rem;
    }
 
    .resa-store-credits__item {
        padding: 0.6rem 0.8rem;
    }
 
    /* Montant et échéance sur une ligne quand elle suffit ; sinon l'échéance
       passe dessous, d'un bloc, sans jamais déborder de la case. */
    .resa-store-credits__text {
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        column-gap: 0.75rem;
        row-gap: 2px;
    }
 
    .resa-store-credits__expiry {
        white-space: nowrap;
    }
}
 

.store-credit-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1.5px solid var(--color-terracotta);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.store-credit-checkbox:checked {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.store-credit-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.resa-store-credits__hint {
    margin-top: 0.5rem;
    font-size: var(--text-xs);
    color: var(--color-muted);
    font-style: italic;
}

.resa-store-credits__hint:empty {
    display: none;
}
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: 0px;
    border: 1.5px solid var(--color-terracotta);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.detail-option__check {
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 1px;
}

.detail-option__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.detail-option__name {
    font-size: var(--text-sm);
    color: var(--color-forest);
    line-height: 1.4;
}

.detail-option__desc {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-muted);
    line-height: 1.5;
}

.detail-option__price {
    font-size: var(--text-sm);
    color: var(--color-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Couchages */

/* Inventaire — pure information, jamais interactif (pas de bordure/hover
   suggérant un clic possible, contrairement à .detail-bed ci-dessous). */
.detail-beds-inventory {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: var(--text-sm);
    color: var(--color-forest);
}

.detail-beds-inventory li span {
    color: var(--color-muted);
    font-size: var(--text-xs);
}

.detail-beds {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-bed {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    border: 0.5px solid var(--color-sand-dark);
    cursor: pointer;
    transition: border-color var(--transition-fast);
    font-size: var(--text-sm);
    color: var(--color-forest);
}

.detail-bed:has(input:checked) {
    border-color: var(--color-terracotta);
    background: rgba(200, 137, 90, 0.05);
}

/* Commentaire libre */
.detail-comment-box {
    padding-top: 0.5rem;
}

.detail-comment-textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 4.5rem;
    padding: 0.625rem 0.875rem;
    border: 0.5px solid var(--color-sand-dark);
    border-radius: 2px;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--color-forest);
    background: #fff;
}

.detail-comment-textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
}

/* Disponibilité */
.detail-availability {
    font-size: var(--text-xs);
    color: var(--color-muted);
    padding: 0.75rem 1.25rem;
    letter-spacing: 0.04em;
}

/* Récap prix */
.detail-recap {
    padding: 1rem 1.25rem;
    background: var(--color-sand);
    border-top: 0.5px solid var(--color-sand-dark);
}

.recap-line {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--color-muted);
    padding: 0.25rem 0;
}

.detail-recap__total {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-base);
    color: var(--color-forest);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 0.5px solid var(--color-sand-dark);
}

/* Footer panneau */
.detail-footer {
    padding: 1rem 1.25rem;
    border-top: 0.5px solid var(--color-sand-dark);
    background: #fff;
    flex-shrink: 0;
}

.detail-add-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.detail-add-btn:hover {
    background: var(--color-terracotta-dk);
}

.detail-loading,
.detail-error {
    padding: 2rem;
    text-align: center;
    color: var(--color-muted);
    font-size: var(--text-sm);
}

.resa-backdrop-detail {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(0, 0, 0, 0.3);
}

.resa-backdrop-detail.is-visible {
    display: block;
}


/* ============================================================
   10. BARRE PANIER (cart-bar sticky bas de page)
   ============================================================ */

.cart-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    background: var(--color-forest);
    border-top: 2px solid var(--color-terracotta);
}

.cart-bar.is-visible {
    display: block;
}

.cart-bar__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 0.875rem var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cart-bar__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.cart-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-xs);
    padding: 0.25rem 0.625rem;
    letter-spacing: 0.04em;
}

.cart-bar__remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    transition: color var(--transition-fast);
}

.cart-bar__remove:hover {
    color: #fff;
}

.cart-bar__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.cart-bar__total {
    font-size: var(--text-base);
    color: #fff;
    font-weight: 400;
    white-space: nowrap;
}

.cart-bar__btn {
    padding: 0.625rem 1.5rem;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-fast);
}

.cart-bar__btn:hover {
    background: var(--color-terracotta-dk);
}


/* ============================================================
   11. CART DRAWER (panier détaillé, slide-in)
   ============================================================ */

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 100vw);
    background: #fff;
    z-index: 350;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow: hidden;
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--color-terracotta);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.cart-drawer__title { color: #fff; font-size: var(--text-sm); letter-spacing: 0.04em; }
.cart-drawer__close { background: none; border: none; color: rgba(255, 255, 255, 0.6); font-size: 1.25rem; cursor: pointer; padding: 0; }
.cart-drawer__close:hover { color: #fff; }

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cart-drawer__items {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--color-sand-dark);
}

.cart-drawer__item {
    background: #fff;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.cart-drawer__item:hover,
.cart-drawer__item:focus-visible {
    background: var(--color-sand);
}

/* Le bouton retirer garde son propre curseur et ne doit pas hériter du hover de la ligne */
.cart-drawer__item .cart-drawer__remove {
    cursor: pointer;
}

.cart-drawer__img { width: 64px; height: 48px; object-fit: cover; display: block; }
.cart-drawer__name { font-size: var(--text-sm); color: var(--color-forest); margin-bottom: 2px; }
.cart-drawer__dates { font-size: var(--text-xs); color: var(--color-muted); margin-bottom: 2px; }
.cart-drawer__price { font-size: var(--text-sm); color: var(--color-terracotta); }

/* Chrono UNIQUE du panier — un bandeau en tête, pas un par article */
.cart-drawer__timer-wrap.resa-timer-badge {
    margin: 0.75rem 0.75rem 0;
    width: fit-content;
    display: inline-flex;
}
.cart-drawer__timer-wrap-back {
    background-color: var(--color-sand-dark);
}
/* Récap (step2) — même bandeau, mêmes conventions visuelles */
.recap-global-timer {
    font-size: var(--text-sm);
    color: var(--color-muted);
    margin-bottom: 1rem;
}
.recap-global-timer.is-urgent { color: #ff6a1a; font-weight: 600; }
.recap-global-timer:empty { display: none; }
.cart-drawer__remove { background: none; border: none; color: var(--color-muted); font-size: 1rem; cursor: pointer; padding: 0.25rem; }
.cart-drawer__remove:hover { color: var(--color-terracotta); }
.cart-drawer__empty { padding: 2rem; text-align: center; color: var(--color-muted); font-size: var(--text-sm); }

.cart-drawer__footer {
    padding: 1.25rem;
    border-top: 0.5px solid var(--color-sand-dark);
    background: #fff;
    flex-shrink: 0;
}

.cart-drawer__total {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--color-forest);
    margin-bottom: 1rem;
}

.cart-drawer__btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.cart-drawer__btn:hover { background: var(--color-terracotta-dk); }

.resa-backdrop-cart {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 340;
    background: rgba(0, 0, 0, 0.3);
}

.resa-backdrop-cart.is-visible { display: block; }


/* ============================================================
   12. ÉTAPE 2 — RÉCAPITULATIF
   ============================================================ */

.resa-step2 {
    padding: 2.5rem var(--container-pad) 5rem;
}

.resa-step2__inner {
    max-width: 760px;
    margin-inline: auto;
}

.resa-step2__header {
    margin-bottom: 2rem;
}

.resa-step2__header h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--color-forest);
    line-height: 1.2;
    margin-top: 0.5rem;
}

.resa-step2__header h1 em { font-style: italic; }

.resa-step2__alert {
    background: rgba(200, 137, 90, 0.1);
    border-left: 3px solid var(--color-terracotta);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: var(--text-sm);
    color: var(--color-forest);
}

.resa-step2__items {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--color-sand-dark);
    margin-bottom: 1rem;
}

.recap-item {
    background: #fff;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 0;
    position: relative;
}

.recap-item--unavailable {
    opacity: 0.6;
}

.recap-item__img {
    width: 140px;
    height: 160px;
    align-self: start;
    overflow: hidden;
}

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

.recap-item__body {
    padding: 1.25rem 1.5rem;
    min-width: 0;
}

.recap-item__error {
    font-size: var(--text-sm);
    color: var(--color-terracotta);
    font-weight: 500;
}

.recap-item__notice {
    font-size: var(--text-xs);
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.recap-item__type {
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 3px;
}

.recap-item__name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-forest);
    margin-bottom: 0.375rem;
}

.recap-item__dates {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin-bottom: 0.875rem;
    letter-spacing: 0.03em;
}

.recap-item__bed {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin-bottom: 0.875rem;
}

.recap-item__comment {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin-bottom: 0.875rem;
    font-style: italic;
    word-break: break-word;
}

.recap-item__pricing {
    border-top: 0.5px solid var(--color-sand-dark);
    padding-top: 0.75rem;
}

.recap-price-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: var(--text-sm);
    color: var(--color-muted);
    padding: 0.2rem 0;
    gap: 1rem;
}

.recap-price-line--opt {
    font-size: var(--text-xs);
}

/* ── Accordéons étape 2 (nuits / options / taxe de séjour) — <details> natif ── */

details.recap-price-line--nights,
details.recap-price-line--options,
details.total-line--tax {
    display: block;
    width: 100%;
    padding: 0;
}

details.recap-price-line--nights > summary:first-of-type::-webkit-details-marker,
details.recap-price-line--options > summary:first-of-type::-webkit-details-marker,
details.total-line--tax > summary:first-of-type::-webkit-details-marker {
    display: none;
}

/* Le chevron est accroché au premier <span>, pas au <summary> lui-même :
   sinon il compte comme un 3e enfant flex et justify-content: space-between
   pousse le texte du milieu vers le centre au lieu de le laisser à gauche. */
details.recap-price-line--nights > summary:first-of-type > span:first-child::before,
details.recap-price-line--options > summary:first-of-type > span:first-child::before,
details.total-line--tax > summary:first-of-type > span:first-child::before {
    content: '▸';
    display: inline-block;
    margin-right: 6px;
    color: var(--color-terracotta);
    transition: transform var(--transition-fast);
}

details.recap-price-line--nights[open] > summary:first-of-type > span:first-child::before,
details.recap-price-line--options[open] > summary:first-of-type > span:first-child::before,
details.total-line--tax[open] > summary:first-of-type > span:first-child::before {
    transform: rotate(90deg);
}

details.recap-price-line--nights > summary:first-of-type:hover,
details.recap-price-line--options > summary:first-of-type:hover,
details.total-line--tax > summary:first-of-type:hover {
    background: rgba(200, 137, 90, 0.15);
    color: var(--color-forest);
}

.total-tax-breakdown {
    background: #fff;
    border: 0.5px solid var(--color-sand-dark);
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0 0.5rem;
}

.total-tax-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: var(--text-xs);
    color: var(--color-muted);
    padding: 0.3rem 0;
    border-bottom: 0.5px solid var(--color-sand);
}

.total-tax-row:last-child {
    border-bottom: none;
}

.recap-options-breakdown {
    background: var(--color-sand);
    border: 0.5px solid var(--color-sand-dark);
    padding: 0.5rem 0 0.5rem 0.75rem;
    margin: 0.25rem 0 0.5rem;
}
details.recap-price-line--nights > summary:first-of-type,
details.recap-price-line--options > summary:first-of-type,
details.total-line--tax > summary:first-of-type {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: var(--text-sm);
    color: var(--color-muted);
    padding: 0.2rem 0;
    position: relative;
    cursor: pointer;
    list-style: none;
    transition: color var(--transition-fast);
}

/* Fond de survol en pseudo-élément positionné en absolu — ne participe pas
   au calcul de largeur du summary, donc n'affecte jamais la position du
   texte. Évite le glissement causé par margin négatif + padding compensé,
   qui se comporte différemment selon box-sizing (border-box global ici). */
details.recap-price-line--nights > summary:first-of-type::after,
details.recap-price-line--options > summary:first-of-type::after,
details.total-line--tax > summary:first-of-type::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -0.75rem;
    right: -0.75rem;
    border-radius: 3px;
    background: transparent;
    transition: background var(--transition-fast);
    z-index: -1;
}

details.recap-price-line--nights > summary:first-of-type:hover::after,
details.recap-price-line--options > summary:first-of-type:hover::after,
details.total-line--tax > summary:first-of-type:hover::after {
    background: rgba(200, 137, 90, 0.15);
}

details.recap-price-line--nights > summary:first-of-type:hover,
details.recap-price-line--options > summary:first-of-type:hover,
details.total-line--tax > summary:first-of-type:hover {
    color: var(--color-forest);
}
.recap-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: var(--text-xs);
    color: var(--color-muted);
    padding: 0.2rem 0;
}

.recap-price-line--subtotal {
    font-size: var(--text-sm);
    color: var(--color-forest);
    font-weight: 500;
    border-top: 0.5px solid var(--color-sand-dark);
    margin-top: 0.375rem;
    padding-top: 0.5rem;
}

.recap-tag {
    display: inline-block;
       font-size: var(--text-xs);
    letter-spacing: 0.08em;
    background: var(--color-sand);
    color: var(--color-muted);
}

.recap-item__remove {
    padding: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.recap-item__remove button {
    background: none;
    border: none;
    font-size: 1.125rem;
    color: var(--color-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color var(--transition-fast);
}

.recap-item__remove button:hover { color: var(--color-terracotta); }

.resa-step2__total {
    background: var(--color-sand);
    border: 0.5px solid var(--color-sand-dark);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: var(--text-sm);
    color: var(--color-muted);
    padding: 0.375rem 0;
    gap: 1rem;
}
.total-line--note {
    font-size: 0.85em;
    color: var(--color-muted, #8c7b6a);
}
.total-line small {
    font-size: var(--text-xs);
    opacity: 0.75;
    margin-left: 0.5rem;
}

.total-line--grand {
    font-size: var(--text-base);
    color: var(--color-forest);
    border-top: 0.5px solid var(--color-sand-dark);
    margin-top: 0.5rem;
    padding-top: 0.875rem;
}

.resa-step2__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ============================================================
   13. RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .resa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .resa-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    html,
    body {
        width: 100%;
    }

    .main-content,
    .resa-page,
    .resa-steps,
    .resa-search-bar,
    .resa-results {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .resa-search-bar {
        padding: 1rem 1rem 2rem;
    }

    .resa-search-bar__inner {
        grid-template-columns: 1fr;
    }

    .resa-search-sep {
        width: auto;
        height: 0.5px;
        margin: 0 1.25rem;
    }

    .resa-search-btn {
        padding: 1rem;
        text-align: center;
    }

    .resa-step__label { display: none; }
    .resa-step__sep { width: 16px; }

    /* Panneau détail — plein écran mobile
       ⚠️ Fusion de deux règles .detail-panel en conflit dans le fichier source
       (une version "carte flottante" 12px/border-radius, une version "plein écran"
       100%/right:0). J'ai gardé la version plein écran, plus cohérente avec
       .detail-panel__body en dessous. À confirmer que c'est bien le rendu voulu. */
    .detail-panel {
        width: 100%;
        right: 0;
        left: auto;
    }

    .detail-panel__body {
        padding: 0;
        overflow-y: auto;
    }

    .detail-img {
        width: calc(100% - 2rem);
        margin: 1rem;
        border-radius: 4px;
    }

    .detail-meta,
    .detail-section,
    .detail-availability,
    .detail-recap,
    .detail-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cart-bar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cart-bar__right {
        justify-content: space-between;
    }

    .recap-item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto 1fr;
    }

    .recap-item__img {
        display: none;
    }

    .recap-item__body {
        padding: 1rem;
        grid-column: 1;
    }

    .recap-item__remove {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }

    .recap-price-line {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .resa-step2__actions {
        flex-direction: column-reverse;
    }

    .resa-step2__actions .btn {
        text-align: center;
        justify-content: center;
    }
    .detail-option:not(.detail-option--mandatory) {
        margin-inline: -1rem;
        padding-inline: 1rem;
    }
}

/* ── Toast (remplace les alert() natifs, disgracieux et hors charte) ──────
   Utilisé par reservation.js (étape 1, drawer) et step2-hold-timer.js
   (étape 2, récap) — même composant visuel sur les deux pages. */
.resa-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 420px;
    padding: 14px 16px 14px 20px;
    background: #fff;
    color: var(--color-forest);
    border-left: 4px solid var(--color-terracotta);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-size: var(--text-sm);
    line-height: 1.4;
    opacity: 0;
    transform: translate(-50%, -16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none; /* le toast ne bloque rien tant qu'il est en transition */
}

.resa-toast__text {
    flex: 1;
}

.resa-toast__close {
    flex-shrink: 0;
    pointer-events: auto; /* réactivé explicitement : seule la croix doit rester cliquable */
    background: none;
    border: none;
    color: var(--color-muted);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.resa-toast__close:hover {
    color: var(--color-forest);
}

.resa-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

@media (max-width: 640px) {
    .resa-toast {
        left: 16px;
        right: 16px;
        max-width: none;
        transform: translateY(-16px);
    }

    .resa-toast.is-visible {
        transform: translateY(0);
    }
}

/* ── Étape 3 : coordonnées ──────────────────────────────────── */

.resa-step3__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.resa-card {
    background: #fff;
    border: 0.5px solid var(--color-sand-dark);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.resa-card .detail-section__title {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.form-optional {
    font-weight: 400;
    color: var(--color-muted);
    text-transform: none;
    letter-spacing: normal;
    font-size: var(--text-xs);
}

.form-row {
    display: grid;
    gap: 1rem;
}

.form-row--2col {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-forest);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 0.625rem 0.875rem;
    border: 0.5px solid var(--color-sand-dark);
    border-radius: 2px;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--color-forest);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-terracotta);
}

.form-control.is-invalid {
    border-color: #c0392b;
}

.form-error {
    font-size: var(--text-xs);
    color: #c0392b;
    margin: 0.25rem 0 0;
}

.resa-step3__summary {
    position: sticky;
    top: 1.5rem;
}

.resa-step3__summary-item {
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 0.5px solid var(--color-sand-dark);
}

.resa-step3__summary-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.resa-step3__summary-name {
    font-size: var(--text-sm);
    color: var(--color-forest);
    margin: 0 0 2px;
}

.resa-step3__summary-dates {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin: 0 0 4px;
}

.resa-step3__summary-price {
    font-size: var(--text-sm);
    color: var(--color-terracotta);
    margin: 0;
    font-weight: 500;
}

@media (max-width: 900px) {
    .resa-step3__layout {
        grid-template-columns: 1fr;
    }

    .resa-step3__summary {
        position: static;
        order: -1;
    }

    .form-row--2col {
        grid-template-columns: 1fr;
    }
}
.resa-step3__payment-form {
    margin-top: 1.5rem;
}

.resa-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.resa-payment-option {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem;
    border: 0.5px solid var(--color-sand-dark);
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--color-forest);
}

.resa-payment-option:has(input:checked) {
    border-color: var(--color-terracotta);
    background: rgba(200, 137, 90, 0.05);
}

.resa-step3__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.resa-payment-legal {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .resa-step3__actions {
        flex-direction: column-reverse;
    }

    .resa-step3__actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
.resa-timer-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: #fff;
    border: 0.5px solid var(--color-sand-dark);
    border-radius: 999px;
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    width: fit-content;
}

.resa-timer-badge.is-visible {
    display: inline-flex;
}

.resa-timer-badge svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.resa-timer-badge [data-cart-timer].is-urgent {
    color: var(--color-terracotta);
    font-weight: 600;
}
/* Variante pleine terracotta — étapes 2 (coordonnées) et 3 (paiement)
   uniquement, où le timer mérite d'être plus visible qu'ailleurs (barre
   de recherche, panier). Modificateur séparé plutôt que de changer le
   style de base, pour ne pas teinter les autres usages du badge. */
.resa-timer-badge--solid {
    background: var(--color-terracotta);
    border: none;
    color: #fff;
    box-shadow: 0 2px 10px rgba(200, 137, 90, 0.3);
}

.resa-timer-badge--solid svg {
    color: #fff;
}

.resa-timer-badge--solid [data-cart-timer].is-urgent {
    color: #fff;
}

.resa-timer-badge--solid:has([data-cart-timer].is-urgent) {
    animation: resa-timer-pulse 1.6s ease-in-out infinite;
}

@keyframes resa-timer-pulse {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(200, 137, 90, 0.3);
    }
    50% {
        box-shadow: 0 2px 18px rgba(200, 137, 90, 0.6);
    }
}
.resa-card__divider {
    border: none;
    border-top: 0.5px solid var(--color-sand-dark);
    margin: 1.75rem 0 1.5rem;
}

.resa-step3__payment-form {
    margin-top: 1.5rem;
}

.resa-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.resa-payment-option {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem;
    border: 0.5px solid var(--color-sand-dark);
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--color-forest);
}

.resa-payment-option:has(input:checked) {
    border-color: var(--color-terracotta);
    background: rgba(200, 137, 90, 0.05);
}

.resa-step3__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.resa-payment-legal {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .resa-step3__actions {
        flex-direction: column-reverse;
    }

    .resa-step3__actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
details.resa-form-section {
    display: block;
    width: 100%;
    padding: 0;
}

details.resa-form-section > summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    padding: 0.3rem 0.75rem;
    margin-inline: -0.75rem;
    border-radius: 3px;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    font-weight: 400;
    transition: background var(--transition-fast), color var(--transition-fast);
}

details.resa-form-section > summary:hover {
    background: rgba(200, 137, 90, 0.15);
    color: var(--color-terracotta-dk);
}

details.resa-form-section > summary::-webkit-details-marker {
    display: none;
}

details.resa-form-section > summary > span:first-child::before {
    content: '▸';
    display: inline-block;
    margin-right: 6px;
    color: var(--color-terracotta);
    transition: transform var(--transition-fast);
}

details.resa-form-section[open] > summary > span:first-child::before {
    transform: rotate(90deg);
}

details.resa-form-section > summary {
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    font-weight: 400;
}


.resa-form-section__content {
    padding-top: 1.25rem;
}
/* ── Barre panier fixe (2e accès au panier, en plus de l'icône header) ── */
.resa-cart-bar {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 500;
    display: none;
    align-items: center;
    gap: 20px;
    padding: 0.875rem 1.25rem;
    background: var(--color-forest);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-family: inherit;
    transform: translateX(-50%);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.resa-cart-bar:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.resa-cart-bar.is-visible {
    display: flex;
}

/* Inutile de proposer "voir mon panier" quand on l'a déjà sous les yeux —
   .resa-cart-bar suit .cart-drawer dans le DOM (même parent .resa-page),
   d'où le sélecteur de fratrie ~ plutôt qu'une dépendance au JS. */
.cart-drawer.is-open ~ .resa-cart-bar {
    display: none !important;
}
.detail-panel.is-open ~ .resa-cart-bar {
    display: none !important;
}
.resa-cart-bar__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.resa-cart-bar__count {
    font-size: var(--text-xs);
    opacity: 0.8;
}

.resa-cart-bar__total {
    font-size: var(--text-sm);
    font-weight: 600;
}

.resa-cart-bar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.resa-cart-bar__secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.resa-cart-bar__secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

.resa-cart-bar__cta {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--color-terracotta);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease;
}

.resa-cart-bar__cta:hover {
    background: var(--color-terracotta-dk);
}

@media (max-width: 640px) {
    .resa-cart-bar {
        left: 16px;
        right: 16px;
        bottom: 16px;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: auto;
        border-radius: 16px;
        padding: 1rem 1.25rem;
    }

    .resa-cart-bar:hover {
        transform: translateY(-2px);
    }

    .resa-cart-bar__info {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .resa-cart-bar__actions {
        flex-direction: column;
        gap: 8px;
    }

    .resa-cart-bar__secondary,
    .resa-cart-bar__cta {
        width: 100%;
        text-align: center;
    }
}
.confirmation-pending {
    text-align: center;
    padding: 3rem 1rem;
}

.confirmation-spinner {
    margin: 1.5rem auto 0;
    width: 32px;
    height: 32px;
    border: 3px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: confirmation-spin 0.8s linear infinite;
}

@keyframes confirmation-spin {
    to { transform: rotate(360deg); }
}

.confirmation-timeout {
    text-align: center;
    margin-top: 1.5rem;
    color: #555;
}
.confirmation-pending-actions {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--color-sand-dark);
}

.confirmation-pending-actions__hint {
    font-size: var(--text-sm);
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}
/* ============================================================
   14. CONFIRMATION — bloc récap / échec
   ============================================================ */

.confirmation-page {
    padding-top: var(--header-height);
    min-height: 100vh;
    background: var(--color-sand);
}

.confirmation-block {
    max-width: 760px;
    margin-inline: auto;
    padding: 3rem var(--container-pad) 5rem;
}

.confirmation-block__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.confirmation-block__header h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--color-forest);
    line-height: 1.2;
    margin: 0 0 0.375rem;
}

.confirmation-block__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    margin-top: 0.125rem;
}

.confirmation-block__header--success .confirmation-block__icon {
    background: #2e7d32;
}

.confirmation-block__header--warning .confirmation-block__icon {
    background-color: #c8895a;
    color: #ffffff;
}

.confirmation-block__header--error .confirmation-block__icon {
    background: #c0392b;
}

.confirmation-block__ref {
    font-size: var(--text-sm);
    color: var(--color-muted);
    margin: 0;
}
.confirmation-conflict-card p + p {
    margin-top: 12px;
}
.confirmation-block__intro {
    font-size: var(--text-base);
    color: var(--color-forest);
    margin-bottom: 1.5rem;
}

.confirmation-recap-card {
    margin-bottom: 1.5rem;
}

.confirmation-item {
    padding: 0.875rem 0;
    border-bottom: 0.5px solid var(--color-sand-dark);
}

.confirmation-item:last-of-type {
    border-bottom: none;
}

.confirmation-item__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.confirmation-item__name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-forest);
}

.confirmation-item__price {
    font-size: var(--text-sm);
    color: var(--color-forest);
    white-space: nowrap;
}

.confirmation-item__dates {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin: 3px 0 0;
}

.confirmation-item__options {
    margin-top: 0.5rem;
}

.confirmation-block__footer-note {
    font-size: var(--text-sm);
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.confirmation-block__actions {
    display: flex;
    justify-content: center;
}

.confirmation-block__actions .btn-resa-choisir {
    text-decoration: none;
    display: inline-block;
}
.confirmation-failed-card {
    margin-bottom: 1.5rem;
}

.confirmation-failed-card__lead {
    font-size: var(--text-base);
    color: var(--color-forest);
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.confirmation-failed-card__reasons {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--color-muted);
    font-size: var(--text-sm);
    line-height: 1.9;
}

.confirmation-block__actions--stacked {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.confirmation-block__secondary-link {
    font-size: var(--text-sm);
    color: var(--color-muted);
    text-decoration: underline;
}

.confirmation-block__secondary-link:hover {
    color: var(--color-forest);
}

.confirmation-block__footer-note--center {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.confirmation-block__footer-note--center a {
    color: var(--color-terracotta);
}
.confirmation-failed-card__hold-notice {
    margin: 0;
    padding-top: 1rem;
    border-top: 0.5px solid var(--color-sand-dark);
    font-size: var(--text-xs);
    color: var(--color-muted);
    font-style: italic;
}

.confirmation-block__secondary-note {
    font-size: var(--text-xs);
    color: var(--color-muted);
    margin: 0;
}
.confirmation-item--no-border {
    border-bottom: none;
    padding-bottom: 0.375rem;
}
@media (max-width: 640px) {
    .confirmation-block {
        padding: 2rem 1rem 3rem;
    }

    .confirmation-block__header {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .confirmation-block__icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .confirmation-item__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }

    .confirmation-item__price {
        font-size: var(--text-base);
    }

    .confirmation-block__actions .btn-resa-choisir {
        width: 100%;
        text-align: center;
    }
      .resa-modal__box {
        padding: 1.5rem;
    }

    .resa-modal__actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .resa-modal__actions button {
        width: 100%;
    }
}
.form-recognized-hint {
    font-size: var(--text-xs);
    color: var(--color-forest);
    background: rgba(200, 137, 90, 0.08);
    border-left: 3px solid var(--color-terracotta);
    padding: 0.625rem 0.875rem;
    margin: 0.75rem 0 0;
    border-radius: 2px;
}
.resa-header__logo-form,
.resa-header__exit-form {
    display: inline-flex;
    margin: 0;
}

.resa-header button.resa-header__logo,
.resa-header button.resa-header__exit {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    margin-right: 20px;
    font: inherit;
    cursor: pointer;
    appearance: none;
}
.resa-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.resa-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.resa-modal__box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    max-width: 420px;
    width: calc(100% - 2rem);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.resa-modal__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-forest);
    margin: 0 0 0.75rem;
}

.resa-modal__text {
    color: var(--color-muted);
    margin: 0 0 1.5rem;
}

.resa-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.resa-header__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.resa-header__exit-form {
    display: flex;
    align-items: center;
}
.resa-header__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.resa-cart-icon {
    position: relative;
    background: none;
    border: none;
     color: #fff;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.resa-cart-icon__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6a1a;
     color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}
.resa-cart-icon__badge--hidden {
    display: none;
}
/* ============================================================
   15. CODE PROMO
   ============================================================ */
.resa-promo {
    margin-bottom: 1rem;
}
.resa-promo__form {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.resa-promo__form #promo-code-input {
    flex: 1;
    min-width: 0;
}

.resa-promo__form #btn-apply-promo {
    flex-shrink: 0;
    white-space: nowrap;
}
/* séjour*/
.confirmation-stay-label {
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--ink-400, #8a8074);
    margin: 0 0 4px;
}

.confirmation-stay-label--spaced {
    margin-top: 16px;
}
/* ── Confirmation de recherche — pastille pleine terracotta + coche ── */
.resa-results__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    transition: background-color 0.35s ease, color 0.35s ease, padding 0.35s ease;
}

.resa-results__meta.just-updated {
    background: var(--color-terracotta);
    color: #fff;
    padding: 0.45rem 0.9rem 0.45rem 0.75rem;
    margin-inline: -0.75rem;
    box-shadow: 0 4px 14px rgba(200, 137, 90, 0.35);
    animation: resa-meta-settle 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.resa-results__meta.just-updated::before {
    content: '';
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-color: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0;
    transform: scale(0.4);
    animation:
        resa-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s forwards,
        resa-check-color 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes resa-check-pop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Suit la même bascule de couleur que le fond/texte du conteneur — reste
   toujours visible, blanc sur fond plein terracotta puis terracotta sur
   fond redevenu transparent, jamais blanc sur fond clair (invisible). */
@keyframes resa-check-color {
    0%, 60% {
        background-color: #fff;
    }
    100% {
        background-color: var(--color-terracotta);
    }
}
@keyframes resa-meta-settle {
    0%, 60% {
        background: var(--color-terracotta);
        color: #fff;
        padding: 0.45rem 0.9rem 0.45rem 0.75rem;
        margin-inline: -0.75rem;
        box-shadow: 0 4px 14px rgba(200, 137, 90, 0.35);
    }
    100% {
        background: transparent;
        color: var(--color-muted);
        padding: 0.45rem 0 0.45rem 0;
        margin-inline: 0;
        box-shadow: 0 0 0 rgba(200, 137, 90, 0);
    }
}

.resa-terms {
    padding-bottom: 20px;
}
.resa-cart-icon--disabled {
    cursor: default;
    pointer-events: none;
}
/* Quantité d'une option (10 novembre) : − 2 + sous l'option cochée */
.detail-option { flex-wrap: wrap; }
.detail-option__qty {
    flex-basis: 100%;
    align-items: center;
    gap: 10px;
    margin: 8px 0 2px 30px;
}
.detail-option__qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.detail-option__qty-value { min-width: 1.5em; text-align: center; font-weight: 600; }
.detail-option__qty-max { font-size: 12px; opacity: .7; }
