/* ==========================================
   Gallery Events -- Billetterie Stage Modal
   #244022 fond, #ff874d accent, #f3e6da texte
   Mobile-first
   @author Leo Larcheveque
========================================== */

/* ── OVERLAY ── */
#ge-stage-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ge-stage-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ── MODAL PANEL ── */
.ge-stage-modal {
    position: relative;
    z-index: 1;
    background: #244022;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
@media (max-width: 639px) {
    .ge-stage-modal {
        max-width: 100%;
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
    }
}

/* ── HEADER ── */
.ge-stage-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #a6b39630;
    flex-shrink: 0;
}
.ge-stage-modal-eyebrow {
    color: #ff874d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin: 0 0 4px;
}
.ge-stage-modal-title {
    color: #f3e6da;
    font-size: 18px;
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
}
#ge-stage-overlay button.ge-stage-modal-close,
.ge-stage-modal-close {
    background: none !important;
    border: none !important;
    color: #f3e6da60 !important;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    transition: color .15s;
}
#ge-stage-overlay button.ge-stage-modal-close:hover,
#ge-stage-overlay button.ge-stage-modal-close:focus,
.ge-stage-modal-close:hover,
.ge-stage-modal-close:focus {
    background: none !important;
    color: #f3e6da !important;
}

/* ── BODY (scroll) ── */
.ge-stage-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

/* ── SUCCESS ── */
.ge-stage-modal-success {
    text-align: center;
    padding: 40px 0;
}

