/* скрываем стандартную стрелку */
.t585__icon {
  display: none;
}

/* добавляем свою */
.t585__header {
  position: relative;
  padding-right: 20px;
}

.t585__header::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s;
}

/* поворот при открытии */
.t585__header.t585__opened::after {
  transform: translateY(-50%) rotate(-135deg);
}