/* ============================================================
   Simulateur camping-car — La Boutique Solaire
   Ossature (shell) reprise du module maison + cartes « Profil ».
   ============================================================ */

:root {
    --lbs-y:      #FFD221;
    --lbs-y-d:    #FFD221;
    --lbs-y-l:    #FFFAE6;
    --lbs-b:      rgb(19, 106, 205);
    --lbs-b-l:    rgb(242, 248, 255);
    --lbs-b-d:    rgb(19, 106, 205);
    --lbs-b-s:    #fff7d6;
    --lbs-text:   #1A1A1A;
    --lbs-muted:  #6B6B6B;
    --lbs-border: #E8E8E8;
    --lbs-bg:     #FAFAFA;
    --lbs-x-shadow: 0 8px 24px rgba(20, 20, 20, 0.05);
}

* { box-sizing: border-box; }

html, body.lbs-standalone-body {
    margin: 0; padding: 0; height: 100%; overflow: hidden; background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.lbs-simulateur-page {
    background: #fff; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; overflow: hidden;
}
#lbs-simulateur-app {
    flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden;
}

/* ── Header ─────────────────────────────────────────────────── */
.lbs-sim-header {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 1.1rem 2rem; border-bottom: 1px solid var(--lbs-border); background: #fff;
}
.lbs-sim-logo {
    position: absolute; left: 2rem; top: 50%; transform: translateY(-50%);
    display: inline-flex; align-items: center; text-decoration: none; transition: opacity .15s;
}
.lbs-sim-logo:hover { opacity: .75; }
.lbs-sim-logo img { height: auto; display: block; }
.lbs-sim-logo-text { font-size: 15px; font-weight: 800; color: var(--lbs-text); letter-spacing: -.01em; }
.lbs-sim-badge {
    /* C'est le H1 de la page (SEO) rendu sous forme de pastille : on neutralise
       le style par défaut d'un <h1> (taille, marges, display bloc). */
    display: inline-block; margin: 0; line-height: normal;
    background: var(--lbs-bg); border: 1px solid var(--lbs-border); border-radius: 8px;
    padding: 7px 18px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
    color: var(--lbs-text); text-transform: uppercase;
}
.lbs-sim-help {
    position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
    display: none; align-items: center; gap: 6px; border: 1px solid var(--lbs-border);
    border-radius: 8px; padding: 7px 16px; font-size: 13px; font-weight: 600;
    color: var(--lbs-text); background: #fff; cursor: pointer; transition: all .15s;
}
.lbs-sim-help:hover { border-color: var(--lbs-b); color: var(--lbs-b); }
.lbs-sim-help i { font-size: 15px; }

/* ── Loader ─────────────────────────────────────────────────── */
.lbs-loader {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.25rem; color: var(--lbs-muted); font-size: .95rem; min-height: 400px;
}
.lbs-loader-spinner {
    width: 40px; height: 40px; border: 3px solid var(--lbs-border);
    border-top-color: var(--lbs-y); border-radius: 50%; animation: lbs-spin .8s linear infinite;
}
@keyframes lbs-spin { to { transform: rotate(360deg); } }
.lbs-spin { display: inline-block; animation: lbs-spin .8s linear infinite; }

/* ── Corps + écrans ─────────────────────────────────────────── */
.lbs-sim-body {
    flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden;
    display: flex; flex-direction: column; align-items: center;
    padding: 2rem 1.5rem; background-color: #f2f2f2;
}
.lbs-sim-body > * { max-width: 100%; }

.lbs-screen {
    display: none; width: 100%; max-width: 1000px; text-align: center;
    animation: lbs-fadeup .35s ease;
}
.lbs-screen.active { display: block; margin: auto 0; }
@keyframes lbs-fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.lbs-screen-eyebrow {
    font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--lbs-b); margin-bottom: 10px;
}
.lbs-screen-title { font-size: 2rem; font-weight: 800; color: var(--lbs-text); margin: 0 0 8px; line-height: 1.2; }
.lbs-screen-sub { font-size: 1rem; color: var(--lbs-muted); margin: 0 auto 28px; max-width: 620px; }

/* Bandeau info (pill bleu) */
.lbs-info-pill {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
    background: var(--lbs-b-l); border: 1px solid rgba(19,106,205,.15); border-radius: 12px;
    padding: 13px 22px; font-size: 14px; color: var(--lbs-b-d);
}
.lbs-info-pill i { color: var(--lbs-b); font-size: 20px; }

