/* Enhanced styling for the "More from this seller" tabs */

/* Fix image display in cards */
.more-from-seller .img-container.product-img-container img {
    object-fit: contain !important;
    background-color: #f8f9fa;
    padding: 0.5rem;
}

/* Ensure consistent card heights */
.more-from-seller .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.more-from-seller .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.more-from-seller .card-price {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Improve tab styling */
.more-from-seller .nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.more-from-seller .nav-link {
    color: #6c757d;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    margin-right: 1rem;
    transition: all 0.2s ease;
}

.more-from-seller .nav-link:hover {
    color: #4a90e2;
    background-color: rgba(74, 144, 226, 0.05);
}

.more-from-seller .nav-link.active {
    color: #4a90e2;
    border-bottom-color: #4a90e2;
    background-color: transparent;
}

/* Improve grid layout for better mobile display */
.more-from-seller .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for phones */
    gap: 1rem;
}

@media (min-width: 768px) {
    .more-from-seller .grid-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .more-from-seller .grid-container {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for desktops */
        gap: 1.5rem;
    }
}

/* Improve placeholder styling */
.more-from-seller .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #adb5bd;
}

/* Ensure buttons are consistent */
.more-from-seller .btn-primary {
    margin-top: 0.5rem;
}

/* Fix status badge display */
.more-from-seller .status-badge {
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}