:root {
    /* Ana Renkler - Lacivert tonları (güven ve profesyonellik) */
    --primary-color: #0A1E3D;
    --primary-dark: #05132B;
    --primary-light: #1A3A5F;
    
    /* Vurgu Renkleri - Turuncu (enerji ve dikkat) */
    --accent-color: #FF6B35;
    --accent-light: #FF8C5A;
    --accent-dark: #E5551A;
    
    /* Durum Renkleri */
    --success-color: #2E7D32;
    --warning-color: #FFB300;
    --danger-color: #D32F2F;
    --info-color: #0288D1;
    
    /* Arka Plan Renkleri - Beyaz tonları */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FA;
    --bg-tertiary: #EEF2F6;
    --border-color: #E0E5EB;
    
    /* Metin Renkleri */
    --text-primary: #1B1B1F;
    --text-secondary: #4A5568;
    --text-muted: #A0AEC0;
    
    /* Gölgeler */
    --shadow-sm: 0 1px 3px 0 rgba(10, 30, 61, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(10, 30, 61, 0.12);
    --shadow-lg: 0 10px 15px -3px rgba(10, 30, 61, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(10, 30, 61, 0.18);
    
    /* Geçişler ve Köşeler */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

.navbar {
    background: var(--bg-primary) !important;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1.2;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 0;
}

.brand-name {
    color: var(--accent-color) !important;
    font-size: 1.5rem;
}

.brand-tagline {
    font-size: 0.875rem;
    color: var(--danger-color);
    font-style: italic;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    font-size: 1.05rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: transparent;
}

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

.btn-outline-secondary {
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
}

.btn-danger {
    background: var(--danger-color);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: white;
}

.btn-success {
    background: var(--success-color);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: white;
}

.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

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

.card-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 1.25rem;
}

.card-img-top {
    border-bottom: 1px solid var(--border-color);
}

.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

#productImages {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
}

#productImages .carousel-inner {
    min-height: 350px;
    background: white;
    display: flex;
    align-items: center;
}

#productImages .carousel-item {
    min-height: 350px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: white;
}

#productImages .carousel-item img {
    max-height: 330px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    padding: 1rem;
}
.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card .product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-card .product-info h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .oe-number {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.025em;
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
    display: inline-block;
    width: fit-content;
}

.product-card .badge-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    width: fit-content;
}

.product-card .badge-stock i {
    font-size: 0.875rem;
}

.product-card .price {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.25rem 0 0 0;
    letter-spacing: -0.025em;
}

.product-card-actions {
    padding: 0 1.25rem 1.25rem;
}