/* ── Cartes Profil ──────────────────────────────────────────── */
.lbs-pc-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; text-align: left;
}
/* Variante 4 colonnes (étape Véhicule) — cartes plus larges */
.lbs-pc-grid--4 { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 26px; }
#lbs-screen-reseau { max-width: 1000px; }
/* ── Étape Réseau : cartes de choix (design repris du simulateur logement) ──── */
.lbs-choice-grid { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin: 8px 0 22px; }
.lbs-choice-card {
    position: relative; flex: 1 1 0; min-width: 300px;
    display: flex; align-items: center; gap: 22px; text-align: left;
    padding: 28px 30px; border: 1.5px solid var(--lbs-border); border-radius: 16px;
    background: #fff; cursor: pointer; box-shadow: var(--lbs-x-shadow);
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.lbs-choice-card:hover { border-color: #C8C8C8; }
.lbs-choice-card.selected { border-color: var(--lbs-y-d); border-width: 2px; background: var(--lbs-y-l); box-shadow: 0 10px 28px rgba(255,210,33,.18); }
.lbs-choice-icon { flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%; background: #F1F1F1; display: flex; align-items: center; justify-content: center; transition: background-color .15s; }
.lbs-choice-card.selected .lbs-choice-icon { background: #FBEDB0; }
.lbs-choice-icon i { font-size: 42px; line-height: 1; color: var(--lbs-text); }
/* Pastille de tension (12 V / 24 V) dans le halo rond. */
.lbs-choice-volt { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--lbs-text); }
.lbs-choice-text { flex: 1; min-width: 0; }
.lbs-choice-title { font-size: 19px; font-weight: 700; color: var(--lbs-text); margin-bottom: 5px; line-height: 1.25; }
.lbs-choice-sub { font-size: 14px; color: var(--lbs-muted); line-height: 1.45; }
.lbs-choice-check {
    position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid var(--lbs-border); background: #fff; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: all .15s;
}
.lbs-choice-check i { opacity: 0; transition: opacity .15s; }
.lbs-choice-card.selected .lbs-choice-check { background: var(--lbs-text); border-color: var(--lbs-text); }
.lbs-choice-card.selected .lbs-choice-check i { opacity: 1; }
.lbs-info-pill.lbs-info-pill--wide { display: flex; width: 100%; justify-content: center; color: #4A4A4A; }
.lbs-info-pill.lbs-info-pill--wide i { color: var(--lbs-b); }

/* ── Étape Système : sections numérotées (principal obligatoire + 230 V) ────── */
.lbs-reseau-block { width: 100%; text-align: left; }
.lbs-reseau-legend {
    font-size: 17px; font-weight: 700; color: var(--lbs-text);
    margin: 8px 0 14px; line-height: 1.3;
}
.lbs-reseau-tag { font-weight: 700; font-size: 15px; }
.lbs-reseau-tag--req { color: #E4322B; }             /* (obligatoire) en rouge */
.lbs-reseau-tag--opt { color: var(--lbs-b); }        /* (optionnel) en bleu   */
/* Filet de séparation entre le système principal et le 230 V (comme la maquette) */
.lbs-reseau-sep { width: 100%; height: 1px; background: var(--lbs-border); margin: 26px 0 6px; }
/* Rangée à une seule carte (le 230 V occupe toute la largeur). Sélecteur à deux
   classes pour l'emporter sur la règle mobile « .lbs-choice-card { flex:50% } ». */
.lbs-choice-grid--single { justify-content: stretch; }
.lbs-choice-grid--single .lbs-choice-card { flex: 1 1 100%; max-width: none; }
/* Icône « prise » du 230 V : halo bleu clair (au lieu du gris des tensions). */
.lbs-choice-icon--plug { background: #F1F1F1; }
.lbs-choice-icon--plug i { font-size: 40px; color: var(--lbs-text); }
.lbs-choice-card.selected .lbs-choice-icon--plug { background: #FBEDB0; }

/* ── Infobulle générique (icône ⓘ + bulle au survol / focus) ────────────────── */
.lbs-tip { position: relative; display: inline-flex; align-items: center; vertical-align: middle;
    margin-left: 8px; color: var(--lbs-b); cursor: help; outline: none; }
.lbs-tip > i { font-size: 19px; line-height: 1; }
.lbs-tip-bubble {
    /* Ancrée à DROITE de l'icône et déployée vers la GAUCHE : évite tout
       débordement hors de l'écran (l'icône est en bout de titre). */
    position: absolute; right: -4px; left: auto; bottom: calc(100% + 9px);
    width: max-content; max-width: 280px; text-align: left;
    background: #1c2530; color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1.45;
    padding: 9px 12px; border-radius: 8px; box-shadow: 0 8px 22px rgba(16,32,56,.22);
    opacity: 0; visibility: hidden; transition: opacity .12s ease; z-index: 60; pointer-events: none;
    white-space: normal;
}
.lbs-tip-bubble strong { font-weight: 800; }
.lbs-tip-bubble::after { content: ''; position: absolute; top: 100%; right: 10px;
    border: 6px solid transparent; border-top-color: #1c2530; }
.lbs-tip:hover .lbs-tip-bubble, .lbs-tip:focus .lbs-tip-bubble, .lbs-tip:focus-within .lbs-tip-bubble {
    opacity: 1; visibility: visible;
}
/* Sur petit écran, on borne la largeur pour éviter tout débordement. */
@media (max-width: 560px) { .lbs-tip-bubble { max-width: 240px; } }

@media (max-width: 760px) {
    .lbs-reseau-legend { font-size: 15px; }
    .lbs-choice-grid { gap: 12px; }
    .lbs-choice-card { flex: 1 1 calc(50% - 6px); min-width: 0; max-width: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 20px 12px; }
    .lbs-choice-icon { width: 60px; height: 60px; }
    .lbs-choice-volt { font-size: 18px; }
    .lbs-choice-title { font-size: 14.5px; }
    .lbs-choice-sub { font-size: 12px; line-height: 1.35; }
    .lbs-choice-check { top: 10px; right: 10px; }
}
/* L'écran Véhicule s'élargit pour laisser respirer les 4 cartes. */
#lbs-screen-vehicule { max-width: 1280px; }
/* L'écran Équipements s'élargit (catalogue + panneau « Votre sélection »). */
#lbs-screen-equipements { max-width: 1500px; }
@media (max-width: 1180px) { .lbs-pc-grid--4 { grid-template-columns: 1fr 1fr; } }
/* Véhicule : 1 colonne seulement sur téléphone (≤560). Tablette = 2 colonnes. */
@media (max-width: 560px)  { .lbs-pc-grid--4 { grid-template-columns: 1fr; } }

/* Trait jaune sous le titre (étape Véhicule) */
.lbs-title-rule {
    display: block; width: 56px; height: 4px; border-radius: 4px;
    background: var(--lbs-y); margin: 4px auto 18px;
}

/* Cartes Véhicule : centrées, arrondies, ombre douce, bloc « Surface estimée » */
.lbs-pc--veh {
    text-align: center; align-items: center; border-radius: 22px; padding: 24px 22px 24px;
    box-shadow: 0 10px 30px rgba(16,32,56,.06);
}
/* Image agrandie : plus haute et occupant toute la largeur de la carte. */
.lbs-pc--veh .lbs-pc-media {
    aspect-ratio: 3 / 2; min-height: 180px; background: transparent;
    border-radius: 12px; margin-bottom: 18px;
}
.lbs-pc--veh .lbs-pc-media img { object-fit: contain; width: 100%; height: 100%; }
.lbs-pc--veh .lbs-pc-title { text-align: center; padding: 0; font-size: 19px; }
.lbs-pc--veh .lbs-pc-desc { text-align: center; padding: 0; margin: 8px 0 16px; }
.lbs-pc--veh .lbs-pc-check { top: 18px; right: 18px; }

.lbs-pc-surface {
    display: block; width: 100%; border-top: 1px solid var(--lbs-border);
    padding-top: 14px; margin-top: auto;
}
.lbs-pc-surface-lbl { display: block; font-size: 13px; color: var(--lbs-muted); margin-bottom: 4px; }
.lbs-pc-surface-val { display: block; font-size: 18px; font-weight: 800; color: var(--lbs-text); }
.lbs-pc {
    position: relative; display: flex; flex-direction: column; align-items: stretch;
    border: 1.5px solid var(--lbs-border); border-radius: 20px; background: #fff;
    padding: 16px; cursor: pointer; font: inherit; text-align: left;
    transition: border-color .15s, box-shadow .15s, transform .1s;
    box-shadow: var(--lbs-x-shadow);
}
.lbs-pc:hover { border-color: var(--lbs-y-d); }
.lbs-pc.selected { border-color: var(--lbs-y-d); border-width: 2px; box-shadow: 0 8px 26px rgba(255,210,33,.28); }

.lbs-pc-check {
    position: absolute; top: 26px; right: 26px; z-index: 2;
    width: 30px; height: 30px; border-radius: 50%; background: #fff;
    border: 1.5px solid var(--lbs-border); color: var(--lbs-text);
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.lbs-pc.selected .lbs-pc-check { background: var(--lbs-y); border-color: var(--lbs-y); }
.lbs-pc:not(.selected) .lbs-pc-check i { display: none; }

.lbs-pc-media {
    width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
    background: #eef1f5; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.lbs-pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbs-pc-media--empty { flex-direction: column; gap: 6px; color: #9aa6b4; }
.lbs-pc-media--empty i { font-size: 30px; }
.lbs-pc-media--empty span { font-size: 12px; font-weight: 600; }

.lbs-pc-title { font-size: 19px; font-weight: 800; color: var(--lbs-text); padding: 0 4px; }
.lbs-pc-desc { font-size: 14px; color: var(--lbs-muted); line-height: 1.5; margin: 8px 0 14px; padding: 0 4px; }

.lbs-pc-specs { border-top: 1px solid var(--lbs-border); padding: 14px 4px 4px; display: flex; flex-direction: column; gap: 11px; }
.lbs-pc-spec { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--lbs-text); }
.lbs-pc-spec i { color: var(--lbs-y-d); font-size: 18px; flex: 0 0 auto; }

/* ── Footer ─────────────────────────────────────────────────── */
.lbs-sim-footer {
    flex-shrink: 0; border-top: 1px solid var(--lbs-border); padding: 1.1rem 2rem;
    display: flex; flex-direction: column; gap: .9rem; background: #fff;
}
.lbs-footer-row-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; border-bottom: 1px solid var(--lbs-border); }
.lbs-footer-row-bottom { display: flex; justify-content: flex-start; margin-top: .25rem; }
.lbs-footer-actions { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; }

.lbs-btn-suivant {
    background: var(--lbs-y); color: var(--lbs-text); border: none; border-radius: 9px;
    padding: 12px 26px; font-size: 14px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto;
    transition: background .15s, opacity .15s, box-shadow .15s; box-shadow: 0 4px 14px rgba(255,210,33,.45);
}
.lbs-btn-suivant:hover { background: var(--lbs-y-d); box-shadow: 0 4px 16px rgba(255,210,33,.55); }
.lbs-btn-suivant:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }

.lbs-btn-retour {
    background: transparent; color: var(--lbs-muted); border: 1.5px solid var(--lbs-border);
    border-radius: 9px; padding: 11px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; transition: all .15s; flex-shrink: 0;
}
.lbs-btn-retour:hover { border-color: var(--lbs-muted); color: var(--lbs-text); }
.lbs-btn-retour.lbs-invisible { visibility: hidden; display: none; }

/* ── Boutons d'action de la page Résultat (repris du module maison) ─────── */
.lbs-invisible { display: none !important; }
.lbs-btn-cart, .lbs-btn-download, .lbs-btn-home { flex-shrink: 0; }
.lbs-btn-cart {
    background: var(--lbs-b); color: #fff; border: 1.5px solid var(--lbs-b); border-radius: 9px;
    padding: 11px 22px; font-size: 14px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background .15s, box-shadow .15s, border-color .15s;
}
.lbs-btn-cart:hover { background: rgb(23, 85, 156); border-color: rgb(23, 85, 156); box-shadow: 0 6px 16px rgba(19,106,205,.25); }
.lbs-btn-cart:disabled { opacity: .8; cursor: default; box-shadow: none; }
.lbs-btn-download {
    background: #fff; color: var(--lbs-b); border: 1.5px solid var(--lbs-b); border-radius: 9px;
    padding: 11px 20px; font-size: 14px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.lbs-btn-download:hover:not(:disabled) { background: var(--lbs-b-l); }
.lbs-btn-download:disabled { color: var(--lbs-muted); border-color: var(--lbs-border); background: #fff; opacity: .55; cursor: not-allowed; }
.lbs-btn-home {
    background: transparent; color: var(--lbs-muted); border: 1.5px solid var(--lbs-border);
    border-radius: 9px; padding: 11px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.lbs-btn-home:hover { border-color: var(--lbs-muted); color: var(--lbs-text); }
.lbs-cart-note {
    display: inline-flex; align-items: center; gap: 7px; max-width: 320px; margin-right: 2px;
    font-size: 12px; line-height: 1.4; color: var(--lbs-muted); text-align: left;
}
.lbs-cart-note i { color: var(--lbs-b); flex: 0 0 auto; }
.lbs-btn-label-short { display: none; }
/* Tablette : on masque la note et on serre les boutons. */
@media (max-width: 1024px) {
    .lbs-cart-note { display: none !important; }
    .lbs-footer-actions { gap: 8px; }
    .lbs-btn-cart .lbs-btn-label, .lbs-btn-home .lbs-btn-label { display: none; }
    .lbs-btn-cart .lbs-btn-label-short { display: inline; }
    .lbs-btn-download .lbs-btn-label { display: none; }
    .lbs-btn-download .lbs-btn-label-short { display: inline; }
    .lbs-btn-devis .lbs-btn-label { display: none; }
    .lbs-btn-devis .lbs-btn-label-short { display: inline; }
    .lbs-btn-home { padding: 11px; }
}
/* Téléphone :
   - « Retour » → ICÔNE SEULE (on masque le texte).
   - Email / Devis → ICÔNE SEULE.
   - PANIER → libellé COMPLET « Voir mon panier » (comme sur PC). */
@media (max-width: 560px) {
    /* Retour en icône seule. */
    .lbs-sim-footer .lbs-btn-retour { padding: 11px; }
    .lbs-btn-retour .lbs-btn-label { display: none; }
    .lbs-btn-retour i { margin: 0; }

    /* Panier : on réaffiche le libellé COMPLET et on masque le court. */
    .lbs-btn-cart .lbs-btn-label { display: inline; }
    .lbs-btn-cart .lbs-btn-label-short { display: none; }
    .lbs-btn-cart .lbs-btn-label { white-space: nowrap; }

    /* Email / Devis en icône seule (le Panier n'est PAS dans cette liste). */
    .lbs-btn-download .lbs-btn-label-short,
    .lbs-btn-devis .lbs-btn-label-short { display: none; }
    /* Padding scopé au footer (spécificité plus forte) pour rester carré même face
       au style du bouton Devis injecté plus tard dans le DOM. */
    .lbs-sim-footer .lbs-btn-download,
    .lbs-sim-footer .lbs-btn-devis { padding: 11px; }
    .lbs-btn-download i, .lbs-btn-devis i { margin: 0; }
}

/* ── Barre d'étapes ─────────────────────────────────────────── */
.lbs-steps-bar {
    display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.lbs-steps-bar::-webkit-scrollbar { display: none; }
.lbs-step-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px;
    border-radius: 8px; font-size: 12px; font-weight: 600; color: #B5B5B5;
    background: var(--lbs-bg); border: 1px solid transparent; transition: all .2s;
    white-space: nowrap; cursor: default; flex-shrink: 0;
}
.lbs-step-chip .lbs-step-num {
    display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
    border-radius: 50%; background: #E2E2E2; color: #fff; font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.lbs-step-chip.active { background: var(--lbs-y); color: var(--lbs-text); }
.lbs-step-chip.active .lbs-step-num { background: var(--lbs-text); color: var(--lbs-y); }
.lbs-step-chip.done { width: 38px; padding: 0; justify-content: center; background: var(--lbs-y-l); border-color: transparent; }
.lbs-step-chip.done .lbs-step-num { background: var(--lbs-text); color: #fff; }
.lbs-step-chip .lbs-step-name { display: none; }
.lbs-step-chip.active .lbs-step-name { display: inline; }



/* ============================================================================
   ÉTAPE ÉQUIPEMENTS — CSS PORTÉ DEPUIS LE MODULE MAISON (lbs_simulateur)
   Classes lbs-eq2-* / lbs-eq-* identiques → même rendu. Adaptations CC en fin.
   ============================================================================ */

/* ============================================================
   Étape Équipements — catalogue (gauche) + panneau sélection (droite)
   ============================================================ */

/* Boutons quantité génériques (réutilisés : carte détail + panier) */
.lbs-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1.5px solid var(--lbs-border);
    background: var(--lbs-bg);
    color: var(--lbs-text);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    flex-shrink: 0;
}

.lbs-qty-btn:hover { border-color: var(--lbs-y-d); background: var(--lbs-y-l); }

.lbs-qty-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--lbs-text);
    min-width: 20px;
    text-align: center;
}

/* Boîte « − valeur + » */
.lbs-qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--lbs-border);
    border-radius: 10px;
    padding: 7px 10px;
}

/* Titre pleine largeur (centré), puis grille catalogue | sélection */
.lbs-eq2-layout { display: block; }

.lbs-eq2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    text-align: left;
}

/* Dès qu'au moins un équipement est sélectionné, la colonne de droite
   « Votre sélection » apparaît. */
.lbs-eq2-grid.has-sel { grid-template-columns: 1fr 360px; }

.lbs-eq2-main { min-width: 0; max-width: 95%; }

.lbs-eq2-head { text-align: center; margin-bottom: 26px; }

.lbs-eq2-title {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--lbs-text);
    line-height: 1.2;
    margin: 8px 0 0;
    padding-bottom: 16px;
}

.lbs-eq2-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 54px;
    height: 4px;
    border-radius: 3px;
    background: var(--lbs-y);
}

.lbs-eq2-sub {
    font-size: .98rem;
    color: var(--lbs-muted);
    line-height: 1.55;
    max-width: 520px;
    margin: 16px auto 0;
}

.lbs-eq2-section { margin-bottom: 26px; }

.lbs-eq2-section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--lbs-b);
    margin-bottom: 12px;
}

.lbs-eq2-section-label i { color: #B9C7D8; font-size: 14px; }

/* ── Carrousel « les plus courants » ─────────────────────────── */

.lbs-eq2-common-wrap { display: flex; align-items: center; gap: 10px; }

.lbs-eq2-common {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    flex: 1;
    padding: 4px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.lbs-eq2-common::-webkit-scrollbar { display: none; }

.lbs-eq2-tile {
    position: relative;
    flex: 0 0 auto;
    width: 178px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 14px 16px;
    border: 1.5px solid var(--lbs-border);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    box-shadow: var(--lbs-x-shadow);
}

.lbs-eq2-tile:hover { border-color: #C8C8C8; }

.lbs-eq2-tile.active {
    border-color: var(--lbs-b);
    box-shadow: 0 0 0 3px rgba(19, 106, 205, .12);
}

.lbs-eq2-tile-img {
    width: 100%;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lbs-eq2-tile-img img { height: 150%; object-fit: contain; }

.lbs-eq2-tile-name { font-size: 14px; font-weight: 700; color: var(--lbs-text); text-align: center; }

.lbs-eq2-tile-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lbs-b);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.lbs-eq2-tile.active .lbs-eq2-tile-check { display: inline-flex; }

.lbs-eq2-common-arrow {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--lbs-border);
    background: #fff;
    color: var(--lbs-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--lbs-x-shadow);
    transition: all .15s;
}

.lbs-eq2-common-arrow:hover { border-color: #C8C8C8; }

/* ── Carte détail (équipement mis en avant) ──────────────────── */

.lbs-eq2-featured { margin-bottom: 26px; }

.lbs-eq2-featured-card {
    position: relative;
    display: grid;
    grid-template-columns: 230px 1fr 220px;
    align-items: center;
    padding: 0 20px 0 0;
    border: 1.5px solid rgba(19, 106, 205, .35);
    border-radius: 20px;
    background: linear-gradient(180deg, #F4F9FF 0%, #EDF4FF 100%);
    overflow: hidden;
}

.lbs-eq2-featured-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(19, 106, 205, .4);
    color: var(--lbs-b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.lbs-eq2-featured-check.on { background: var(--lbs-b); border-color: var(--lbs-b); color: #fff; }

.lbs-eq2-featured-img { height: 200px; display: flex; align-items: center; justify-content: center; }

.lbs-eq2-featured-img img { width: 100%; height: 100%; max-width: 220px; object-fit: contain; }

.lbs-eq2-featured-name { font-size: 1.75rem; font-weight: 600; color: var(--lbs-text); margin-bottom: 8px; }

.lbs-eq2-featured-kwh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--lbs-b);
    margin-bottom: 12px;
}

.lbs-eq2-featured-kwh i { font-size: 16px; }

.lbs-eq2-featured-desc {
    font-size: 13.5px;
    color: #5A6B7B;
    line-height: 1.5;
    margin-bottom: 10px;
    max-width: 380px;
}

.lbs-eq2-featured-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--lbs-b);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lbs-eq2-featured-link i { font-size: 14px; }

.lbs-eq2-featured-action { display: flex; flex-direction: column; gap: 12px; }

.lbs-eq2-featured-qtylabel {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lbs-muted);
    text-align: center;
}

.lbs-eq2-featured-action .lbs-qty-btn { width: 34px; height: 34px; font-size: 18px; }

.lbs-eq2-featured-action .lbs-qty-val { font-size: 16px; min-width: 28px; }

.lbs-eq2-featured-add {
    background: var(--lbs-y);
    color: var(--lbs-text);
    border: none;
    border-radius: 10px;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 210, 33, .45);
    transition: box-shadow .15s;
}

.lbs-eq2-featured-add:hover { box-shadow: 0 4px 16px rgba(255, 210, 33, .55); }

/* Action « Masquer les détails » — positionnée en bas de la carte détail */
.lbs-eq2-featured-collapse {
    grid-column: 1 / -1;
    width: 100%;
    border-top: 1px solid rgba(19, 106, 205, .16);
    margin-top: 4px;
    padding: 16px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lbs-eq2-featured-toggle {
    border: none;
    background: transparent;
    color: var(--lbs-b);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 8px;
    transition: opacity .15s, transform .15s;
}

.lbs-eq2-featured-toggle:hover {
    opacity: .78;
    transform: translateY(-1px);
}

.lbs-eq2-featured-toggle i { font-size: 14px; }

/* Barre affichée à la place de la carte quand le détail est masqué */
.lbs-eq2-featured-show {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 1.5px dashed rgba(19, 106, 205, .35);
    border-radius: 16px;
    background: var(--lbs-b-l);
    color: var(--lbs-b);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s;
}

.lbs-eq2-featured-show:hover { background: #E4EFFF; }

/* ── Grille « autres équipements » ───────────────────────────── */

.lbs-eq2-others {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.lbs-eq2-other {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--lbs-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--lbs-x-shadow);
    cursor: pointer;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}

/* Hover : toute la bordure prend la couleur (jaune) */
.lbs-eq2-other:hover { border-color: var(--lbs-y-d); }

/* État sélectionné (toggle) : fond jaune clair + bordure jaune */
.lbs-eq2-other.on {
    border-color: var(--lbs-y-d);
    background: var(--lbs-y-l);
}

/* Indicateur en haut à droite : anneau vide -> coche jaune quand sélectionné.
   La quantité se gère uniquement dans le panneau « Votre sélection ». */
.lbs-eq2-other-action {
    flex: 0 0 auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lbs-eq2-other-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--lbs-border);
    background: #fff;
    color: var(--lbs-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color .15s, border-color .15s;
}

.lbs-eq2-other-check i { opacity: 0; transition: opacity .15s; }

.lbs-eq2-other.on .lbs-eq2-other-check { background: var(--lbs-y); border-color: var(--lbs-y-d); }

.lbs-eq2-other.on .lbs-eq2-other-check i { opacity: 1; }

.lbs-eq2-other-img { flex: 0 0 auto; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }

.lbs-eq2-other-img img { height: 70px; object-fit: contain; }

.lbs-eq2-other-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.lbs-eq2-other-name { font-size: 14px; font-weight: 700; color: var(--lbs-text); line-height: 1.25; }

.lbs-eq2-other-kwh { font-size: 12px; color: var(--lbs-muted); }

/* ── Panneau « Votre sélection » (colonne de droite, sticky) ── */

/* Masqué tant qu'aucun équipement n'est sélectionné ; apparaît ensuite. */
.lbs-eq2-aside { position: sticky; top: 0; display: none; }

.lbs-eq2-grid.has-sel .lbs-eq2-aside {
    display: block;
    animation: lbs-eq2-aside-in .35s cubic-bezier(.2,.7,.2,1);
}

@keyframes lbs-eq2-aside-in {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.lbs-eq2-panel {
    padding: 22px;
    border: 1.5px solid var(--lbs-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--lbs-x-shadow);
}

.lbs-eq2-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

/* Panneau étroit : liste puis total empilés */
.lbs-eq2-panel-grid { display: block; }

.lbs-eq2-panel-left { min-width: 0; }

.lbs-eq2-panel-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--lbs-b);
}

.lbs-eq2-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lbs-b);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lbs-eq2-cart { display: flex; flex-direction: column; gap: 14px; }

.lbs-eq2-cart-empty { font-size: 13.5px; color: var(--lbs-muted); padding: 6px 0 2px; }

.lbs-eq2-cart-row { display: flex; align-items: center; gap: 10px; }

.lbs-eq2-cart-img {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lbs-eq2-cart-img img { max-width: 80%; max-height: 80%; object-fit: contain; }

.lbs-eq2-cart-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.lbs-eq2-cart-name { font-size: 13.5px; font-weight: 700; color: var(--lbs-text); }

.lbs-eq2-cart-kwh { font-size: 11.5px; color: var(--lbs-muted); }

.lbs-qty-row--sm { background: transparent; border: none; padding: 0; gap: 6px; }

.lbs-qty-row--sm .lbs-qty-btn { width: 26px; height: 26px; font-size: 14px; border-radius: 7px; }

.lbs-qty-row--sm .lbs-qty-val { min-width: 16px; font-size: 13px; }

.lbs-eq2-cart-remove {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: #B0B0B0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border-radius: 6px;
    transition: all .15s;
}

.lbs-eq2-cart-remove:hover { background: #F4F4F4; color: #D9534F; }

.lbs-eq2-add-more {
    width: 100%;
    margin: 16px 0 0;
    padding: 12px;
    border: 1px solid rgba(19, 106, 205, .25);
    border-radius: 10px;
    background: var(--lbs-b-l);
    color: var(--lbs-b);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .15s;
}

.lbs-eq2-add-more:hover { background: #E4EFFF; }

/* ── Formulaire « Ajouter un équipement personnalisé » (panneau sélection) ──── */
.lbs-eq2-custom {
    margin-top: 16px;
    border: 1px solid rgba(19, 106, 205, .22);
    border-radius: 12px;
    background: var(--lbs-b-l);
    overflow: hidden;
}
.lbs-eq2-custom-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 13px 14px;
    font-family: inherit;
}
.lbs-eq2-custom-head-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--lbs-b);
}
.lbs-eq2-custom-head-title i { font-size: 15px; }
.lbs-eq2-custom-chevron { color: var(--lbs-b); font-size: 16px; }
.lbs-eq2-custom-body {
    padding: 4px 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lbs-eq2-custom-line { display: flex; align-items: center; gap: 10px; }
/* Nom (champ texte) : occupe l'espace, le sélecteur de tension reste compact. */
.lbs-eq2-custom-select {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    border: 1.5px solid var(--lbs-border);
    border-radius: 9px;
    background: #fff;
    color: var(--lbs-text);
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    padding: 0 12px;
    transition: border-color .15s, box-shadow .15s;
}
.lbs-eq2-custom-select:focus {
    outline: none; border-color: var(--lbs-b);
    box-shadow: 0 0 0 3px rgba(19, 106, 205, .12);
}
/* Rangée des tensions (réseau + 230 V, réutilise .lbs-eq2-volt) : pleine largeur,
   SOUS le nom, pour ne pas rogner le champ de saisie. */
.lbs-eq2-custom-volt {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
}
.lbs-eq2-custom-volt .lbs-eq2-volt { padding: 9px 6px; }
/* Champs « Puissance (W) » et « Durée » : libellé au-dessus, champ dessous. */
.lbs-eq2-custom-input {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.lbs-eq2-custom-input-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--lbs-muted);
    letter-spacing: .02em;
}
.lbs-eq2-custom-input input {
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--lbs-border);
    border-radius: 9px;
    background: #fff;
    color: var(--lbs-text);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    padding: 0 12px;
    -moz-appearance: textfield;
    transition: border-color .15s, box-shadow .15s;
}
.lbs-eq2-custom-input input::-webkit-outer-spin-button,
.lbs-eq2-custom-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lbs-eq2-custom-input input:focus {
    outline: none; border-color: var(--lbs-b);
    box-shadow: 0 0 0 3px rgba(19, 106, 205, .12);
}
/* Bouton « Ajouter » : aligné en bas de ligne, bleu plein. */
.lbs-eq2-custom-add {
    flex: 0 0 auto;
    align-self: flex-end;
    height: 40px;
    border: none;
    border-radius: 9px;
    background: var(--lbs-b);
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    font-family: inherit;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color .15s;
}
.lbs-eq2-custom-add:hover { background: rgb(23, 85, 156); }

.lbs-eq2-total-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--lbs-border);
}

