.option-ref {
    display: block;
    font-size: 11px;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* ======================================================
   STICKY BAR
====================================================== */
#bateau-sticky-bar {
    top: 0;
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    flex-wrap: wrap; /* pour que ça ne déborde pas */
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.bateau-sticky-bg {
    width: 150px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.bateau-sticky-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bateau-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.bateau-prices {
    font-size: 14px;
    color: #333;
}

/*
.step-header {
    position: sticky;
    top: 0;
    z-index: 500;

    background: #fff;
    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 2px solid #eee;

    backdrop-filter: blur(10px);
}*/

/* ======================================================
   STEP INDICATOR
====================================================== */
#form-step-indicator {
    background: #f7f9fc;
    padding: 10px 10px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.step {
    position: relative;
    min-height: 480px;
}

#form-step-indicator .step-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1e2a3a;
}
/* Numéro de step courant */
#current-step {
    font-size: 20px;
    font-weight: 700;
    color: #0b2a4a;
}
#current-step-name {
    font-weight: 400;
    color: #00162c;
    
}

.step-progress {
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 3px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0;
    background: #00162c;
    transition: width 0.3s ease;
}

/* ======================================================
   FORM / STEPS
====================================================== */
.lamaro-form {
    
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

.step {
    display: none;
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    position: relative;
}

.step.active {
    display: block;
}

/* Buttons steps */
.step .nav-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ======================================================
   CARDS (PACKS & MOTORISATIONS)
====================================================== */

.cards {
    display: grid;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
}
.packs-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
}

@media (max-width: 600px) {
    .packs-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Responsive colonnes */
.motors-cards {
    grid-template-columns: repeat(5, 1fr);
}

.motors-cards{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:20px;
}

.motor-group{
grid-column:1/-1;
font-size:24px;
font-weight:700;
margin:40px 0 10px;
}

.motor-power{
grid-column:1/-1;
font-size:18px;
font-weight:600;
margin:20px 0 5px;
}



@media (max-width: 1200px) {
    .motors-cards { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .motors-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .motors-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}


/* Card */
.card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    padding: 18px;
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    min-width: 0;
}

/* Mobile amélioration */
@media (max-width: 600px) {

    .card {
        padding: 12px;
        min-height: 200px; /* forme stable sans forcer carré */
    }

    .motor-img img {
        height: 60px;
        margin-bottom: 4px;
    }

    .motor-nom {
        font-size: 13px;
        line-height: 15px;
        margin: 6px 0;
    }

    .motor-prix {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .motor-tva {
        font-size: 11px;
    }
}



/* Hover */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,22,44,.18);
    border-color: #d0a249;
}

/* Sélection */
.card.selected {
    border: 2px solid #00162c;         /* bleu marine sombre */
    background: linear-gradient(180deg, #f4f8ff, #ffffff); /* dégradé subtil */
    box-shadow: 0 12px 28px rgba(0, 22, 44, 0.18); /* profondeur */
    transform: translateY(-4px);       /* lift léger */
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}
.card.selected::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    
    pointer-events: none;
    animation: glow 1.5s infinite alternate;
}
@keyframes glow {
    from { box-shadow: 0 0 0px rgba(208, 162, 73, 0.2); }
    to { box-shadow: 0 0 8px rgba(208, 162, 73, 0.4); }
}


.pack-nom,
.motor-nom {
 font-size: 1rem;
    line-height: 20px;
    font-weight: 600;
    color: #00162c;
    margin: 10px 0;
    text-transform: uppercase;
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
}

.price,
.motor-prix {
    font-size: 1.4em;
    font-weight: 600;
    color: #d0a249;
    margin-bottom: 20px;
    white-space: nowrap; /* reste sur une ligne */
}

@media (max-width:600px){
    .motor-prix{
        font-size: 1.1em;
    }
}

.tva,
.motor-tva {
    font-size: 13px;
    color: #777;
}

/* Info button */
.info-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: #0675e4;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.info-btn:hover {
    background: #0258ad;
    transform: scale(1.1);
}

