@import 'style.css';
@import 'header.css';
@import 'footer.css';
@import 'item-product.css';

/**
 * Vendor Listing Page CSS
 */

.vendor-listing-page {
    min-height: 600px;
}

.vendor-filters-wrapper {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

/* Vendor card styles */
.vendor-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vendor-logo-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f8f9fa;
}

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

.vendor-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-name:hover {
    color: #007bff;
}

.vendor-description {
    font-size: 13px;
    color: #6c757d;
    margin-top: 8px;
}

.vendor-rating {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.vendor-rating .stars {
    display: flex;
    gap: 2px;
}

.vendor-rating .stars i {
    font-size: 14px;
}

.vendor-rating .rating-text {
    font-size: 13px;
    margin-left: 8px;
}

.vendor-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

/* Rating filter options */
.rating-option .option-text {
    display: flex;
    align-items: center;
}

.rating-option .option-text i {
    font-size: 14px;
    margin-right: 2px;
}

/* Filter button styles */
.btn-apply-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-apply-filters:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-apply-filters svg {
    stroke: currentColor;
}

.btn-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-clear-filters:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-clear-filters svg {
    stroke: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    .vendor-card {
        margin-bottom: 20px;
    }

    .btn-apply-filters,
    .btn-clear-filters {
        padding: 8px 16px;
        font-size: 13px;
    }
}

