/* --- Parts Page Specific Styles --- */
.page-container .page-header p {
    font-size: 1.1em;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.part-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.part-image-container {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.part-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.part-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.part-details h2 { font-size: 1.2em; font-weight: 600; margin: 0 0 5px 0; }
.part-details .part-model { font-size: 0.9em; color: #757575; margin-bottom: 15px; flex-grow: 1; }
.part-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.part-meta .price { font-size: 1.2em; font-weight: bold; color: var(--primary-color); }
.stock-status { font-size: 0.85em; padding: 4px 8px; border-radius: 12px; color: #fff; font-weight: bold; }
.stock-status.in-stock { background-color: #4CAF50; } /* Green */
.stock-status.out-of-stock { background-color: #f44336; } /* Red */

