/* --- BASE WRAPPER --- */
.fleet-gallery-title { flex: 0 0 100%; width: 100%; font-size: 1.75rem; font-weight: 800; margin: 0 0 30px 0; color: #1e272e; letter-spacing: -0.02em; }
.fleet-wrapper { display: flex; flex-wrap: wrap; max-width: 1400px; margin: 40px auto; gap: 0; align-items: flex-start; position: relative; font-family: sans-serif; }
.fleet-main { flex: 1; min-width: 0; background: #fbfbfb; padding: 30px; border-radius: 16px; position: relative; }

/* --- THE VIEWPORT (Critical Fix) --- */
.fleet-viewport { width: 100%; overflow: hidden; position: relative; }

/* --- SHARED CARD STYLES --- */
.index-card-base { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); z-index: 10; }
.index-list { list-style: none !important; padding: 0 !important; margin: 0 0 20px 0 !important; padding: 0 0 15px !important; border-bottom: 1px solid #f1f1f1; }
.index-list li { margin-bottom: 10px; display: flex; align-items: center; font-size: 0.9rem; font-weight: 600; color: #444; }
.index-list li::before { content: '✓'; color: #25D366; font-weight: 900; margin-right: 12px; }
.index-wa-support { display: flex; align-items: center; gap: 10px; text-decoration: none !important; padding: 12px; background: #f4f7f6; border-radius: 12px; font-size: 0.85rem; font-weight: 700; }
.wa-icon { background: #25D366; color: white; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 14px; font-weight: bold; font-style: normal; }

/* --- VEHICLE CARDS --- */
.vehicle-card { background: #fff; border: 1px solid #eee; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; position: relative; height: 100%; }
.price-badge { position: absolute; top: 12px; right: 12px; background: #1e272e; color: #fff; padding: 5px 12px; border-radius: 8px; font-weight: 800; font-size: 0.8rem; z-index: 5; }
.image-box { height: 220px; background: #eee; }
.image-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.model-name { font-size: 1.2rem; font-weight: 800; margin: 0 0 12px 0; }
.specs-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.cta-group { width: 100%; display: flex; flex-wrap: wrap; margin-bottom: 20px; }
.spec-pill { background: #f1f3f5 !important; padding: 4px 12px !important; border-radius: 20px !important; font-size: 0.75rem !important; font-weight: 600 !important; border: 1px solid #e9ecef !important; }
.btn-book { display: block !important; width: 100% !important; background: #1e272e !important; color: #fff !important; text-align: center !important; padding: 14px !important; border-radius: 12px !important; text-decoration: none !important; font-weight: 700 !important; }

/* --- DESKTOP GRID --- */
@media (min-width: 769px) {
	.index-sidebar { flex: 0 0 260px; position: sticky; top: 100px; margin-right: -20px; display: block !important; }
	.index-sidebar::after { content: ''; position: absolute; background: #fff; border: 1px solid #eee; width: 16px; height: 16px; transform: rotate(45deg); right: -8px; top: 40px; border-bottom: 0; border-left: 0; }
	.fleet-row { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; transform: none !important; }
	.mobile-index-header, .nav-btn, .fleet-dots { display: none !important; }
}

/* --- MOBILE CAROUSEL --- */
@media (max-width: 768px) {
	.fleet-gallery-title { font-size: 1.4rem; padding: 0 15px; margin-bottom: 20px; }
	.fleet-wrapper, 
    .fleet-main {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .fleet-viewport {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        position: relative !important;
        display: block !important;
    }
	.index-sidebar { display: none !important; }
	.mobile-index-header { display: block !important; margin-bottom: 25px; }
	.fleet-main { padding: 10px 0 !important; width: 100% !important; background: transparent; }
	.fleet-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        transition: transform 0.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) !important;
        width: auto !important;
        padding: 0 0 15px 15px !important; /* Visual padding for the first card */
    }
	.vehicle-card { /* 75% of viewport width */flex: 0 0 75vw !important; min-width: 75vw !important; margin-right: 15px !important; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
	.image-box { height: 200px; }
	.nav-btn { display: flex !important; position: absolute; top: 95%; width: 40px; height: 40px; background: #fff; border-radius: 50%; z-index: 10; border: 1px solid #eee; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto; }
	.nav-btn.prev { left: 10%; }
	.nav-btn.next { right: 10%; }
	.fleet-dots { display: flex !important; justify-content: center; gap: 8px; margin-top: 20px; }
	.dot { width: 8px; height: 8px; background: #ccc; border-radius: 50%; transition: 0.3s; }
	.dot.active { background: #1e272e; width: 20px; border-radius: 10px; }
}