.kinguin_product_accordion {
  margin-bottom: 60px;
  color: var( --c-text );
  .accordion__item {
    position: relative;
    padding: 10px;
    margin: 0;
    border-collapse: collapse;
    @include media-up(md) {
      padding: 15px 20px 0;
    }
    &:not(.is-shown) {
      border-top: solid 1px var( --c-gray );
      &:last-child {
        border-bottom: solid 1px var( --c-gray );
      }
    }
    .accordion__item__name {
      position: relative;
      cursor: pointer;
      @include media-up(md) {
        padding-bottom: 15px;
      }
      h2 {
        margin: 0;
        @include media-down(sm) {
          font-size: 21px;
        }
      }
      &:after {
        content: '';
        display: block;
        width: 20px;
        height: 20px;
        background-image: url("../img/chevron-right.svg");
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        top: 3px;
        right: 0;
        transition: transform .0s ease-in-out;
        @include media-up(md) {
          width: 32px;
          height: 32px;
        }
      }
    }
    .accordion__item__content {
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.3s ease-in-out;
      .wrapper {
        opacity: 0;
        padding: 10px 0 20px;
        transition: opacity .2s ease-in-out .1s;
        dl {
          margin: 0 0 10px 0;
          display: flex;
          dt {
            padding: 3px 10px 3px 0;
            border-right: solid 1px rgba( #cccccc, .75 );
            flex: 0 0 150px;
            font-weight: 600;
          }
          dd {
            margin: 0;
            padding: 3px 0 3px 10px;
          }
        }
      }
    }
    &.is-shown {
      background: var( --c-default );
      border-radius: 20px;
      .accordion__item__name:after {
        transform: rotate(90deg);
        transition: transform .2s ease-in-out;
      }
      .accordion__item__content {
        max-height: 1000px;
        .wrapper {
          opacity: 1
        }
      }
      & + .accordion__item {
        border-top-color: transparent;
      }
    }
    &.accordion--system_requirements {
      margin-bottom: 10px;
      .wrapper {
        @include media-up(md) {
          display: grid;
          grid-template-columns: 150px 1fr;
          gap: 10px;
        }
        .system {
          flex: 0 0 150px;
          padding: 3px 10px 3px 0;
          font-weight: 600;
          @include media-up(md) {
            border-right: solid 1px rgba( #cccccc, .75 );
          }
        }
        .requirement {
          @include media-up(md) {
            padding-left: 10px;
          }
        }
      }
    }
    &.accordion--reviews {
      .wrapper {
        h2 {
          display: none;
        }
        #respond {
          background-color: transparent;
          padding: 2px;
          textarea, input {
            background-color: white;
          }
        }
      }
    }
  }
}