.brands-shelf{
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 20px 0;
  background: #fff;
  height: auto;
}
.center_options.brands-shelf h2{
  font-size: 24px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 1px;
  text-align: center;
  color: #333;
  margin-top: 15px;
  margin-bottom: 15px;
  position: relative;
  width: 100%;
  display: block;
}

.brands-shelf h2 a, .brands-shelf .bottom a{
  right: 15px;
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 32px;
  color: #131413;
  text-decoration: none;
  line-height: 16px;
  font-size: 14px;
  padding: 5px 10px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  top: calc(50% - 10px);
  height: 29px;
  display: flex;
  align-items: center;
}
.brands-shelf h2 a:hover, .brands-shelf .bottom a:hover{
  border-color: #ed2690;
}
.brands-shelf h2 a svg, .brands-shelf .bottom a svg{
  margin-left: 3px;
  margin-top: 2px;
}
.brands-shelf .brands{
  display: flex;
  justify-content: space-between;
}
.brands-shelf .brands .brand{
  display: flex;
  justify-content: center;
  width: 272px;
  max-height: 140px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.brands-shelf .brands .brand:hover{
  border-color: #ed2690;
}
.brands-shelf .brands .brand a{

  width: 100%;
  height: 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;


  display: flex;
  justify-content: center;
  align-items: center;
}
.brands-shelf .brands .brand a img{
  max-width: 100%;
  max-height: 100%;
}

.brands-shelf .brands .brand a img.hovered{
  display: none;
}
.brands-shelf .brands .brand a span{
  display: none;
}
.brands-shelf .brands .brand a.hoverable:hover img.hovered{
  display: inline-block;
}
.brands-shelf .brands .brand a.hoverable:hover img.origin{
  display: none;
}
.brands-shelf .brands .brand a span{
  display: none;
}
.brands-shelf .bottom{
  display: none;
}
@media screen and (max-width: 1000px){
  .center_options.brands-shelf h2{
    font-size: 18px;
  }

  .brands-shelf .brands-wrapper{
    display: flex;
    justify-content: space-around;
  }

  .brands-shelf .brands{
    flex-direction: column;
  }

  .brands-shelf .brands .brand{
    width: auto;
    border: none;
    flex-basis: 50%;
  }

  .brands-shelf .brands .brand a span{
    display: block;
    padding: 15px 0;
    font-size: 20px;
    text-align: left;
    font-weight: normal;
    color: #333;
  }

  .brands-shelf .brands .brand a img{
    display: none !important;
  }

  .brands-shelf h2 a{
    display: none;
  }

  .brands-shelf .bottom{
    display: flex;
    justify-content: center;
  }

  .brands-shelf .bottom a{
    position: relative;
    margin-top: 10px;
  }
}
@media screen and (max-width: 640px){
  .brands-shelf .brands .brand a span{
    font-size: 14px;
  }
}