.lbs-eq2-total-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lbs-b);
    margin-bottom: 8px;
}

.lbs-eq2-total-label i { color: #B9C7D8; font-size: 13px; }

.lbs-eq2-total-val { font-size: 1.7rem; font-weight: 800; color: var(--lbs-b); line-height: 1.1; margin-bottom: 10px; }

.lbs-eq2-total-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12.5px;
    color: #3B9E54;
    line-height: 1.45;
}

.lbs-eq2-total-note i { color: #3B9E54; font-size: 14px; margin-top: 1px; }

@media (max-width: 860px) {
    .lbs-eq2-others { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lbs-eq2-featured-card { grid-template-columns: 1fr; text-align: center; padding: 22px 0 0; }
    .lbs-eq2-featured-desc { max-width: none; margin-left: auto; margin-right: auto; }
    .lbs-eq2-featured-img { height: 150px; }
    .lbs-eq2-featured-info,
    .lbs-eq2-featured-action { padding-left: 22px; padding-right: 22px; }
    .lbs-eq2-featured-collapse { margin-top: 18px; }
}

@media (max-width: 540px) {
    .lbs-eq2-others { grid-template-columns: 1fr; }
}

.lbs-eq2-main { min-width: 0; max-width: none; }

.lbs-eq2-grid { gap: 32px; }

.lbs-eq2-grid.has-sel { grid-template-columns: minmax(0, 1fr) 360px; }

.lbs-eq2-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.lbs-eq2-filter {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1.5px solid var(--lbs-border);
    background: #fff;
    color: var(--lbs-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(20, 20, 20, 0.035);
    transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s;
}

.lbs-eq2-filter:hover {
    border-color: #D0D0D0;
    transform: translateY(-1px);
}

.lbs-eq2-filter.active {
    border-color: var(--lbs-y-d);
    background: var(--lbs-y-l);
    box-shadow: 0 0 0 3px rgba(255, 210, 33, .12);
}

.lbs-eq2-filter i { font-size: 16px; }

.lbs-eq2-catalog {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.lbs-eq2-product {
    position: relative;
    min-height: 196px;
    padding: 18px 14px 16px;
    border: 1.5px solid var(--lbs-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--lbs-x-shadow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s;
}

.lbs-eq2-product:hover {
    border-color: #C8C8C8;
    transform: translateY(-1px);
}

.lbs-eq2-product.active {
    border-color: var(--lbs-b);
    box-shadow: 0 0 0 3px rgba(19, 106, 205, .12), var(--lbs-x-shadow);
}

.lbs-eq2-product.on:not(.active) {
    border-color: var(--lbs-y-d);
    background: var(--lbs-y-l);
}

.lbs-eq2-product-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--lbs-border);
    background: #fff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all .15s;
}

.lbs-eq2-product.active .lbs-eq2-product-check {
    background: var(--lbs-b);
    border-color: var(--lbs-b);
    color: #fff;
}

.lbs-eq2-product.on:not(.active) .lbs-eq2-product-check {
    background: var(--lbs-y);
    border-color: var(--lbs-y-d);
    color: var(--lbs-text);
}

.lbs-eq2-product-img {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Toutes les vignettes occupent la même boîte : le SVG s'y adapte (contain),
   quel que soit son ratio interne. Fini les icônes plus petites que d'autres.
   Surcharge possible par équipement : voir « Tailles personnalisées » plus bas. */
.lbs-eq2-product-img img {
    width: 100%;
    height: 100%;
    max-width: 130px;
    object-fit: contain;
}

.lbs-eq2-product-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--lbs-text);
    line-height: 1.25;
    margin-bottom: 15px;
}

.lbs-eq2-product-kwh {
    margin-top: 3px;
    font-size: 12px;
    color: var(--lbs-muted);
    line-height: 1.2;
}
/* Puissance instantanée (lecture seule) sur la carte catalogue.
   Ligne : « ⚡ Puissance » à gauche, valeur en bleu à droite ; fin trait au-dessus. */
.lbs-eq2-product-power {
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #EEF1F5;
    line-height: 1.3;
}
.lbs-eq2-power-lbl {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lbs-muted);
}
.lbs-eq2-power-lbl i { font-size: 16px; color: var(--lbs-b); }
.lbs-eq2-power-val {
    font-size: 14px;
    font-weight: 800;
    color: var(--lbs-b);
    white-space: nowrap;
}

/* ── Sélecteur d'alimentation (12 / 24 / 230 V) sur la carte équipement ──────── */
/* margin-top:auto pousse TOUT le bloc du bas (rangée d'alimentation + étiquette
   de puissance) vers le bas de la carte → les boutons sont alignés d'une carte à
   l'autre, quelle que soit la hauteur du nom. */
.lbs-eq2-volt-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    margin-top: auto;
}
.lbs-eq2-volt {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--lbs-text);
    background: #fff;
    border: 1.5px solid var(--lbs-border);
    border-radius: 8px;
    padding: 7px 2px;
    line-height: 1.2;
    cursor: pointer;
    user-select: none;
    transition: border-color .12s, background-color .12s, color .12s;
}
.lbs-eq2-volt:hover { border-color: var(--lbs-b); }
.lbs-eq2-volt.on {
    color: #fff;
    background: var(--lbs-b);
    border-color: var(--lbs-b);
}

