/* =====================
   Brand Section
   ===================== */

.brands .container {
  max-width: 1280px;
  padding: 52px 0;
  background: #fff;
}

.brand-track {  
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.brand-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.brand-item {
  flex: 0 0 auto;
  width: 160px;
  height: 74px;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 0px solid #eee;
  border-radius: 8px;
  box-sizing: border-box;
}

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

.brand-dots {
  text-align: center;
  margin-top: 16px;
}

.brand-dots .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s;
  cursor: pointer;
}

.brand-dots .dot.active {
  background-color: #000;
}

/* =====================
   Responsive (모바일 이하)
   ===================== */

@media screen and (max-width: 768px) {
  .brands .container {
    padding: 10px 0;
  }

  .brand-track {
    gap: 24px;
    padding: 0 16px 10px 16px;
  }

  .brand-item {
    width: 80px;
    height: 58px;
  }
}