.motor-img img {
    height: 130px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* ======================================================
   OPTIONS BATEAU (CHECKBOX)
====================================================== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.option-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.option-card.selected {
    border-color: #00162c;
    background: #f4f8ff;
    box-shadow: 0 6px 15px rgba(0, 22, 44, 0.15);
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
}
#current-step-name-indicator{
     margin-left: 10px;
    padding-left: 10px;
    border-left: 2px solid #d0a249;
    font-size: 15px;
    font-weight: 600;
    color: #0b2a4a;
    white-space: nowrap;
}
.step-progress {
    margin-top: 10px;
    height: 6px;
    background: #e3e8ec;
    border-radius: 10px;
    overflow: hidden;
}
#total-steps {
    font-size: 14px;
    font-weight: 500;
    color: #8a949e;
}
.options-info {
    margin-top: 8px;
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 400;
    border-top: 1px solid #ececec;
    padding-top: 6px;
    line-height: 1.4;
    text-align: left;      /* centrer le texte comme sur mobile */
}

.options-info strong {
    color: #d0a249;
    font-weight: 600;
}

@media (max-width: 768px) {
    .options-info {
        font-size: 11px;
        margin-top: 6px;
        margin-bottom: 30px; /* espace optimisé mobile */
        padding-top: 6px;
        line-height: 1.3;
    }

    .nav-buttons {
        margin-top: 5px;
    }
}

.option-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

input[type="checkbox"] {
    margin-right: 10px !important;
}
.option-name {
    font-size: 13px;
    line-height: 16px;
    word-break: break-word;
    flex: 1 1 auto;
    min-width: 0; /* super important pour éviter le débordement */
}
.step-total{
    font-size: 24px;
    color: #d0a249;
}
.option-price {
    font-weight: 700;
    color: #d0a249;
    white-space: nowrap;   /* jamais retour à la ligne */
    flex: 0 0 110px;       /* largeur FIXE du prix */
    text-align: right;
}
.option-row {
    display: flex;
    flex-wrap: wrap;        /* permet aux options de passer à la ligne si nécessaire */
    gap: 10px;
    align-items: flex-start;
}

/* petit Mobile */
@media (max-width: 575px) {
    .option-content {
        flex-direction: column;   /* empile nom + prix */
        align-items: flex-start;
    }

    .option-price {
        flex: none;
        width: auto;
        text-align: left;
        margin-top: 4px;
    }
}
/* Mobile */
@media (max-width: 768px) {
    .option-content {
        flex-direction: column;   /* empile nom + prix */
        align-items: flex-start;
    }

    .option-price {
        flex: none;
        width: auto;
        text-align: left;
        margin-top: 4px;
    }
}

.packs-table-simple{
    width: 96%;
    
}

/* TABLE GLOBALE */
.packs-table-simple table{
    width:100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13px;
}

/* HEADER */
.packs-table-simple th{
    font-weight:700;
    font-size: 18px;
    padding:4px 2px;
    border-bottom:1px solid #ccc;
    word-wrap: break-word;
}

/* ALIGNER LES COLONNES PACK À DROITE + FIXER 10% */
.packs-table-simple th:not(:first-child),
.packs-table-simple td:not(:first-child){
    width:20%;
    text-align:right;
}

/* OPTIONS (COLONNE 1) */
.packs-table-simple .option-name{
    text-align:left;
    font-size: 14px;
    line-height: 16px;
    white-space:normal;
    max-width:130px;
}

/* CELLULES */
.packs-table-simple td{
    border-bottom:1px solid #eee;
    padding: 3px 2px;
    line-height: 1.1;
    font-size: 15px;
    word-wrap: break-word;
    vertical-align: middle;
}

/* TICK */
.packs-table-simple .tick{
    font-size:12px;
    line-height:1;
}
/* ======================================================
   INPUTS
====================================================== */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ======================================================
   POPUP RECAP
