/* Linfer Oto - Exact Logo Color Palette & Modern E-Commerce Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Exact Color Palette Extracted from linfer_logo.png */
    --bg-main: #f4f6f8;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #1c1c1c;

    /* Linfer Red & Black */
    --primary: #c81d25;
    --primary-hover: #a8151c;
    --primary-glow: rgba(200, 29, 37, 0.25);
    
    --linfer-black: #1c1c1c;
    --linfer-red: #c81d25;

    --accent-orange: #ff6b00;
    --accent-green: #16a34a;

    --text-primary: #1c1c1c;
    --text-secondary: #4a4a4a;
    --text-muted: #6e6e6e;
    --text-light: #ffffff;

    --border-dark: #e2e8f0;
    --border-strong: #cbd5e1;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-soft: 0 6px 25px rgba(0, 0, 0, 0.07);
    --shadow-glow: 0 4px 20px rgba(200, 29, 37, 0.22);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font-family: inherit;
    outline: none;
    border: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- FLOATING WHATSAPP BUTTON (RESPONSIVE STICKY) --- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: var(--transition);
    animation: pulseWhatsApp 2s infinite;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
    color: #ffffff !important;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (min-width: 992px) {
    .floating-whatsapp-btn {
        bottom: 24px;
        right: 24px;
        width: 62px;
        height: 62px;
        font-size: 36px;
    }
}

/* --- TOP ANNOUNCEMENT BAR (EXACT LINFER BLACK & RED) --- */
.top-bar {
    background: #1c1c1c;
    border-bottom: 2px solid var(--primary);
    padding: 8px 0;
    font-size: 13px;
    color: #d1d5db;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-left span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e5e7eb;
}
.top-bar-left span i {
    color: var(--primary);
}
.top-bar-tagline {
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
}
.top-bar-tagline span.dot {
    color: var(--primary);
    margin: 0 4px;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.top-bar-right a:hover {
    color: var(--primary);
}

/* --- HEADER & NAVIGATION --- */
.site-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--border-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-soft);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 24px;
}
.header-logo-img {
    height: 80px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}
.header-logo-img:hover {
    transform: scale(1.02);
}

/* --- PROMINENT WIDE SEARCH BAR --- */
.header-search-wrapper {
    flex: 1;
    max-width: 680px;
    position: relative;
}
.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    padding: 4px 6px 4px 18px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(200, 29, 37, 0.12);
}
.search-box:focus-within {
    box-shadow: var(--shadow-glow);
}
.search-box i.search-icon {
    color: var(--primary);
    font-size: 20px;
    margin-right: 12px;
}
.search-input {
    width: 100%;
    height: 48px;
    background: transparent;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}
.search-input::placeholder {
    color: var(--text-muted);
}
.search-btn {
    height: 44px;
    padding: 0 26px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.search-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(200, 29, 37, 0.35);
}

/* Search Auto-complete Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 200;
    max-height: 420px;
    overflow-y: auto;
    display: none;
}
.search-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease;
}
.search-results-header {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    background: #f8fafc;
    border-bottom: 1px solid var(--border-dark);
    letter-spacing: 0.5px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-dark);
    transition: var(--transition);
    cursor: pointer;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover {
    background: #fef2f2;
}
.result-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #fff;
    border: 1px solid var(--border-dark);
}
.result-info {
    flex: 1;
}
.result-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.result-meta {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
    margin-top: 2px;
}
.result-meta .oem-tag {
    color: var(--primary);
    font-family: monospace;
    font-weight: 700;
}
.result-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
}

/* --- HEADER ACTION BUTTONS --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.header-btn:hover {
    border-color: var(--primary);
    background: #fef2f2;
    color: var(--primary);
}
.header-btn i {
    font-size: 18px;
    color: var(--primary);
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(200, 29, 37, 0.4);
}

/* --- MAIN HERO & VEHICLE WIZARD SECTION --- */
.hero-section {
    position: relative;
    padding: 30px 0 45px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-dark);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}

/* Vehicle Selector Card */
.vehicle-wizard-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}
.vehicle-wizard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}
.wizard-header {
    margin-bottom: 20px;
}
.wizard-title {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1c1c1c;
}
.wizard-title i {
    color: var(--primary);
}
.wizard-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.selector-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 576px) {
    .selector-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}
.custom-select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    background: #f8fafc;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81d25' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}
.custom-select:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(200, 29, 37, 0.15);
}
.wizard-submit-btn {
    grid-column: 1 / -1;
    height: 52px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 6px;
}
.wizard-submit-btn:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.quick-brands-bar {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-dark);
}
.quick-brands-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 10px;
}
.brand-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.brand-pill {
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.brand-pill:hover, .brand-pill.active {
    border-color: var(--primary);
    color: var(--primary);
    background: #fef2f2;
}

.hero-banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-soft);
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}
.hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,28,28,0.2) 0%, rgba(28,28,28,0.92) 100%);
    z-index: 2;
}
.hero-banner-content {
    position: relative;
    z-index: 3;
}
.hero-banner-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.hero-banner-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}
.hero-banner-desc {
    color: #e5e7eb;
    font-size: 14px;
    margin-top: 8px;
}

