.brands-block-section {
  padding: 84px 0;
  background-color: #F7F7F7;
}

.brands-block-section > * {
  padding: 0 24px;
}

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

.brands-title-container {
  text-align: left;
  margin-bottom: 16px;
}

.brands-title {
  color: #191818;
  font-family: "Ciron Classic";
  font-size: 36px;
  font-weight: 650;
  line-height: 48px;
  margin: 0;
}

.brands-subtitle {
  color: #191818;
  font-family: "Ciron Text";
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
}

.brands-view-all {
  display: flex;
  gap: 8px;
  text-decoration: none;
  color:#DC233E;
  font-family: "Ciron Text";
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.featured-brand-section {
  margin-bottom: 30px;
}

.featured-brand-container {
  text-align: center;
}

.brands-link {
  text-decoration: none;
}

.featured-brand-main-image {
  margin-bottom: 12px;
}

.featured-brand-main-image img {
  /* max-width: 1392px; */
  max-height: 519px;
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.featured-brand-logo {
  text-align: center;
}

.brand-logo-image {
  max-height: 50px;
  max-width: 150px;
  object-fit: contain;
}

.brand-logo-text {
  font-size: 1.5rem;
  font-weight: 600;
}

.other-brands-section-desktop {
  display: block;
  margin: 0 auto;
}

.other-brands-section-mobile {
  display: none;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.brand-block {
  text-align: center;
  justify-items: center;
  flex: 1;
}

.brand-main-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
  aspect-ratio: 5 / 4;
}

.brand-main-image:hover {
  transform: scale(1.05);
}

.brand-main-image img {
  width: 100%;
  height: 100%;
  max-height: 264px;
  border-radius: 16px;
  object-fit: cover;
}

.brand-name {
  margin-top: 10px;
  justify-items: center;
  max-width: 50%;
}

.brand-name-image {
  /* max-height: 30px; */
  height: 43px;
  width: auto;
  max-width: 122px;
  object-fit: contain;
}

.brand-name-text {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 991px) {
  .brands-block-section {
    padding: 40px 0;
  }

  .other-brands-section-desktop {
    display: none;
  }

  .other-brands-section-mobile {
    display: block;
  }

  .brands-header {
    flex-direction: column;
    align-items: baseline;
    padding: 0 16px;
  }

  .brands-title-container {
    margin-bottom: 0;
  }

  .brands-title {
    font-size: 28px;
    line-height: 36px;
  }

  .brands-view-all {
    width: fit-content;
    align-self: flex-end;
    margin-top: 8px;
  }

  .featured-brand-section {
    padding: 8px 16px;
    margin-bottom: 24px;
  }

  .featured-brand-container {
    gap: 12px;
  }

  .featured-brand-main-image {
    max-height: 343px;
  }

  .featured-brand-main-image img {
    height: 100%;
    aspect-ratio: 16/9;
  }

  .brands-grid .owl-stage {
    display: flex;
  }

  .brands-grid .owl-item {
    margin: 0 12px;
    justify-items: center;
    text-align: -webkit-center;
  }

  .brand-block {
    max-width: 75vw;
    width: 100%;
    text-align: -webkit-center;
  }

  .brand-main-image {
    aspect-ratio: 4 / 3;
  }

  .brand-main-image img {
    height: 198px;
  }

  .brands-grid .owl-dots {
    width: 100%;
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4px;
  }

  .brands-grid .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 25%;
    background-color: #D9D9D9;
    overflow: hidden;
  }

  .brands-grid .owl-dots .owl-dot.active {
    background-color: #191818;
  }
}
