/* Vehicle Detail Page - Elegant Modern Design */

.vehicle-detail-page-wrapper {
    background: #fafafa !important;
    min-height: 100vh !important;
}

/* Main Section */
.vehicle-detail-main-section {
    padding: 2rem 0 3rem !important;
}

/* Info Card - Clean Layout */
.vehicle-detail-info-card {
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 2rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.vehicle-detail-header {
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.vehicle-detail-year {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #9b0013 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 0.5rem !important;
}

.vehicle-detail-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
}

.vehicle-detail-subtitle {
    font-size: 1.1rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* Pricing Section - Clean Design */
.vehicle-detail-pricing-section {
    background: #f8f9fa !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    margin-bottom: 1.5rem !important;
    border: 2px solid #e8eaed !important;
}

.vehicle-detail-pricing-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #2c3e50 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
}

.vehicle-detail-pricing-title i {
    color: #9b0013 !important;
    margin-right: 0.5rem !important;
}

.vehicle-detail-pricing-grid {
    display: grid !important;
    gap: 0.75rem !important;
}

.vehicle-detail-pricing-item {
    background: #ffffff !important;
    padding: 0.875rem 1rem !important;
    border-radius: 6px !important;
    border: 1px solid #e8eaed !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.vehicle-detail-pricing-label {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
}

.vehicle-detail-pricing-value {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #9b0013 !important;
}

.vehicle-detail-pricing-subsection {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #e8eaed !important;
}

.vehicle-detail-pricing-subsection-title {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #2c3e50 !important;
    margin-bottom: 0.75rem !important;
}

.vehicle-detail-pricing-note {
    font-size: 0.75rem !important;
    color: #6c757d !important;
    margin-top: 0.25rem !important;
}

/* Specs Grid - Compact */
.vehicle-detail-specs-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.vehicle-detail-spec-item {
    background: #f8f9fa !important;
    padding: 0.75rem 1rem !important;
    border-radius: 6px !important;
    border-left: 3px solid #9b0013 !important;
}

.vehicle-detail-spec-label {
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #6c757d !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

.vehicle-detail-spec-value {
    font-size: 0.9rem !important;
    color: #1a202c !important;
    font-weight: 600 !important;
}

/* VIN Section - Minimal */
.vehicle-detail-vin-section {
    background: #2c3e50 !important;
    padding: 1rem 1.25rem !important;
    border-radius: 6px !important;
    margin-bottom: 1.5rem !important;
}

.vehicle-detail-vin-label {
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

.vehicle-detail-vin-value {
    font-size: 0.9rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-family: 'Courier New', monospace !important;
    letter-spacing: 0.5px !important;
}

/* Description - Clean */
.vehicle-detail-description-section {
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #f0f0f0 !important;
}

.vehicle-detail_description-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 1rem !important;
}

.vehicle-detail_description-text {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #4a5568 !important;
}

/* Sidebar - Compact */
.vehicle-detail-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.vehicle-detail-actions-card,
.vehicle-detail-contact-card {
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.vehicle-detail-actions-title,
.vehicle-detail-contact-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 1rem !important;
}

.vehicle-detail-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.vehicle-detail-btn-primary,
.vehicle-detail-btn-secondary {
    padding: 0.75rem 1.5rem !important;
    border-radius: 6px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.vehicle-detail-btn-primary {
    background: #9b0013 !important;
    color: white !important;
    border: none !important;
}

.vehicle-detail-btn-primary:hover {
    background: #c41e3a !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

.vehicle-detail-btn-secondary {
    background: #ffffff !important;
    color: #9b0013 !important;
    border: 2px solid #9b0013 !important;
}

.vehicle-detail-btn-secondary:hover {
    background: #9b0013 !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

/* Contact Info - Clean */
.vehicle-detail-contact-item {
    font-size: 0.9rem !important;
    color: #4a5568 !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.vehicle-detail-contact-item:last-child {
    margin-bottom: 0 !important;
}

.vehicle-detail-contact-item a {
    color: #9b0013 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.vehicle-detail-contact-item a:hover {
    color: #c41e3a !important;
    text-decoration: underline !important;
}

.vehicle-detail-contact-item i {
    color: #9b0013 !important;
    width: 18px !important;
    text-align: center !important;
}

/* Back Button - Minimal */
.vehicle-detail-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.65rem 1.25rem !important;
    background: #ffffff !important;
    color: #6c757d !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
}

.vehicle-detail-back-btn:hover {
    background: #f8f9fa !important;
    border-color: #9b0013 !important;
    color: #9b0013 !important;
}

.vehicle-detail-image-placeholder {
    width: 100% !important;
    height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #d0d0d0 !important;
    font-size: 4rem !important;
    background: #f5f5f5 !important;
}

/* Responsive */
@media (max-width: 1199px) {
    .vehicle-detail-specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .vehicle-detail-main-section {
        padding: 80px 0 2.5rem !important;
    }
    
    .vehicle-detail-info-card {
        padding: 1.75rem !important;
    }
    
    .vehicle-detail-header {
        margin-bottom: 1.75rem !important;
        padding-bottom: 1.25rem !important;
    }
    
    .vehicle-detail-title {
        font-size: 1.6rem !important;
    }
    
    .vehicle-detail-subtitle {
        font-size: 1.05rem !important;
    }
    
    .vehicle-detail-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
    }
    
    .vehicle-detail-sidebar {
        margin-top: 1.5rem !important;
    }
}

/* Mobile Landscape and Small Tablets (576px - 767px) */
@media (max-width: 767px) {
    .vehicle-detail-main-section {
        padding: 70px 0 2rem !important;
    }
    
    .vehicle-detail-info-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .vehicle-detail-header {
        margin-bottom: 1.5rem !important;
        padding-bottom: 1rem !important;
    }
    
    .vehicle-detail-year {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.65rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .vehicle-detail-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.35rem !important;
    }
    
    .vehicle-detail-subtitle {
        font-size: 1rem !important;
    }
    
    .vehicle-detail-specs-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .vehicle-detail-spec-item {
        padding: 0.65rem 0.85rem !important;
    }
    
    .vehicle-detail-spec-label {
        font-size: 0.65rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .vehicle-detail-spec-value {
        font-size: 0.85rem !important;
    }
    
    .vehicle-detail-vin-section {
        padding: 0.85rem 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .vehicle-detail-vin-label {
        font-size: 0.65rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .vehicle-detail-vin-value {
        font-size: 0.85rem !important;
        letter-spacing: 0.3px !important;
    }
    
    .vehicle-detail_description-title {
        font-size: 1rem !important;
        margin-bottom: 0.85rem !important;
    }
    
    .vehicle-detail_description-text {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .vehicle-detail-sidebar {
        margin-top: 1.25rem !important;
        gap: 0.85rem !important;
    }
    
    .vehicle-detail-actions-card,
    .vehicle-detail-contact-card {
        padding: 1.25rem !important;
    }
    
    .vehicle-detail_actions-title,
    .vehicle-detail_contact-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.85rem !important;
    }
    
    .vehicle-detail-actions {
        gap: 0.65rem !important;
    }
    
    .vehicle-detail-btn-primary,
    .vehicle-detail-btn_secondary {
        padding: 0.65rem 1.25rem !important;
        font-size: 0.8rem !important;
    }
    
    .vehicle-detail-contact-item {
        font-size: 0.85rem !important;
        margin-bottom: 0.65rem !important;
    }
    
    .vehicle-detail-contact-item i {
        width: 16px !important;
        font-size: 0.85rem !important;
    }
    
    .vehicle-detail-back-btn {
        padding: 0.65rem 1.15rem !important;
        font-size: 0.8rem !important;
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 1rem !important;
    }
}

/* Small Mobile Devices (400px - 575px) */
@media (max-width: 575px) {
    .vehicle-detail-info-card {
        padding: 1.25rem !important;
    }
    
    .vehicle-detail-title {
        font-size: 1.35rem !important;
    }
    
    .vehicle-detail-subtitle {
        font-size: 0.95rem !important;
    }
    
    .vehicle-detail-actions-card,
    .vehicle-detail-contact-card {
        padding: 1.15rem !important;
    }
    
    .vehicle-detail-btn-primary,
    .vehicle-detail-btn-secondary {
        padding: 0.6rem 1.15rem !important;
        font-size: 0.75rem !important;
    }
}

/* Extra Small Mobile Devices (below 400px) */
@media (max-width: 399px) {
    .vehicle-detail-info-card {
        padding: 1.15rem !important;
    }
    
    .vehicle-detail-header {
        margin-bottom: 1.25rem !important;
        padding-bottom: 0.85rem !important;
    }
    
    .vehicle-detail-title {
        font-size: 1.25rem !important;
    }
    
    .vehicle-detail-subtitle {
        font-size: 0.9rem !important;
    }
    
    .vehicle-detail-spec-item {
        padding: 0.6rem 0.75rem !important;
    }
    
    .vehicle-detail-vin-section {
        padding: 0.75rem 0.9rem !important;
    }
    
    .vehicle-detail-description-title {
        font-size: 0.95rem !important;
    }
    
    .vehicle-detail_description-text {
        font-size: 0.85rem !important;
    }
    
    .vehicle-detail-actions-card,
    .vehicle-detail-contact-card {
        padding: 1rem !important;
    }
    
    .vehicle-detail-actions-title,
    .vehicle-detail_contact-title {
        font-size: 0.85rem !important;
    }
    
    .vehicle-detail-btn-primary,
    .vehicle-detail-btn-secondary {
        padding: 0.55rem 1rem !important;
        font-size: 0.7rem !important;
    }
    
    .vehicle-detail-contact-item {
        font-size: 0.8rem !important;
    }
    
    .vehicle-detail-back-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.75rem !important;
    }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
    .vehicle-detail-info-card {
        padding: 2.25rem !important;
    }
    
    .vehicle-detail-title {
        font-size: 2rem !important;
    }
    
    .vehicle-detail-subtitle {
        font-size: 1.25rem !important;
    }
}

/* Print Styles */
@media print {
    .vehicle-detail-breadcrumb-section,
    .vehicle-detail-actions-card,
    .vehicle-detail-contact-card,
    .vehicle-detail-back-btn {
        display: none !important;
    }
    
    .vehicle-detail-main-section {
        padding: 1rem 0 !important;
    }
    
    .vehicle-detail-info-card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
}
