/* =========================
   BRANDS PAGE (NO RADIUS)
========================= */


/* HERO */
.brands-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 26px;
  margin: 20px 0 16px;
  background: #ffffff;
}

.brands-hero__title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #111827;
}

.brands-hero__right {
  width: 100%;
  max-width: 420px;
}

.brands-search {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.brands-search:focus {
  border-color: #cc3333;
}

/* A-Z BAR */
.brands-az-sticky {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.brands-az {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
}

.brands-az__link {
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
}

.brands-az__link:hover {
  background: #cc3333;
  color: #fff;
}

.brands-az__link--disabled {
  background: #f9fafb;
  color: #c7cdd6;
  cursor: not-allowed;
}

/* SECTION */
.brands-section {
  margin-top: 30px;
}

.brands-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.brands-section__letter {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  border-left: 4px solid #cc3333;
  padding-left: 10px;
}

.brands-section__top {
  font-size: 12px;
  text-decoration: none;
  color: #cc3333;
  font-weight: 600;
}

/* GRID */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* CARD */
.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.brand-card:hover {
  border-color: #cc3333;
}

/* LOGO */
.brand-card__logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  margin-bottom: 10px;
}

.brand-card__logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* NAME */
.brand-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-align: center;
  line-height: 1.4;
  min-height: 40px;
}

/* RESPONSIVE */

/* <= 1200 */
@media (max-width: 1199px) {
  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* <= 992 */
@media (max-width: 991px) {
  .brands-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* <= 768 */
@media (max-width: 767px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-hero__title {
    font-size: 26px;
  }
}

/* <= 576 */
@media (max-width: 575px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}