/* ====== WRAP как в демо ====== */
.brands{
  position:relative;
  width:100%;
  display:inline-block;
  clear:both;
  margin:30px 0;
  padding:0;
  vertical-align:top;
}
.brands .products-section-title{ margin-block-end:5px; }

#brand-carousel.product_list{ border:none; background:none; }

/* полоски сверху/снизу как в демо */
.brands .products{
  position:relative;
  padding:20px 0;
  margin:0;
  float:left;
  width:100%;
  border-top:1px solid #e5e5e5;
  border-bottom:1px solid #e5e5e5;
}

/* ====== СТРЕЛКИ КАК В ДЕМО: customNavigation ====== */
.brands .customNavigation{
  position:absolute;
  top:35%;
  left:0;
  right:0;
  z-index:5;
  opacity:0;
  transition:opacity .2s ease;
  pointer-events:none; /* включим на кнопках */
}
.brands:hover .customNavigation{ opacity:1; }

.btn.prev.brand_prev{ left:-20px; }
.btn.next.brand_next{ right:-20px; }

.brands .customNavigation .btn{
  position:absolute;
  width:42px;
  height:42px;
  border-radius:999px;
  background:#fff;
  border:0;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  pointer-events:auto;
}

.brands .customNavigation .brand-arrow{
  font-size:28px;
  line-height:1;
  color:rgba(0,0,0,.55);
  transform:translateY(-1px);
}
.brands .customNavigation .btn:hover .brand-arrow{
  color:rgba(0,0,0,.9);
}
/* ==== FIX: вернуть логотипы как были (без растягивания) ==== */
#brand-carousel .brand-image{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#brand-carousel .brand-image img{
  /* главное: не растягивать */
  width: auto !important;
  height: auto !important;

  /* адекватные ограничения */
  max-width: 100%;
  max-height: 48px;

  /* как было: серые логотипы */
  filter: grayscale(100%);
  opacity: .55;
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

#brand-carousel .item:hover .brand-image img{
  filter: none;
  opacity: 1;
}

/* если вдруг тема добавляет "display:inline" и ломает центровку */
#brand-carousel .brand-image img{
  display: block;
}