
:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --secondary: #FF6D00;
    --success: #22C55E;
    --danger: #EF4444;
    --warning: #F59E0B;
    --text: #1a1a1a;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --bg: #F9FAFB;
    --top-bar-bg: #0D47A1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --container: 1280px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
body { font-family: "Cairo", "Inter", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
.main-content { min-height: 60vh; }

.top-bar { background: var(--top-bar-bg); color: rgba(255,255,255,0.9); font-size: 13px; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.top-link:hover { color: #fff; }
.top-link i { font-size: 12px; }
.lang-switcher { border-inline-start: 1px solid rgba(255,255,255,0.2); padding-inline-start: 20px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.main-bar { background: #fff; padding: 16px 0; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.main-bar-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.logo-text { font-size: 22px; font-weight: 800; }
.logo-text strong { color: var(--primary); }
.search-box { flex: 1; max-width: 640px; }
.search-form { display: flex; align-items: center; background: var(--bg); border: 2px solid var(--border); border-radius: 50px; padding: 4px 4px 4px 16px; }
body.is-rtl .search-form { padding: 4px 16px 4px 4px; }
.search-form:focus-within { border-color: var(--primary); }
.search-icon { color: var(--text-light); font-size: 14px; }
.search-input { flex: 1; border: none; outline: none; background: transparent; padding: 10px 12px; font-size: 14px; }
.search-btn { background: var(--primary); color: #fff; padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 14px; }
.user-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.action-btn { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--bg); font-size: 16px; transition: all 0.2s; position: relative; }
.action-btn:hover { background: var(--primary); color: #fff; }
.action-btn-text { width: auto; padding: 0 16px; gap: 8px; font-weight: 600; font-size: 14px; }
.user-dropdown { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 50px; background: var(--bg); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.user-name { font-weight: 600; font-size: 14px; }
.dropdown-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px; opacity: 0; visibility: hidden; z-index: 200; }
.dropdown-menu.show { opacity: 1; visibility: visible; }
.dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.dropdown-menu a i { width: 18px; color: var(--primary); }
.mobile-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bg); font-size: 18px; }
.badge { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--danger); color: #fff; min-width: 18px; height: 18px; border-radius: 9px; font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 5px; font-weight: 700; }
.nav-bar { background: #fff; border-top: 1px solid var(--border); box-shadow: var(--shadow-sm); position: sticky; top: 76px; z-index: 99; }
.nav-bar-inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--text-light); white-space: nowrap; border-bottom: 3px solid transparent; }
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-link-highlight { color: var(--secondary); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 14px; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.flash { position: fixed; top: 20px; inset-inline-end: 20px; background: #fff; padding: 14px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; z-index: 9999; max-width: 400px; }
.flash-success { border-inline-start: 4px solid var(--success); }
.flash-error { border-inline-start: 4px solid var(--danger); }
.flash-close { color: var(--text-light); padding: 4px; }
.hero { background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); padding: 80px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: 48px; font-weight: 800; line-height: 1.2; color: #0D47A1; margin-bottom: 20px; }
.hero-subtitle { font-size: 18px; color: #37474F; margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-illustration { text-align: center; font-size: 200px; color: var(--primary); opacity: 0.15; }
.stats-section { margin-top: -40px; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fff; padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stat-card { display: flex; align-items: center; gap: 16px; padding: 16px; border-inline-end: 1px solid var(--border); }
.stat-card:last-child { border-inline-end: none; }
.stat-card i { font-size: 32px; color: var(--primary); width: 50px; height: 50px; background: #E3F2FD; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-card strong { display: block; font-size: 24px; }
.stat-card span { font-size: 13px; color: var(--text-light); }
.section { padding: 70px 0; }
.section-alt { background: #fff; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.section-header h2 { font-size: 26px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.section-header h2 i { color: var(--primary); }
.view-all { color: var(--primary); font-weight: 600; font-size: 14px; }
.page-header { background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); padding: 40px 0; }
.page-header h1 { font-size: 32px; font-weight: 800; color: #0D47A1; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.page-header h1 i { color: var(--primary); }
.page-header p { color: #37474F; font-size: 15px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #546E7A; margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.results-count { color: var(--text-light); font-size: 14px; margin-bottom: 20px; font-weight: 600; }

.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brand-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 12px; text-align: center; transition: all 0.25s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.brand-logo { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-initial { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.brand-card span { font-weight: 600; font-size: 14px; }
.brand-card small { font-size: 11px; color: var(--text-light); }
.grid-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.model-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; transition: all 0.25s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.model-icon { width: 80px; height: 80px; border-radius: 20px; background: linear-gradient(135deg, #E3F2FD, #BBDEFB); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.model-card h3 { font-size: 16px; font-weight: 700; }
.model-brand { font-size: 12px; color: var(--text-light); font-weight: 600; }
.model-year { display: inline-block; background: #E3F2FD; color: var(--primary); padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.grid-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.part-card, .part-card-static { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; gap: 16px; align-items: flex-start; transition: all 0.25s; }
.part-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.part-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #E3F2FD, #BBDEFB); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.part-info { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.part-cat { font-size: 11px; color: var(--text-light); font-weight: 700; text-transform: uppercase; }
.part-info h3 { font-size: 14px; font-weight: 700; line-height: 1.4; }
.part-quality { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; align-self: flex-start; }
.quality-original { background: #DCFCE7; color: #166534; }
.quality-high_copy { background: #DBEAFE; color: #1E40AF; }
.quality-copy { background: #FEF3C7; color: #92400E; }
.quality-refurbished { background: #F3E8FF; color: #6B21A8; }
.price { color: var(--success); font-weight: 700; }
.grid-vendors { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.vendor-card { background: #fff; border-radius: 16px; overflow: hidden; transition: all 0.25s; border: 1px solid var(--border); display: block; }
.vendor-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); border-color: var(--primary); }
.vendor-cover { height: 100px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); position: relative; padding: 20px; }
.vendor-avatar { position: absolute; bottom: -25px; inset-inline-start: 20px; width: 60px; height: 60px; border-radius: 16px; background: #fff; border: 4px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--primary); }
.vendor-info { padding: 36px 20px 20px; }
.vendor-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.vendor-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); }
.vendor-meta i { color: var(--primary); margin-inline-end: 4px; }
.vendor-rating i { color: #FBBF24; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-light); }
.empty-state i { font-size: 60px; color: #CBD5E1; margin-bottom: 16px; display: block; }
.empty { text-align: center; color: var(--text-light); padding: 40px; grid-column: 1 / -1; }

.compat-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }
.compat-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compat-table thead { background: #F1F5F9; }
.compat-table th { padding: 14px 16px; text-align: start; font-size: 13px; font-weight: 700; color: var(--text-light); text-transform: uppercase; }
.compat-table td { padding: 14px 16px; border-top: 1px solid var(--border); font-size: 14px; }
.compat-table tbody tr:hover { background: #F8FAFC; }
.compat-form-wrap { max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-row, .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 700; font-size: 14px; }
.form-select, .form-input { padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: inherit; background: #fff; outline: none; width: 100%; }
.form-select:focus, .form-input:focus { border-color: var(--primary); }
.filter-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.filter-select, .filter-input { padding: 12px 18px; border: 2px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 14px; outline: none; }
.filter-input { flex: 1; min-width: 250px; }
.detail-section { background: #fff; padding: 24px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 20px; }
.detail-section h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.detail-section h3 i { color: var(--primary); }
.detail-list { list-style: none; }
.detail-list li { padding: 10px 0; border-bottom: 1px solid #F8FAFC; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; }
.detail-list li strong { color: var(--text-light); }
.specs-list { list-style: none; margin-bottom: 30px; }
.specs-list li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.specs-list li strong { color: var(--text-light); }

.auth-page { min-height: calc(100vh - 200px); background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); padding: 60px 20px; display: flex; align-items: center; justify-content: center; }
.auth-container { width: 100%; max-width: 520px; }
.auth-card-wide { max-width: 700px; }
.auth-card { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 20px 60px rgba(13,71,161,0.15); }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-icon { width: 70px; height: 70px; border-radius: 20px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.auth-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-header p { color: var(--text-light); font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-footer { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-light); }
.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { cursor: pointer; position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-content { background: #F8FAFC; border: 2px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.radio-card input:checked + .radio-content { border-color: var(--primary); background: #E3F2FD; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.hint-text { font-size: 12px; color: var(--text-light); }
.link-primary { color: var(--primary); font-weight: 700; }
.link-small { font-size: 13px; color: var(--primary); font-weight: 600; }
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; }
.profile-card { background: #fff; border-radius: 16px; padding: 30px; box-shadow: var(--shadow); text-align: center; height: fit-content; position: sticky; top: 100px; }
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 40px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.profile-role { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.role-admin { background: #FEF3C7; color: #92400E; }
.role-vendor { background: #DBEAFE; color: #1E40AF; }
.role-client { background: #DCFCE7; color: #166534; }
.profile-info { list-style: none; text-align: start; padding-top: 20px; border-top: 1px solid var(--border); }
.profile-info li { padding: 10px 0; font-size: 14px; color: var(--text-light); display: flex; align-items: center; gap: 10px; }
.profile-info li i { color: var(--primary); width: 16px; }
.profile-forms { display: flex; flex-direction: column; gap: 30px; }
.profile-section { background: #fff; border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.profile-section h3 { font-size: 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.profile-form { display: flex; flex-direction: column; gap: 16px; }
.orders-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.order-tab { padding: 10px 18px; border-radius: 10px; color: #64748B; font-size: 14px; font-weight: 600; background: #F8FAFC; }
.order-tab:hover { background: #DBEAFE; color: var(--primary); }
.order-tab.active { background: var(--primary); color: #fff; }
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.order-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; transition: all 0.25s; display: block; }
.order-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(30,136,229,0.15); transform: translateY(-2px); }
.order-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order-number { font-family: monospace; font-size: 13px; color: #64748B; margin-inline-end: 10px; }
.order-badge { padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-info { background: #DBEAFE; color: #1E40AF; }
.badge-primary { background: #E3F2FD; color: #156C0; }
.badge-success { background: #DCFCE7; color: #166534; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.notifications-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.notification-item { display: flex; gap: 16px; padding: 16px 20px; background: #fff; border-radius: 14px; border: 1px solid #F1F5F9; }
.notification-item.unread { background: #EFF6FF; border-color: #BFDBFE; }
.notification-icon { width: 44px; height: 44px; border-radius: 12px; background: #F8FAFC; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }

.footer { background: #0F172A; color: rgba(255,255,255,0.8); margin-top: 80px; }
.footer-newsletter { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 32px; margin: -40px 0 40px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-lg); }
.newsletter-content h3 { font-size: 20px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.newsletter-form { display: flex; gap: 8px; background: rgba(255,255,255,0.15); padding: 6px; border-radius: 50px; }
.newsletter-form input { background: transparent; border: none; outline: none; padding: 10px 20px; color: #fff; min-width: 240px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-form .btn { background: #fff; color: var(--primary); border-radius: 50px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo .logo-text strong { color: var(--primary-light, #42A5F5); }
.footer-logo .logo-text span { color: #fff; }
.footer-desc { margin: 16px 0 20px; font-size: 14px; line-height: 1.8; }
.social-links { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.2s; }
.social-btn:hover { background: var(--primary); transform: translateY(-3px); }
.social-btn.facebook:hover { background: #1877F2; }
.social-btn.twitter:hover { background: #1DA1F2; }
.social-btn.instagram:hover { background: #E4405F; }
.social-btn.youtube:hover { background: #FF0000; }
.social-btn.whatsapp:hover { background: #25D366; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 40px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 14px; }
.footer-links a:hover { color: #42A5F5; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--primary); margin-top: 4px; width: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 13px; }
.footer-bottom strong { color: #42A5F5; }
.payment-methods { display: flex; gap: 14px; font-size: 22px; color: rgba(255,255,255,0.5); }
.cta-banner { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-lg); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; position: relative; overflow: hidden; }
.cta-content h3 { font-size: 28px; margin-bottom: 12px; }
.cta-content p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
.cta-banner .btn-primary { background: #fff; color: var(--primary); }
.cta-icon { font-size: 180px; opacity: 0.12; position: absolute; inset-inline-end: 40px; top: 50%; transform: translateY(-50%); }
.ratings-summary { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; padding: 24px; background: #F8FAFC; border-radius: 16px; margin-bottom: 24px; }
.rating-big { text-align: center; padding: 16px; background: #fff; border-radius: 14px; }
.rating-big strong { font-size: 48px; font-weight: 800; color: #FBBF24; display: block; line-height: 1; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.rating-bar { flex: 1; height: 8px; background: #E5E7EB; border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #FBBF24; }
.reviews-list-public, .reviews-list { display: flex; flex-direction: column; gap: 14px; }
.review-public-card, .review-card { background: #fff; border: 1px solid #F1F5F9; border-radius: 14px; padding: 20px; }
.review-public-header, .review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 16px; flex-wrap: wrap; }
.review-public-author, .review-author { display: flex; gap: 12px; align-items: center; }
.review-public-avatar, .review-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.review-public-text, .review-text { color: #334155; line-height: 1.7; font-size: 14px; margin: 8px 0; }
.review-public-reply, .review-reply { background: #F0F9FF; padding: 14px; border-radius: 10px; margin-top: 12px; border-inline-start: 3px solid var(--primary); }
.vendor-detail-grid, .order-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.vendor-detail-main, .vendor-contact-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.vendor-detail-header { text-align: center; padding-bottom: 24px; border-bottom: 1px solid #F1F5F9; margin-bottom: 24px; }
.vendor-detail-avatar { width: 90px; height: 90px; border-radius: 24px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.vendor-section { margin-top: 24px; }
.vendor-section h3 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.vendor-section h3 i { color: var(--primary); }
.vendor-contact-card { position: sticky; top: 100px; height: fit-content; }
.vendor-contact-list { list-style: none; margin: 0 0 20px; }
.vendor-contact-list li { padding: 10px 0; border-bottom: 1px solid #F8FAFC; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.vendor-contact-list li i { color: var(--primary); width: 18px; }
.model-details { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.model-visual { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 120px; color: var(--primary); min-height: 300px; }
.part-details { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); margin-bottom: 40px; }
.part-visual { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; font-size: 100px; color: var(--primary); min-height: 280px; }
.part-cat-badge { background: var(--primary); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; }

@media (max-width: 992px) {
    .hide-mobile { display: none !important; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .search-box { display: none; }
    .nav-bar { top: 68px; }
    .nav-bar-inner { display: none; padding: 8px; }
    .nav-bar.open .nav-bar-inner { display: flex; flex-direction: column; align-items: stretch; }
    .nav-link { border-bottom: none; border-inline-start: 3px solid transparent; padding: 12px 16px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
    .hero-illustration { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .cta-banner { flex-direction: column; text-align: center; padding: 32px 20px; }
    .cta-icon { display: none; }
}
@media (max-width: 768px) {
    .model-details, .vendor-detail-grid, .order-detail-grid, .part-details, .profile-grid { grid-template-columns: 1fr; }
    .model-visual { min-height: 200px; font-size: 80px; }
    .page-header h1 { font-size: 24px; }
    .filter-form { flex-direction: column; }
    .filter-select, .filter-input { width: 100%; }
    .profile-card { position: static; }
    .form-row, .form-row-2 { grid-template-columns: 1fr; }
    .radio-group { grid-template-columns: 1fr; }
    .auth-card { padding: 24px; }
    .ratings-summary { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .top-bar-left .top-link:not(:first-child) { display: none; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .footer-newsletter { flex-direction: column; text-align: center; padding: 24px 20px; }
    .newsletter-form { width: 100%; flex-direction: column; border-radius: 12px; }
    .newsletter-form input { min-width: 0; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    .logo-text { font-size: 18px; }
    .logo-icon { width: 38px; height: 38px; font-size: 18px; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .hero { padding: 50px 0 40px; }
}


/* ============================================
   Brands Page - Professional Design
   ============================================ */

/* ===== Hero ===== */
.brands-hero {
    position: relative;
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #42A5F5 100%);
    padding: 80px 0 100px;
    overflow: hidden;
    color: #fff;
}
.brands-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,109,0,0.2) 0%, transparent 50%);
    pointer-events: none;
}
.brands-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.brands-hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.brands-hero-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.brands-hero-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #fff;
}
.brands-hero-subtitle {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}
.brands-hero-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.brands-hero-stat {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 16px 28px;
    min-width: 130px;
    text-align: center;
}
.brands-hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
    color: #fff;
}
.brands-hero-stat span {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

/* ===== Filters ===== */
.brands-filters-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}
.brands-filters {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(13,71,161,0.15);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.brands-search-form {
    flex: 1;
    min-width: 260px;
}
.brands-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 0 18px;
    transition: all 0.2s;
}
.brands-search-wrap:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30,136,229,0.1);
}
.brands-search-wrap > i {
    color: #94A3B8;
    font-size: 15px;
}
.brands-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 12px;
    font-size: 15px;
    font-family: inherit;
}
.brands-search-clear {
    color: #94A3B8;
    padding: 6px;
    transition: color 0.2s;
}
.brands-search-clear:hover {
    color: var(--danger);
}
.brands-sort {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.brands-sort-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}
.brands-sort-label i {
    color: var(--primary);
}
.brands-sort-buttons {
    display: flex;
    gap: 6px;
    background: #F8FAFC;
    padding: 4px;
    border-radius: 12px;
}
.brands-sort-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}
.brands-sort-btn:hover {
    background: #fff;
    color: var(--primary);
}
.brands-sort-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}

/* ===== Section Headers ===== */
.brands-section {
    padding: 40px 0;
}
.brands-section-alt {
    background: #F8FAFC;
}
.brands-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}
.brands-section-title {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    margin: 0;
}
.brands-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.brands-section-count {
    background: #E3F2FD;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

/* ===== Featured Brands Grid ===== */
.brands-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.brand-card-featured {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #F8FAFC 100%);
    border: 2px solid #FFD54F;
    border-radius: 20px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.15);
}
.brand-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.3);
    border-color: #FFB300;
}
.brand-featured-shine {
    position: absolute;
    top: -50%;
    inset-inline-end: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
    transform: rotate(30deg);
    transition: transform 0.6s;
    pointer-events: none;
}
.brand-card-featured:hover .brand-featured-shine {
    transform: rotate(30deg) translate(20%, 20%);
}
.brand-featured-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #fff;
    border: 2px solid #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.brand-featured-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.brand-featured-initial {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 26px;
}
.brand-featured-info {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}
.brand-featured-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}
.brand-featured-en {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}
.brand-featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}
.brand-featured-models {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: #E3F2FD;
    padding: 6px 12px;
    border-radius: 10px;
}
.brand-featured-arrow {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}
.brand-card-featured:hover .brand-featured-arrow {
    background: var(--secondary);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(255,109,0,0.4);
}
body.is-ltr .brand-card-featured:hover .brand-featured-arrow {
    transform: translateX(4px);
}

/* ===== All Brands Grid ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
.brand-card-new {
    position: relative;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.brand-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s;
}
.brand-card-new:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(30,136,229,0.15);
}
.brand-card-new:hover::before {
    transform: scaleX(1);
}
.brand-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(30,136,229,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}
.brand-card-new:hover .brand-card-bg {
    opacity: 1;
}
.brand-card-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.brand-card-new:hover .brand-card-logo {
    background: #E3F2FD;
    transform: scale(1.05);
}
.brand-card-logo img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
}
.brand-card-initial {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
}
.brand-card-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    position: relative;
    z-index: 1;
}
.brand-card-en {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.brand-card-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: #E3F2FD;
    padding: 4px 12px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.brand-card-new:hover .brand-card-count {
    background: var(--primary);
    color: #fff;
}

/* ===== Empty State ===== */
.brands-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #E5E7EB;
}
.brands-empty i {
    font-size: 64px;
    color: #CBD5E1;
    margin-bottom: 20px;
    display: block;
}
.brands-empty h3 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 8px;
}
.brands-empty p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .brands-hero { padding: 60px 0 80px; }
    .brands-hero-title { font-size: 34px; }
    .brands-hero-icon { width: 70px; height: 70px; font-size: 32px; }
    .brands-hero-stat { padding: 12px 20px; min-width: 110px; }
    .brands-hero-stat strong { font-size: 22px; }
    .brands-filters { padding: 16px; }
    .brands-section-title { font-size: 22px; }
    .brands-title-icon { width: 42px; height: 42px; font-size: 18px; }
}
@media (max-width: 640px) {
    .brands-hero { padding: 40px 0 70px; }
    .brands-hero-title { font-size: 26px; }
    .brands-hero-subtitle { font-size: 14px; margin-bottom: 28px; }
    .brands-hero-icon { width: 60px; height: 60px; font-size: 26px; border-radius: 18px; }
    .brands-hero-stats { gap: 8px; }
    .brands-hero-stat { padding: 10px 16px; min-width: 90px; flex: 1; }
    .brands-hero-stat strong { font-size: 18px; }
    .brands-hero-stat span { font-size: 11px; }
    .brands-filters { padding: 14px; border-radius: 16px; }
    .brands-sort { flex-direction: column; align-items: stretch; width: 100%; }
    .brands-sort-buttons { justify-content: center; overflow-x: auto; }
    .brands-sort-btn { font-size: 12px; padding: 6px 12px; }
    .brands-featured-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .brand-card-new { padding: 16px 12px; }
    .brand-card-logo { width: 60px; height: 60px; }
    .brand-card-name { font-size: 14px; }
}



/* ============================================
   Brand Detail Page (Final)
   ============================================ */

.bd-hero {
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #42A5F5 100%);
    padding: 50px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.bd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 45%);
    pointer-events: none;
}
.bd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.bd-breadcrumb a { color: rgba(255,255,255,0.95); font-weight: 600; }
.bd-breadcrumb i { font-size: 9px; opacity: 0.6; }
.bd-breadcrumb span { color: #fff; font-weight: 700; }

.bd-hero-content {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.bd-hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.bd-hero-initial {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}
.bd-hero-info { flex: 1; min-width: 250px; }
.bd-hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.bd-hero-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}
.bd-hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    font-weight: 500;
}
.bd-hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.bd-hero-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 12px;
}

/* Tabs */
.bd-tabs-bar {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 76px;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.bd-tabs { display: flex; gap: 4px; overflow-x: auto; }
.bd-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
}
.bd-tab:hover { color: #1E88E5; }
.bd-tab.active { color: #1E88E5; border-bottom-color: #1E88E5; }
.bd-tab span {
    background: #F1F5F9;
    color: #64748B;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Section Head */
.bd-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.bd-section-title {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}
.bd-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #E3F2FD;
    color: #1E88E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.bd-section-desc { font-size: 14px; color: #6B7280; font-weight: 500; margin: 0; }

/* Year Groups */
.bd-year-group { margin-bottom: 40px; }
.bd-year-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bd-year-badge {
    background: linear-gradient(135deg, #1E88E5, #1565C0);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
}
.bd-year-count { font-size: 13px; color: #6B7280; font-weight: 600; }
.bd-year-line { flex: 1; height: 1px; background: #E5E7EB; }

/* Models Grid */
.bd-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.bd-model-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}
.bd-model-card:hover {
    transform: translateY(-4px);
    border-color: #1E88E5;
    box-shadow: 0 15px 40px rgba(30,136,229,0.12);
}
.bd-model-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #E3F2FD;
    color: #1E88E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.bd-model-info { flex: 1; min-width: 0; }
.bd-model-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.bd-model-en { font-size: 11px; color: #6B7280; font-weight: 600; display: block; }
.bd-model-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bd-model-year {
    background: #F1F5F9;
    color: #64748B;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}
.bd-model-arrow { color: #CBD5E1; font-size: 12px; }

/* Parts Grid */
.bd-parts-section { background: #F8FAFC; }
.bd-parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.bd-part-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}
.bd-part-card:hover {
    transform: translateY(-4px);
    border-color: #1E88E5;
    box-shadow: 0 15px 40px rgba(30,136,229,0.12);
}
.bd-part-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #E3F2FD;
    color: #1E88E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.bd-part-info { flex: 1; }
.bd-part-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.bd-part-info span { font-size: 12px; color: #6B7280; font-weight: 600; }
.bd-part-arrow { color: #CBD5E1; font-size: 13px; }

/* CTA */
.bd-cta-section { padding: 40px 0; }
.bd-cta {
    background: linear-gradient(135deg, #1E88E5, #1565C0);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(30,136,229,0.25);
}
.bd-cta-icon { font-size: 56px; margin-bottom: 20px; display: block; opacity: 0.9; }
.bd-cta h3 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.bd-cta p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
.bd-cta .btn-primary { background: #fff; color: #1E88E5; }

/* Other Brands */
.bd-other-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.bd-other-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.25s;
}
.bd-other-card:hover {
    transform: translateY(-4px);
    border-color: #1E88E5;
    box-shadow: 0 12px 32px rgba(30,136,229,0.12);
}
.bd-other-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #E3F2FD;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bd-other-initial {
    font-weight: 800;
    font-size: 18px;
    color: #1E88E5;
}
.bd-other-card h3 { font-size: 13px; font-weight: 700; margin: 0; }
.bd-other-card span { font-size: 11px; color: #6B7280; font-weight: 600; }

/* Empty */
.bd-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #E5E7EB;
}
.bd-empty i { font-size: 64px; color: #CBD5E1; margin-bottom: 20px; display: block; }

@media (max-width: 992px) {
    .bd-hero { padding: 40px 0 50px; }
    .bd-hero-logo { width: 90px; height: 90px; }
    .bd-hero-initial { font-size: 36px; }
    .bd-hero-title { font-size: 30px; }
    .bd-other-grid { grid-template-columns: repeat(4, 1fr); }
    .bd-cta { padding: 40px 24px; }
    .bd-cta h3 { font-size: 24px; }
}
@media (max-width: 640px) {
    .bd-hero { padding: 30px 0 40px; }
    .bd-hero-content { flex-direction: column; text-align: center; gap: 20px; }
    .bd-hero-logo { width: 80px; height: 80px; }
    .bd-hero-initial { font-size: 30px; }
    .bd-hero-title { font-size: 24px; }
    .bd-hero-meta { justify-content: center; }
    .bd-models-grid, .bd-parts-grid { grid-template-columns: 1fr; }
    .bd-other-grid { grid-template-columns: repeat(3, 1fr); }
    .bd-section-title { font-size: 20px; }
    .bd-section-icon { width: 42px; height: 42px; font-size: 17px; }
    .bd-cta h3 { font-size: 20px; }
    .bd-cta-icon { font-size: 36px; }
}