/* Fix for truncated images and layout consistency */

/* Fix seller profile images */
.image-container img,
.product-img, 
.service-img {
    object-fit: contain !important;
    padding: 0.5rem;
    background-color: #f8f9fa;
}

/* Make service provider card match product seller card */
.provider-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.provider-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.provider-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.provider-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-buttons {
    margin: 1rem 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Fix image display in all cards */
.card .img-container img {
    object-fit: contain !important;
}

/* Ensure consistent card heights */
.card {
    height: 100%;
}

/* Consistent button styling */
.btn-primary, .btn-success {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
}

/* Consistent spacing */
.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}