/* Part Finder Section */
.part-finder-section {
    background: #FAFAFA;
    padding: 60px 0;
    margin: 0;
}

.part-finder-card {
    background: #FFFFFF;
    padding: 40px;
    border: 1px solid #E0E0E0;
    max-width: 1100px;
    margin: 0 auto;
}

.part-finder-header {
    text-align: center;
    margin-bottom: 40px;
}

.part-finder-title {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.part-finder-title svg {
    color: #666666;
    flex-shrink: 0;
}

.part-finder-subtitle {
    font-size: 16px;
    color: #757575;
    margin: 0;
}

/* Finder Steps */
.part-finder-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.finder-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.finder-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #424242;
    font-size: 14px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: #616161;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.step-title {
    flex: 1;
}

.finder-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D0D0D0;
    background: #FFFFFF;
    font-size: 14px;
    color: #333333;
    outline: none;
    transition: border-color 0.2s;
}

.finder-select:focus {
    border-color: #757575;
}

.finder-select:hover {
    border-color: #A0A0A0;
}

.finder-submit {
    justify-content: flex-end;
}

.finder-btn {
    width: 100%;
    padding: 14px 24px;
    background: #3B6BA8;
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.finder-btn:hover {
    background: #2E5C8E;
}

.finder-btn svg {
    flex-shrink: 0;
}

/* Additional Filters Row */
.part-finder-filters {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.finder-filter {
    max-width: 300px;
}

.filter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #757575;
    margin-bottom: 6px;
}

.filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D0D0D0;
    background: #F5F5F5;
    font-size: 14px;
    color: #424242;
    outline: none;
    transition: border-color 0.2s;
}

.filter-select:focus {
    border-color: #757575;
    background: #FFFFFF;
}

/* Divider */
.finder-divider {
    text-align: center;
    margin: 30px 0 20px;
    position: relative;
}

.finder-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E0E0E0;
}

.finder-divider span {
    position: relative;
    background: #FFFFFF;
    padding: 0 20px;
    color: #757575;
    font-size: 14px;
    font-weight: 500;
}

/* Quick Search */
.finder-quick-search {
    display: flex;
    gap: 12px;
}

.finder-search-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #D0D0D0;
    background: #FFFFFF;
    font-size: 15px;
    color: #333333;
    outline: none;
    transition: border-color 0.2s;
}

.finder-search-input:focus {
    border-color: #757575;
}

.finder-search-input::placeholder {
    color: #9E9E9E;
}

.finder-quick-btn {
    padding: 14px 32px;
    background: #3B6BA8;
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    width: auto;
}

.finder-quick-btn:hover {
    background: #2E5C8E;
}

/* Popular Models */
.finder-popular {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #E0E0E0;
}

.popular-title {
    font-size: 13px;
    font-weight: 600;
    color: #757575;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.popular-tag {
    padding: 8px 16px;
    background: #F5F5F5;
    color: #424242;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #E0E0E0;
    transition: background-color 0.2s;
}

.popular-tag:hover {
    background: #616161;
    color: white;
    border-color: #616161;
}

/* Brand Grid Section */
.brand-grid-section {
    margin: 0;
    padding: 0;
    border: none;
}

.brand-grid-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    margin: 0 0 30px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    padding: 30px 20px;
    transition: border-color 0.2s, background-color 0.2s;
    text-decoration: none;
}

.brand-item img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: filter 0.2s, opacity 0.2s, box-shadow 0.3s;
}

.brand-item:hover {
    border-color: #E0E0E0;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 968px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .brand-item {
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .part-finder-steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .finder-submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .part-finder-section {
        padding: 40px 0;
    }
    
    .part-finder-card {
        padding: 24px 20px;
    }
    
    .part-finder-title {
        font-size: 22px;
        flex-direction: column;
    }
    
    .part-finder-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .finder-quick-search {
        flex-direction: column;
    }
    
    .popular-tags {
        flex-direction: column;
    }
    
    .popular-tag {
        text-align: center;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .brand-item {
        padding: 20px 10px;
    }
    
    .brand-item img {
        max-height: 40px;
    }
}