.product-card-actions form {
    margin: 0;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--success-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5rem;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.product-meta-item {
    background: var(--bg-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.product-actions .btn i {
    margin-right: 0.25rem;
}

.brand-carousel-wrapper {
    background: var(--bg-primary);
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.brand-carousel {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
}

.brand-item:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.filters-sidebar {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.filter-section {
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-header {
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.filter-header i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.filter-body {
    padding: 1rem 1.25rem;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    margin: 0;
}

.filter-item:hover {
    background: var(--bg-secondary);
}

.filter-item input[type="radio"],
.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
}

.filter-item input:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.filter-actions {
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.filter-sidebar {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.filter-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer a:hover {
    color: white;
}

.badge {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
}

.alert {
    border-radius: var(--radius-sm);
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

.table {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.table td {
    color: var(--text-primary);
    vertical-align: middle;
}

.pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: var(--bg-primary);
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-light {
    color: var(--text-secondary) !important;
}

.sidebar {
    min-height: calc(100vh - 56px);
    border-right: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.admin-brand {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    letter-spacing: 1px;
    display: block;
}

.sidebar .nav-link {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar .nav-link:hover {
    background-color: rgba(10, 30, 61, 0.1);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.sidebar .nav-link.active:hover {
    padding-left: 1rem;
}

.sidebar .nav-link.text-danger:hover {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--danger-color) !important;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.fw-bold {
    font-weight: 700 !important;
}

.small {
    font-size: 0.875rem;
}
.vehicle-search {
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.vehicle-search::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.vehicle-search h3 {
    color: #1B1B1F;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.vehicle-search p {
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.vehicle-search .form-label {
    color: #1B1B1F;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.vehicle-search .form-select {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.vehicle-search .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background: white;
}

.vehicle-search .btn-primary {
    background: #FF6B35;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.vehicle-search .btn-primary:hover {
    background: #e65a2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.brands-section {
    background: var(--bg-primary);
    padding: 3rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.brands-section h2 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.75rem;
}

.brands-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    padding: 2rem 0;
    background: white;
    border-radius: var(--radius-md);
    cursor: grab;
    scroll-behavior: smooth;
}

.brands-carousel-wrapper:active {
    cursor: grabbing;
}

.brands-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.brands-carousel-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 0 2rem;
    width: max-content;
    animation: scroll-brands-rtl 30s linear infinite;
}

.brands-carousel-track:hover {
    animation-play-state: paused;
}

.brand-item img {
    width: 200px;
    height: 140px;
    object-fit: contain;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.brand-item:hover img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.brand-item .brand-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
}

@keyframes scroll-brands-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-arrow i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

.sidebar-toggle {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2461 100%);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(10, 30, 61, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0.85;
}

.sidebar-toggle:hover {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
    box-shadow: 0 4px 16px rgba(10, 30, 61, 0.5);
}

.sidebar-toggle i {
    transition: var(--transition);
}

.sidebar-toggle:hover i {
    transform: translateX(2px);
}

.category-sidebar {
    position: fixed;
    top: 0;
    left: -420px;
    width: 420px;
    height: 100vh;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 1200;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.category-sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    background: white;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.sidebar-header h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.sidebar-close {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}

.sidebar-content {
    padding: 0;
}

.sidebar-vehicle-filter {
    padding: 0.8rem;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}

.sidebar-vehicle-filter h4 {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-weight: 600;
}

.sidebar-main-content {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: calc(100vh - 220px);
}

.categories-column {
    background: white;
    border-right: 2px solid var(--border-color);
    padding: 0.5rem;
}

.brands-column {
    background: var(--bg-secondary);
    padding: 0.8rem;
}

.brands-column-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-weight: 600;
    text-align: center;
}

.category-item {
    margin-bottom: 0.3rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}

.category-name {
    padding: 0.6rem 0.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.75rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
}

.category-name span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.category-name i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.category-item.active .category-name,
.category-name:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-dark);
}

.category-item.active .category-name i,
.category-name:hover i {
    color: white;
}

.category-brands {
    display: none;
}

.category-brands.active {
    display: block;
}

.brand-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.7rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    margin: 0.25rem 0;
    font-size: 0.75rem;
    background: white;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.brand-link:before {
    content: '▸';
    margin-right: 0.4rem;
    color: var(--primary-color);
    font-size: 0.65rem;
    transition: var(--transition);
}

.brand-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.brand-link:hover:before {
    color: white;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.profile-sidebar {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.profile-header {
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar i {
    font-size: 3rem;
    color: white;
}

.profile-header h5 {
    margin: 0.5rem 0 0.25rem;
    font-weight: 600;
    color: white;
}

.profile-header .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
}

.profile-nav {
    padding: 0.5rem;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 0.25rem;
}

.profile-nav-item i {
    width: 20px;
    text-align: center;
}

.profile-nav-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.profile-nav-item.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.profile-content {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.address-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.address-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.address-card.default {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, rgba(255, 107, 53, 0.05), var(--bg-primary));
}

.address-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.address-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.address-card p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ========== YENİ ARAÇ SEÇİMİ TASARIMI - KÜÇÜLTÜLMÜŞ ========== */
.vehicle-search-new {
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    border-radius: 14px;
    padding: 1.25rem 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.2);
}

.vehicle-search-header {
    text-align: center;
    margin-bottom: 1rem;
}

.vehicle-search-header i {
    font-size: 1.5rem;
    color: #1B1B1F;
    margin-bottom: 0.5rem;
    display: block;
}

.vehicle-search-header h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1B1B1F;
    margin-bottom: 0.25rem;
}

.vehicle-search-header p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.8125rem;
    margin: 0;
    font-weight: 500;
}

.vehicle-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.875rem;
    align-items: end;
}

.vehicle-input-group {
    display: flex;
    flex-direction: column;
}

.vehicle-input-group label {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #1B1B1F;
    margin-bottom: 0.375rem;
    font-size: 0.8125rem;
}

.vehicle-input-group label i {
    margin-right: 0.5rem;
    color: #FF6B35;
    font-size: 0.875rem;
}

.vehicle-input-group .form-select {
    border: 2px solid rgba(0, 0, 0, 0.15);
    background: white;
    border-radius: 10px;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    color: #1B1B1F;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.vehicle-input-group .form-select:hover {
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.vehicle-input-group .form-select:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
    outline: none;
}

.btn-search-parts {
    background: linear-gradient(135deg, #FF6B35 0%, #E5551A 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.625rem 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
    height: fit-content;
}

.btn-search-parts:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.btn-search-parts i {
    margin-right: 0.5rem;
}

/* ========== KATEGORİ BUTONLARI TASARIMI - YAZILI VERSİYON ========== */
.category-buttons-section {
    background: linear-gradient(135deg, #014366 0%, #014366 100%);
    padding: 1.2rem 0;  /* ESKİ: 2.5rem 0 → YENİ: 1.75rem 0 */
    margin: 2.5rem 0 0 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: 0 8px 30px rgba(0, 139, 139, 0.25);
    border-top: 4px solid rgba(255, 255, 255, 0.2);
    border-bottom: 4px solid rgba(0, 0, 0, 0.1);
}

.category-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-btn {
    background: white;
    color: #008B8B;
    padding: 1.25rem 3rem;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid white;
    border-radius: 16px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B35 0%, #E5551A 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.category-btn span {
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: all 0.35s ease;
    color: #008B8B;
}

.category-btn:hover::before {
    left: 0;
}

.category-btn:hover {
    border-color: #FF6B35;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.35),
                0 8px 20px rgba(0, 0, 0, 0.2);
}

.category-btn:hover span {
    color: white;
    transform: scale(1.05);
}

.category-btn:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

@media (max-width: 1200px) {
    .category-buttons-container {
        gap: 1.25rem;
        padding: 0 1.5rem;
    }
    
    .category-btn {
        padding: 1.125rem 2.5rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .category-buttons-section {
        padding: 2rem 0;
    }
    
    .category-buttons-container {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .category-btn {
        padding: 1rem 2rem;
        font-size: 0.85rem;
        letter-spacing: 0.8px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .category-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.8rem;
        letter-spacing: 0.6px;
        border-radius: 10px;
    }
}
}