====================================================== */
.lamaro-popup {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.lamaro-popup.active {
    display: flex;
}

.lamaro-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.lamaro-popup-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    padding: 24px;
    border-radius: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #001f3f, #d0a249);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Recap table */
.recap-boat-img {
    width: 100%;
    object-fit: cover;
    margin-bottom: 10px;
}

.recap-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.recap-table th,
.recap-table td {
    border: 1px dashed #333;
    padding: 8px;
    text-align: left;
}

.recap-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.recap-buttons button {
    padding: 8px 12px;
    cursor: pointer;
}

/* ===============================
   AMÉLIORATION POPUP GLOBAL
================================ */

/* Centrage parfait */
.lamaro-popup {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Contenu popup amélioré */
.lamaro-popup-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 850px;   /* un peu plus équilibré que 900px */
    max-height: 85vh;   /* évite trop grand */
    padding: 32px;      /* plus respirant */
    border-radius: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25); /* effet premium */
}

/* Scroll plus fluide */
.lamaro-popup-content::-webkit-scrollbar {
    width: 6px;
}

.lamaro-popup-content::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
}

/* Bouton close amélioré */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #001f3f, #d0a249);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transition: transform .2s ease;
}

.popup-close:hover {
    transform: scale(1.08);
}
/* ======================================================
   HEADER BATEAU (TITRE + PRIX)
====================================================== */

.step-header {
    text-align: center;
    padding: 53px 36px 25px;
}

.step-title {
    font-size: 3em;
    font-weight: 700;
    color: #00162c;
    margin-bottom: 30px;
}

.step-bateau-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a; /* Couleur principale, à ajuster si tu veux */
    margin-bottom: 8px;
    text-align: center; /* Centré au-dessus du titre */
}

.step-bateau-missing {
    color: #ff4d4d; /* Rouge si aucun bateau sélectionné */
}

@media (max-width: 768px) {
    .step-bateau-name {
        font-size: 18px;
    }
}

.step-prices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.1em;
    color: #333;
}

.step-prices .base strong {
    color: #00162c;
}

.step-prices .total strong {
    color: #d0a249;
}

.step-prices .separator {
    color: #999;
}
.step .nav-buttons {
        position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 20;
    }
    .btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    /*display: inline-flex;*/
    align-items: center;
    gap: 6px;
    transition: all .25s ease;
    white-space: nowrap;
}
.btn-back {
    background: #f2f2f2;
    color: #00162c;
    border: 1px solid #ccc;
    height: 38px;
}

.btn-back:hover {
    background: #e6e6e6;
}

/* Suivant */
.btn-next {
    background: #00162c;
    color: #fff;
}

.btn-next:hover {
    background: #003366;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Récap */
.btn-recap {
    background: #d0a249;
    color: #00162c;
    height: 38px;
}

.btn-recap-style{
     background: #d0a249;
    color: #00162c;
    height: 38px;
}
.btn-send{
    height: 38px;
    background-color: #d0a249;
    color: #00162c;
}
.btn-send:hover{
    height: 38px;
    background-color: #00162c;
    color: #fff;
}
.btn-recap:hover {
    background: #b8923c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(208,162,73,.35);
}
.btn-recap-style:hover {
    background: #b8923c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(208,162,73,.35);
}
/* Conteneur texte + logo */
.finance-inner {
    display: flex;
    justify-content: flex-start;  /* texte à gauche */
    align-items: flex-start;
    gap: 15px;
    position: relative;           /* pour positionner le logo */
}

/* Titre sur une seule ligne, un peu plus grand */
.finance-text h3 {
    white-space: nowrap;       /* titre sur une seule ligne */
    overflow: hidden;          
    text-overflow: ellipsis;   
    margin: 0 0 10px 0;
    font-size: 22px;           /* titre plus grand */
}

/* Texte sous le titre */
.finance-text p,
.finance-text ul {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
} 
/* Important : parent en position relative */
.finance-content {
    position: relative;
}


/* Logo positionné dans le coin inférieur droit */
.finance-logo-wrapper {
    position: absolute;         /* positionné par rapport à .finance-inner */
    bottom: 20px;               /* un peu de marge depuis le bas */
    right: 20px;                /* un peu de marge depuis la droite */
}

/* Taille du logo */
.finance-logo {
    width: 80px;                /* logo plus grand */
    height: auto;
}  

/* ===== POPUP MOBILE FIX ===== */
@media (max-width: 768px) {

    .finance-inner {
        flex-direction: column;   /* texte puis logo */
        gap: 20px;
    }

    .finance-logo-wrapper {
        position: static;         /* enlève absolute */
        align-self: flex-end;     /* logo à droite */
        margin-top: 10px;
    }

    .finance-logo {
        width: 60px;              /* un peu plus petit sur mobile */
    }

    .finance-text h3 {
        font-size: 18px;          /* titre adapté mobile */
        white-space: normal;      /* permet retour à la ligne si écran petit */
    }
}
/* ===== MOBILE NAV BUTTONS FIX ===== */
@media (max-width: 768px) {

    .step .nav-buttons {
        position: static;     /* enlève absolute sur mobile */
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;      /* permet retour à la ligne propre */
        gap: 10px;
        justify-content: space-between;
    }

    /* 2 boutons en haut */
    .step .nav-buttons .btn-back,.nav-buttons .btn-recap-style
     {
        width: 48%;           /* même largeur */
    }

    /* bouton envoyer en bas pleine largeur */
    .step .nav-buttons .btn-send,.step .nav-buttons .btn-recap {
        width: 100%;
    }
}

/* Bouton désactivé */
.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* ======================================================
   FORM GRID (STEP 4)
====================================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-top: 20px;
}

