@import "../../../styles/varibale.scss";

@media (max-width: 1199.98px) {}

.titleWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 1.5rem;
}

.sectionSubTitle {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  color: $primaryColor;
  text-align: center;
  padding: 0;
  margin: 0;
  flex: 1;
}

.subtitleSpan {
  /* Title text */
}

.viewText {
  color: $primaryColor;
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.home_find_brands_item {
  text-align: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 1em;
  background: #ffffff;
  cursor: pointer;
  max-width: 100%;
  min-height: 100px;
  width: 100px;
}

.home_find_brands_item:after {
  content: '';
  padding-bottom: 100%;
  display: block;
}

.home_find_brands_item img {
  max-width: 100%;
  min-height: 100px;
  width: 90%;
  object-fit: contain;
  object-position: center;
}

.sliderContainer>div>div>div>div>div {
  margin-right: 1em;
}

.brandDiv {
  background-color: transparent;
  // margin-top:2.5em;
}

.home_find_brands_img {
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  padding: 0.3em;
}

.iconRightDisplay {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 0.5em;
  transition: 0.3s;
  color: $primaryColor;
  background: whitesmoke;
  width: 3.5em;
  height: 3.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -1em;
  top: calc(50% - 1.5em);
  opacity: 0.5;
}

.iconRightDisplay:hover {
  opacity: 1;
}

.iconLeftDisplay {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 0.5em;
  transition: 0.3s;
  color: $primaryColor;
  background: whitesmoke;
  width: 3.5em;
  height: 3.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -1em;
  top: calc(50% - 1.5em);
  z-index: 9;
  opacity: 0.5;
}

.iconLeftDisplay:hover {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .home_find_brands_item {
    border: 1px solid #d9d9d9;
    border-radius: 50%;
  }

  .home_find_brands_img {
    border-radius: 50%;
  }

  .brandDiv {
    margin-top: 1.5em;
  }

  .titleWrapper {
    justify-content: flex-start;
    margin-bottom: 1rem;
  }

  .sectionSubTitle {
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1.4;
    color: #343434;
    text-align: left;
    flex: none;
  }

  .viewText {
    position: static;
    margin-left: auto;
  }

  .home_find_brands_item img {
    min-height: 100px;
  }
}