/* ABOS Brands Section - Logo Grid */
.abos-home-brands {
  margin-top: clamp(32px, 5vw, 48px);
  padding: 32px 0 40px;
}

.abos-home-brands__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.abos-home-brands__header {
  text-align: center;
}

.abos-home-brands__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--abos-black, #0d0d0d);
}

.abos-home-brands__subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--abos-muted, #7f858a);
}

/* Logo Grid - with background */
.abos-home-brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  padding: 24px;
  background: #f6f7f8;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.abos-home-brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 14 / 10;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.abos-home-brands__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--abos-accent, #F90505);
}

.abos-home-brands__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.abos-home-brands__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* View All Link */
.abos-home-brands__viewall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 0;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--abos-accent, #F90505);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.abos-home-brands__viewall:hover {
  background: #d50404;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 5, 5, 0.3);
}

/* Mobile */
@media (max-width: 768px) {
  .abos-home-brands {
    padding: 24px 0 32px;
  }

  .abos-home-brands__title {
    font-size: 18px;
  }

  .abos-home-brands__subtitle {
    font-size: 13px;
  }

  .abos-home-brands__grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
  }

  .abos-home-brands__item {
    padding: 12px;
    border-radius: 10px;
  }

  .abos-home-brands__viewall {
    font-size: 13px;
    padding: 10px 20px;
  }
}
