/* ==========================================================
   Welcome store
========================================================== */
.catalog-welcome{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:120px;
    background:rgba(255,255,255,0.55);
    backdrop-filter:blur(4px);
    z-index:5000;
}

.catalog-welcome-box{
    position: relative;
    overflow:hidden;
    width:min(1100px,92vw);
    min-height:560px;
    background:#fff;
    border-radius:24px;
    padding:30px;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
}

.welcome-close{
    
    
    
}
.title-welcome {
    position: relative;
}

#catalogWelcomeClose {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    opacity: 1;
    border-radius: 50%;
    padding: 6px;
}
@media (max-width:991px){
    .catalog-welcome{
        padding-top:10px;
    }

    .catalog-welcome-box{
        width:95vw;
        padding:20px;
    }
}
.catalog-welcome{
    display:none;
}

.catalog-welcome.open{
    display:flex;
} 
.welcome-step-2{
    display:none;
}
    .welcomeCategories{
      padding-top: 50px;  
    }
    .welcome-step{
        text-align: center;
    }  
     .welcome-step .filter-group{
        padding-top: 60px; padding-left: 30px; padding-right: 30px;
    } 
    @media (max-width:991.98px){
        .welcome-step .filter-group{
        padding-top: 60px; padding-left: 30px; padding-right: 30px;
    }  
        .welcomeCategories{
          padding-top: 0px;  
        }    
    }
.title-welcome h2{
	font-size: 18px;
	font-weight: 600;
}
/* ==========================================================
  ToolBar Store
========================================================== */

.catalog-toolbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    margin-bottom: 25px;
    background:#FFFFFF;
    top: 105px;
}

.catalog-toolbar-top{
    display:flex;
    align-items:flex-end;
    gap:16px;
    flex-wrap:wrap;
}


.filter-box{
    min-width:140px;
    flex:1;
}

.filter-box select{
    height:35px;
    border-radius:14px;
}

.btn-filter{
    height:34px;
    border-radius:12px;
    padding:0 24px;
    white-space:nowrap;
}

.btn-results{
    height:34px;
    border-radius:14px;
    min-width:210px;
    font-weight:600;
    white-space:nowrap;
}

.order-box{
    max-width:220px;
}

.catalog-toolbar-bottom{
    margin-top:18px;
    display:flex;
    justify-content:space-around;
    align-items:center;
    gap:20px;
    padding:18px;
    border:1px solid #edf0f5;
    border-radius:16px;
    background:#f8fbff;
}

.service-item{
    font-size:.9rem;
    color:#1f4ea3;
    font-weight:500;
}