/* ── TARIF SELECTOR ── */
.ge-stage-tarif-selector {
    margin-bottom: 24px;
}
.ge-stage-tarif-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a3018;
    border: 1.5px solid #a6b396;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color .2s;
}
.ge-stage-tarif-option:hover {
    border-color: #ff874d;
}
.ge-stage-tarif-option:has(input:checked) {
    border-color: #ff874d;
    background: #244022;
    box-shadow: 0 0 0 1px #ff874d;
}
.ge-stage-tarif-option input[type="radio"] {
    accent-color: #ff874d;
    flex-shrink: 0;
}
.ge-stage-tarif-label {
    color: #f3e6da;
    font-size: 14px;
    font-weight: 700;
    flex: 1;
}
.ge-stage-tarif-price {
    color: #ff874d;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

/* ── STEP LABEL ── */
.ge-stage-step-label {
    color: #f3e6da;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 16px;
}

/* ── FORMULES GRID ── */
.ge-stage-formules-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ge-stage-formule-card {
    background: #1a3018;
    border: 1.5px solid #a6b396;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .12s;
}
.ge-stage-formule-card:hover:not(.ge-stage-sold-out) {
    border-color: #ff874d;
    background: #244022;
    transform: translateY(-1px);
}
.ge-stage-formule-card.ge-stage-selected {
    border-color: #ff874d;
    background: #244022;
    box-shadow: 0 0 0 1px #ff874d;
}
.ge-stage-formule-card.ge-stage-sold-out {
    opacity: .4;
    cursor: not-allowed;
}
.ge-stage-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}
.ge-stage-formule-name {
    color: #f3e6da;
    font-size: 14px;
    font-weight: 800;
}
.ge-stage-formule-desc {
    color: #f3e6da80;
    font-size: 12px;
    margin-bottom: 4px;
}
.ge-stage-formule-dates {
    color: #ff874d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.ge-stage-formule-price {
    color: #ff874d;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}
.ge-stage-formule-places { margin-top: 6px; }
.ge-stage-badge-places {
    display: inline-block;
    background: #1a3018;
    color: #a6b396;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid #a6b39640;
}
.ge-stage-badge-soldout {
    display: inline-block;
    background: #3d1414;
    color: #ef9a9a;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

/* ── BACK BUTTON ── */
#ge-stage-overlay button.ge-stage-back,
.ge-stage-back {
    background: none !important;
    border: none !important;
    color: #f3e6da !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
}
#ge-stage-overlay button.ge-stage-back:hover,
#ge-stage-overlay button.ge-stage-back:focus,
.ge-stage-back:hover,
.ge-stage-back:focus {
    background: none !important;
    color: #f3e6da !important;
    text-decoration: underline;
}

/* ── SELECTED FORMULE BANNER ── */
.ge-stage-selected-formule {
    background: #1a3018;
    border: 1px solid #a6b39640;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.ge-stage-selected-formule .sf-name {
    color: #f3e6da;
    font-size: 15px;
    font-weight: 800;
}
.ge-stage-selected-formule .sf-price {
    color: #ff874d;
    font-size: 18px;
    font-weight: 900;
}

/* ── FIELDSETS ── */
.ge-stage-fieldset {
    border: none;
    margin: 0 0 24px;
    padding: 0;
}
.ge-stage-legend {
    color: #ff874d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #a6b39630;
    display: block;
    width: 100%;
}

/* ── FIELDS ── */
.ge-stage-field { margin-bottom: 16px; }
.ge-stage-label {
    display: block;
    color: #f3e6da;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.ge-stage-req { color: #ff874d; }

input.ge-stage-input[type="text"],
input.ge-stage-input[type="email"],
input.ge-stage-input[type="tel"],
input.ge-stage-input[type="date"],
select.ge-stage-select,
textarea.ge-stage-textarea {
    width: 100%;
    background: #1a3018;
    border: 1.5px solid #a6b396;
    border-radius: 8px;
    color: #f3e6da;
    font-size: 14px;
    padding: 12px 14px;
    transition: border-color .2s;
    font-family: inherit;
    box-sizing: border-box;
}
input.ge-stage-input:focus,
select.ge-stage-select:focus,
textarea.ge-stage-textarea:focus {
    outline: none;
    border-color: #ff874d;
}
input.ge-stage-input.ge-stage-input-error,
select.ge-stage-select.ge-stage-input-error,
textarea.ge-stage-textarea.ge-stage-input-error {
    border-color: #ef4444;
}
input.ge-stage-input::placeholder,
textarea.ge-stage-textarea::placeholder {
    color: #a6b39680;
}
select.ge-stage-select option {
    background: #1a3018;
    color: #f3e6da;
}

/* Radio & Checkbox */
.ge-stage-radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.ge-stage-radio-label {
    display: flex; align-items: center; gap: 6px;
    color: #f3e6da; font-size: 14px; cursor: pointer;
}
.ge-stage-checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    color: #f3e6da; font-size: 13px; cursor: pointer; line-height: 1.5;
}
.ge-stage-checkbox-label input[type="checkbox"] {
    margin-top: 4px; flex-shrink: 0;
    accent-color: #ff874d; width: 16px; height: 16px;
}
.ge-stage-radio-label input[type="radio"] { accent-color: #ff874d; }

/* Errors */
.ge-stage-error { color: #ef4444; font-size: 12px; margin-top: 4px; }

/* ── RECAP ── */
.ge-stage-recap {
    background: #1a3018;
    border: 1px solid #a6b39640;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: none;
}
.ge-stage-recap.ge-stage-visible { display: block; }
.ge-stage-recap-title {
    color: #ff874d; font-size: 10px; font-weight: 800;
    letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px;
}
.ge-stage-recap-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; }
.ge-stage-recap-row .rk { color: #f3e6da60; }
.ge-stage-recap-row .rv { color: #f3e6da; font-weight: 600; }
.ge-stage-recap-total {
    display: flex; justify-content: space-between;
    padding-top: 10px; margin-top: 10px;
    border-top: 1px solid #a6b39630;
    font-size: 16px; font-weight: 900;
}
.ge-stage-recap-total .rk { color: #f3e6da; }
.ge-stage-recap-total .rv { color: #ff874d; }

/* ── GLOBAL ERROR ── */
.ge-stage-global-error {
    color: #ef4444; background: #ef444418;
    border: 1px solid #ef444440; border-radius: 8px;
    padding: 12px 16px; font-size: 13px; margin-bottom: 16px;
    display: none;
}
.ge-stage-global-error.ge-stage-visible { display: block; }

/* ── SUBMIT ── */
#ge-stage-overlay button.ge-stage-submit,
.ge-stage-submit {
    display: block; width: 100%;
    background: #ff874d !important; color: #f3e6da !important;
    border: none !important; border-radius: 10px;
    font-size: 14px; font-weight: 900;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 18px 24px; cursor: pointer;
    transition: background .2s, transform .12s;
}
#ge-stage-overlay button.ge-stage-submit:hover,
#ge-stage-overlay button.ge-stage-submit:focus,
.ge-stage-submit:hover,
.ge-stage-submit:focus {
    background: #ff9a66 !important; color: #f3e6da !important;
    transform: translateY(-1px);
}
.ge-stage-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── INLINE MODE (shortcode) ── */
.ge-stage-overlay-inline {
    position: static;
    display: block;
}
.ge-stage-modal-inline {
    max-width: 100%;
    max-height: none;
    border-radius: 12px;
    box-shadow: none;
}

/* ══════════════════════════════════════════════════════════
   MODE CALENDRIER (Summer Camp) — style Apple, DA Gallery
   Fond #244022, accent #ff874d, texte #f3e6da
   Police SuisseIntl (heritee du plugin)
   Prefixe #ge-stage-overlay pour battre la specificite du theme.
   @author Leo Larcheveque
══════════════════════════════════════════════════════════ */

/* ── Conteneur calendrier — font-family sur tout le bloc ── */
#ge-stage-overlay [id^="ge-cal-step-"],
.ge-stage-overlay-inline [id^="ge-cal-step-"] {
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, Arial, sans-serif;
}
#ge-stage-overlay #ge-cal-months,
.ge-stage-overlay-inline #ge-cal-months {
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, Arial, sans-serif;
}

/* ── Selecteur nb enfants ── */
#ge-stage-overlay .ge-cal-kids-btns,
.ge-stage-overlay-inline .ge-cal-kids-btns {
    display: flex !important; gap: 8px; flex-wrap: wrap;
}
#ge-stage-overlay button.ge-cal-kid-btn,
.ge-stage-overlay-inline button.ge-cal-kid-btn {
    flex: 1; min-width: 90px;
    background: #1a3018 !important; border: 1.5px solid #a6b396 !important; border-radius: 10px !important;
    color: #f3e6da !important; font-size: 14px !important; font-weight: 700 !important;
    padding: 14px 12px !important; cursor: pointer !important;
    transition: border-color .2s, background .2s, transform .12s;
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, sans-serif !important;
    box-shadow: none !important; outline: none; text-transform: none !important;
    letter-spacing: 0 !important; line-height: 1.4 !important;
    -webkit-appearance: none; appearance: none;
    margin: 0; text-align: center;
}
#ge-stage-overlay button.ge-cal-kid-btn:hover,
.ge-stage-overlay-inline button.ge-cal-kid-btn:hover {
    border-color: #ff874d !important; background: #244022 !important; transform: translateY(-1px);
}
#ge-stage-overlay button.ge-cal-kid-btn.ge-cal-selected,
.ge-stage-overlay-inline button.ge-cal-kid-btn.ge-cal-selected {
    border-color: #ff874d !important; background: #244022 !important;
    box-shadow: 0 0 0 1px #ff874d !important;
}

/* ── Selecteur tarif membre/non-membre ── */
#ge-stage-overlay .ge-cal-tarif-btns,
.ge-stage-overlay-inline .ge-cal-tarif-btns {
    display: flex !important; gap: 10px; flex-wrap: wrap;
}
#ge-stage-overlay .ge-cal-tarif-opt,
.ge-stage-overlay-inline .ge-cal-tarif-opt {
    flex: 1; min-width: 120px;
    display: flex !important; align-items: center; gap: 10px;
    background: #1a3018 !important; border: 1.5px solid #a6b396 !important; border-radius: 10px !important;
    padding: 14px 16px !important; cursor: pointer;
    transition: border-color .2s;
    color: #f3e6da !important; font-size: 14px !important; font-weight: 700 !important;
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, sans-serif !important;
    margin-bottom: 0;
}
#ge-stage-overlay .ge-cal-tarif-opt:hover,
.ge-stage-overlay-inline .ge-cal-tarif-opt:hover {
    border-color: #ff874d !important;
}
#ge-stage-overlay .ge-cal-tarif-opt:has(input:checked),
.ge-stage-overlay-inline .ge-cal-tarif-opt:has(input:checked) {
    border-color: #ff874d !important; background: #244022 !important;
    box-shadow: 0 0 0 1px #ff874d !important;
}
/* Fallback pour navigateurs sans :has() — JS ajoute la classe */
#ge-stage-overlay .ge-cal-tarif-opt.ge-cal-tarif-active,
.ge-stage-overlay-inline .ge-cal-tarif-opt.ge-cal-tarif-active {
    border-color: #ff874d !important; background: #244022 !important;
    box-shadow: 0 0 0 1px #ff874d !important;
}
#ge-stage-overlay .ge-cal-tarif-opt input[type="radio"],
.ge-stage-overlay-inline .ge-cal-tarif-opt input[type="radio"] {
    accent-color: #ff874d; flex-shrink: 0;
    width: 16px !important; height: 16px !important;
    margin: 0 !important;
}

/* ── Calendrier mensuel ── */
#ge-stage-overlay .ge-cal-month,
.ge-stage-overlay-inline .ge-cal-month {
    margin-bottom: 28px;
}
#ge-stage-overlay .ge-cal-month-title,
.ge-stage-overlay-inline .ge-cal-month-title {
    color: #f3e6da !important; font-size: 18px !important; font-weight: 900 !important;
    text-transform: uppercase; letter-spacing: .04em;
    margin: 0 0 6px !important; padding: 0;
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, sans-serif !important;
}
#ge-stage-overlay .ge-cal-week-annotation,
.ge-stage-overlay-inline .ge-cal-week-annotation {
    display: flex !important; justify-content: space-between; align-items: center;
    padding: 6px 0; margin-bottom: 4px;
}
#ge-stage-overlay .ge-cal-week-label,
.ge-stage-overlay-inline .ge-cal-week-label {
    color: #ff874d !important; font-size: 11px !important; font-weight: 800 !important;
    text-transform: uppercase; letter-spacing: .15em;
}
#ge-stage-overlay .ge-cal-week-price,
.ge-stage-overlay-inline .ge-cal-week-price {
    color: rgba(243,230,218,.38) !important; font-size: 11px !important; font-weight: 600;
}

/* Grille 7 colonnes */
#ge-stage-overlay .ge-cal-grid,
.ge-stage-overlay-inline .ge-cal-grid {
    display: grid !important; grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px;
}
#ge-stage-overlay .ge-cal-header,
.ge-stage-overlay-inline .ge-cal-header {
    text-align: center; color: rgba(243,230,218,.31) !important;
    font-size: 11px !important; font-weight: 700; text-transform: uppercase;
    padding: 6px 0;
}
#ge-stage-overlay .ge-cal-cell,
.ge-stage-overlay-inline .ge-cal-cell {
    aspect-ratio: 1; display: flex !important; align-items: center; justify-content: center;
    border-radius: 10px; position: relative;
    transition: transform .12s, background .15s, box-shadow .15s;
    min-height: 0; padding: 0; margin: 0;
}
#ge-stage-overlay .ge-cal-empty,
.ge-stage-overlay-inline .ge-cal-empty {
    background: transparent !important;
}
#ge-stage-overlay .ge-cal-weekend,
.ge-stage-overlay-inline .ge-cal-weekend {
    background: transparent !important;
}
#ge-stage-overlay .ge-cal-weekend .ge-cal-day-num,
.ge-stage-overlay-inline .ge-cal-weekend .ge-cal-day-num {
    color: rgba(243,230,218,.08) !important; font-size: 13px; font-weight: 600;
}
#ge-stage-overlay .ge-cal-closed,
.ge-stage-overlay-inline .ge-cal-closed {
    background: #1c2b18 !important;
}
#ge-stage-overlay .ge-cal-closed .ge-cal-day-num,
.ge-stage-overlay-inline .ge-cal-closed .ge-cal-day-num {
    color: rgba(243,230,218,.15) !important; font-size: 13px; font-weight: 600;
}

/* Jour ouvert (disponible) — classe ge-cal-day + ge-cal-open */
#ge-stage-overlay .ge-cal-day,
.ge-stage-overlay-inline .ge-cal-day {
    cursor: pointer;
}
#ge-stage-overlay .ge-cal-open,
.ge-stage-overlay-inline .ge-cal-open {
    background: #2d5028 !important; border: 1.5px solid #a6b396 !important;
    cursor: pointer;
}
#ge-stage-overlay .ge-cal-open .ge-cal-day-num,
.ge-stage-overlay-inline .ge-cal-open .ge-cal-day-num {
    color: #f3e6da !important; font-size: 14px !important; font-weight: 700 !important;
}
#ge-stage-overlay .ge-cal-open:hover,
.ge-stage-overlay-inline .ge-cal-open:hover {
    border-color: #ff874d !important; background: #345030 !important;
    transform: scale(1.08);
}
#ge-stage-overlay .ge-cal-open:focus-visible,
.ge-stage-overlay-inline .ge-cal-open:focus-visible {
    outline: 2px solid #ff874d; outline-offset: 2px;
}

/* Jour selectionne */
#ge-stage-overlay .ge-cal-open.ge-cal-selected-day,
.ge-stage-overlay-inline .ge-cal-open.ge-cal-selected-day {
    background: #ff874d !important; border-color: #ff874d !important;
    box-shadow: 0 0 12px rgba(255,135,77,.4) !important;
    transform: scale(1.08);
}
#ge-stage-overlay .ge-cal-open.ge-cal-selected-day .ge-cal-day-num,
.ge-stage-overlay-inline .ge-cal-open.ge-cal-selected-day .ge-cal-day-num {
    color: #0d0d0d !important; font-weight: 900 !important;
}

/* Places par jour : compteur, jour complet, avis */
#ge-stage-overlay .ge-cal-cell,
.ge-stage-overlay-inline .ge-cal-cell {
    flex-direction: column;
}
#ge-stage-overlay .ge-cal-day-left,
.ge-stage-overlay-inline .ge-cal-day-left {
    font-size: 9px !important; line-height: 1; margin-top: 2px;
    color: rgba(243,230,218,.6) !important; font-weight: 600; white-space: nowrap;
}
#ge-stage-overlay .ge-cal-open.ge-cal-selected-day .ge-cal-day-left,
.ge-stage-overlay-inline .ge-cal-open.ge-cal-selected-day .ge-cal-day-left {
    color: #0d0d0d !important;
}
#ge-stage-overlay .ge-cal-full,
.ge-stage-overlay-inline .ge-cal-full {
    background: #1c2b18 !important; border: 1.5px dashed rgba(243,230,218,.15) !important;
    cursor: not-allowed;
}
#ge-stage-overlay .ge-cal-full .ge-cal-day-num,
.ge-stage-overlay-inline .ge-cal-full .ge-cal-day-num {
    color: rgba(243,230,218,.3) !important; font-size: 13px; font-weight: 600;
    text-decoration: line-through;
}
#ge-stage-overlay .ge-cal-full .ge-cal-day-left,
.ge-stage-overlay-inline .ge-cal-full .ge-cal-day-left {
    color: #ff874d !important; font-size: 8px !important; text-transform: uppercase;
}
#ge-stage-overlay .ge-cal-notice,
.ge-stage-overlay-inline .ge-cal-notice {
    background: rgba(255,135,77,.1); border: 1px solid rgba(255,135,77,.4); border-radius: 8px;
    color: #f3e6da !important; font-size: 13px; padding: 10px 12px; margin: 0 0 12px;
}
#ge-stage-overlay .ge-cal-dot-full,
.ge-stage-overlay-inline .ge-cal-dot-full {
    background: #1c2b18; border: 1.5px dashed rgba(243,230,218,.3);
}

/* ── Legende ── */
#ge-stage-overlay .ge-cal-legend,
.ge-stage-overlay-inline .ge-cal-legend {
    display: flex !important; gap: 16px; flex-wrap: wrap;
    margin: 16px 0 20px; padding: 0;
    list-style: none !important;
}
#ge-stage-overlay .ge-cal-legend-item,
.ge-stage-overlay-inline .ge-cal-legend-item {
    display: flex !important; align-items: center; gap: 6px;
    color: rgba(243,230,218,.5) !important; font-size: 11px !important; font-weight: 600;
}
#ge-stage-overlay .ge-cal-legend-dot,
.ge-stage-overlay-inline .ge-cal-legend-dot {
    width: 12px !important; height: 12px !important; border-radius: 4px; flex-shrink: 0;
    display: inline-block;
}
#ge-stage-overlay .ge-cal-dot-selected,
.ge-stage-overlay-inline .ge-cal-dot-selected { background: #ff874d !important; }
#ge-stage-overlay .ge-cal-dot-open,
.ge-stage-overlay-inline .ge-cal-dot-open { background: #2d5028 !important; border: 1px solid #a6b396 !important; }
#ge-stage-overlay .ge-cal-dot-closed,
.ge-stage-overlay-inline .ge-cal-dot-closed { background: #1c2b18 !important; }

/* ── Bloc "Voir tous les tarifs" repliable ── */
#ge-stage-overlay .ge-cal-tarifs-details,
.ge-stage-overlay-inline .ge-cal-tarifs-details {
    margin: 0 0 20px;
}
#ge-stage-overlay .ge-cal-tarifs-summary,
.ge-stage-overlay-inline .ge-cal-tarifs-summary {
    color: rgba(243,230,218,.5) !important; font-size: 12px !important; font-weight: 700 !important;
    cursor: pointer; padding: 8px 0;
    text-transform: uppercase; letter-spacing: .1em;
    list-style: none !important;
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, sans-serif !important;
}
#ge-stage-overlay .ge-cal-tarifs-summary::-webkit-details-marker,
.ge-stage-overlay-inline .ge-cal-tarifs-summary::-webkit-details-marker { display: none; }
#ge-stage-overlay .ge-cal-tarifs-summary::before,
.ge-stage-overlay-inline .ge-cal-tarifs-summary::before {
    content: '\25B6'; margin-right: 6px; font-size: 8px;
    display: inline-block; transition: transform .2s;
}
#ge-stage-overlay .ge-cal-tarifs-details[open] .ge-cal-tarifs-summary::before,
.ge-stage-overlay-inline .ge-cal-tarifs-details[open] .ge-cal-tarifs-summary::before {
    transform: rotate(90deg);
}
#ge-stage-overlay .ge-cal-tarifs-grid,
.ge-stage-overlay-inline .ge-cal-tarifs-grid {
    margin-top: 8px;
}
#ge-stage-overlay .ge-cal-price-table,
.ge-stage-overlay-inline .ge-cal-price-table {
    width: 100% !important; border-collapse: collapse !important; font-size: 12px !important;
    margin-top: 8px; background: transparent !important;
}
#ge-stage-overlay .ge-cal-price-table th,
.ge-stage-overlay-inline .ge-cal-price-table th {
    color: rgba(243,230,218,.38) !important; font-size: 10px !important; font-weight: 700 !important;
    text-transform: uppercase; letter-spacing: .08em;
    padding: 6px 4px !important; text-align: center;
    border-bottom: 1px solid rgba(166,179,150,.19) !important;
    border-top: none !important; background: transparent !important;
}
#ge-stage-overlay .ge-cal-price-table th:first-child,
.ge-stage-overlay-inline .ge-cal-price-table th:first-child { text-align: left; }
#ge-stage-overlay .ge-cal-price-table td,
.ge-stage-overlay-inline .ge-cal-price-table td {
    color: #f3e6da !important; padding: 8px 4px !important; text-align: center;
    border-bottom: 1px solid rgba(166,179,150,.08) !important;
    border-top: none !important; background: transparent !important;
    font-size: 12px !important;
}
#ge-stage-overlay .ge-cal-price-table td:first-child,
.ge-stage-overlay-inline .ge-cal-price-table td:first-child {
    text-align: left; color: rgba(243,230,218,.5) !important;
}
#ge-stage-overlay .ge-cal-price-table td.ge-cal-price-active,
.ge-stage-overlay-inline .ge-cal-price-table td.ge-cal-price-active {
    color: #ff874d !important; font-weight: 900 !important;
    background: rgba(255,135,77,.07) !important; border-radius: 4px;
}

/* ── Breakdown live ── */
#ge-stage-overlay .ge-cal-breakdown,
.ge-stage-overlay-inline .ge-cal-breakdown {
    background: #1a3018 !important; border: 1px solid rgba(166,179,150,.25) !important;
    border-radius: 10px; padding: 16px 20px; margin-top: 20px;
}
#ge-stage-overlay .ge-cal-bd-title,
.ge-stage-overlay-inline .ge-cal-bd-title {
    color: #ff874d !important; font-size: 10px !important; font-weight: 800 !important;
    letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px;
}
#ge-stage-overlay .ge-cal-bd-row,
.ge-stage-overlay-inline .ge-cal-bd-row {
    display: flex !important; justify-content: space-between;
    padding: 4px 0; font-size: 13px;
}
#ge-stage-overlay .ge-cal-bd-label,
.ge-stage-overlay-inline .ge-cal-bd-label {
    color: rgba(243,230,218,.5) !important;
}
#ge-stage-overlay .ge-cal-bd-amount,
.ge-stage-overlay-inline .ge-cal-bd-amount {
    color: #f3e6da !important; font-weight: 600 !important;
}
#ge-stage-overlay .ge-cal-bd-total,
.ge-stage-overlay-inline .ge-cal-bd-total {
    display: flex !important; justify-content: space-between;
    padding-top: 10px; margin-top: 10px;
    border-top: 1px solid rgba(166,179,150,.19) !important;
    font-size: 18px !important; font-weight: 900 !important;
    color: #ff874d !important;
}

/* ── Bouton "Remplir le formulaire" dans le breakdown ── */
#ge-stage-overlay button#ge-cal-continue,
.ge-stage-overlay-inline button#ge-cal-continue {
    display: block !important; width: 100% !important;
    background: #ff874d !important; color: #f3e6da !important;
    border: none !important; border-radius: 10px !important;
    font-size: 14px !important; font-weight: 900 !important;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 18px 24px !important; cursor: pointer !important;
    transition: background .2s, transform .12s;
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, sans-serif !important;
    margin-top: 16px; box-shadow: none !important;
    -webkit-appearance: none; appearance: none;
}
#ge-stage-overlay button#ge-cal-continue:hover,
.ge-stage-overlay-inline button#ge-cal-continue:hover {
    background: #ff9a66 !important; transform: translateY(-1px);
}

/* ── Bouton retour calendrier ── */
#ge-stage-overlay button#ge-cal-back-2,
.ge-stage-overlay-inline button#ge-cal-back-2 {
    background: none !important; border: none !important;
    color: #f3e6da !important; font-size: 13px !important; font-weight: 700 !important;
    cursor: pointer; padding: 0 !important; margin-bottom: 16px;
    font-family: 'SuisseIntl', 'Suisse Intl', Helvetica, sans-serif !important;
    box-shadow: none !important; text-transform: none !important;
    letter-spacing: 0 !important;
}
#ge-stage-overlay button#ge-cal-back-2:hover,
.ge-stage-overlay-inline button#ge-cal-back-2:hover {
    background: none !important; text-decoration: underline;
}
