
.vehicle-page{
    margin-top: 68px;
}
/* ==========================================================
   Hero
========================================================== */
.vehicle-hero{
    padding:25px 0 30px;
}
.vehicle-hero-container{
    display:grid;
    grid-template-columns:minmax(0,720px) minmax(360px,420px);
    justify-content:space-between;
    gap:24px;
    align-items:start;
}
.vehicle-gallery{
    width:100%;
    min-width:0;
}
.vehicle-summary{
    position:sticky;
    top:100px;
}
@media (max-width:992px){
    .vehicle-hero{
        padding:25px 0;
    }
    .vehicle-hero-container{
        grid-template-columns:1fr;
        gap:24px;
    }
    .vehicle-summary{
        position:relative;
        top:auto;
   }
}
/* ==========================================================
   Summary
========================================================== */
.vehicle-summary-card{
    background:#fff;
    border-radius:18px;
    padding:32px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}
.vehicle-badges{
    display:flex;
    gap:10px;
    margin-bottom:18px;
    flex-wrap:wrap;
}
.vehicle-badge{
    margin-bottom:14px;
    background:#eef4ff;
    color:#1e5eff;
    font-size:.80rem;
    font-weight:600;
    padding:6px 12px;
    border-radius:999px;
}
.vehicle-badge-finance{
    background:#e8fff1;
    color:#148a47;
}
.vehicle-title{
    font-weight:700;
    line-height:1.2;
    font-size:2.1rem;
    margin-bottom:4px;
}
.vehicle-subtitle{
    color:#666;
    margin-bottom:18px;
}
.vehicle-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    color:#666;
    font-size:.95rem;
    margin-bottom:18px;
}
.vehicle-price-box{
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    padding:0px 0;
    margin-bottom:18px;
}
.vehicle-price-big{
    font-size:2.4rem;
    font-weight:700;
    color:var(--bs-primary);
}
.vehicle-saving{
    color:#1f8b4c;
    font-weight:600;
    margin-top:8px;
}
.vehicle-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.vehicle-btn{
    height:35px;
    border-radius:12px;
    border:1px solid #ddd;
    background:#fff;
    font-weight:600;
    transition:.25s;
    cursor:pointer;
}
.vehicle-btn:hover{
    border-color:#1e5eff;
}
.vehicle-btn-primary{
    background:#1e5eff;
    color:#fff;
    border:none;
}

.vehicle-btn-primary:hover{
    background:#1549c9;
}

.vehicle-favorite-box{
    margin-top:24px;
    text-align:center;
    font-weight:600;
    color:#666;
}

/* ==========================================================
   Gallery
========================================================== */

.vehicle-gallery-card{
    display:flex;
    flex-direction:column;
    gap:10px;
    /* max-width: 750px; */
}

.vehicle-gallery-main{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    background:#f5f5f5;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
    max-height:520px;
}
.vehicle-gallery-image{
     height:470px;
    display:block;
    width:100%;
    aspect-ratio:16/8.5;
    object-fit:cover;
}

.vehicle-gallery-counter{
    position:absolute;
    right:20px;
    bottom:20px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:30px;
    background:rgba(0,0,0,.65);
    color:#fff;
    font-size:.90rem;
    backdrop-filter:blur(6px);
}
.vehicle-gallery-thumbs{
  display:flex;
    gap:12px;
    overflow-x:auto;
    padding-bottom:4px;
}
.vehicle-gallery-thumbs::-webkit-scrollbar{
    height:6px;
}

.vehicle-gallery-thumbs::-webkit-scrollbar-thumb{
    background:#d5d5d5;
    border-radius:10px;
}
.vehicle-thumb{
    flex:0 0 110px;
    border-radius:12px;
    overflow:hidden;
    cursor:pointer;
    border:2px solid transparent;
    transition:.25s;
}

.vehicle-thumb.active{
    border-color:#1e5eff;
}

.vehicle-thumb:hover{
    border-color:#1e5eff;
}

.vehicle-thumb img{
    display:block;
    width:100%;
    height:75px;
    object-fit:cover;
}

/* ==========================================================
   Specs
========================================================== */

.vehicle-specs{
    margin: 3px 0 3px;
}
.vehicle-specs-bar{
    background:#fff;
    border-radius:18px;
    padding:5px;
    display:grid;
    grid-template-columns:repeat(9,1fr);
    gap:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}
.vehicle-spec{
    text-align:center;
    padding:12px 8px;
}
.vehicle-spec i{
    display:block;
    font-size:1.5rem;
    color:#2d5ea8;
    margin-bottom:3px;
}
.vehicle-spec strong{
    display:block;
    font-size:0.7rem;
    margin-bottom:-3px;
    color:#222;
}
.vehicle-spec span{
    display:block;
    font-size:.80rem;
    color:#777;
}
/* ==========================================================
   Specs-mobile
========================================================== */

.vehicle-specs-mobile{
    margin: 3px 0 3px;
}
.vehicle-specs-bar-mobile{
    background:#fff;
    border-radius:18px;
    padding:5px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:8px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}