/* Champs pleine largeur */
.form-grid textarea,
.form-grid .phone-group,
.form-grid select {
    grid-column: 1 / -1;
}

/* Téléphone */
.phone-group {
    display: flex;
    gap: 10px;
}

/* Inputs */
.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Focus */
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: #d0a249;
    box-shadow: 0 0 0 2px rgba(208,162,73,.2);
}
.moteur-caracteristiques {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.moteur-caracteristiques li {
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 14px;
}
.moteur-galerie {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.moteur-galerie-item {
    flex: 0 0 auto;
    width: 220px;
    border-radius: 8px;
    overflow: hidden;
}

.moteur-galerie img {
    width: 100%;
    height: auto;
    display: block;
}
/* ======================================================
   TABLEAU CARACTÉRISTIQUES MOTEUR – PLEINE LARGEUR
====================================================== */

.moteur-caracteristiques-table {
    width: 100%;
    max-width: 100%;
    border-spacing: 2px;
    margin: 20px 0;
    table-layout: fixed;
}

.moteur-caracteristiques-table td {
    padding: 6px;
    border: 1px solid #d0a249; 
    vertical-align: middle;
    word-wrap: break-word;
    text-align: center;
}

/* Colonne gauche */
.moteur-caracteristiques-table .carac-label {
    background: #00162c;
    color: #ffffff;
    font-weight: 600;
    width : 30% !important;
}

/* Colonne droite */
.moteur-caracteristiques-table .carac-value {
    background: #d0a3494d;
    color: #00162c;
    font-weight: 500;
    width: 70% !important;
}

/* ============================
   RADIO PACK – STYLE ÉLÉGANT
============================ */

/* cacher le radio natif */
.card.radio input[type="radio"] {
  /*position: absolute;*/
  opacity: 0;
  pointer-events: none;
}

/* indicateur radio custom */
.card.radio::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  transition: all 0.25s ease;
}

/* point intérieur */
.card.radio::after {
  content: '';
  position: absolute;
  top: 23px;
  left: 23px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #011b04;
  transform: scale(0);
  transition: transform 0.25s ease;
}

/* état sélectionné */
.card.radio.selected::before {
  border-color: #00162c;
  background: #f8f9fb;
}

.card.radio.selected::after {
  transform: scale(1);
}

/* hover */
.card.radio:hover::before {
  border-color: #d0a249;
}

/* espace pour le radio */
.card.radio {
 /* padding-left: 60px;*/
  cursor: pointer;
}
.bateau-galerie-moteur .bateau-galerie1 .big-image,
.bateau-galerie2 .big-image {
    
    justify-content: center;
    align-items: center;
}

/* IMAGE PRINCIPALE */
.bateau-galerie-moteur .big-image img,
.bateau-galerie2 .big-image, .bateau-galerie1 .big-image {
      
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    object-fit: cover;
}

/* GRILLE DES MINIATURES */
#thumbs-grid-moteur,
#thumbs-grid-g2 {
    margin-top: 10px;
}