/* --- CATEGORIES SECTION --- */
.section-padding {
    padding: 40px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1c1c1c;
}
.section-title i {
    color: var(--primary);
}
.section-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.section-link:hover {
    gap: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.category-card {
    background: #ffffff;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
    background: #ffffff;
}
.cat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fef2f2;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: var(--transition);
}
.category-card:hover .cat-icon-wrapper {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}
.cat-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}
.cat-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- PRODUCTS GRID SECTION --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.product-card {
    background: #ffffff;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.badge-discount {
    background: var(--primary);
    color: #fff;
}

.product-img-wrapper {
    width: 100%;
    height: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}
.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}
.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-details {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-brand {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0 8px 0;
    line-height: 1.3;
}
.product-oem {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: monospace;
    margin-bottom: 10px;
}
.product-compatibility {
    font-size: 11px;
    color: var(--accent-green);
    background: #f0fdf4;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    border: 1px solid #bbf7d0;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-dark);
}
.product-price-box {
    display: flex;
    flex-direction: column;
}
.old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.current-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.add-to-cart-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.add-to-cart-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(200, 29, 37, 0.3);
}

/* --- RICH PRODUCT DETAIL MODAL STYLES (ALOPARÇA STYLE PAGE) --- */
.product-detail-modal-card {
    max-width: 920px !important;
    padding: 32px !important;
}
.detail-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 30px;
}
@media (min-width: 768px) {
    .detail-header-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
}
.detail-image-box {
    background: #ffffff;
    border: 1.5px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 280px;
}
.detail-main-img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
}
.detail-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.detail-category {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.detail-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    color: #1c1c1c;
    margin: 6px 0;
}
.detail-oem-code {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.detail-cargo-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.detail-cargo-banner i {
    font-size: 18px;
}
.detail-price-wrapper {
    background: #f8fafc;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
    margin-bottom: 20px;
}
.detail-old-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.detail-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.detail-current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}
.kdv-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
}
.discount-pill {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.detail-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 52px;
}
.qty-selector button {
    width: 40px;
    height: 100%;
    background: #f8fafc;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
}
.qty-selector input {
    width: 45px;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
}
.detail-add-cart-btn {
    flex: 1;
    height: 52px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}
.detail-add-cart-btn:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-glow);
}

/* DETAIL TABS */
.detail-tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-dark);
    margin-bottom: 20px;
    overflow-x: auto;
}
.tab-btn {
    padding: 12px 20px;
    background: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-content-panel {
    display: none;
}
.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* RICH DESCRIPTION STYLES */
.rich-product-desc h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1c1c1c;
}
.rich-product-desc p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.desc-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}
.highlight-box {
    background: #f8fafc;
    border: 1px solid var(--border-dark);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.highlight-box i {
    color: var(--primary);

}

/* COMPATIBLE VEHICLES TABLE */
.compatible-vehicles-container h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 14px;
}
.vehicles-table, .specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.vehicles-table th {
    background: #1c1c1c;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 800;
}
.vehicles-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-dark);
}
.vehicles-table tr:nth-child(even) {
    background: #f8fafc;
}
.specs-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-dark);
}
.spec-label {
    font-weight: 800;
    color: var(--text-secondary);
    width: 40%;
    background: #f8fafc;
}
.spec-val {
    font-weight: 600;
    color: var(--text-primary);
}

/* --- MOBILE SEARCH & MOBILE BOTTOM NAV --- */
.mobile-search-container {
    display: none;
}
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 2px solid var(--primary);
    height: 64px;
    z-index: 990;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
}
.mobile-nav-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 100%;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
}
.mobile-nav-item i {
    font-size: 20px;
}
.mobile-nav-item.active {
    color: var(--primary);
}

@media (max-width: 991px) {
    .header-search-wrapper {
        display: none;
    }
    .mobile-search-container {
        display: block;
        padding: 12px 16px;
        background: #ffffff;
        border-bottom: 1px solid var(--border-dark);
    }
    .mobile-bottom-nav {
        display: block;
    }
}

/* --- FOOTER (LINFER BLACK & LOGO) --- */
.site-footer {
    background: #1c1c1c;
    border-top: 4px solid var(--primary);
    padding: 50px 0 30px 0;
    color: #9e9e9e;
    font-size: 14px;
}
.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--border-dark);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.payment-icons {
    display: flex;
    gap: 12px;
    font-size: 24px;
    color: #d1d5db;
}

/* Modal Drawer Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 28, 0.78);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}
.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
}
.modal-close-btn:hover {
    color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
