/* ============================================
   US Engine Production - enginestransmission.com
   Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #c41e1e;
    --primary-dark: #9a1515;
    --secondary: #1a1a2e;
    --accent: #e94560;
    --dark: #0f0f1a;
    --dark-lighter: #1a1a2e;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #555;
    --gray-500: #777;
    --gray-400: #999;
    --gray-300: #ccc;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-left a {
    color: var(--white);
    font-weight: 500;
}

.top-bar-left a:hover {
    color: var(--accent);
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right span {
    color: var(--gray-300);
}

.top-bar-right i {
    color: var(--primary);
    margin-right: 5px;
}

/* Main Header */
.main-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 55px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.main-nav ul li a {
    padding: 10px 16px;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary);
    background: rgba(196, 30, 30, 0.05);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    min-width: 220px;
    display: none;
    z-index: 100;
    flex-direction: column;
}

.has-dropdown:hover .dropdown {
    display: flex;
}

.dropdown li a {
    padding: 8px 20px;
    display: block;
    white-space: nowrap;
}

.dropdown li a:hover {
    background: var(--gray-100);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-phone {
    background: var(--success);
    color: var(--white);
}

.btn-phone:hover {
    background: #218838;
    color: var(--white);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-engine.webp') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 30, 30, 0.2);
    border: 1px solid var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray-300);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 5px;
}

/* Search Box */
.search-section {
    background: var(--gray-100);
    padding: 40px 0;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.1);
}

.search-box button {
    padding: 14px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Section Styles */
.section {
    padding: 70px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-gray {
    background: var(--gray-100);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.section-dark .section-title h2 {
    color: var(--white);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.category-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: var(--gray-800);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card-body h3 a {
    color: var(--gray-900);
}

.product-card-body h3 a:hover {
    color: var(--primary);
}

.product-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.product-meta span {
    font-size: 0.8rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

.product-price .call-price {
    font-size: 0.95rem;
    color: var(--success);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    position: relative;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.process-step .step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* VIN Decoder */
.vin-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 60px 0;
    color: var(--white);
}

.vin-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.vin-form h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.vin-form p {
    color: var(--gray-400);
    margin-bottom: 25px;
}

.vin-input-group {
    display: flex;
    gap: 10px;
}

.vin-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vin-input-group input::placeholder {
    color: var(--gray-400);
    letter-spacing: 1px;
    text-transform: none;
}

.vin-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    height: 200px;
    background: var(--gray-200);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-body .blog-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body h3 a {
    color: var(--gray-900);
}

.blog-card-body h3 a:hover {
    color: var(--primary);
}

.blog-card-body p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.cta-actions .btn:hover {
    background: var(--dark);
    color: var(--white);
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact a,
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-contact i {
    color: var(--primary);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-badges span {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer-badges i {
    color: var(--primary);
    margin-right: 5px;
}

.prop65 {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prop65 a {
    color: var(--gray-400);
}

.copyright {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.copyright a {
    color: var(--gray-400);
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    padding: 50px 0;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gray-400);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--gray-500);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
}

.pagination a {
    background: var(--gray-100);
    color: var(--gray-700);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 80px 20px 20px;
        transition: var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li a {
        padding: 12px 16px;
        display: block;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .has-dropdown:hover .dropdown {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-actions .btn span {
        display: none;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .vin-input-group {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stat-item .stat-number {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }

/* ============================================
   Page Content Styles (FAQ, Terms, Privacy, Core Return)
   ============================================ */
.page-content {
    padding: 60px 0;
}

.page-content h1 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.page-content .last-updated {
    color: var(--gray-500);
    margin-bottom: 30px;
}

.content-block {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-200);
}

.content-block:last-of-type {
    border-bottom: none;
}

.content-block h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.content-block h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    margin-top: 20px;
}

.content-block p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-block ul, .content-block ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.content-block li {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 8px;
}

.check-list {
    list-style: none;
    margin-left: 0 !important;
}

.check-list li {
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.info-table th, .info-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.info-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--secondary);
}

.info-table tr:hover td {
    background: var(--gray-100);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.step-card {
    background: var(--gray-100);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.step-card h3 {
    margin-top: 0;
    color: var(--secondary);
}

.step-card p {
    font-size: 0.9rem;
}

/* CTA Section in pages */
.page-content .cta-section {
    background: var(--secondary);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 40px;
}

.page-content .cta-section h2 {
    color: white;
}

.page-content .cta-section p {
    color: rgba(255,255,255,0.8);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* FAQ Styles */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px;
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 10px;
}

.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.faq-answer li {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 5px;
}

/* Responsive for page content */
@media (max-width: 768px) {
    .page-content {
        padding: 40px 0;
    }
    
    .page-content h1 {
        font-size: 1.8rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .page-content .cta-section {
        padding: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table th, .info-table td {
        padding: 8px 10px;
    }
}


/* ============================================
   Product Detail Page Styles
   ============================================ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.product-trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
}

.product-specs-table {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.product-specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs-table td {
    padding: 8px 0;
}

.product-specs-table td:first-child {
    font-weight: 600;
    width: 40%;
}

/* Breadcrumb responsive */
.breadcrumb {
    flex-wrap: wrap;
    word-break: break-word;
}

/* ============================================
   Mobile Responsive - Product Detail
   ============================================ */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-detail-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
        margin: 15px 0;
    }
    
    .product-detail-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-detail-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 20px;
    }
    
    .product-trust-badges {
        gap: 12px;
    }
    
    .product-specs-table {
        padding: 15px;
        margin: 15px 0;
    }
    
    .product-specs-table td:first-child {
        width: 45%;
        font-size: 0.85rem;
    }
    
    .product-specs-table td {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .page-header {
        padding: 20px 0 !important;
    }
    
    .page-header h1 {
        font-size: 1.4rem;
    }
    
    /* Header mobile fix */
    .header-actions {
        gap: 8px;
    }
    
    .header-actions .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    /* Product grid on category/engines pages */
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .product-card-body h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .product-card-body .product-price {
        font-size: 0.9rem;
    }
    
    /* Section spacing */
    .section {
        padding: 30px 0;
    }
    
    /* Category grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    /* VIN Decoder */
    .vin-result {
        overflow-x: auto;
    }
    
    /* Footer */
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .product-detail-title {
        font-size: 1.2rem;
    }
    
    .product-detail-price {
        font-size: 1.3rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .top-bar .container {
        justify-content: center;
    }
    
    .top-bar-left {
        gap: 10px;
        font-size: 0.75rem;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Hero section */
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-item .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-item .stat-label {
        font-size: 0.7rem;
    }
}
