/* General styles */
a {
    text-decoration: none !important;
  }
  body {background-color: transparent;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  }  
  
  /* Search container styles */
  .search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .search-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 5px 10px;
    width: 100%;
    background-color: #f9f9f9;
  }
  
  .search-icon {
    width: 20px;
    height: 20px;
    color: #6c757d;
    margin-right: 10px;
  }
  
  .search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
  }
  
  .search-input::placeholder {
    color: #888;
    font-style: italic;
  }
  
  .search,
  .clear {
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .search {
    background-color: #4299e1;
  }
  
  .clear {
    background-color: #f44336;
  }
  
  .search:hover,
  .clear:hover {
    transform: scale(1.05);
  }
  
  .search:hover {
    background-color: #2b6cb0;
  }
  
  .clear:hover {
    background-color: #d32f2f;
  }
  
  /* Service items styles */
  .services {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px 10px;
  }
  
  .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 120px;
    border: 0px solid #ddd;
    border-radius: 10px;
    background-color:transparent;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    margin: 0 40px;
  }
  
  .service-item:hover,
  .service-item.active {
    background-color:rgb(220,220,220);
    color: #333;
    transform: translateY(-1px);
  }
  
  .service-icon img {
    max-width: 100%;
    max-height: 100%;
  }
  
  .service-name {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    color: #333;
  }
  
  /* Listing styles */
  .listing-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .listing-card {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .listing-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  .image-container {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
  }
  
  .listing-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .ad-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffd700;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
  
  .favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .favorite-btn:hover {
    background-color: #f44336;
    color: white;
  }
  
  .business-details {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .business-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  
  .business-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
  }
  
  .user-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    margin-right: 10px;
  }
  
  .price-range {
    font-weight: 600;
    color: #4caf50;
  }
  
  .location,
  .category {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .search-container {
      flex-direction: column;
      align-items: stretch;
    }
  
    .search-input-wrapper {
      margin-bottom: 10px;
    }
  
    .search,
    .clear {
      width: 100%;
    }
  
    .listing-card {
      flex-direction: row;
    }
  
    .image-container {
      width: 150px;
      height: 150px;
    }
  }
  
 
  
  /* Loading spinner */
  #loading {
    text-align: center;
    padding: 20px;
    display: none;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  