/* /assets/css/vehicle.css */

/* 1. GLOBAL & RESET */
body {
    background-color: #f8fafc; /* Ultra light blue-gray */
    color: #1e293b;
    padding-bottom: 80px; /* Space for sticky footer */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 92%;
    position: relative;
}

/* BREADCRUMB */
.breadcrumb-strip { padding: 20px 0; font-size: 13px; color: #64748b; }
.breadcrumb-strip a { text-decoration: none; color: #64748b; transition: 0.2s; }
.breadcrumb-strip a:hover { color: #ef4236; }
.breadcrumb-strip span { color: #0f172a; font-weight: 600; margin-left: 5px; }


/* 2. PRODUCT CARD (Hero) */
.prod-hero-section { margin-bottom: 40px; }

.prod-card-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

/* LEFT: GALLERY */
.main-img-box {
    background: #f1f5f9;
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}
.main-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; }

.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumb {
    height: 70px; border: 1px solid #e2e8f0; border-radius: 8px;
    cursor: pointer; padding: 5px; display: flex; align-items: center; justify-content: center;
}
.thumb.active { border-color: #ef4236; background: #fff1f0; }
.thumb img { max-width: 100%; max-height: 100%; }


/* RIGHT: INFO */
.info-col { display: flex; flex-direction: column; justify-content: center; }

.brand-pill {
    display: inline-block;
    background: #f1f5f9; color: #475569;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    padding: 5px 10px; border-radius: 20px; margin-bottom: 15px; width: fit-content;
}

.prod-title {
    font-size: 36px; font-weight: 800; color: #0f172a;
    line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px;
}

/* Price Block */
.price-block { margin-bottom: 30px; border-bottom: 1px solid #f1f5f9; padding-bottom: 20px; }
.price-val { font-size: 32px; font-weight: 800; color: #ef4236; }
.price-lbl { font-size: 13px; color: #64748b; margin-top: 5px; }

/* Specs Strip */
.specs-strip {
    display: flex; gap: 15px; margin-bottom: 30px;
    background: #f8fafc; padding: 15px; border-radius: 12px;
}
.spec-box {
    flex: 1; text-align: center;
    border-right: 1px solid #e2e8f0;
}
.spec-box:last-child { border-right: none; }
.spec-box i { font-size: 22px; color: #0f172a; margin-bottom: 5px; display: block; }
.spec-box span { font-weight: 700; font-size: 15px; color: #0f172a; display: block; }
.spec-box small { font-size: 11px; color: #64748b; text-transform: uppercase; font-weight: 600; }

/* EMI / Action */
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-primary {
    background: #0f172a; color: white; border: none; padding: 15px;
    border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer;
    text-align: center; text-decoration: none; display: block;
}
.btn-primary:hover { background: #ef4236; }

.btn-outline {
    background: white; color: #0f172a; border: 2px solid #e2e8f0; padding: 13px;
    border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer;
    text-align: center; text-decoration: none; display: block;
}
.btn-outline:hover { border-color: #0f172a; }


/* 3. DETAILS GRID (Lower Section) */
.details-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

.card-box {
    background: white; border-radius: 16px; padding: 30px;
    border: 1px solid #e2e8f0; margin-bottom: 30px;
}
.card-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; }

/* Table Styling */
.data-table { width: 100%; border-collapse: collapse; }
.data-table tr { border-bottom: 1px solid #f1f5f9; }
.data-table tr:last-child { border-bottom: none; }
.data-table th { text-align: left; padding: 12px 0; color: #64748b; width: 40%; font-weight: 500; }
.data-table td { text-align: left; padding: 12px 0; color: #0f172a; font-weight: 600; }

/* Comparison Table */
.compare-table { width: 100%; text-align: center; }
.compare-table th { background: #f8fafc; padding: 10px; font-size: 12px; text-transform: uppercase; }
.compare-table td { padding: 15px; border-bottom: 1px solid #f1f5f9; font-weight: 600; }
.winner { color: #16a34a; } /* Green for winning stats */

/* Sticky Form (Desktop Sidebar) */
.sticky-form { position: sticky; top: 20px; }
.form-input {
    width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px;
    margin-bottom: 15px; font-family: inherit;
}
.btn-submit { width: 100%; background: #ef4236; color: white; padding: 14px; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }


/* 4. MOBILE STICKY FOOTER */
.mobile-footer {
    display: none; /* Hidden on Desktop */
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: white; padding: 12px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); z-index: 999;
    justify-content: space-between; align-items: center;
}
.mf-price span { display: block; font-size: 10px; color: #64748b; text-transform: uppercase; }
.mf-price strong { font-size: 18px; color: #0f172a; }
.mf-btn { background: #ef4236; color: white; padding: 10px 25px; border-radius: 8px; font-weight: 700; text-decoration: none; }


/* 5. MOBILE RESPONSIVE TWEAKS */
@media (max-width: 900px) {
    .prod-card-wrapper { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .main-img-box { height: 250px; }
    .details-layout { grid-template-columns: 1fr; }
    .sticky-form { position: static; margin-bottom: 40px; }
    .prod-title { font-size: 28px; }
    .mobile-footer { display: flex; } /* Show on Mobile */
    
    /* Hide desktop action buttons on mobile since we have footer */
    .action-grid { display: none; } 
    
    /* Stack Specs Strip on very small screens */
    .specs-strip { flex-wrap: wrap; }
    .spec-box { min-width: 30%; border: none; }
}