.main {
    padding-top: 20px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
}

.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px;
    position: relative;
    z-index: 2;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
}

.page-title {
    font-family: font_twenty_one;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
}

.page-subtitle {
    font-family: Manarope;
    font-size: 1.4rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 12px;
    border-radius: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
    transform: translateY(-2px);
}

.tab-btn--active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    box-shadow: 
        0 8px 25px rgba(251, 191, 36, 0.3),
        0 0 0 1px rgba(251, 191, 36, 0.2);
}

.tab-btn--active:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(251, 191, 36, 0.4),
        0 0 0 1px rgba(251, 191, 36, 0.3);
}

.tab-content {
    display: none;
}

.tab-content--active {
    display: block;
}

.search-section {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
}

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

.search-input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-family: Manarope;
}

.search-input:focus {
    border-color: #fbbf24;
    box-shadow: 
        0 0 0 4px rgba(251, 191, 36, 0.1),
        0 8px 25px rgba(251, 191, 36, 0.2);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.search-btn {
    padding: 18px 30px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.clear-search-btn {
    padding: 18px 30px;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.clear-search-btn:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

.filters-section {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
}

.filter-tab-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    background: rgba(243, 244, 246, 0.8);
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Manarope;
}

.filter-tab-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
    transform: translateY(-2px);
}

.filter-tab-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.filter-tab-btn.active:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.filter-content {
    position: relative;
}

.filter-options {
    display: none;
}

.filter-options.active {
    display: block;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-header h4 {
    font-size: 18px;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Manarope;
    font-weight: 600;
}

.clear-filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Manarope;
    font-weight: 600;
}

.clear-filter-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
}

.filter-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    max-height: 250px;
    overflow-y: auto;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.filter-checkbox-item:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.filter-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #fbbf24;
    border-radius: 4px;
}

.filter-checkbox-item label {
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    flex: 1;
    font-family: Manarope;
    font-weight: 500;
}

.active-filters {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 30px;
}

.active-filter-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    font-family: Manarope;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.active-filter-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.active-filter-tag .remove-filter {
    cursor: pointer;
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.active-filter-tag .remove-filter:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.part-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
}

.part-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.part-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.7);
}

.part-card:hover::before {
    opacity: 1;
}

.part-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 16px;
    overflow: hidden;
    position: relative;
}

.part-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.part-card:hover .part-image::before {
    opacity: 1;
}

.part-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.part-content {
    padding: 25px;
}

.part-catalog {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
    font-family: Manarope;
    font-weight: 500;
}

.part-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: Manarope;
}

.part-description {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: Manarope;
}

.part-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.part-price {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: font_twenty_one;
}

.part-stock {
    font-size: 14px;
    color: #64748b;
    font-family: Manarope;
    font-weight: 500;
}

.part-actions {
    display: flex;
    gap: 12px;
}

.part-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
}

.view-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.view-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
}

.pagination-btn {
    padding: 12px 18px;
    border: 2px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    color: #64748b;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pagination-btn:hover {
    border-color: #fbbf24;
    color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.2);
}

.pagination-btn--active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #fbbf24;
    color: #1f2937;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.car-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
}

.car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.7);
}

.car-card:hover::before {
    opacity: 1;
}

.car-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 16px;
    overflow: hidden;
    position: relative;
}

.car-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-card:hover .car-image::before {
    opacity: 1;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.car-content {
    padding: 25px;
}

.car-vin {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
    font-family: Manarope;
    font-weight: 500;
}

.car-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: Manarope;
}

.car-year {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 12px;
    font-family: Manarope;
}

.car-description {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: Manarope;
}

.car-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.car-price {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: font_twenty_one;
}

.car-mileage {
    font-size: 14px;
    color: #64748b;
    font-family: Manarope;
    font-weight: 500;
}

.car-specs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.car-spec {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #374151;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: Manarope;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.car-actions {
    display: flex;
    gap: 12px;
}

.car-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
}

.car-details-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.car-image-large {
    text-align: center;
}

