/* brands.css v1.1.0 (20.03.2026) - LiveSearch added */

.brands-page {
  padding: 2rem 0 4rem;
}

.brands-page__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.brands-page__search {
  max-width: 400px;
  margin: 0 auto 2rem;
  position: relative;
}

.brands-page__search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 0.95rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.brands-page__search-input:focus {
  border-color: #E34636;
}

.brands-page__search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.9rem;
  pointer-events: none;
}

.brands-page__no-results {
  text-align: center;
  color: #999;
  padding: 2rem 0;
}

.brands-page__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}

.brands-page__subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.brands-page__empty {
  text-align: center;
  color: #999;
  padding: 3rem 0;
}

/* Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Brand card */
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.25rem 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.brand-card:hover {
  border-color: #E34636;
  box-shadow: 0 4px 16px rgba(227, 70, 54, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

/* Logo area */
.brand-card__logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: #f5f5f5;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand-card__initials {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E34636;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Body */
.brand-card__body {
  text-align: center;
  min-width: 0;
}

.brand-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  word-wrap: break-word;
}

.brand-card__count {
  font-size: 0.75rem;
  color: #999;
}

/* Breadcrumbs (reuse existing pattern) */
.brands-page .breadcrumbs {
  font-size: 0.8125rem;
  color: #999;
  margin-bottom: 1.5rem;
  padding: 0;
}

.brands-page .breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.brands-page .breadcrumbs a:hover {
  color: #E34636;
}

.brands-page .breadcrumbs__sep {
  margin: 0 0.4rem;
  color: #ccc;
}

.brands-page .breadcrumbs__current {
  color: #1a1a1a;
}
