/* ==========================================================================
   ETB MODULE — TUNNEL DE CHECKOUT [etb_checkout]
   ========================================================================== */

/* ==========================================================================
   CHECKOUT DÉTAILLÉ BLACKLANE VIP ([etb_checkout])
   ========================================================================== */

.etb-checkout-wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 30px auto !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
}

.etb-checkout-wrapper * {
    box-sizing: border-box !important;
}

/* 1. En-tête supérieur et navigation retour */
.etb-checkout-top-nav {
    margin-bottom: 25px !important;
}

.etb-checkout-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    transition: color 0.2s ease !important;
}

.etb-checkout-back-link:hover {
    color: #fbac18 !important;
}

.etb-checkout-back-link .dashicons {
    font-size: 15px !important;
    width: 15px !important;
    height: 15px !important;
}

.etb-checkout-page-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--etb-text-primary, #ffffff) !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
}

/* 2. Layout 2 Colonnes (Split Formulaire / Sticky Summary) */

/* ⚙️ Réparation de position:sticky — le thème (Touriza) déclare html,body{overflow-x:hidden} :
   cette combinaison transforme body en scroll container qui ne scrolle jamais (le défilement
   se fait sur le viewport) → la colonne récap sticky ne "colle" plus.
   overflow-x:clip conserve le clipping horizontal SANS créer de scroll container.
   (Navigateurs modernes ; les anciens ignorent la règle et retombent sur hidden.) */
html, body {
    overflow-x: clip !important;
}

.etb-checkout-layout {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    gap: 15px !important;
    /* La grille s'étire naturellement sur la hauteur de la colonne gauche */
}

.etb-checkout-left-col {
    width: 100% !important;
    min-width: 0 !important; /* Permet le rétrécissement en dessous du contenu sur mobile */
}

/* Colonne récapitulative : Glissement soyeux GPU bi-directionnel */
.etb-checkout-right-col {
    width: 100% !important;
    min-width: 0 !important; /* Permet le rétrécissement en dessous du contenu sur mobile */
    position: sticky !important;
    top: 20px !important;
    align-self: start !important;
    height: fit-content !important;
    z-index: 20 !important;
    margin-bottom: 20px !important;
}

.admin-bar .etb-checkout-right-col {
    top: 34px !important;
}

/* 3. Cartes de formulaire (Colonne Gauche) */
.etb-checkout-card {
    background: #000000 !important;
    border: 1.5px solid #232a3b !important;
    border-radius: 18px !important;
    padding: 24px 26px !important;
    margin-bottom: 24px !important;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;*/
}

.etb-checkout-card-header h3 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.02em !important;
}

.etb-checkout-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
}

.etb-chk-badge-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    color: var(--etb-accent-gold) !important;
    background: rgba(251, 172, 24, 0.08) !important;
    border: 1px solid rgba(251, 172, 24, 0.25) !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
}

.etb-chk-badge-icon svg {
    display: block !important;
}



.etb-checkout-card-header p {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Champs & Grilles de saisie */
.etb-chk-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
}

.etb-chk-field {
    margin-bottom: 16px !important;
}

.etb-chk-field label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 6px !important;
}

