/* Layout root */
* {
  padding: 0;
  margin: 0;
}
.brands-showcase {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Arrows container (same place as design - top left) */
.brands-arrows {
  display: flex !important;
  gap: 8px !important;
  z-index: 5 !important;
  width: 104px !important;
  height: 48px !important;
  margin-bottom: 15px;
}
html[dir="rtl"] .brands-arrows {
  flex-direction: row-reverse;
}

/* Each arrow circle */
.brand-arrow {
  width: 48px !important;
  height: 100% !important;
  border-radius: 24px !important;
  background-color: #2178be !important;
  color: white !important;
  border: none !important;
  padding: 0 !important;
}

.brand-arrow:hover {
  transform: translateY(-1px) !important;
}

.brand-arrow i.fa-solid {
  color: white !important;
}

/* Slider */
.brands-slider {
  position: relative !important;
  width: 100% !important;
  margin-bottom: 40px;
}
.brands-slider .swiper-wrapper {
  display: flex !important;
  align-items: center !important;
}

/* Logo box */
.brands-slider .swiper-wrapper .swiper-slide {
  height: 148px;
  background: #f8f8f8 !important;
  border: 1px solid #e7f1e7 !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0px 2px 5px 4px #00000014 !important;
  box-shadow: 0px 1.36px 3.4px 2.72px #00000014 !important;
}

.brands-slider .swiper-wrapper .swiper-slide.active {
  border: 1px solid #2178be !important;
}

/* Logo inside box */
.brand-logo {
  width: 75% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.brand-logo.placeholder {
  width: 120px !important;
  height: 80px !important;
  opacity: 0.2 !important;
  background: #ddd !important;
}

/* Detail area: two columns (text left, image right) */
.brand-detail.two-col {
  margin-top: 25px !important;
}
.brand-content.active {
  display: grid !important;
  grid-template-columns: auto auto !important;
  gap: 24px !important;
  align-items: center !important;
}

.brand-content {
  display: none !important;
}

/* Text side */
.brand-desc {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 1.25rem;
  line-height: 1.44em !important;
  letter-spacing: 0.02em !important;
  color: #818181;
}

/* active small box beside description */
.brand-box.beside-desc {
  width: 188px !important;
  height: 148px !important;
  margin-top: 8px !important;
}

/* Right image */

.brand-image {
  width: 410px !important;
  height: 285px !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  justify-content: center !important;
}

.brand-image img {
  width: 95% !important;
  height: 100% !important;
}

/* Pagination bullets container */
.brands-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 200px !important;
  height: 32px !important;
  margin: 0 auto !important;
  margin-bottom: 10px;
  border-radius: 8px !important;
  padding: 8px !important;
  box-shadow: 0px 3px 4px 0px #00000029 !important;
}

/* Bullets */
.brand-bullet {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #eaeaea !important;
  display: inline-block !important;
  transition: background 0.2s, transform 0.2s !important;
  cursor: pointer;
}
.brand-bullet.is-active {
  background: #2178be !important;
  transform: scale(1.02) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .brand-detail.two-col {
    margin-bottom: 40px;
    margin-top: 40px;
  }
  .brand-content.active {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
    flex-direction: column-reverse;
    text-align: center;
  }
  .brands-showcase {
    width: 95% !important;
    margin: auto !important;
    padding-bottom: 15px;
  }
  .brands-slider .swiper-wrapper .swiper-slide {
    height: 110px;
  }
  .brand-box {
    width: 168px !important;
    height: 132px !important;
  }
  .brand-image {
    width: 220px !important;
    height: 170px !important;
  }
  .brand-image img {
    border-width: 1.5px !important;
  }
  .brand-desc {
    font-size: 1.15rem;
  }
}
@media (max-width: 767px) {
  .brands-showcase {
    width: 100% !important;
    padding-bottom: 15px;
  }

  .brands-slider {
    height: unset;
    margin-bottom: 10px !important;
  }

  .brands-slider .swiper-wrapper .swiper-slide {
    border: 0.68px solid #e7f1e7;
    border-radius: 5.45px !important;
    box-shadow: 0px 1.36px 3.4px 2.72px #00000014 !important;
  }

  .brands-arrows {
    width: 56.971153259277344px !important;
    height: 28px !important;
    gap: 6px !important;
    top: -12px !important;
    left: 8px !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
  }
  .brand-arrow {
    width: 25.485574722290135px !important;
    border-radius: 25.5px !important;
  }
  .brand-arrow i {
    font-size: 10px !important;
  }
  .brand-detail.two-col {
    margin-top: 40px !important;
  }
  .brand-image {
    width: 200px !important;
    height: 150px !important;
    border-radius: 2.85px !important;
  }

  .brand-text {
    margin: auto;
  }
  .brand-text p {
    font-size: 0.938rem;
    text-align: center;
    width: 100% !important;
    height: 100% !important;
  }

  .brands-pagination {
    display: none !important;
  }
}
@media (max-width: 375px) {
  .brand-image img {
    width: 85% !important;
  }
  .brand-logo {
    width: 70% !important;
    height: unset !important;
  }
}
