/* Vendors Page */
.search-filter {
    padding: 20px;
    text-align: center;
  }
  
  #search-bar {
    width: 60%;
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .filters label {
    font-size: 1rem;
  }

  #vendor-cards {
    width: 75%; /* Contain the section in the middle 75% of the screen */
    margin: 0 auto; /* Center the section horizontally */
  }
  
  
  .vendor-section {
    margin: 40px 0;
  }
  
  .vendor-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .vendor-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: calc(33% - 20px);
    box-sizing: border-box;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
  }
  
  .vendor-card img.vendor-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  /* Product thumbnail images styling */
  .product-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
  }
  
  .product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: transform 0.2s;
  }
  
  .product-thumbnail:hover {
    transform: scale(1.1);
    cursor: pointer;
  }
  
  .vendor-card h3 {
    font-size: 1.4rem;
    margin: 10px 0;
  }
  
  .vendor-card p {
    font-size: 1rem;
    margin: 5px 0;
  }
  
  .vendor-card .btn-outline {
    margin-top: 10px;
    background-color: black; /* Black background for visibility */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
  }
  
  .vendor-card .btn-outline:hover {
    background-color: #333; /* Slightly lighter on hover */
  }
  
  /* Disabled Button for Non-Pre-order Vendors */
.vendor-card .btn-disabled {
    margin-top: 10px;
    background-color: #ddd;
    color: #999;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    cursor: not-allowed;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .vendor-card {
      width: calc(50% - 20px);
    }
    
    .product-thumbnail {
      width: 70px;
      height: 70px;
    }
  }
  
  @media (max-width: 480px) {
    .vendor-card {
      width: 100%;
    }
  
    #search-bar {
      width: 90%;
    }
    
    .product-thumbnail {
      width: 60px;
      height: 60px;
    }
  }
  