/* MINIATURE */
.thumb-item {
    background: #eff3f4;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* IMAGE MINIATURE */
.thumb-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* HOVER PRO */
.thumb-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


.motorisation-galerie .big-image img{
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
}

.motorisation-galerie .thumbs img{
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
}
.options-bateau-columns {
            display:grid;
            grid-template-columns:repeat(4,1fr);
           
        }

        .option-bateau-item {
            display:flex;
            align-items:flex-start;
            gap:8px;
            font-size:16px;
            line-height: 22px;
        }

        .option-bateau-icon {
            color:#0073C8;
            font-size:16px;
            margin-top:3px;
        }

        .option-bateau-text {
            font-size:16px;
        }
.custom-slider-full { position: relative; width: 100%; height: 82vh; overflow: hidden; }
        .custom-slider-full .slide {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        .custom-slider-full .slide.active { opacity: 1; z-index: 2; }

        /* Overlay gradient */
        .custom-slider-full .overlay {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(to right, #001F3F 10%, rgba(0,0,0,0) 100%);
        }

        /* Texte vertical centré et aligné à gauche */
        .custom-slider-full .slide-content {
            position: absolute;
            top: 50%;
            left: 5%;
            transform: translateY(-50%);
            color: white;
            max-width: 40%;
        }
        .custom-slider-full .nom-bateau { font-size: 5rem; margin: 0 0 50px 0; font-family: 'Space Age'; font-weight: 500;}
        .custom-slider-full .signature-bateau { font-family: 'aAutoSignature', cursive; font-size: 2.5rem; margin-bottom: 10px; color:#d0a249; }
        .custom-slider-full .extrait-bateau { font-weight: 600; font-size: 3rem; line-height: 1;}

        .custom-slider-mobile { position: relative; width: 100%; height: 100vh; overflow: hidden; }
        .custom-slider-mobile .slide {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        .custom-slider-mobile .slide.active { opacity: 1; z-index: 2; }

        /* Overlay gradient */
        .custom-slider-mobile .overlay {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(to right, #001F3F 40%, rgba(0,0,0,0) 100%);
        }

        .custom-slider-mobile .slide-content {
            position: absolute;
            top: 50%;
            left: 5%;
            transform: translateY(-50%);
            color: white;
            max-width: 80%;
        }
        .custom-slider-mobile .nom-bateau { font-size: 3rem; margin: 0 0 40px 0; font-family: 'Space Age'; font-weight: 400; }
        .custom-slider-mobile .signature-bateau { font-family: 'aAutoSignature', cursive; font-size: 1.5rem; margin-bottom: 10px; color: #d0a249; }
        .custom-slider-mobile .extrait-bateau { font-weight: 600; font-size: 1rem; }



.ht-label{
    font-size: 0.6em;  /* HT petit */
    font-weight: 400;
}
.ht-label-op{
    font-size: 10px;
}

.bateau-galerie1 .big-image img, .bateau-galerie2 .big-image img{
    
    /*max-width:900px;*/
    border-radius:10px;
    width: 100%;
   
}

.bateau-galerie1 .thumbs-grid, .bateau-galerie2 .thumbs-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-top:20px;
}

.bateau-galerie1 .thumbs-grid img, .bateau-galerie2 .thumbs-grid img{
    
    border-radius:10px;
    cursor:pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.bateau-galerie2 .thumbs-grid a:hover img, .bateau-galerie1 .thumbs-grid a:hover img {
    transform: scale(1.05);
}
.bateau-galerie1 .load-more-wrapper, .bateau-galerie2 .load-more-wrapper{
    text-align:center;
    margin-top:20px;
}

.bateau-galerie1 .btn-load-more, .bateau-galerie2 .btn-load-more{
    padding: 8px;
    background: #d0a249;
    color:#021a38;
    border-radius:6px;
    text-decoration:none;
    transition:.2s;
    font-size: 14px;
    font-weight: 300;
}

.bateau-galerie1 .thumbs-grid a,
.bateau-galerie2 .thumbs-grid a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f3f3;
}

.bateau-galerie1 .btn-load-more:hover{
    background:#08304f;
    color: #fff;
    transform:translateY(-2px);
}
.bateau-galerie2 .btn-load-more:hover{
    background:#08304f;
    color: #fff;
    transform:translateY(-2px);
}
/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width:900px) {
    .options-bateau-columns {
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:600px) {
    .options-bateau-columns {
        grid-template-columns:1fr;
    }
}
@media (max-width: 1024px) {
    .cards {
        gap: 14px;
    }
    .card {
        min-width: 180px;
    }
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* GALERIES MOBILE SEULEMENT */
@media (max-width: 768px) {
    .bateau-galerie1 .thumbs-grid,
    .bateau-galerie2 .thumbs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media(max-width:600px){
    .packs-table-simple table{
        font-size:11px;
    }
    .packs-table-simple th,
    .packs-table-simple td{
        padding:2px 1px;
        font-size:11px;
    }
    .packs-table-simple .option-name{
        max-width:100px;
    }
}
@media (max-width: 768px) {
    .step-header {
        text-align: center;
        padding: 10px 10px 22px;
    }
    #current-step-name{
        font-weight: 600;
    font-size: 20px;
    }
    .step-total{
    font-size:18px;
}

    .cards {
        flex-wrap: wrap;
    }
    .card {
        min-width: 100%;
    }
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .motor-nom, .pack-nom {
        font-size: 1.1em;
    }
    
    .recap-boat-img {
        width: 100%;
    }
    .step-title {
        font-size: 1.6em;
    }

    .step-prices {
        flex-direction: column;
        gap: 6px;
        font-size: 1em;
    }

    .step-prices .separator {
        display: none;
    }
    .step .nav-buttons {
        position: static;
        justify-content: flex-end;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
     .moteur-caracteristiques-table {
        font-size: 13px;
    }

    .moteur-caracteristiques-table td {
        padding: 5px;
        font-size: 13px;
    }
    .thumb-item img {
        height: 85px;
    }

    .bateau-galerie-moteur .big-image,
    .bateau-galerie2, .big-image {
        padding: 10px;
    }
    .bateau-galerie1 .thumbs-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media (max-width: 480px) {

    /* Miniatures encore plus compactes */
    .thumb-item img {
        height: 70px;
    }
}

.motor-specs {
    line-height: 1.8;
    font-size: 15px;
}

.motor-specs strong {
    color: #0b1c2d;
    font-weight: 600;
}
/*filtre moteur*/



.motor-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.motor-filter .filter-item {
    display: flex;
    flex-direction: column;
}
.motor-filter label {
    font-weight: 600;
    margin-bottom: 5px;
}
.motor-filter select {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}


.options-grid {
    overflow: visible !important;
}

.option-card {
    position: relative;
    overflow: visible;
}
/* ===============================
   OPTION CARD
================================ */
.option-card {
    position: relative;
    padding-right: 35px; /* espace pour le bouton i */
}

/* ===============================
   BOUTON INFO PETIT & PROPRE
================================ */
.option-card .info-btn {
    all: unset !important;

    position: absolute !important;
    top: 10px !important;
    right: 10px !important;

    width: 18px !important;
    height: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #1e73be !important;
    color: #fff !important;

    font-size: 10px !important;
    font-weight: bold !important;
    font-family: Arial, sans-serif !important;

    border-radius: 50% !important;
    cursor: pointer !important;

    z-index: 20 !important;

    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;

    box-shadow: none !important;
    transition: 0.2s ease !important;
}

.option-card .info-btn:hover {
    background: #155a96 !important;
    transform: scale(1.08);
}

/* ===============================
   TOOLTIP (caché)
================================ */
.option-tooltip {
    display: none;
}

/* ===============================
   MODAL POPUP
================================ */
.option-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;

    z-index: 9999;
}

.option-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.option-modal-content {
    background: #fff;
    width: 500px;
    max-width: 90%;

    border-radius: 12px;
    padding: 20px;

    position: relative;
    animation: popup 0.25s ease;

    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

@keyframes popup {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===============================
   BOUTON FERMER
================================ */
.close-modal {
    position: absolute;
    top: 10px;
    right: 12px;

    background: linear-gradient(135deg, #c9a86a, #9f7c3f);
    border: none;
    color: #fff;

    width: 28px;
    height: 28px;
    border-radius: 50%;

    cursor: pointer;
    font-size: 16px;
}

/* ===============================
   CONTENU MODAL
================================ */
.option-modal img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.option-modal p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* ===============================
   BARRE FILTRES (LIKE SCREEN)
================================ */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 20px 30px;
    background: #f4f6f9;
    border-radius: 14px;
    margin-bottom: 30px;
}

/* BLOCS */
.filter-box {
    display: flex;
    flex-direction: column;
}

/* TITRES */
.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

/* ===============================
   PUISSANCE (SEGMENT BUTTON)
================================ */
/* ===============================
   PUISSANCE MODERNE (UPGRADE UI)
================================ */
.filter-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ITEM */
.filter-item span {
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;

    background: #f1f5f9;
    border-radius: 999px;

    transition: all 0.3s ease;
}

/* hover */
.filter-item span:hover {
    transform: translateY(-2px);
}

/* active */
.filter-item input:checked + span {
    background: linear-gradient(135deg, #0b2c48, #1e3a5f);
    color: #fff;
    box-shadow: 0 6px 20px rgba(11, 44, 72, 0.3);
}


/* ===============================
   MARQUES (LOGO BUTTONS PRO)
================================ */
.filter-brands {
    display: flex;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.brand-item {
    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s;
    position: relative;
}

/* séparation */
.brand-item:not(:last-child) {
    border-right: 1px solid #d1d5db;
}

.brand-item input {
    display: none;
}

/* LOGO WRAPPER */
.brand-logo {
    position: relative;
    height: 28px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGES */
.brand-logo img {
    height: 28px;
    display: block;
    transition: opacity 0.3s ease;
}

/* LOGO BLANC (caché) */
.logo-white {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%); /* 🔥 centre parfait */
}

/* ===============================
   ACTIVE STATE
================================ */

/* fond bleu */
.brand-item:has(input:checked) {
    background: #0b2c48;
}

/* switch logos */
.brand-item:has(input:checked) .logo-color {
    opacity: 0;
}

.brand-item:has(input:checked) .logo-white {
    opacity: 1;
}
.brand-item:hover {
    transform: scale(1.05);
}

/* ===============================
   ALIGNEMENT GAUCHE / DROITE
================================ */
.filter-box:first-child {
    align-items: flex-start;
}

.filter-box:last-child {
    align-items: flex-start;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .filter-box {
        align-items: center !important;
    }

    
}
@media (max-width: 768px) {

    .filter-brands {
        display: grid !important; /* 🔥 force le changement */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        background: transparent;
    }

    .brand-item {
        width: 100%;
        border-right: none !important;
        border-radius: 10px;
        background: #e5e7eb;
    }

}
/*modification nom du moteur */
.motor-nom {
    display: flex;
    flex-direction: column;
}

.motor-ref {
    display: block;
}

.motor-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* centre tout */
    text-align: center;
}
.motor-card.active {
    border: 2px solid #0b2d48 !important;
}

/* TVA à droite */
.motor-tva {
    width: 100%;
    text-align: right;
}


.option-group-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 30px 0 15px;
    font-weight: 600;
    font-size: 18px;
}

.brand-logo {
    height: 16px !important;;
    width: auto;
    object-fit: contain;
}

.brand-separator {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}


.motor-card.selected {
    border: 2px solid #071d49;
}