#vehicule .product_sort { display: none; }

#module-gtinovehicle-vehicules .page-content {
    border: none;
    padding: 0px;
}

@media (max-width: 991px) {
    #vehicule #js-product-list-top { display: none; }
}


/* ============================
   GTINO – Vehicle pages (Premium)
============================ */

.vehicle-panel{
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 18px 18px 16px;
}

.vehicle-step{
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee;
}

#module-gtinovehicle-vehicules .step-number{
    background: #d32f2f;
    color: #fff;
    font-weight: 800;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
}

.step-text{ line-height: 1.2; }

.step-title{
    font-weight: 700;
    color: #222;
}

.step-subtitle{
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

.vehicle-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.vehicle-card{
    text-decoration: none;
    color: inherit;
    outline: none;
}

.vehicle-card-inner{
    background: #ebf2ff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 22px 12px 18px;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    position: relative;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.vehicle-card-label{
    font-weight: 700;
    font-size: 16px;
    position: relative;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.vehicle-card-label::before{
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: #d32f2f;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.vehicle-card-cta{
    font-size: 12px;
    color: #898989;
    opacity: .85;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.vehicle-card-cta::after{
    content: "→";
}

.vehicle-card-inner:hover{
    border-color: #dcdcdc;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    transform: translateY(-4px);
    background: #ebf2ff;
}

.vehicle-card:focus-visible .vehicle-card-inner{
    border-color: #d32f2f;
    box-shadow: 0 0 0 4px rgba(211,47,47,0.18);
}

.vehicle-seo-text{
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #eee;
    font-size: 13px;
    color: #666;
}

.progress-step.done .step-icon {
    background: #2e7d32;
    color: #fff;
}

.progress-step.current .step-icon {
    background: #d32f2f;
    color: #fff;
}

.progress-step.upcoming .step-icon {
    background: #e0e0e0;
    color: #777;
}



/* ============================
   Progression véhicule – FIX POSITION (CLEAN)
============================ */

.vehicle-progress.large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

/* ligne horizontale */
.vehicle-progress.large::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e5e5;
    z-index: 0;
}

/* étape */
.vehicle-progress .step {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* cercle */
.vehicle-progress .circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ccc;
    position: relative;
    margin: 0 auto 6px;
}

/* contenu par défaut (numéro) */
.vehicle-progress .circle::before {
    content: attr(data-step);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

/* label */
.vehicle-progress .label-step {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

/* actif */
.vehicle-progress .step.active .circle {
    background: #d32f2f;
}

.vehicle-progress .step.active .label-step {
    color: #d32f2f;
    font-weight: 600;
}

/* done */
.vehicle-progress .step.done .circle {
    background: #2e7d32;
    animation: donePop 0.25s ease-out;
}

.vehicle-progress .step.done .circle::before {
    content: "✓";
    font-size: 18px;
}

.vehicle-progress .step.done .label-step {
    color: #2e7d32;
}

/* animation */
@keyframes donePop {
    0% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

/* responsive */
@media (max-width: 768px) {
    .vehicle-progress.large {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .vehicle-progress.large::before {
        display: none;
    }
}

/* ============================
   CSS pour la recherche dans le parcours véhicule 
============================ */

#module-gtinovehicle-vehicules .gtino-model-search {
    margin-bottom: 25px;
}

.gtino-model-search {
    margin: 20px 0;
}

#model-search-input {
    width: 100%;
    background: #ffffff;
    border: 2px solid #99abca;
    border-radius: 8px;
    padding: 14px 44px 14px 44px;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}


#model-search-input:focus {
    outline: none;
    border-color: #245f97;
    box-shadow: 0 0 0 3px rgba(36, 95, 151, 0.25);
}


.gtino-search-wrapper {
    position: relative;
}

.gtino-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #d32f2f;
    font-size: 18px;
}

.gtino-model-input {
    padding-left: 44px;
}



.model-search-wrapper {
    position: relative;
}

.model-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #000000;
    pointer-events: none;
}

.model-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #d32f2f;
    display: none;
    transition: color 0.2s ease;
}

.model-search-clear:hover {
    color: #b40000;
}


.model-no-result::before {
    content: "ℹ️ ";
}

.model-no-result {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 10px 12px;
    text-align: center;
    color: #b71c1c;
    border: 1px solid #d32f2f;
    border-radius: 6px;
    background: #fff5f5;
}


.model-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-weight: bold;
  font-size: 22px;
  color: #d32f2f;
  display: none;
  transition: color 0.2s;
}

.model-search-clear:hover {
  color: #b40000;
}


/* ============================
   Responsive
============================ */

@media (max-width: 768px){
    .vehicle-panel{ padding: 14px; }
    .vehicle-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    
    .vehicle-progress.large {
        display: none;
    }
}

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





