@import 'theme.css';
/* ---------- Shared Search Styles ---------- */


.product-filters {
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  width: 100%;
  margin: 2rem auto;
  padding: 1rem;
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-pill);
  border: 2px solid var(--color-border-glow);
  box-shadow: var(--shadow-md);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
}

.search-box:focus-within {
  transform: scale(1.01);
}

.search-box i {
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  opacity: 0.8;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--color-text-main);
  font-family: inherit;
  width: 100%;
  padding: 0.4rem 0.8rem;
}

.search-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Highlight style */
mark {
  background: rgba(59, 130, 246, 0.2);
  color: var(--color-primary);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: inherit;
}

/* No Results Message */
.no-results {
  display: none;
  text-align: center;
  margin: 2rem 0;
  color: var(--color-text-muted);
}

.no-results i {
  font-size: 3rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-results p {
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .product-filters {
    max-width: 500px;
    padding: 0.8rem 1.8rem;
  }
}