.vehicle-spec-mobile{
    text-align:center;
    padding:3px 8px;
}
.vehicle-spec-mobile i{
    display:block;
    font-size:1.2rem;
    color:#2d5ea8;
    margin-bottom:3px;
}
.vehicle-spec-mobile strong{
    display:block;
    font-size:0.6rem;
    margin-bottom:-3px;
    color:#222;
}
.vehicle-spec-mobile span{
    display:block;
    font-size:.80rem;
    color:#777;
}

/* ==========================================================
   Content
========================================================== */

.vehicle-description{
    margin-bottom:50px;
}

.vehicle-content-grid{
    display:grid;
    grid-template-columns:35% 40% 25%;
    gap:24px;
    align-items:start;
}

.vehicle-description-card,
.vehicle-accessories-card,
.vehicle-services-card{
    background:#fff;
    border-radius:18px;
    padding:28px;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.vehicle-section-title{
    font-size:1rem;
    font-weight:700;
    margin-bottom:10px;
}

.vehicle-description-card p{
    color:#555;
    font-size:0.8rem;
    line-height:1.8;
    margin-bottom:18px;
}

.vehicle-services-list{
    font-size:0.8rem;
}
.vehicle-accessories-list{
    font-size:0.8rem;
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    grid-template-columns:repeat(2,1fr);
}
.vehicle-accessories-more{
    margin-top:3px;
    padding-top:3px;
    border-top:1px solid #efefef;
    text-align:center;
}

.vehicle-more-link{
    font-size:0.8rem;
    display:inline-flex;
    align-items:center;
    gap:6px;
    text-decoration:none;
    font-weight:600;
    color:#2d5ea8;
    transition:.25s;
}

.vehicle-more-link:hover{
    color:#1549c9;
}

.vehicle-more-link i{
    font-size:1.2rem;
}
/* ==========================================================
   Lightbox
========================================================== */

.vehicle-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}
.vehicle-lightbox.active{
    display:flex;
}

.vehicle-lightbox-image{
    max-width:92vw;
    max-height:90vh;
    object-fit:contain;
    border-radius:10px;
}

.vehicle-lightbox-close{
    position:absolute;
    top:25px;
    right:25px;
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-size:1.2rem;
    cursor:pointer;
}

.vehicle-lightbox-prev,
.vehicle-lightbox-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#fff;
    cursor:pointer;
}

.vehicle-lightbox-prev{
    left:25px;
}

.vehicle-lightbox-next{
    right:25px;
}

.vehicle-lightbox-counter{
    position:absolute;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    color:#fff;
    font-weight:600;
    background:rgba(255,255,255,.15);
    padding:8px 18px;
    border-radius:30px;
}

.vehicle-gallery-image{
    cursor:zoom-in;
}
/* ==========================================
   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:1.5rem;
    font-weight:700;
    color:var(--bs-primary);
}

.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{

    font-size:16px;
    line-height:1.25;
    min-height:auto;
    margin-bottom:8px;

}


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

.vehicle-bottom{

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

}

.vehicle-price{
    font-size:22px;
    line-height:1;
}
.vehicle-price-big{
    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: 6px;
        right: 5px;
        ont-size: 18px;
        position: absolute;
        z-index: 1;

}

}
@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;
}

@media (max-width: 991.98px) {
    .vehicle-gallery-main {
      border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;   
    }
    .vehicle-gallery-image{
        width:100%;
        height:27vh;
        max-height:420px;
        object-fit: cover;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .vehicle-gallery-counter {
    right: 4px;
    bottom: 4px;
    font-size: 0.6rem;
    }
    .nomobile{
        display: none;
    }
    #herocontainer{
        padding: 0 !important
            
    }
    .vehicle-summary-card {
    padding: 1px;
    }
    .vehicle-summary-card .vehicle-title-big{
      margin-bottom: 0 !important;
      margin-top: -15px !important;    
    }
    .vehicle-meta {
        font-size: 12px;
        gap: 10px;
        margin-bottom: 10px;
        margin-top: -10px;
}
.vehicle-price-box
 {
		display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
}
	.vehicle-saving{
	font-size: 12px;
		max-width: 50%;
	}
}	
/*==================================================
=            MOBILE ACTION BUTTONS
==================================================*/

.vehicle-actions-mobile{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:6px;
    margin-top:10px;
    margin-bottom:10px;
}

.vehicle-btn{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:5px;
    height:38px;
    border-radius:999px;
    font-size:12px;
    font-weight:400;
    text-decoration:none;
    transition:.25s;
    box-shadow:0 8px 18px rgba(0,0,0,.10);
}

.vehicle-btn i{
    font-size:22px;
}

/*==============================
=            Finance
==============================*/

.vehicle-btn-finance{
    width: 30%;
    background:#2f68b8;
    color:#fff;
}

.vehicle-btn-finance:hover{
    background:#2558a0;
    color:#fff;
}

/*==============================
=            WhatsApp
==============================*/

.vehicle-btn-whatsapp{
width: 30%;
    background:#25D366;
    color:#fff;

}

.vehicle-btn-whatsapp:hover{

    background:#1fb958;
    color:#fff;

}

/*==============================
=            Video
==============================*/

.vehicle-btn-video{
width: 30%;
    background:#CCC588;

    color:#444;

    border:1px solid #e6e6e6;

}

.vehicle-btn-video:hover{

    background:#f7f7f7;

    color:#222;

}

/*==============================
=            Hover
==============================*/

.vehicle-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(0,0,0,.15);

}