.vch-trophy-rewards-section {
  width: 100%;
}

.vch-trophy-rewards-container {
  max-width: 1320px;
  margin: 0 auto;
  //padding: 0 15px;
}

.vch-trophy-rewards-title {
  color: #283784;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 24px;
}

.trophy-rewards-slideshow {
  width: 100%;
  margin: 0 auto;
}

.trophy-rewards-slideshow .slick-slide {
  padding: 0 10px;
  box-sizing: border-box;
}
.trophy-rewards-slideshow img {
	border-radius:10px;
    transition: opacity .25s ease-in-out;
}
.trophy-rewards-slideshow__slide-container {
  width: 100%;
  max-width: 200px;
  height: 200px;
  overflow: hidden;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trophy-rewards-slideshow__slide  { display:inline-block; }
.trophy-rewards-slideshow img:hover {
	filter: opacity(70%);
}
@media (max-width: 768px) {
  .trophy-rewards-slideshow .slick-slide {
    padding: 0 8px;
  }

  .trophy-rewards-slideshow__slide-container {
    margin: 0 auto 15px;
  }
}

@media (max-width: 480px) {
  .trophy-rewards-slideshow {
  	margin-left:-8px;
    margin-right:-8px;
  }
  .trophy-rewards-slideshow .slick-slide {
    padding: 0 8px;
  }
}

.trophy-rewards-slideshow__slide-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trophy-rewards-slideshow .slick-dots {
  position: relative;
  display: block !important;
  width: 100%;
  padding: 0;
  margin: 32px 0 0 0;
  list-style: none;
  text-align: center;
}

.trophy-rewards-slideshow .slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 8px;
  margin: 0 4px;
  padding: 0;
  cursor: pointer;
  background-color: #8A93BE;
}
.trophy-rewards-slideshow .slick-dots li.slick-active {
	 background-color: #283784;
     width:30px;
}

.trophy-rewards-slideshow .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 8px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.trophy-rewards-slideshow .slick-dots li button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 8px;
  background-color: #8A93BE;
  border-radius: 8px;
  transition: all 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display:none !important;
}

.trophy-rewards-slideshow .slick-dots li.slick-active button:before {
  background-color: #283784;
  //transform: scale(1.2);
  width:30px; 
}

.trophy-rewards-slideshow .slick-dots li:hover button:before {
  background-color: #286b59;
  //opacity: 0.7;
  //transform: scale(1.1);
}

/*------------------------------*/
/*==================== Start section our customer ====================*/
.our-brand {
  font-family: "Outfit", "Noto Sans Thai", sans-serif;
}

.our-brand .text-header {
  font-size: 36px;
  font-weight: 700;
}
.text-red {
  color: #a1221c;
}

.customer-brand-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center; /* จัดให้อยู่ตรงกลาง */
  align-items: flex-start;
  margin-top: 40px;
  max-width: 1400px;
  width: 100%;
  /* ใช้ CSS Grid แทน Flexbox เพื่อให้เรียงจากซ้ายในแถวสุดท้าย */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(163px, 163px));
  justify-content: center;
  grid-gap: 1.5rem;
}

.customer-brand-item {
  max-width: 163px;
  width: 163px;
  min-width: 127px;
  max-height: 100px;
  height: 100px;
  min-height: 78px;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* ป้องกันการหดตัว */
}

.customer-brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Tablet และ Desktop */
@media (min-width: 768px) {
  .customer-brand-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(163px, 163px));
    justify-content: center;
    gap: 1.5rem;
  }
}

/* Mobile ใหญ่ */
@media (max-width: 767.98px) {
  .customer-brand-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(140px, 140px));
    justify-content: center;
    grid-gap: 1rem;
  }

  .customer-brand-item {
    max-width: 140px;
    width: 140px;
    min-width: 120px;
  }
}

/* Mobile เล็ก */
@media (max-width: 576.98px) {
  .customer-brand-item {
    max-width: 127px;
    width: 127px;
    min-width: 110px;
    height: 78px;
  }

  .customer-brand-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(127px, 127px));
    grid-gap: 0.8rem;
    justify-content: center;
  }
}

/* Mobile เล็กมาก */
@media (max-width: 480px) {
  .customer-brand-item {
    min-width: 110px;
    width: 110px;
    height: 78px;
  }

  .customer-brand-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(100px, 110px));
    grid-gap: 1rem;
    justify-content: center;
  }
}

/* Mobile เล็กที่สุด */
@media (max-width: 360px) {
  .customer-brand-item {
    min-width: 100px;
    width: 100px;
    height: 70px;
  }

  .customer-brand-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(90px, 100px));
    grid-gap: 1rem;
    justify-content: center;
  }
}