/* Search Results Styles */

.search-results-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
}

.search-results-header {
  margin-bottom: 2rem;
}

.search-results-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.search-results-header p {
  color: #666;
  font-size: 1rem;
}

.search-results-list {
  display: grid;
  gap: 1.5rem;
}

.search-result-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.search-result-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.result-content {
  flex: 1;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.result-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.result-header h3 a {
  color: #333;
  text-decoration: none;
}

.result-header h3 a:hover {
  text-decoration: underline;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-badge.open {
  background: #d4edda;
  color: #155724;
}

.status-badge.closed {
  background: #f8d7da;
  color: #721c24;
}

.result-location {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.result-description {
  color: #555;
  margin: 0.75rem 0;
  line-height: 1.6;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.result-tags .tag {
  padding: 0.25rem 0.75rem;
  background: #e9ecef;
  border-radius: 12px;
  font-size: 0.875rem;
  color: #495057;
}

.result-ingredients {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0;
}

.result-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.result-category {
  color: #666;
}

.result-price {
  font-weight: 600;
  color: #28a745;
}

.result-image {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-no-results,
.search-error {
  text-align: center;
  padding: 3rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-no-results p,
.search-error p {
  margin: 0.5rem 0;
  color: #666;
}

.search-error {
  color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
  .search-results-container {
    padding: 1rem;
  }

  .search-result-item {
    flex-direction: column;
  }

  .result-image {
    width: 100%;
    height: 200px;
  }
}

