.vendor-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.vendor-search-form {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #DCBE52;
}

.search-button {
    background-color: #DCBE52;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #c4a63d;
}

.vendor-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.vendor-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.vendor-banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vendor-info {
    padding: 15px;
}

.vendor-info h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 18px;
}

.vendor-location,
.vendor-address,
.vendor-phone {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.vendor-profile-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.vendor-profile-link:hover {
    background-color: #e0e0e0;
}

.vendor-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #DCBE52;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.no-results,
.error {
    text-align: center;
    color: #666;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .search-fields {
        flex-direction: column;
    }

    .search-field {
        width: 100%;
    }
}