.etb-chk-field input,
.etb-chk-field select,
.etb-chk-field textarea {
    width: 100% !important;
    background: var(--etb-bg-input, #151b29) !important;
    border: 1.5px solid var(--etb-border-input, #28334b) !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--etb-text-primary, #ffffff) !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.etb-chk-field input::placeholder,
.etb-chk-field textarea::placeholder {
    color: rgba(148, 163, 184, 0.5) !important;
}

.etb-chk-field input:focus,
.etb-chk-field select:focus,
.etb-chk-field textarea:focus {
    border-color: #fbac18 !important;
}

.etb-checkout-card input {
    max-height: 42px !important;
}

.etb-chk-hint {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    margin-top: 5px !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
    margin-left: 10px !important;
    display: none !important;
}

/* 4. Bascule Blacklane : Myself vs Guest */
.etb-chk-booker-toggle {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.etb-chk-radio-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    background: var(--etb-bg-input,#151b29 ) !important;
    border: 1.5px solid #28334b !important;
    border-radius: 50px !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.etb-chk-radio-pill input[type="radio"] {
    display: none !important;
}

.etb-chk-radio-pill:hover {
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

.etb-chk-radio-pill.active {
    background: rgba(251, 172, 24, 0.12) !important;
    border-color: #fbac18 !important;
    color: #fbac18 !important;
    font-weight: 700 !important;
}

.etb-chk-radio-pill .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* 5. Boîte Sièges Enfants — Structure 2 Niveaux VIP */
.etb-chk-child-seats-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    transition: border-color 0.2s ease !important;
}

.etb-chk-child-seats-box:hover {
    border-color: rgba(251, 172, 24, 0.25) !important;
}

/* Ligne 1 : Titre + Sélecteur de quantité */
.etb-chk-seat-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
}

.etb-chk-seat-info {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.etb-chk-seat-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.etb-chk-seat-text strong {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* Âge du siège trop long : ellipsis, ne repousse plus le compteur */
}

.etb-chk-seat-age {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    margin-top: 2px !important;
    line-height: 1 !important;
}

/* Neutralisation du margin-top sur le compteur à l'intérieur de la boîte */
.etb-chk-child-seats-box .etb-chk-qty-control {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Ligne 2 : Badge Gratuité & Tarif supplémentaire */
.etb-chk-seat-pricing-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
    gap: 8px !important;
}

.etb-chk-seat-badge-free {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    color: #4ade80 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
}

.etb-chk-seat-badge-extra {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #fbac18 !important;
    white-space: nowrap !important;
}

/* Adaptation en Light Mode */
[data-etb-theme="light"] .etb-chk-seat-text strong {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-chk-seat-age {
    color: var(--etb-text-muted, #8f8f8f) !important;
}

[data-etb-theme="light"] .etb-chk-seat-pricing-row {
    border-top-color: var(--etb-border-main, #e5e5e5) !important;
}

[data-etb-theme="light"] .etb-chk-seat-badge-free {
    background: var(--etb-success-bg, rgba(22, 134, 93, 0.1)) !important;
    border-color: var(--etb-success, #16865d) !important;
    color: var(--etb-success, #16865d) !important;
}

[data-etb-theme="light"] .etb-chk-seat-badge-extra {
    color: var(--etb-warning, #d97706) !important;
}

.etb-chk-qty-control {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    border: 1px solid #333f57 !important;
    border-radius: 50px !important;
    padding: 3px 4px !important;
    margin: 10px 0 0 0 !important;
    gap: 4px !important;
}

.etb-chk-qty-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
    padding: 0 !important;
}

.etb-chk-qty-btn:hover {
    background: #fbac18 !important;
    color: #0f172a !important;
}

.etb-chk-qty-control input[type="number"] {
    width: 28px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    outline: none !important;
    padding: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}


/* 5bis. Sélecteur Passagers & Bagages (Checkout) */
.etb-chk-capacity-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr!important;
    gap: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    margin-bottom: 20px !important;
}

.etb-chk-cap-item {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between !important;
    align-items: center !important;

}

.etb-chk-cap-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
}

.etb-chk-cap-label .dashicons {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    color: #fbac18 !important;
}

.etb-chk-cap-label strong {
    display: block !important;
    font-size: 13px !important;
    color: #ffffff !important;
}

.etb-chk-cap-label small {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    text-align: center !important;
}


.etb-cap-svg-wrap.suitcase{
    margin-top: 10px !important;
}

/* 5ter. Sélecteur de Pourboire Chauffeur (Driver Tip) */
.etb-chk-tip-section {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin-bottom: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.etb-chk-tip-title {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 10px !important;
}

.etb-chk-tip-pills {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
}

.etb-tip-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 0 !important;
    background: #151b29 !important;
    border: 1.5px solid #28334b !important;
    border-radius: 50px !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    text-align: center !important;
}

.etb-tip-pill input[type="radio"] {
    display: none !important;
}

.etb-tip-pill:hover {
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

.etb-tip-pill.active {
    background: rgba(251, 172, 24, 0.15) !important;
    border-color: #fbac18 !important;
    color: #fbac18 !important;
    box-shadow: 0 0 10px rgba(251, 172, 24, 0.2) !important;
}
/* ==========================================================================
   CARTE RÉCAPITULATIVE STICKY (COLONNE DROITE)
   ========================================================================== */
.etb-chk-sticky-card {
    width: 100% !important;
    background: var(--etb-bg-card, #0f1420) !important;
    border: 1.5px solid var(--etb-border-main, #232a3b) !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    /*box-shadow: var(--etb-shadow-base, 0 20px 50px rgba(0, 0, 0, 0.1)) !important;*/
}
.etb-chk-summary-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--etb-text-primary, #ffffff) !important;
    margin: 0 0 16px 0 !important;
    border-bottom: 1px solid var(--etb-border-light, rgba(255, 255, 255, 0.08)) !important;
    padding-bottom: 12px !important;
    letter-spacing: 0.02em !important;
}

/* Aperçu Véhicule */
.etb-chk-summary-hero {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(25, 25, 25, 0.07) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin-bottom: 18px !important;
}

.etb-chk-summary-hero img {
    width: 80px !important;
    /*height: 50px !important;*/
    /*object-fit: contain !important;*/
    border-radius: 10px !important;
    background-color: white !important;
}

.etb-chk-summary-vehicle-meta h4 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--etb-text-primary, #ffffff) !important;
    margin: 0 0 10px 0 !important;
}

.etb-chk-summary-specs {
    font-size: 12px !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 4px !important;
}

.etb-summary-spec-item {
    display: inline-flex !important;
    align-items: stretch !important;
    gap: 6px !important;
    white-space: nowrap !important; /* 🔒 Empêche "3 Passengers" de se couper en 2 lignes */
    flex-shrink: 0 !important;      /* 🔒 Empêche le flexbox de compresser la spec */
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* Texte trop long : ellipsis au lieu de débordement sur tablette */
}

.etb-summary-spec-item svg {
    flex-shrink: 0 !important;
}

.etb-spec-dot {
    color: rgba(255, 255, 255, 0.25) !important;
    font-size: 12px !important;
}

/* Timeline itinéraire */
/* Timeline itinéraire avec alignement parfait et ligne de liaison */
.etb-chk-summary-timeline {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 18px !important;
    margin-bottom: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    position: relative !important;
   
}

.etb-chk-timeline-item {
    display: flex; /* Sans !important pour permettre à JS de masquer Duration ou Dropoff */
    align-items: flex-start !important;
    gap: 14px !important;
    position: relative !important;
}

/* Masquage absolu garanti */
.etb-chk-timeline-item[style*="display: none"],
.etb-chk-timeline-item.is-hidden {
    display: none !important;
}

/* Ligne fine verticale qui relie le départ à l'arrivée (façon GPS) */
#etb-chk-timeline-pickup-row::after {
    content: '' !important;
    position: absolute !important;
    left: 4px !important;
    top: 14px !important;
    bottom: -16px !important;
    width: 2px !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Puces colorées parfaitement alignées avec la ligne <small> */
.etb-chk-bullet {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    border-radius: 50% !important;
    margin-top: 2px !important; /* Centré avec les petits caractères */
    flex-shrink: 0 !important;
    z-index: 2 !important;
}

.etb-bullet-pickup {
    background: #16a34a !important;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.6) !important;
}

.etb-bullet-dropoff {
    background: #e65a15 !important;
    box-shadow: 0 0 8px rgba(230, 90, 21, 0.6) !important;
}

.etb-bullet-hourly {
    background: #00d2ff !important;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.6) !important;
}

.etb-chk-calendar-icon {
    width: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

.etb-chk-calendar-icon svg {
    display: block !important;
}

.etb-chk-timeline-text small {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.08em !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
}

.etb-chk-timeline-text strong {
    font-size: 13px !important;
    color: var(--etb-text-primary, #cbd5e1) !important;
    line-height: 1.35 !important;
    display: block !important;
}

/* Garanties Blacklane */
.etb-chk-guarantees {
    background: rgba(255, 255, 255, 0.07) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    margin-bottom: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.etb-chk-guarantee-line {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
}

.etb-chk-guarantee-line .dashicons {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    color: #fbac18 !important;
}

/* Décomposition du prix */
.etb-chk-price-breakdown {
    margin-bottom: 18px !important;
}

.etb-chk-price-row {
    display: flex; /* Sans !important pour permettre à JavaScript de masquer la ligne */
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin-bottom: 6px !important;
}

/* Masquage prioritaire pour la ligne de pourboire inactive */
#etb-chk-tip-row[style*="display: none"],
#etb-chk-tip-row:not(.is-visible) {
    display: none !important;
}

.etb-chk-price-row.total-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 10px !important;
    margin-top: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.etb-chk-price-row.total-row strong {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #fbac18 !important;
    letter-spacing: -0.5px !important;
}

/* Bouton d'action ultime */
.etb-chk-submit-btn {
    width: 100% !important;
    background: #fbac18 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 6px 0px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0px !important;
    transition: all 0.25s ease !important;
    /*box-shadow: 0 8px 25px rgba(251, 172, 24, 0.35) !important;*/
    max-height: 55px !important;
    min-height: 45px !important;
}

.etb-chk-submit-btn:hover {
    background: #e39402 !important;
    /*transform: translateY(-2px) !important;*/
    /*box-shadow: 0 5px 10px rgba(251, 172, 24, 0.5) !important;*/
}

.etb-chk-submit-btn:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.etb-chk-whatsapp-btn {
    background: #25d36617 !important;
    border: 1px solid #25d366 !important;
    color: var(--etb-text-secondary)!important;
    gap: 8px !important;
    padding: 10px 20px !important;
}

.etb-chk-whatsapp-btn:hover {
    background: #22c45e !important;
    border-color: #22c45e !important;
}
.etb-chk-whatsapp-btn .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

.etb-chk-subtitle {
    width: 100% !important;
    text-align: center !important;
   
    font-size: 12px !important;
    font-weight: 500 !important;
    order: 3 !important;
    opacity: 0.9 !important;
    color: inherit !important;
}

.etb-chk-submit-btn .dashicons {
    order: 2 !important;
}

.etb-chk-ssl-notice {
    font-size: 11px !important;
    color: #64748b !important;
    text-align: center !important;
    margin: 12px 0 0 0 !important;
}

/* Message feedback checkout */
.etb-chk-feedback {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-bottom: 14px !important;
}

.etb-chk-feedback.is-error {
    background: rgba(220, 38, 38, 0.15) !important;
    border: 1px solid #dc2626 !important;
    color: #ff1111 !important;
    text-align: center !important;
}

.etb-chk-feedback.is-success {
    background: rgba(22, 163, 74, 0.15) !important;
    border: 1px solid #16a34a !important;
    color: #4ade80 !important;
}


/* ==========================================================================
   ADAPTATION COMPLÈTE DU CHECKOUT EN LIGHT MODE
   Palette neutre : blanc / gris très clairs, texte quasi noir.
   L'accent or et les états (succès, avertissement, erreur) sont conservés.
   ========================================================================== */
[data-etb-theme="light"] .etb-checkout-wrapper {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

/* 1. Titre et cartes principales à gauche */
[data-etb-theme="light"] .etb-checkout-page-title {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-checkout-card {
    background: var(--etb-bg-card, #ffffff) !important;
    border: 1px solid var(--etb-border-main, #e5e5e5) !important;
    box-shadow: 0 4px 20px rgba(13, 13, 13, 0.04) !important;
}

[data-etb-theme="light"] .etb-checkout-card-header {
    border-bottom: 1px solid var(--etb-border-main, #e5e5e5) !important;
}

[data-etb-theme="light"] .etb-checkout-card-header h3 {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-checkout-card-header p {
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

/* 2. Boutons radio Myself / Guest & Boîtes intérieures */
[data-etb-theme="light"] .etb-chk-radio-pill {
    background: var(--etb-bg-surface, #f9f9f9) !important;
    border: 1.5px solid var(--etb-border-main, #e5e5e5) !important;
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-chk-radio-pill:hover {
    background: var(--etb-bg-hover, #ececec) !important;
    border-color: #fbac18 !important;
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-chk-radio-pill.active {
    background: rgba(251, 172, 24, 0.15) !important;
    border-color: #fbac18 !important;
    color: var(--etb-brand-ink, #b45309) !important;
}

[data-etb-theme="light"] .etb-chk-child-seats-box,
[data-etb-theme="light"] .etb-chk-capacity-box,
[data-etb-theme="light"] .etb-payment-mandate-box {
    background: var(--etb-bg-surface, #f9f9f9) !important;
    border: 1px solid var(--etb-border-main, #e5e5e5) !important;
}

/* Neutralisation du blanc forcé sur les textes et balises strong en mode clair */
[data-etb-theme="light"] #etb-checkout-app strong,
[data-etb-theme="light"] .etb-checkout-wrapper strong,
[data-etb-theme="light"] .etb-chk-cap-label strong,
[data-etb-theme="light"] .etb-chk-cap-label span,
[data-etb-theme="light"] .etb-chk-seat-info strong,
[data-etb-theme="light"] .etb-chk-seat-info span,
[data-etb-theme="light"] .etb-mandate-label span,
[data-etb-theme="light"] .etb-mandate-label strong {
    color: var(--etb-text-primary, #0d0d0d) !important;
    background: transparent !important;
}

[data-etb-theme="light"] .etb-chk-seat-info p,
[data-etb-theme="light"] .etb-chk-cap-label small,
[data-etb-theme="light"] .etb-mandate-legal-text {
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

/* Boutons +/- de quantité */
[data-etb-theme="light"] .etb-chk-qty-control {
    background: var(--etb-bg-input, #ffffff) !important;
    border: 1px solid var(--etb-border-input, #e5e5e5) !important;
}

[data-etb-theme="light"] .etb-chk-qty-btn {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-chk-qty-control input {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

/* 3. Inputs de saisie : UNIFORMISATION STRICTE DE TOUS LES CHAMPS EN LIGHT MODE */
[data-etb-theme="light"] .etb-chk-field label {
    color: var(--etb-text-secondary, #5d5d5d) !important;
    font-weight: 700 !important;
}

/* Identique pour tous les champs : inputs, textarea, stripe, select pays */
[data-etb-theme="light"] .etb-chk-field input,
[data-etb-theme="light"] .etb-chk-field select,
[data-etb-theme="light"] .etb-chk-field textarea,
[data-etb-theme="light"] .etb-stripe-mount-box,
[data-etb-theme="light"] .etb-chk-field .etb-custom-select-trigger {
    background: var(--etb-bg-input, #ffffff) !important;
    border: 1px solid var(--etb-border-input, #e5e5e5) !important;
    border-radius: 10px !important;
    color: var(--etb-text-primary, #0d0d0d) !important;
    transition: all 0.2s ease !important;
}

/* Survol harmonisé */
[data-etb-theme="light"] .etb-chk-field input:hover,
[data-etb-theme="light"] .etb-chk-field textarea:hover,
[data-etb-theme="light"] .etb-stripe-mount-box:hover,
[data-etb-theme="light"] .etb-chk-field .etb-custom-select-trigger:hover {
    border-color: rgba(13, 13, 13, 0.28) !important;
}

/* Focus harmonisé (liseré or ambré subtil) */
[data-etb-theme="light"] .etb-chk-field input:focus,
[data-etb-theme="light"] .etb-chk-field textarea:focus,
[data-etb-theme="light"] .etb-stripe-mount-box.StripeElement--focus,
[data-etb-theme="light"] .etb-chk-field .etb-custom-select.is-open .etb-custom-select-trigger {
    background: var(--etb-bg-input, #ffffff) !important;
    border-color: #fbac18 !important;
    box-shadow: 0 0 0 3px rgba(251, 172, 24, 0.15) !important;
}

[data-etb-theme="light"] .etb-stripe-mount-box.StripeElement--invalid {
    border-color: var(--etb-danger, #dc2626) !important;
}

[data-etb-theme="light"] .etb-chk-hint {
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

/* 4. Étape 2 : Paiement EDEN CAB */
[data-etb-theme="light"] .etb-payment-company-header {
    border-bottom: 1px solid var(--etb-border-main, #e5e5e5) !important;
}

[data-etb-theme="light"] .etb-payment-brand-title {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-payment-company-address p {
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

[data-etb-theme="light"] .etb-payment-section-title {
    color: var(--etb-text-primary, #0d0d0d) !important;
}


[data-etb-theme="light"] .etb-brand-badge {
    background: var(--etb-bg-elevated, #f3f3f3) !important;
    border-color: var(--etb-border-main, #e5e5e5) !important;
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

/* 5. Colonne Droite : Ride Summary */
[data-etb-theme="light"] .etb-chk-sticky-card {
    background: var(--etb-bg-card, #ffffff) !important;
    border: 1px solid var(--etb-border-main, #e5e5e5) !important;
    box-shadow: 0 4px 20px rgba(13, 13, 13, 0.04) !important;
}

[data-etb-theme="light"] .etb-chk-summary-title {
    color: var(--etb-text-primary, #0d0d0d) !important;
    border-bottom: 1px solid var(--etb-border-main, #e5e5e5) !important;
}

[data-etb-theme="light"] .etb-chk-summary-vehicle-meta h4 {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-chk-summary-specs {
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

[data-etb-theme="light"] .etb-chk-summary-specs strong {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

/* Lignes Pickup, Dropoff, Date */
[data-etb-theme="light"] .etb-chk-timeline-text small {
    color: var(--etb-text-secondary, #5d5d5d) !important;
    font-weight: 700 !important;
}

[data-etb-theme="light"] .etb-chk-timeline-text strong {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

/* Garanties */
[data-etb-theme="light"] .etb-chk-guarantees {
    background: var(--etb-bg-surface, #f9f9f9) !important;
    border: 1px solid var(--etb-border-main, #e5e5e5) !important;
}

[data-etb-theme="light"] .etb-chk-guarantee-line {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

/* Boutons Pourboire (None, 10%, 15%, 20%) */
[data-etb-theme="light"] .etb-chk-tip-section {
    background: var(--etb-bg-surface, #f9f9f9) !important;
    border: 1px solid var(--etb-border-main, #e5e5e5) !important;
}

[data-etb-theme="light"] .etb-chk-tip-title {
    color: var(--etb-text-primary, #0d0d0d) !important;
}


[data-etb-theme="light"] .etb-tip-pill {
    background: var(--etb-bg-card, #ffffff) !important;
    border: 1.5px solid var(--etb-border-main, #e5e5e5) !important;
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

[data-etb-theme="light"] .etb-tip-pill:hover {
    background: var(--etb-bg-hover, #ececec) !important;
    border-color: #fbac18 !important;
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-tip-pill.active {
    background: var(--etb-brand-soft) !important;
    border-color: var(--etb-brand) !important;
    color: var(--etb-brand-ink) !important;
}



/* Décomposition des prix */
[data-etb-theme="light"] .etb-chk-price-row {
    color: var(--etb-text-secondary, #5d5d5d) !important;
}

[data-etb-theme="light"] .etb-chk-price-row strong {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-chk-price-row.total-row {
    border-top: 1px solid var(--etb-border-main, #e5e5e5) !important;
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-chk-price-row.total-row strong {
    color: #e65a15 !important;
}

/* Lien retour "Edit Ride Details" : contraste renforcé en light mode */
[data-etb-theme="light"] .etb-checkout-back-link {
    color: var(--etb-text-primary, #0d0d0d) !important;
}

[data-etb-theme="light"] .etb-checkout-back-link:hover {
    color: var(--etb-accent-gold, #fbac18) !important;
}

/* Booker / assistant fields : styles globaux (dark + light) */
#etb-guest-booker-fields h4 {
    font-weight: 800 !important;
    text-transform: capitalize !important;
}

#etb-guest-booker-fields label {
    text-transform: capitalize !important;
    font-weight: 600 !important;
}

#etb-guest-booker-fields input::placeholder {
    opacity: 1 !important;
}

/* Booker / assistant fields : couleurs uniquement en light mode */
[data-etb-theme="light"] #etb-guest-booker-fields h4 {
    color: #b3532b !important;
}

[data-etb-theme="light"] #etb-guest-booker-fields label {
    color: #0d0d0d !important;
}

[data-etb-theme="light"] #etb-guest-booker-fields input::placeholder {
    color: #5d5d5d !important;
}

[data-etb-theme="light"] #etb-guest-booker-fields input:-webkit-autofill::placeholder {
    color: #5d5d5d !important;
}

/* Passenger Information section : styles globaux (dark + light) */
.etb-checkout-card-header h4 {
    font-weight: 800 !important;
    text-transform: capitalize !important;
}

/* Passenger Information section : couleurs uniquement en light mode */
[data-etb-theme="light"] .etb-checkout-card-header h4 {
    color: #b3532b !important;
}

[data-etb-theme="light"] .etb-checkout-card-header .etb-chk-badge-icon svg {
    color: #b3532b !important;
    fill: #b3532b !important;
}

/* Summary specs : icônes héritent de la couleur du texte (currentcolor) */
.etb-chk-summary-specs svg,
.etb-chk-summary-specs path {
    color: currentcolor !important;
    fill: currentcolor !important;
}

/* ==========================================================================
   MODULE DE PAIEMENT SÉCURISÉ EDEN CAB / STRIPE (ÉTAPE 2)
   ========================================================================== */

/* Animation d'apparition du panneau */
.etb-chk-step-panel {
    animation: etbPanelSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes etbPanelSlideIn {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Lien retour vers l'Étape 1 */
.etb-chk-step-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    transition: color 0.2s ease !important;
}

.etb-chk-step-back-link:hover {
    color: #fbac18 !important;
}

.etb-chk-step-back-link .dashicons {
    font-size: 15px !important;
    width: 15px !important;
    height: 15px !important;
}

/* Lien Terms & Conditions configurable (Réglages → terms_url) */
.etb-terms-link {
    color: var(--etb-accent-gold) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.etb-terms-link:hover,
.etb-terms-link:focus {
    color: var(--etb-accent-gold-hover) !important;
}

/* En-tête de marque EDEN CAB */
.etb-payment-company-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
}

.etb-payment-logo-wrap {
    display: flex !important;
    flex-direction: column !important;
}

.etb-payment-brand-title {
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    color: #ffffff !important;
}

.etb-payment-brand-sub {
    font-size: 11px !important;
    color: var(--etb-accent-gold, #fbac18) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
}

.etb-payment-company-address p {
    margin: 0 !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-align: right !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   BOUCLIER ANTI-THÈME TOTAL : TYPOGRAPHIE INTER, COULEURS & MANDAT VIP
   ========================================================================== */

/* A. Forcer la police moderne Inter sur TOUT le Checkout (élimine les polices serif du thème) */
#etb-checkout-app,
#etb-checkout-app *,
.etb-checkout-wrapper,
.etb-checkout-wrapper * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-shadow: none !important;
}

/* Protection indispensable de la police d'icônes Dashicons (flèches, valises, utilisateurs) */
#etb-checkout-app .dashicons,
.etb-checkout-wrapper .dashicons {
    font-family: dashicons !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}


/* B. Neutraliser la couleur bleue du thème sur les balises <strong> */
#etb-checkout-app strong,
.etb-checkout-wrapper strong {
    color: #ffffff !important;
}

/* C. Tableau comptable gauche : Grand Total blanc et Total Due Now en Or */
.etb-payment-breakdown-box {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 22px !important;
}

.etb-payment-breakdown-box h4 {
    margin: 0 0 12px 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.03em !important;
}

.etb-payment-ledger-row {
    display: flex;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    color: #cbd5e1 !important;
    margin-bottom: 7px !important;
}

.etb-payment-ledger-row span {
    color: #cbd5e1 !important;
}

.etb-payment-ledger-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    margin: 10px 0 !important;
}

/* Grand Total : forcer le blanc pur (plus de bleu foncé) */
.etb-payment-ledger-row.etb-ledger-grand-total span,
.etb-payment-ledger-row.etb-ledger-grand-total strong,
#etb-pay-grand-total {
    font-size: 14px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* Total Due Now : forcer l'or ambré */
.etb-payment-ledger-row.etb-ledger-due strong:first-child {
    font-size: 15px !important;
    color: #ffffff !important;
}

.etb-payment-ledger-row.etb-ledger-due strong:last-child,
#etb-pay-total-due {
    color: #fbac18 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

/* Pourboire vert dans la colonne droite (sans couleur bleue du thème) */
#etb-chk-tip-row,
#etb-chk-tip-row span,
#etb-chk-tip-row strong,
#etb-chk-tip-percent {
    color: #00210c !important;
}

/* D. Formulaire Carte Bancaire */
.etb-payment-section-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.etb-card-label-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
}

.etb-card-brand-icons {
    display: flex !important;
    gap: 4px !important;
}

.etb-brand-badge {
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    background: #1e2638 !important;
    border: 1px solid #333f57 !important;
    color: #64748b !important;
    letter-spacing: 0.05em !important;
    transition: all 0.2s ease !important;
}

.etb-brand-badge.active {
    background: #fbac18 !important;
    border-color: #fbac18 !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    box-shadow: 0 0 12px rgba(251, 172, 24, 0.45) !important;
    transform: scale(1.08) !important;
}

.etb-card-input-wrapper {
    position: relative !important;
    width: 100% !important;
}

/* Boîtier Sécurisé Stripe Elements (Dark Mode VIP) */
.etb-stripe-mount-box {
    background: #151b29 !important;
    border: 1.5px solid #28334b !important;
    border-radius: 10px !important;
    padding: 13px 14px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
}

/* État actif : liseré or ambré quand le client tape sa carte */
.etb-stripe-mount-box.StripeElement--focus {
    border-color: #fbac18 !important;
    box-shadow: 0 0 0 3px rgba(251, 172, 24, 0.15) !important;
}

/* État carte invalide : liseré rouge */
.etb-stripe-mount-box.StripeElement--invalid {
    border-color: #f87171 !important;
}

.etb-card-input-wrapper input {
    padding-right: 38px !important;
    letter-spacing: 0.08em !important;
    font-family: monospace, -apple-system, sans-serif !important;
    font-size: 14px !important;
}

.etb-card-input-wrapper .dashicons {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #64748b !important;
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    pointer-events: none !important;
}

/* ==========================================================================
   E. DOMPTAGE DU COMPOSANT THEME "NICE-SELECT" EN DARK MODE VIP
   ========================================================================== */

/* ==========================================================================
   E. MENU PAYS CUSTOM VIP (100% IMMUNISÉ CONTRE LES SCRIPTS DE THÈMES)
   ========================================================================== */

/* Boîte fermée (identique aux inputs de carte bancaire) */
.etb-chk-field .etb-custom-select {
    position: relative !important;
    width: 100% !important;
    user-select: none !important;
}

.etb-chk-field .etb-custom-select-trigger {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent !important;
    border: 1.5px solid #28334b !important;
    border-radius: 10px !important;
    height: 44px !important;
    padding: 0 14px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.etb-chk-field .etb-custom-select-trigger:hover,
.etb-chk-field .etb-custom-select.is-open .etb-custom-select-trigger {
    border-color: #fbac18 !important;
    box-shadow: 0 0 0 3px rgba(251, 172, 24, 0.15) !important;
}

/* Flèche dorée */
.etb-chk-field .etb-custom-select-trigger .dashicons {
    color: #fbac18 !important;
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.25s ease !important;
}

.etb-chk-field .etb-custom-select.is-open .etb-custom-select-trigger .dashicons {
    transform: rotate(180deg) !important;
}

/* Liste déroulante ouverte (Fond noir nuit #0f1420 avec ombre et scroll) */
.etb-chk-field .etb-custom-select-options {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #0f1420 !important;
    border: 1.5px solid #28334b !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8) !important;
    margin-top: 6px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    display: none !important;
    flex-direction: column !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
}

.etb-chk-field .etb-custom-select.is-open .etb-custom-select-options {
    display: flex !important;
}

/* Chaque pays dans la liste */
.etb-chk-field .etb-custom-option {
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.etb-chk-field .etb-custom-option:hover {
    background: #1e2638 !important;
    color: #fbac18 !important;
}

.etb-chk-field .etb-custom-option.selected {
    background: #141b2b !important;
    color: #fbac18 !important;
    font-weight: 800 !important;
    border-left: 3px solid #fbac18 !important;
}
/* ==========================================================================
   F. CASE À COCHER SUR-MESURE VIP (NE DEVIENT JAMAIS BLANCHE QUAND DÉCOCHÉE)
   ========================================================================== */
.etb-payment-mandate-box {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    margin-top: 20px !important;
    position: static !important;
    box-sizing: border-box !important;
}

.etb-mandate-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    cursor: pointer !important;
    width: 100% !important;
    color: #ffffff !important;
    margin: 0 !important;
    user-select: none !important;
}

/* Case à cocher personnalisée : dessinée en pur CSS (zéro blanc natif) */
.etb-mandate-label input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 0 !important;
    background-color: #151b29 !important;
    border: 1.5px solid #333f57 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

/* Survol de la case */
.etb-mandate-label:hover input[type="checkbox"] {
    border-color: #fbac18 !important;
}

/* Quand la case est cochée : fond or ambré et crochet noir net */
.etb-mandate-label input[type="checkbox"]:checked {
    background-color: #fbac18 !important;
    border-color: #fbac18 !important;
}

.etb-mandate-label input[type="checkbox"]:checked::after {
    content: '' !important;
    display: block !important;
    width: 4px !important;
    height: 9px !important;
    border: solid #0f172a !important;
    border-width: 0 2.5px 2.5px 0 !important;
    transform: rotate(45deg) !important;
    margin-top: -2px !important;
}

.etb-mandate-label span,
.etb-mandate-label strong {
    font-size: 13px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
}

.etb-mandate-legal-text {
    display: block !important;
    width: 100% !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    line-height: 1.55 !important;
    margin: 10px 0 0 0 !important;
    padding-top: 10px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
    white-space: normal !important;
}



/* ==========================================================================
   BOUTON SWITCHER THÈME (PILULE COULISSANTE / TOGGLE SWITCH)
   ========================================================================== */

/* 1. Neutralisation totale du thème WordPress (Zéro carré rose) */
.etb-theme-toggle-btn.etb-theme-switch {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.etb-theme-toggle-btn.etb-theme-switch:hover,
.etb-theme-toggle-btn.etb-theme-switch:focus,
.etb-theme-toggle-btn.etb-theme-switch:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Positionnement pour le widget minimal */
#etb-quick-widget-app .etb-theme-toggle-btn.etb-theme-switch {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 150 !important; /* Doit être supérieur à 100 (barre de recherche) */
}

/* 2. Le "Rail" de la pilule */
.etb-switch-track {
    position: relative !important;
    width: 44px !important;
    height: 22px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 5px !important;
    box-sizing: border-box !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
    border: 1px solid transparent !important;
}

/* Les icônes Soleil et Lune à l'intérieur */
.etb-switch-track svg {
    width: 11px !important;
    height: 11px !important;
    z-index: 1 !important;
    transition: color 0.3s ease, opacity 0.3s ease !important;
}

/* 3. La pastille coulissante (Thumb) */
.etb-switch-thumb {
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease !important;
    z-index: 2 !important;
}

/* ── ÉTAT DARK MODE (Par défaut : Pastille à droite) ── */
[data-etb-theme="dark"] .etb-switch-track {
    background: #0f1420 !important;
    border-color: #6c6c6c !important;
}
[data-etb-theme="dark"] .etb-theme-switch:hover .etb-switch-track {
    border-color: #fbac18 !important; /* Liseré or au survol */
}
[data-etb-theme="dark"] .etb-switch-thumb {
    transform: translateX(22px) !important; /* Coulisse à droite */
    background: #fbac18 !important; /* Pastille Or */
    box-shadow: 0 0 8px rgba(251, 172, 24, 0.4) !important;
}
[data-etb-theme="dark"] .etb-icon-sun { color: #d7d7d7 !important; }
[data-etb-theme="dark"] .etb-icon-moon { opacity: 0 !important; } /* Masqué sous la pastille */

/* ── ÉTAT LIGHT MODE (Pastille à gauche) ── */
[data-etb-theme="light"] .etb-switch-track {
    background: #f8fafc !important;   /* Fond plus clair pour détacher la pastille or */
    border-color: #94a3b8 !important; /* Bordure grise plus affirmée */
}
[data-etb-theme="light"] .etb-theme-switch:hover .etb-switch-track {
    border-color: #475569 !important;
}
[data-etb-theme="light"] .etb-switch-thumb {
    transform: translateX(0) !important; /* Coulisse à gauche */
    background: #fbac18 !important;      /* Pastille OR (cohérence brand) */
    box-shadow: 0 2px 6px rgba(251, 172, 24, 0.5) !important;
}
[data-etb-theme="light"] .etb-icon-sun { opacity: 0 !important; } /* Masqué sous la pastille */
[data-etb-theme="light"] .etb-icon-moon { color: #0f172a !important; } /* Lune bien contrastée */


[data-etb-theme="dark"] #etb-chk-tip-row,
[data-etb-theme="dark"] #etb-chk-tip-row span,
[data-etb-theme="dark"] #etb-chk-tip-row strong,
[data-etb-theme="dark"] #etb-chk-tip-percent {
    color: #c3d6ca  !important;
}

/* ==========================================================================


/* ── BASCULE DES LABELS SPECS (Ride Summary) ──
   Version longue "Passengers / Luggage" affichée par défaut.
   Version courte "Pax / Bag" activée automatiquement sous 1100px
   pour préserver la lisibilité de la carte sticky en tablette. */
.etb-spec-short {
    display: none !important;
}

@media (max-width: 1200px) {
    .etb-spec-long {
        display: none !important;
    }
    .etb-spec-short {
        display: inline !important;
    }
}

/* ── RESPONSIVE CHECKOUT ── */
/* Le checkout reste en 1 colonne jusqu'à 990px (au-delà il passe en 2 colonnes) */
@media (max-width: 990px) {
    .etb-checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .etb-chk-grid-2 {
        grid-template-columns: 1fr !important;
    }

    .etb-chk-sticky-card {
        position: static !important;
    }



}



@media (max-width: 600px) {
    .etb-chk-capacity-box {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}



/* ==========================================================================
   STYLE VIP HAUTE COUTURE — COMPOSANT TÉLÉPHONE INTERNATIONAL (INTL-TEL-INPUT)
   ========================================================================== */

/* 1. Conteneur principal */
.etb-chk-field .iti {
    width: 100% !important;
    display: block !important;
}

/* 2. Dégagement de la marge gauche : Élimine la superposition du numéro */
.etb-chk-field .iti input#etb-passenger-phone,
.etb-chk-field .iti input.etb-phone-field {
    width: 100% !important;
    padding-left: 95px !important; /* Dégage l'espace pour le drapeau et l'indicatif */
}

/* 3. La boîte du drapeau & indicatif à gauche */
.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent !important;
    border-right: 1.5px solid var(--etb-border-input, #28334b) !important;
    border-radius: 10px 0 0 10px !important;
    padding: 0 8px 0 12px !important;
    transition: border-color 0.2s ease !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
    color: var(--etb-text-primary, #ffffff) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
}

/* Flèche dorée */
.iti__arrow {
    border-top-color: #fbac18 !important;
    margin-left: 6px !important;
}

.iti__arrow--up {
    border-bottom-color: #fbac18 !important;
}

/* 4. Menu Déroulant des 245 pays — DARK MODE VIP */
.iti__country-list {
    background: #0f1420 !important;
    border: 1.5px solid #28334b !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8) !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 13px !important;
    color: #cbd5e1 !important;
    max-height: 250px !important;
    z-index: 99999 !important;
    margin-top: 6px !important;
}

.iti__country {
    padding: 9px 12px !important;
    transition: all 0.15s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: #1e2638 !important;
    color: #fbac18 !important;
}

.iti__country-name {
    color: inherit !important;
    font-weight: 500 !important;
}

.iti__dial-code {
    color: #94a3b8 !important;
    font-weight: 700 !important;
}

.iti__divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 5. ADAPTATION EN LIGHT MODE */
[data-etb-theme="light"] .iti--separate-dial-code .iti__selected-flag {
    border-right-color: #cbd5e1 !important;
}

[data-etb-theme="light"] .iti--separate-dial-code .iti__selected-dial-code {
    color: #1e293b !important;
}

[data-etb-theme="light"] .iti__country-list {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
    color: #1e293b !important;
}

[data-etb-theme="light"] .iti__country:hover,
[data-etb-theme="light"] .iti__country.iti__highlight {
    background-color: #f1f5f9 !important;
    color: #e65a15 !important;
}

[data-etb-theme="light"] .iti__dial-code {
    color: #64748b !important;
}

/* ==========================================================================
   NEUTRALISATION DE L'AUTOFILL DU NAVIGATEUR (CHROME / EDGE / SAFARI)
   Empêche les champs auto-complétés de devenir blancs dans le thème sombre
   ========================================================================== */
.etb-checkout-wrapper input:-webkit-autofill,
.etb-checkout-wrapper input:-webkit-autofill:hover, 
.etb-checkout-wrapper input:-webkit-autofill:focus, 
.etb-checkout-wrapper input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #151e32 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Adaptation si le mode clair (Light Mode) est activé */
[data-etb-theme="light"] .etb-checkout-wrapper input:-webkit-autofill,
[data-etb-theme="light"] .etb-checkout-wrapper input:-webkit-autofill:hover, 
[data-etb-theme="light"] .etb-checkout-wrapper input:-webkit-autofill:focus, 
[data-etb-theme="light"] .etb-checkout-wrapper input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: #0f172a !important;
}

/* Email et téléphone : même hauteur exactement dans la grille (tous thèmes) */
.etb-chk-grid-2 .etb-floating-field {
    min-height: 62px !important;
    height: 62px !important;
}

.etb-chk-grid-2 .etb-floating-field input,
.etb-chk-grid-2 .etb-floating-field .iti input {
    height: 100% !important;
    padding: 0 !important;
}

.etb-chk-grid-2 .etb-floating-field .iti input {
    padding-left: 90px !important; /* espace pour le drapeau téléphone */
}

.etb-chk-grid-2 .etb-floating-field input:not([type="tel"]) {
    padding-left: 0 !important;
}




/* ==========================================================================
   ANIMATION ÉMOJI JAILLISSANT AU CLIC DU POURBOIRE (CHECKOUT)
   ========================================================================== */
.etb-animated-burst-emoji {
    position: fixed !important;
    pointer-events: none !important;
    z-index: 999999 !important;
    width: 44px !important;
    height: 44px !important;
    user-select: none !important;
    will-change: transform, opacity !important;
    animation: etbSingleEmojiFloat 1.2s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
}

.etb-animated-burst-emoji img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25)) !important;
}

@keyframes etbSingleEmojiFloat {
    0% {
        opacity: 0;
        transform: translate(-50%, -10%) scale(0.4);
    }
    18% {
        opacity: 1;
        transform: translate(-50%, -45%) scale(1.15);
    }
    35% {
        transform: translate(-50%, -75%) scale(1.0);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -125%) scale(1.0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -170%) scale(0.85);
    }
}

/* Badge de l'émoji persistant sous les pilules (checkout) */
.etb-tip-persistent-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    min-height: 32px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.etb-tip-persistent-badge img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* ==========================================================================
   NOUVEAUX CHAMPS FLOTTANTS (STYLE BLACKLANE / APPLE)
   ========================================================================== */
.etb-floating-field {
    position: relative;
    background: var(--etb-bg-input, rgba(255, 255, 255, 0.03));
    border: 1.5px solid var(--etb-border-light, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 62px; /* Hauteur fixe pour l'alignement */
        margin-bottom: 5px;
}

.etb-floating-field:focus-within {
    border-color: var(--etb-accent-gold, #fbac18);
    box-shadow: 0 0 0 3px rgba(251, 172, 24, 0.15);
    background: var(--etb-bg-card, rgba(15, 23, 42, 0.6));
}

/* Le Label : Plus petit, en minuscule, plus discret */
.etb-floating-field label {
    font-size: 11px;
    text-transform: none; /* Force les minuscules */
    letter-spacing: 0.02em;
    color: var(--etb-text-secondary, #94a3b8);
    margin-bottom: 4px;
    font-weight: 500; /* Moins gras pour un style plus fin */
    pointer-events: none;
}

/* L'Input global (SANS le padding:0 agressif) */
.etb-floating-field input {
    background: transparent !important;
    border: none !important;
    color: var(--etb-text-primary, #ffffff) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
}

/* On met le padding à 0 UNIQUEMENT pour les champs de texte/email */
.etb-floating-field input:not([type="tel"]) {
    padding: 0 !important;
}

/* ==========================================================================
   CORRECTIF SPÉCIFIQUE POUR INTL-TEL-INPUT (CHAMP TÉLÉPHONE)
   ========================================================================== */
.etb-floating-field .iti {
    width: 100% !important;
    display: block !important;
}

/* ⚠️ C'EST ICI QUE LE BUG ÉTAIT : On ne touche PLUS au padding-left */
.etb-floating-field .iti input {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 90px !important; /* On laisse juste un petit espace de sécurité */
}

/* On s'assure que le conteneur du drapeau ne gêne pas */
.etb-floating-field .iti__flag-container {
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
}

.etb-floating-field .iti__selected-flag {
    background: transparent !important;
    padding: 0 6px 0 0 !important; /* Petit espace après le drapeau */
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* Couleur de l'indicatif (+261) */
.etb-floating-field .iti__dial-code {
    color: var(--etb-text-primary, #ffffff) !important;
    font-weight: 500 !important;
}

/* Anti-autofill Chrome */
.etb-floating-field input:-webkit-autofill,
.etb-floating-field input:-webkit-autofill:hover, 
.etb-floating-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--etb-text-primary, #ffffff);
    -webkit-box-shadow: 0 0 0px 1000px var(--etb-bg-input, #0b0f19) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Ajustement des petits textes d'aide sous les champs */
.etb-floating-field + .etb-chk-hint {
    margin-top: 6px;
    display: block;
    font-size: 11px;
}

/* ==========================================================================
   CORRECTIF DU DROPDOWN PAYS (INTL-TEL-INPUT)
   ========================================================================== */

/* 1. On autorise le formulaire à laisser déborder le menu vers le bas */
.etb-checkout-card {
    overflow: visible !important;
}

/* 2. On s'assure que le conteneur du champ est la référence de position */
.etb-floating-field {
    overflow: visible !important;
    position: relative !important;
}

.etb-floating-field .iti {
    position: relative !important;
    width: 100% !important;
}

/* 3. On force le menu à s'ouvrir JUSTE EN DESSOUS du champ */
.iti__country-list {
    position: absolute !important;
    top: 100% !important; /* Se place juste sous l'input */
    left: 0 !important; /* Aligné à gauche avec l'input */
    z-index: 999999 !important;
    background-color: var(--etb-bg-card, #0f172a) !important;
    border: 1px solid var(--etb-border-light, rgba(255,255,255,0.12)) !important;
    color: var(--etb-text-primary, #ffffff) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    max-height: 250px !important;
    min-width: 100% !important; /* Au moins la largeur du champ */
    width: auto !important; /* S'adapte au texte le plus long */
    max-width: 280px !important; /* Évite de déborder de l'écran sur mobile */
    white-space: nowrap !important; /* Empêche le texte de revenir à la ligne */
    overflow-x: hidden !important; /* Enlève la barre de défilement horizontale */
    text-overflow: ellipsis !important; /* Noms de pays longs : points de suspension au lieu d'une coupure nette */
    margin-top: 6px !important; /* Petit espace de respiration */
}

/* 4. Couleur au survol */
.iti__country:hover, 
.iti__country.iti__highlight {
    background-color: rgba(251, 172, 24, 0.15) !important;
}

/* 5. Couleur de l'indicatif (+261) dans la liste */
.iti__dial-code {
    color: var(--etb-text-secondary, #94a3b8) !important;
}

.etb-chk-qty-control {
  display: inline-flex !important;
  align-items: center !important;
  /*justify-content: center !important;*/
  /* garde le reste de tes règles actuelles */
}

/* Boutons - et + : même largeur des deux côtés */
.etb-chk-qty-control .etb-chk-qty-btn {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0px !important;
  line-height: 1 !important;
  padding-bottom: 4px !important;
}

/* Le chiffre : largeur fixe + centré */
.etb-chk-qty-control  {
  width: 107px !important;
  height: 38px !important;
  padding: 0px !important;
  margin: 0 !important;
  
  background: #92929230 !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield !important;   /* Firefox : enlève les flèches */
  appearance: textfield !important;
}

/* Chrome / Safari / Edge : enlève les flèches */
.etb-chk-qty-control ::-webkit-outer-spin-button,
.etb-chk-qty-control ::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.etb-checkout-card input:focus-visible {
    outline: none !important;
}

/* ==========================================================================
   RESPONSIVE : PETITS ÉCRANS (< 480px) - Anti-débordement
   ========================================================================== */
/* ── GRID INTELLIGENT : FLEXBOX AVEC WRAP POUR LES CARTES ──
   Permet aux cartes (Baby Seat, Booster Seat, Pax, Bag, Cabin) de passer
   à la ligne automatiquement quand le conteneur est trop étroit,
   au lieu de déborder en forçant un nombre fixe de colonnes. */
.etb-chk-seats-wrapper,
.etb-chk-capacity-3col {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: stretch !important;
}
.etb-chk-seats-wrapper > * {
    flex: 1 !important;
    /*max-width: calc(50% - 6px) !important;*/
    min-width: 270px !important;
}
.etb-chk-capacity-3col > * {
    flex: 1 1 calc(33.333% - 8px) !important;
    max-width: calc(33.333% - 8px) !important;
    min-width: 0 !important;
}

@media (max-width: 920px){
    .etb-chk-capacity-box {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 10px 14px !important;
    }
    
}


@media (max-width: 480px) {

    /* Empêche le débordement global du conteneur checkout sur mobile */
    .etb-checkout-wrapper {
        overflow-x: hidden !important;
    }
    .etb-checkout-layout {
        min-width: 0 !important;
    }

    /* Titre de page : taille réduite + retour à la ligne forcé */
    .etb-checkout-page-title {
        font-size: 20px !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
    }

    /* Bascule Myself / Guest : passe en colonne sur très petit écran
       pour éviter le débordement des textes longs ("Réservation pour quelqu'un d'autre") */
    .etb-chk-booker-toggle {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .etb-chk-radio-pill {
        flex-direction: row !important;
        justify-content: center !important;
        text-align: center !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        width: 100% !important;
        font-size: 12px !important;
        padding: 8px 14px !important;
        gap: 6px !important;
    }
    .etb-chk-radio-pill span:last-child {
        overflow-wrap: break-word !important;
        word-break: break-all !important;
        display: block !important;
        max-width: 100% !important;
    }

    /* Input téléphone : réduire l'espace réservé au drapeau sur très petit écran */
    .etb-chk-field .iti input#etb-passenger-phone,
    .etb-chk-field .iti input.etb-phone-field {
        padding-left: 60px !important;
    }

    /* Tous les textes du wrapper : retour à la ligne forcé pour éviter tout débordement */
    .etb-checkout-wrapper strong,
    .etb-checkout-wrapper span,
    .etb-checkout-wrapper p,
    .etb-checkout-wrapper label,
    .etb-checkout-wrapper input,
    .etb-checkout-wrapper textarea {
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        font-size: 14px !important;
    }

    /* Pilules de pourboire : 2 colonnes sur très petit écran */
    .etb-chk-tip-pills {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .etb-tip-pill {
        font-size: 11px !important;
        padding: 6px 0 !important;
    }

    /* Sélecteur capacité (Pax / Bag / Cabin) : 1 colonne sur très petit écran */
    .etb-chk-capacity-box {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 10px 14px !important;
    }

    /* Bouton d'action principal : texte à la ligne, icône cachée pour gagner de l'espace */
    .etb-chk-submit-btn,
    .etb-chk-whatsapp-btn {
        flex-wrap: wrap !important;
        justify-content: center !important;
       
    }
    .etb-chk-submit-btn .dashicons {
        display: none !important;
    }
    .etb-chk-whatsapp-btn .dashicons {
        display: inline-flex !important;
    }

    /* Cartes : ne pas dépasser la largeur du conteneur sur mobile */
    .etb-checkout-card {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Liste déroulante pays : ne pas dépasser l'écran */
    .etb-chk-field .etb-custom-select-options {
        max-width: 100% !important;
        left: 0 !important;
        right: auto !important;
    }
}

/* ==========================================================================
   RÉSOLUTION DÉFINITIVE : Sélecteur capacité — Flexbox ROW, centré
   Remplace tout grid précédent. Placé en fin de fichier pour l'emporter.
   ========================================================================== */
.etb-chk-capacity-3col,
.etb-chk-capacity-box.etb-chk-capacity-3col {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 10px  auto !important;
}

/* Chaque carte Pax / Bag / Cabin : égale, centrée, jamais coupée */
.etb-chk-capacity-3col > *,
.etb-chk-capacity-box.etb-chk-capacity-3col > * {
    flex: 1 1 calc(33.333% - 8px) !important;
    max-width: calc(33.333% - 8px) !important;
    min-width: 150px !important;
    width: auto !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Label + icône centrées */
.etb-chk-cap-label {
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
}

.etb-chk-cap-label strong {
    display: block !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    word-break: break-word !important;
}

.etb-chk-cap-label small {
    display: block !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1 !important;
    margin-top: 2px !important;
    margin-bottom: 6px !important;
    word-break: break-word !important;
}

/* Icône SVG centrée */
.etb-chk-cap-svg-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 34px !important;
    height: 34px !important;
    margin: 0 auto 6px auto !important;
}

.etb-chk-cap-svg-wrap svg {
    width: auto !important;
    height: 26px !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Contrôles +/- centrés sous chaque carte */
.etb-chk-qty-control {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
    width: 108px !important;
    padding: 0 2px !important;
}

.etb-chk-qty-btn {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    font-size: 15px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.etb-chk-cap-item input[type="number"] {
    flex: 0 0 42px !important;
    width: 20px !important;
    max-width: 20px !important;
    height: 32px !important;
    min-height: 32px !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 2px !important;
    line-height: 1 !important;
}

/* Très petit écran : reste en ROW, 2 cartes par ligne, bien centré */
@media (max-width: 480px) {
    .etb-chk-capacity-3col,
    .etb-chk-capacity-box.etb-chk-capacity-3col {
        gap: 8px !important;
        justify-content: center !important;
    }
    .etb-chk-capacity-3col > *,
    .etb-chk-capacity-box.etb-chk-capacity-3col > * {
        flex: 1 1 calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        min-width: 140px !important;
    }
    .etb-chk-cap-label strong {
        font-size: 12px !important;
    }
    .etb-chk-cap-label small {
        font-size: 9.5px !important;
        margin-bottom: 4px !important;
    }
    .etb-chk-qty-btn {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        font-size: 14px !important;
    }
    .etb-chk-cap-item input[type="number"] {
        width: 20px !important;
        max-width: 20px !important;
        height: 28px !important;
        min-height: 28px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   ÉCRAN DE SUCCÈS PAIEMENT : 2 BOUTONS (Retour Home / Retour Réservation)
   Placé en fin de fichier pour l'emporter sur les règles précédentes.
   ========================================================================== */
.etb-success-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 22px !important;
    width: 100% !important;
}

/* Bouton principal : ORANGE GOLD (Return to Home) */
.etb-success-btn {
    background: #fbac18 !important;
    color: #0f172a !important;
    border: none !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    padding: 10px !important;
}
.etb-success-btn:hover {
    background: #e39402 !important;
    color: #0f172a !important;
}

/* Bouton secondaire : NOIR (Return to Booking) */
.etb-success-btn-secondary {
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
}
.etb-success-btn-secondary:hover {
    background: #1e293b !important;
    color: #ffffff !important;
}

/* Sur mobile : les 2 boutons passent en colonne (1 par ligne) */
@media (max-width: 480px) {
    .etb-success-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .etb-success-btn,
    .etb-success-btn-secondary {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
    }

    .etb-checkout-card {
        padding: 24px 10px !important;
    }

    .etb-chk-sticky-card{
        padding: 24px 10px !important;
    }


    .etb-chk-summary-hero{
        gap: 15px !important;
        padding: 12px 12px !important;
    }
}

.etb-chk-action-buttons{
    display: flex; flex-direction: column !important ; gap: 10px;
}




@media (min-width: 990px){
    .etb-checkout-layout{
    grid-template-columns: 1fr !important;
 }
 
 .etb-chk-action-buttons{
        flex-direction: row-reverse !important  ;
    }

    
}
@media (min-width: 1024px){
       .etb-checkout-layout{
    grid-template-columns: 1.4fr 1fr !important;
 }

 .etb-chk-action-buttons{
        flex-direction: column  !important  ;
    }
}


button#etb-chk-submit-quote-btn {
    border: 1px solid  !important;
    background: var(--etb-brand-soft) !important;
    border-color: var(--etb-brand) !important;
    color: var(--etb-brand-ink) !important;
}


button#etb-chk-submit-btn {
    padding: 10px 10px !important;
}

/* ==========================================================================
   CARTE OCCASIONS (affichée quand la carte aéroport est masquée)
   ========================================================================== */
.etb-chk-occasion-card {
    /* styled via inline style="display: none;" toggled by JS */
}

.etb-chk-occasion-card .etb-checkout-card-header h3 {
    color: var(--etb-brand, #fbac18) !important;
    font-size: 22px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    margin: 0 0 6px 0 !important;
}

.etb-chk-occasion-card .etb-checkout-card-header p {
    color: var(--etb-text-secondary, #94a3b8) !important;
    font-size: 12px !important;
    margin: 0 0 16px 0 !important;
}

#etb-chk-occasion-select {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 40px 10px 14px !important;
    font-size: 14px !important;
    color: var(--etb-text-primary, #ffffff) !important;
    background: var(--etb-bg-input, #0f1420) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center !important;
    background-size: 16px 16px !important;
    background-origin: padding-box !important;
    background-clip: padding-box !important;
    border: 1px solid var(--etb-border-main, #232a3b) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

#etb-chk-occasion-select option {
    background: var(--etb-bg-input, #0f1420) !important;
    color: var(--etb-text-primary, #ffffff) !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
}

#etb-chk-occasion-select:focus {
    outline: none !important;
    border-color: var(--etb-brand, #fbac18) !important;
    box-shadow: 0 0 0 3px rgba(251, 172, 24, 0.15) !important;
}

#etb-chk-occasion-select:hover {
    border-color: var(--etb-brand, #fbac18) !important;
}

/* Light Mode */
[data-etb-theme="light"] #etb-chk-occasion-select {
    background: var(--etb-bg-input, #f7f7f7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center !important;
    background-size: 16px 16px !important;
    background-origin: padding-box !important;
    background-clip: padding-box !important;
    color: var(--etb-text-primary, #111827) !important;
    border-color: var(--etb-border-main, #e5e5e5) !important;
}

[data-etb-theme="light"] #etb-chk-occasion-select option {
    background: var(--etb-bg-input, #f7f7f7) !important;
    color: var(--etb-text-primary, #111827) !important;
}

[data-etb-theme="light"] #etb-chk-occasion-select:focus {
    border-color: var(--etb-brand-ink, #d97706) !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1) !important;
}

[data-etb-theme="light"] #etb-chk-occasion-select:hover {
    border-color: var(--etb-brand-ink, #d97706) !important;
}


@media(max-width: 374px){
    .etb-chk-summary-specs{
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
    }
    .etb-chk-summary-hero{
        gap:14px !important;
    }
}

button#etb-chk-submit-quote-btn:hover {
    background-color: transparent !important;
}

/* Placeholder : même couleur que le champ Greeting Sign (etb-pickup-sign) sur tout le checkout */
.etb-checkout-wrapper input::placeholder,
.etb-checkout-wrapper textarea::placeholder,
.etb-checkout-wrapper select::placeholder,
#etb-guest-booker-fields input::placeholder {
    color: rgba(148, 163, 184, 0.5) !important;
    opacity: 1 !important;
}

.etb-checkout-wrapper input:-webkit-autofill::placeholder {
    color: rgba(148, 163, 184, 0.5) !important;
    opacity: 1 !important;
}

[data-etb-theme="light"] .etb-checkout-wrapper input::placeholder,
[data-etb-theme="light"] .etb-checkout-wrapper textarea::placeholder,
[data-etb-theme="light"] .etb-checkout-wrapper select::placeholder,
[data-etb-theme="light"] #etb-guest-booker-fields input::placeholder {
    color: rgba(148, 163, 184, 0.5) !important;
    opacity: 1 !important;
}

[data-etb-theme="light"] .etb-checkout-wrapper input:-webkit-autofill::placeholder {
    color: rgba(148, 163, 184, 0.5) !important;
    opacity: 1 !important;
}