.credit__list {
  position: absolute;
  bottom: 0;
  left: -1px;
  z-index: 100;
  display: none;
  background-color: #fff;
  -webkit-transform: translateY(100%);
      -ms-transform: translateY(100%);
          transform: translateY(100%);
}

.credit__list-item {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 5px 10px;
  color: #000;
  font-size: 16px;
  white-space: nowrap;
  text-align: left;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ec0101 !important;
  -webkit-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.credit__list-item:not(:last-child) {
  border-bottom: 0 !important;
}

.credit__list-item:hover {
  color: #ffffff !important;
  background-color: #000000;
  cursor: pointer;
}

.credit.active .credit__list {
  display: block;
}

.credit.active .btn-arrow {
  background: #303031 !important;
  color: #fff !important;
}

.credit.active .btn-arrow::after {
  -webkit-transform: translateY(-10px) rotate(180deg);
      -ms-transform: translateY(-10px) rotate(180deg);
          transform: translateY(-10px) rotate(180deg);
          border-top-color: #fff;
}

.btn-arrow {
  position: relative;
}
.btn-arrow:hover::after {
  border-top-color: #fff;
}

.goods-list .goods-list-item .btn-arrow {
  padding-right: 15px !important;
  font-size: 16px !important;
}

.btn-arrow {
  position: relative;
  padding-right: 35px !important;
}

.btn-arrow::after {
  position: absolute;
  top: 50%;
  right: 5px;
  display: block;
  border: 7px solid transparent;
  border-top: 8px solid #ec0101;
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  content: "";
}

.btn-arrow.active .credit__list {
  display: block;
}

@media (min-width: 1191px) {
  .goods-list .goods-list-item:nth-child(4n+4) .credit__list {
    right: -1px;
    left: auto;
  }

  .goods-list .goods-list-item:nth-child(4n+2) .credit__list,
  .goods-list .goods-list-item:nth-child(4n+3) .credit__list {
    -webkit-transform: translate(-40%, 100%);
        -ms-transform: translate(-40%, 100%);
            transform: translate(-40%, 100%);
  }
}

@media (max-width: 508px) {
  .credit__list {
    right: -1px;
    left: auto;
    -webkit-transform: translate(20%, 100%);
        -ms-transform: translate(20%, 100%);
            transform: translate(20%, 100%);
  }
}

@media (max-width: 370px) {
  .credit__list-item {
    font-size: 12px !important;
  }

  .credit__list {
    -webkit-transform: translate(0, 100%);
        -ms-transform: translate(0, 100%);
            transform: translate(0, 100%);
  }
}

@media (min-width: 911px) and (max-width: 1190px) {
  .goods-list .goods-list-item:nth-child(3n+3) .credit__list {
    right: -1px;
    left: auto;
  }

  .goods-list .goods-list-item:nth-child(3n+2) .credit__list {
    -webkit-transform: translate(-40%, 100%);
        -ms-transform: translate(-40%, 100%);
            transform: translate(-40%, 100%);
  }
}

@media (min-width: 601px) and (max-width: 910px) {
  .goods-list .goods-list-item:nth-child(2n+2) .credit__list {
    right: -1px;
    left: auto;
  }
}

@media (min-width: 509px) and (max-width: 600px) {
  .goods-list .goods-list-item .credit__list {
    -webkit-transform: translate(-40%, 100%);
        -ms-transform: translate(-40%, 100%);
            transform: translate(-40%, 100%);
  }
}