@media(max-width:991px){
.catalog-toolbar-top{
    display:grid;
    grid-template-columns:1fr;
}

.btn-filter,
.btn-results{
    width:100%;
}
.order-box{
    max-width:none;
}

.catalog-toolbar-bottom{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

}

.catalog-sidebar{
    position:sticky;
    top:170px;
}

.sidebar-card{
   
    background:#fff;
    border:1px solid #eceff3;
    border-radius:18px;
    padding:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    display:flex;
    flex-direction:column;
}

.sidebar-actions{
    margin-top:auto;
    padding-top:25px;
}
.sidebar-divider{
    margin:18px 0 12px;
    border:0;
    border-top:1px solid #e9ecef;
}

.sidebar-results{
    text-align:center;
    font-size:.90rem;
    color:#6c757d;
}

.sidebar-results strong{
    color:#2d3436;
    font-weight:700;
}
.sidebar-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.sidebar-header h5{
    margin:0;
    font-weight:700;
}

.sidebar-header a{
    text-decoration:none;
    font-size:.9rem;
}

.filter-group{
    margin-bottom:28px;
}

.filter-group h6{
    font-size:1rem;
    font-weight:600;
    margin-bottom:14px;
    color:#2d3436;
}

.filter-group select{
    height:35px;
    border-radius:12px;
}

.form-check{
    margin-bottom:10px;
}

.sidebar-btn{
    width:100%;
    height:54px;
    border-radius:14px;
    margin-top:10px;
}

.catalog-results{
    width:100%;
}

.quick-drawer{
    position:fixed;
    top:50px;
    left:0;
    right:0;
    z-index:999;
    background:#eaf4ff;
    border-bottom:1px solid #cfe2ff;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}
	.catalog-pagination{
    margin-top:20px;
    margin-bottom:40px;
    padding-top:13px;
	padding-right: 20px;
    background:#eaf4ff;
    border-radius:16px;
    border-bottom:1px solid #cfe2ff;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

/* ==========================================================
   Range Slider
========================================================== */

.catalog-slider{
    margin:15px 6px 5px;
}

.catalog-slider.noUi-target{
    height:6px;
    border:none;
    border-radius:20px;
    background:#e5e7eb;
    box-shadow:none;
}

.catalog-slider .noUi-connect{
    background:#45b8b3;
}

.catalog-slider .noUi-handle{
    width:20px;
    height:20px;
    top:-7px;
    right:-10px;
    border-radius:50%;
    background:#fff;
    border:2px solid #45b8b3;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    cursor:pointer;
}

.catalog-slider .noUi-handle:before,
.catalog-slider .noUi-handle:after{
    display:none;
}

.catalog-slider .noUi-handle:hover{
    transform:scale(1.08);
}

.catalog-slider .noUi-handle{
    transition:.20s;
}

.range-values{
    display:flex;
    justify-content:space-between;
    margin-bottom:14px;
}

.range-badge{
    padding:5px 10px;
    font-size:.80rem;
    font-weight:600;
    border-radius:8px;
    border:1px solid #d9dee3;
    background:#f8f9fa;
    color:#495057;
    min-width:72px;
    text-align:center;
}
.catalog-select{
    position:relative;
}

.catalog-select-clear{
    position:absolute;
    top:50%;
    right:34px;
    transform:translateY(-50%);
   opacity: 0;
    padding:0;
    border:0;
    background:none;
    color:#adb5bd;
    cursor:pointer;
    transition:.2s;
    z-index:5;
}

.catalog-select-clear:hover{
    color:#dc3545;
}
.catalog-select.has-value .catalog-select-clear{

    opacity:1;

    pointer-events:auto;

}
.catalog-page{
    margin-top:110px;
    padding-left:40px;
    padding-right:40px;

}

@media (max-width:991.98px){

.catalog-page{
     margin-top:30px;
    padding-left:8px;
    padding-right:8px;

}

}
/* ==========================================
   TOOLBAR MOBILE
========================================== */

.catalog-toolbar-mobile{
        display: flex;
    gap: 0;
    padding: 15px;
    background: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 900;
    border-bottom: 1px solid #edf0f5;
    border-radius: 25px 25px 0px 0px;
}

.mobile-filter-button{
    flex:1;
    height:44px;
    border-radius:14px 0 0 14px;
    position:relative;
}

.mobile-results-button{
    flex:1;
    height:44px;
    border-radius:0 14px 14px 0;
    font-size:13px;
    font-weight:300;
}

.catalog-filter-badge{
    position:absolute;
    top:6px;
    right:8px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:20px;
    background:#dc3545;
    color:#fff;
    font-size:11px;
    font-weight:700;
    display:none;
    align-items:center;
    justify-content:center;
}

/* ==========================================
   CATEGORIE
========================================== */

.catalog-categories-collapse{
    margin-top:11px;
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
}

.catalog-categories-collapse.open{
    max-height:500px;
}

.catalog-category-BlankSpace{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
}

.catalog-category-BlankSpace.open{
    min-height:150px;
}

.catalog-categories-bar{
    background:#fff;
    border:1px solid #eceff3;
    border-radius:18px;
    overflow:hidden;
    box-shadow:
        0 8px 24px rgba(0,0,0,.08),
        0 2px 6px rgba(0,0,0,.04);
}

.catalog-categories-grid{
    display:flex;
    justify-content:center;
    gap:24px;
    overflow-x:auto;
    flex-wrap: wrap;
}

.catalog-categories-grid::-webkit-scrollbar{
    display:none;
}

.catalog-category-card{
    flex:0 0 150px;
    text-align:center;
    cursor:pointer;
    transition:.25s;
}

.catalog-category-card:hover{
    transform:translateY(-3px);
}

.catalog-category-image{
    width:100%;
    height:85px;
    object-fit:contain;
    user-select:none;
    pointer-events:none;
}

.catalog-category-title{
    display:block;
    margin-top:2px;
    font-size:15px;
    font-weight:600;
    color:#444;
    margin-top: -10px;
}


/* ==========================================
   PULSANTE CATEGORIA
========================================== */

.catalog-category-select{
    position:relative;
    display:flex;
    align-items:center;
}

.catalog-category-toggle{
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 161px;
    height: 38px;
    padding: 0 6px 0 6px;
    border: 1px solid rgba(83, 81, 81, 1);
    border-radius: 12px;
    font-size:14px;
    color:rgba(83,81,81,1);
}

.catalog-category-label{
    flex:1;
    overflow:hidden;
    white-space:nowrap;
    text-align:left;
    text-overflow:ellipsis;
}

.catalog-category-toggle .chevron{
    transition:.3s;
}

.catalog-category-toggle.open .chevron{
    transform:rotate(180deg);
}


.catalog-category-select.has-value .chevron{
    display:none;
    
}
.catalog-category-toggle{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:170px;
    height:38px;
    padding:0 12px;
    border:1px solid rgba(83,81,81,1);
    border-radius:12px;
    font-size:14px;
    color:rgba(83,81,81,1);
}

.catalog-category-label{
    flex:1;
    text-align:left;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.catalog-category-toggle .chevron{
    transition:.25s;
}

.catalog-category-toggle .clear-icon{
    display:none;
    font-size:16px;
    color:#adb5bd;
}

.catalog-category-select.has-value .clear-icon{
    display:block;
}

.catalog-category-select.has-value .chevron{
  display:none;
}

/* ==========================================
   Card Veicoli
========================================== */
.vehicle-card{
    background:#fff;
    border:1px solid #e8edf2;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition:.25s;
    height:100%;
    cursor: pointer;
}

.vehicle-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.vehicle-image{
    width:100%;
    height:220px;
    object-fit:cover;
}
.vehicle-image-wrapper{
    position:relative;
}
.vehicle-body{
    padding:18px;
}
	
.vehicle-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    color:#666;
    font-size:13px;
    margin-bottom:20px;
}

.vehicle-bottom{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:18px;
}

.vehicle-price{
    font-size:26px;
    font-weight:700;
    color:#111;
}

.vehicle-saving{
    background:#ebfaee;
    color:#2d9d46;
    border-radius:10px;
    padding:10px 12px;
    text-align:center;
    min-width:120px;
}

.vehicle-saving strong{
    display:block;
    font-size:15px;
}

.vehicle-saving small{
   font-size:12px;
}

.vehicle-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #ececec;
    padding-top:15px;

}

.vehicle-footer a{
    text-decoration:none;
    font-weight:600;
}

.vehicle-title{
    font-size:17px;
    font-weight:700;
    line-height:1.35;
    min-height:48px;
}

.vehicle-body{
    padding:18px;
}
.vehicle-favorite{
    position:absolute;
    top:14px;
    right:14px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    font-size:20px;
    cursor:pointer;
}
.vehicle-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    color:#6d7278;
    font-size:13px;
    margin-bottom:18px;
}
@media (max-width:991.98px){

.vehicle-image{

    height:180px;
    object-fit:cover;

}


.vehicle-body{

    padding:14px;

}

.vehicle-title-big{

    font-size:16px;
    line-height:1.25;
    min-height:auto;
    margin-bottom:8px;
    font-weight: 600 !important;

}

.vehicle-meta{

    font-size:12px;
    gap:6px;
    margin-bottom:12px;

}

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

.vehicle-bottom{

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

}

.vehicle-price{

    font-size:28px;
    line-height:1;

}

.vehicle-saving{

    padding:6px 10px;
    min-width:auto;

}

.vehicle-saving small:last-child{

    display:none;

}

.vehicle-saving small{

    font-size:11px;

}

.vehicle-saving strong{

    font-size:14px;

}

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

.vehicle-footer{

    padding-top:12px;

}

.vehicle-footer a{

    font-weight:700;

}

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

.vehicle-favorite{

    width:38px;
    height:38px;

    top:10px;
    right:10px;

    font-size:18px;

}

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

.catalog-main{

    overflow:hidden;

}

.catalog-main .row{

    margin-left:0;
    margin-right:0;

}

.catalog-main [class*="col-"]{

    padding-left:2px;
    padding-right:2px;

}

}
/* ==========================================
   Reparto Finanziaria
========================================== */
#financeCanvas{
    width:480px;
    max-width:100%;
}

.finance-price-card{
    background:#f8f9fa;
    border:1px solid #ececec;
    border-radius:18px;
    padding:20px;
    text-align:center;
}

.finance-price-value{
    font-size:2.3rem;
    font-weight:700;
    color:var(--bs-primary);
}

.finance-months{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.finance-months .btn{
    border-radius:10px;
}

.finance-result-hero{
    text-align:center;
    margin-bottom:30px;
}

.finance-result-price{
    font-size:3rem;
    font-weight:700;
    color:var(--bs-primary);
    line-height:1;
}

.finance-result-month{
    margin-top:8px;
    color:#6c757d;
}