.metal-bearing-card-container {
    perspective: 1000px;
    width: 100%;
}

.metal-bearing-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Accent Line */
.metal-bearing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #E30613;
    z-index: 10;
}

.bearing-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Base Height */
    background: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bearing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bearing-info-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bearing-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.bearing-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    display: none; /* Hidden normally, appears or stays clean */
}

/* Tags Container: Hidden/collapsed by default */
.bearing-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
    margin-top: 0;
}

.bearing-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.bearing-tag:hover {
    color: #fff;
    background-color: #E30613;
    border-color: #E30613;
}

/* Hover Interactive Showcase Effect */
.metal-bearing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.metal-bearing-card:hover .bearing-tags-container {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.metal-bearing-card:hover .bearing-desc {
    display: block;
}