.car-image-large img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.car-info-large {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.car-vin-modal {
    font-size: 14px;
    color: #6b7280;
}

.car-name-modal {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.car-description-modal {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

.car-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.car-features {
    margin-top: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.car-features h4 {
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 8px;
}

.car-features p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.car-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal-header {
    padding: 30px 35px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 25px 25px 0 0;
}

.modal-title {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-family: font_twenty_one;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    background: #f1f5f9;
    color: #1e293b;
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
}

.part-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.part-image-large {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
}

.part-image-large img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.part-image-large img:hover {
    transform: scale(1.02);
}

.part-info-large {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.part-catalog-number {
    font-size: 15px;
    color: #64748b;
    font-family: Manarope;
    font-weight: 500;
}

.part-name {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-family: font_twenty_one;
    line-height: 1.3;
}

.part-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    font-family: Manarope;
}

.part-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-family: Manarope;
}

.detail-label {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

.detail-value {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

.part-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.contact-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.car-details-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.car-image-large {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
}

.car-image-large img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.car-image-large img:hover {
    transform: scale(1.02);
}

.car-info-large {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.car-vin-modal {
    font-size: 15px;
    color: #64748b;
    font-family: Manarope;
    font-weight: 500;
}

.car-name-modal {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-family: font_twenty_one;
    line-height: 1.3;
}

.car-description-modal {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    font-family: Manarope;
}

.car-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.car-features {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.car-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
}

.car-features h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 12px;
    font-family: Manarope;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.car-features p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-family: Manarope;
    position: relative;
    z-index: 1;
}

.car-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.order-info, .contact-info-large {
    text-align: center;
    padding: 30px 0;
}

.order-icon, .contact-icon-large {
    font-size: 64px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.order-info h3, .contact-info-large h3 {
    font-size: 24px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-family: font_twenty_one;
    font-weight: 700;
}

.order-info p, .contact-info-large p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 25px;
    font-family: Manarope;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: #374151;
    font-family: Manarope;
    font-weight: 500;
}

.contact-icon {
    font-size: 24px;
    color: #fbbf24;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.contact-item-large {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(29, 78, 216, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
}

.contact-item-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.contact-text strong {
    font-size: 16px;
    color: #374151;
    font-family: Manarope;
    font-weight: 600;
}

.contact-text span {
    font-size: 18px;
    color: #64748b;
    font-family: Manarope;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manarope;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

.loading {
    text-align: center;
    padding: 60px;
    color: #64748b;
    font-size: 18px;
    font-family: Manarope;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    border-top-color: #fbbf24;
    animation: spin 1s ease-in-out infinite;
    margin-left: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.booking__modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.booking__modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 15% auto;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.booking__modal-content h2 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-family: font_twenty_one;
    font-weight: 700;
}

.booking__modal-content p {
    margin-bottom: 30px;
    color: #64748b;
    font-size: 18px;
    font-family: Manarope;
    line-height: 1.6;
}

.booking__modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.booking__btn {
    padding: 15px 30px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    font-family: Manarope;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking__btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.booking__btn--secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.booking__btn--secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

@media (max-width: 768px) {
    .main {
        padding-top: 60px;
    }
    
    .container {
        padding: 80px 30px;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .tabs {
        flex-direction: column;
        max-width: 350px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-input,
    .search-btn,
    .clear-search-btn {
        width: 100%;
    }
    
    .filters-section {
        padding: 25px;
    }
    
    .filter-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-checkboxes {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .parts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .part-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .part-details-grid {
        grid-template-columns: 1fr;
    }
    
    .part-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .contact-item-large {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-details {
        gap: 15px;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .car-details-modal {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .car-details-grid {
        grid-template-columns: 1fr;
    }
    
    .car-actions {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .booking__modal-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .booking__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 60px 20px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .search-section {
        padding: 25px 20px;
    }
    
    .filters-section {
        padding: 20px 15px;
    }
    
    .part-content,
    .car-content {
        padding: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 25px 20px;
    }
    
    .part-actions,
    .car-actions {
        gap: 10px;
    }
    
    .order-btn,
    .contact-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .booking__modal-content {
        padding: 30px 20px;
    }
    
    .booking__modal-content h2 {
        font-size: 24px;
    }
    
    .booking__modal-content p {
        font-size: 16px;
    }
}

/* Стили для галереи изображений машин */
.car-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.car-gallery-main {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.car-gallery-main:hover img {
    transform: scale(1.02);
}

.car-gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

.car-gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.car-gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.car-gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.car-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.car-gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.gallery-thumbnail:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.gallery-thumbnail.active {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.gallery-thumbnail.active::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid white;
}

/* Адаптивность для галереи */
@media (max-width: 768px) {
    .car-gallery-main {
        height: 300px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .car-gallery-nav {
        padding: 0 15px;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .car-gallery-thumbnails {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .car-gallery-main {
        height: 250px;
    }
    
    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .car-gallery-nav {
        padding: 0 10px;
    }
    
    .gallery-thumbnail {
        width: 50px;
        height: 38px;
    }
}