/* ── Switch d'alimentation (réseau ⟷ 230 V) sur la carte catalogue ──────────── */
/* Deux libellés côte à côte + un « pouce » coulissant qui met en avant le côté
   actif. À gauche : la tension du réseau (continu). À droite : 230 V. */
.lbs-eq2-volt-switch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
    margin-top: auto;              /* ancre le bloc du bas (switch + puissance) */
    padding: 3px;
    border: 1.5px solid var(--lbs-border);
    border-radius: 999px;
    background: #f2f4f7;
    cursor: pointer;
    user-select: none;
}
.lbs-eq2-volt-switch:hover { border-color: var(--lbs-b); }
.lbs-eq2-volt-switch:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(19,106,205,.18); }
/* Le pouce : moitié de largeur, glisse à droite quand 230 V est actif. */
.lbs-eq2-volt-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    bottom: 3px;
    border-radius: 999px;
    background: var(--lbs-b);
    box-shadow: 0 1px 3px rgba(16,32,56,.18);
    transition: transform .18s cubic-bezier(.4,.1,.2,1), background-color .15s;
}
.lbs-eq2-volt-switch.is-230 .lbs-eq2-volt-thumb { transform: translateX(100%); background: #12805a; }
/* Libellés : au-dessus du pouce, blanc quand actif, gris sinon. */
.lbs-eq2-volt-opt {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 4px;
    color: var(--lbs-muted);
    transition: color .15s;
    white-space: nowrap;
}
.lbs-eq2-volt-switch:not(.is-230) .lbs-eq2-volt-opt--net { color: #fff; }
.lbs-eq2-volt-switch.is-230 .lbs-eq2-volt-opt--230 { color: #fff; }
/* Ligne « puissance · conso » dans le panneau « Votre sélection ». */
.lbs-eq2-cart-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lbs-eq2-cart-power { font-size: 11.5px; font-weight: 800; color: var(--lbs-b); }
.lbs-eq2-cart-dot { color: var(--lbs-muted); opacity: .6; }

.lbs-eq2-featured--inline {
    grid-column: 1 / -1;
    margin: -2px 0 0;
}

.lbs-eq2-featured-card {
    min-height: 215px;
    box-shadow: none;
}

.lbs-eq2-featured-collapse {
    border-top: 1px dashed rgba(19, 106, 205, .22);
    margin: 0 20px;
}

@media (max-width: 1160px) {
    .lbs-eq2-grid,
    .lbs-eq2-grid.has-sel { grid-template-columns: 1fr; }
    .lbs-eq2-aside { position: static; margin-top: 8px; }
}

@media (max-width: 860px) {
    .lbs-eq2-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .lbs-eq2-filter-row { gap: 8px; }
    .lbs-eq2-filter { padding: 0 12px; font-size: 12px; }
    .lbs-eq2-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .lbs-eq2-main { width: 100%; max-width: 100%; }
    .lbs-eq2-grid { width: 100%; max-width: 100%; }
    .lbs-eq2-product { min-height: 176px; }
}

/* ── Écran équipements : bottom sheet mobile ──────────────────────────────────
   Sur téléphone, le panneau latéral « Votre sélection » et la carte détail inline
   sont remplacés par un panneau ancré en bas de l'écran (sticky au-dessus du
   footer), qui affiche le détail de l'équipement tapé + sa quantité, ou le
   récapitulatif de la sélection. Masqué sur desktop. */
.lbs-eq2-sheet { display: none; }

.lbs-eq2-sheet[hidden] { display: none; }

.lbs-eq2-backdrop { display: none; }

@media (max-width: 760px) {
    /* Le panneau latéral desktop et la carte détail inline ne servent plus. */
    .lbs-eq2-aside { display: none !important; }
    .lbs-eq2-featured--inline { display: none !important; }
    .lbs-eq2-sheet {
        display: block;
        position: sticky;
        /* On tire le sheet jusqu'au bas RÉEL du body (sous son padding-bottom de
           1.5rem) pour qu'il soit COLLÉ au footer, sans espace gris intermédiaire. */
        bottom: -1.5rem;
        z-index: 40;
        /* Pleine largeur écran quel que soit le padding du body (full-bleed). */
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        pointer-events: none;   /* la carte réactive les events, pas la zone full-bleed vide */
    }
    .lbs-eq2-sheet[hidden] { display: none; }
    /* ── Aspect « modal » : fond grisé + sheet fixé au-dessus ──────────────── */
    .lbs-eq2-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(18, 26, 38, .45);
        z-index: 1001;
        animation: lbs-eq2-backdrop-in .18s ease;
    }
    .lbs-eq2-backdrop[hidden] { display: none; }
    /* En mode modal, le sheet est ancré au bas de l'écran, au-dessus du fond grisé
       (donc au-dessus du header et du footer, comme une vraie modal). */
    .lbs-eq2-sheet.lbs-eq2-sheet--modal {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        margin: 0;
        z-index: 1002;
        animation: lbs-eq2-sheet-up .22s cubic-bezier(.2, .7, .2, 1);
    }
    /* Verrouille le défilement de l'arrière-plan tant que la modal est ouverte. */
    .lbs-sim-body.lbs-eq2-noscroll { overflow: hidden; }
    .lbs-eq2-sheet-card {
        pointer-events: auto;
        position: relative;
        background: #fff;
        border-top: 1px solid var(--lbs-border);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -12px 30px rgba(16, 32, 56, .12);
        padding: 12px 16px 16px;
    }
    .lbs-eq2-sheet-handle {
        display: block;
        width: 42px; height: 4px;
        border-radius: 999px;
        background: #d7dde5;
        margin: 0 auto 12px;
    }
    .lbs-eq2-sheet-x {
        position: absolute; top: 12px; right: 14px;
        width: 30px; height: 30px; border-radius: 50%;
        border: 1px solid var(--lbs-border); background: #fff;
        color: #8a94a3; font-size: 15px; cursor: pointer;
        display: flex; align-items: center; justify-content: center;
    }
    .lbs-eq2-sheet-x:hover { color: #5a6472; }
    .lbs-eq2-sheet-detail { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
    .lbs-eq2-sheet-thumb {
        flex: 0 0 auto; width: 76px; height: 76px; border-radius: 12px;
        background: #f7f9fc; display: flex; align-items: center; justify-content: center; overflow: hidden;
    }
    .lbs-eq2-sheet-thumb .lbs-eq-thumb { width: 100%; height: 100%; }
    .lbs-eq2-sheet-thumb img { width: 100%; height: 100%; object-fit: contain; }
    .lbs-eq2-sheet-info { min-width: 0; }
    .lbs-eq2-sheet-name { font-size: 19px; font-weight: 800; color: var(--lbs-text); line-height: 1.2; }
    .lbs-eq2-sheet-kwh { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--lbs-b); display: inline-flex; align-items: center; gap: 6px; }
    .lbs-eq2-sheet-kwh i { font-size: 15px; }
    .lbs-eq2-sheet-desc { margin-top: 6px; font-size: 12.5px; color: var(--lbs-muted); line-height: 1.4; }
    .lbs-eq2-sheet-qty {
        display: flex; align-items: center; justify-content: space-between;
        gap: 12px; margin-top: 16px;
    }
    .lbs-eq2-sheet-qtylabel { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lbs-muted); }
    .lbs-eq2-sheet-qty .lbs-qty-btn { width: 38px; height: 38px; font-size: 18px; }
    .lbs-eq2-sheet-qty .lbs-qty-val { min-width: 34px; font-size: 16px; }
    .lbs-eq2-sheet-sep { height: 1px; background: var(--lbs-border); margin: 14px 0; }
    .lbs-eq2-sheet-recap-bar {
        width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
        border: 1px solid #dbe6f5; background: var(--lbs-b-l);
        border-radius: 12px; padding: 12px 14px; cursor: pointer;
        font-size: 13.5px; font-weight: 700; color: var(--lbs-b); text-align: left;
    }
    .lbs-eq2-sheet-recap-left { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
    .lbs-eq2-sheet-recap-left > i { font-size: 16px; }
    .lbs-eq2-sheet-recap-count {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
        background: var(--lbs-b); color: #fff; font-size: 12px; font-weight: 800;
    }
    .lbs-eq2-sheet-recap-dot { color: #9fb6d6; }
    .lbs-eq2-sheet-recap-panel { margin-top: 12px; }
    .lbs-eq2-sheet-recap-list { display: flex; flex-direction: column; gap: 12px; max-height: 38vh; overflow-y: auto; }
    .lbs-eq2-sheet-recap-total {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lbs-border);
        font-size: 13px; color: var(--lbs-text);
    }
    .lbs-eq2-sheet-recap-total strong { font-size: 17px; font-weight: 800; color: var(--lbs-b); white-space: nowrap; }
    .lbs-eq2-sheet-add {
        width: 100%; margin-top: 14px; border: none; cursor: pointer;
        background: var(--lbs-y); color: #000; border-radius: 12px;
        padding: 15px 16px; font-size: 15px; font-weight: 800;
        display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    }
    .lbs-eq2-sheet-add:hover { background: #f0c518; }
    /* Un peu d'air sous la grille pour que le sheet ne masque pas la dernière ligne. */
    .lbs-eq2-catalog { padding-bottom: 6px; }
}

/* ── Écran Orientation & inclinaison : récapitulatif mobile (bottom sheet) ─────
   Réutilise les classes .lbs-eq2-sheet* / .lbs-eq2-backdrop pour une UX identique
   à l'écran équipements. On masque les cartes récap latérales sur mobile (elles
   sont remplacées par le récap du sheet) et on met en forme les lignes du récap. */
@media (max-width: 760px) {
    #lbs-screen-orientation .lbs-orient-summary-card,
    #lbs-screen-orientation .lbs-incl-summary-card { display: none; }

    .lbs-orient-sheet-recap {
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .lbs-orient-sheet-row {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 14px;
    }
    .lbs-orient-sheet-row + .lbs-orient-sheet-row {
        border-top: 1px solid var(--lbs-border);
        padding-top: 12px;
    }
    .lbs-orient-sheet-k { font-size: 12px; font-weight: 700; color: var(--lbs-muted); }
    .lbs-orient-sheet-v { font-size: 14px; font-weight: 800; color: var(--lbs-b); text-align: right; }
}

@keyframes lbs-eq2-backdrop-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lbs-eq2-sheet-up {
    from { transform: translateY(18px); opacity: .4; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* ── Placeholder équipement (aucune image / SVG manquant) ─────────────────── */
/* Fond gris clair + initiales en blanc, aux dimensions du conteneur. */
.lbs-eq-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 32px;
    min-height: 32px;
    background: #c8cfd8;
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1;
    font-size: 14px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.lbs-eq2-featured-img .lbs-eq-ph { font-size: 22px; border-radius: 14px; }

.lbs-eq2-cart-img    .lbs-eq-ph { font-size: 12px; border-radius: 8px; }

/* ── Skeleton de chargement des vignettes d'équipement ────────────────────────
   Le wrapper occupe la boîte de la vignette ; tant que le SVG n'est pas chargé
   il affiche un dégradé animé (shimmer). À l'onload, la classe .lbs-eq-skel est
   retirée et l'image apparaît. */
.lbs-eq-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.lbs-eq-skel {
    background: linear-gradient(100deg, #eef1f5 30%, #f6f8fa 50%, #eef1f5 70%);
    background-size: 200% 100%;
    animation: lbs-eq-shimmer 1.2s ease-in-out infinite;
}

.lbs-eq2-cart-img .lbs-eq-thumb { border-radius: 8px; }

/* ── Taille (zoom) de chaque vignette d'équipement — CATALOGUE UNIQUEMENT ──────
   Chaque vignette du CATALOGUE peut être agrandie/réduite individuellement, sans
   toucher aux autres ni au panneau « Votre sélection » (le sélecteur cible
   uniquement `.lbs-eq2-product-img img`).

   La classe suit le `code` de l'équipement : .lbs-eq-img--<code>
   Pour AJUSTER un équipement : change la valeur de son scale ci-dessous.
     transform: scale(1)    → taille normale (défaut)
     transform: scale(1.25) → +25 % (agrandit)
     transform: scale(.85)  → −15 % (réduit)

   Codes des équipements camping-car :
     frigo · led · pompe · tel · pc · tv · box · ventil · chauffage · cafe · micro
   ---------------------------------------------------------------------------- */
.lbs-eq2-product-img img.lbs-eq-img--frigo     { transform: scale(1.5); }

.lbs-eq2-product-img img.lbs-eq-img--led       { transform: scale(1); }

.lbs-eq2-product-img img.lbs-eq-img--pompe     { transform: scale(1.15); }

.lbs-eq2-product-img img.lbs-eq-img--tel       { transform: scale(1); }

.lbs-eq2-product-img img.lbs-eq-img--pc        { transform: scale(1.5); }

.lbs-eq2-product-img img.lbs-eq-img--tv        { transform: scale(1.75); }

.lbs-eq2-product-img img.lbs-eq-img--box       { transform: scale(1.15); }

.lbs-eq2-product-img img.lbs-eq-img--ventil    { transform: scale(1.35); }

.lbs-eq2-product-img img.lbs-eq-img--chauffage { transform: scale(1.35); }

.lbs-eq2-product-img img.lbs-eq-img--cafe      { transform: scale(1); }

.lbs-eq2-product-img img.lbs-eq-img--micro     { transform: scale(1.75); }


/* ── Étape Équipements (portée à l'identique du module maison) ──────────── */
/* Libellé d'étape + emplacement du numéro (repris du module maison). */
.lbs-step-label {
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--lbs-b); margin-bottom: 1rem;
}
.lbs-stepnum-slot { font-variant-numeric: tabular-nums; }

/* Placeholder vignette en version « icône » (le module maison n'utilise que
   des initiales ; ici on autorise une icône Tabler centrée). */
.lbs-eq-ph--icon { display: inline-flex; align-items: center; justify-content: center; font-size: 26px; }
.lbs-eq-ph--icon i { line-height: 1; }

/* Curseur d'heures : remplace le sélecteur de quantité −/+ du module maison,
   réutilisé dans la carte détail, le panier et le bottom-sheet. */
.lbs-eq2-hours { display: flex; align-items: center; gap: 12px; width: 100%; }
.lbs-eq2-range {
    flex: 1 1 auto; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px;
    background: #E1E8F2; cursor: pointer; margin: 0;
}
.lbs-eq2-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 3px solid var(--lbs-b); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer;
}
.lbs-eq2-range::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 3px solid var(--lbs-b); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer;
}
.lbs-eq2-hours-val {
    flex: 0 0 auto; min-width: 74px; text-align: right;
    font-size: 13px; font-weight: 700; color: var(--lbs-b);
}
/* Dans le panier, le curseur passe sous le nom (colonne texte). */
.lbs-eq2-cart-text .lbs-eq2-hours { margin-top: 8px; }

/* ── Ligne « équipement personnalisé » (nom + puissance éditables) ──────── */
.lbs-eq2-cart-row--custom { align-items: flex-start; }
.lbs-eq2-cart-img--custom {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lbs-b-l); color: var(--lbs-b); font-size: 20px;
}
.lbs-eq2-custom-name {
    width: 100%; border: 1px solid var(--lbs-border); border-radius: 8px;
    padding: 7px 10px; font-size: 14px; font-weight: 700; color: var(--lbs-text);
    background: #fff; margin-bottom: 8px; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.lbs-eq2-custom-name:focus {
    outline: none; border-color: var(--lbs-b);
    box-shadow: 0 0 0 3px rgba(19,106,205,.12);
}
.lbs-eq2-custom-row { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.lbs-eq2-custom-field {
    display: inline-flex; align-items: center; gap: 5px;
    border: 1px solid var(--lbs-border); border-radius: 8px; padding: 4px 10px; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.lbs-eq2-custom-field:focus-within { border-color: var(--lbs-b); box-shadow: 0 0 0 3px rgba(19,106,205,.12); }
.lbs-eq2-custom-watts {
    width: 62px; border: none; outline: none; background: transparent;
    font-size: 14px; font-weight: 700; color: var(--lbs-text); text-align: right; font-family: inherit;
    -moz-appearance: textfield;
}
.lbs-eq2-custom-watts::-webkit-outer-spin-button,
.lbs-eq2-custom-watts::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lbs-eq2-custom-unit { font-size: 13px; font-weight: 700; color: var(--lbs-muted); }


/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    /* Tablette : au moins 2 cartes par ligne (profil ET véhicule). */
    .lbs-pc-grid { grid-template-columns: 1fr 1fr; max-width: none; }
    .lbs-screen-title { font-size: 1.6rem; }
}
/* Téléphone : 1 carte par ligne (profil ET véhicule). */
@media (max-width: 560px) {
    .lbs-pc-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 720px) {
    /* min-height : le badge (qui donnait sa hauteur au header) est masqué ci-dessous,
       on garantit donc une barre assez haute pour le logo positionné en absolu. */
    .lbs-sim-header { padding: 0.9rem 1rem; min-height: 58px; }
    .lbs-sim-logo { left: 1rem; }
    /* Logo calibré pour la barre mobile (hauteur bornée, largeur proportionnelle). */
    .lbs-sim-logo img { height: 45px; width: auto; max-width: 150px; }
    /* Sur téléphone, on retire visuellement le badge (place réduite) MAIS on le
       garde dans le DOM : c'est le H1 de la page (SEO). Masquage accessible plutôt
       que display:none. */
    .lbs-sim-badge {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }
    .lbs-sim-body { padding: 1.5rem 1.25rem; }
    .lbs-sim-footer { padding: 1rem 1.25rem; }
    .lbs-step-chip .lbs-step-name { display: none !important; }
}