.complem {
  width: 100%;
  margin: 15px 0;

  &__inner {
    width: 100%;
    background-color: $white;
    border: 0;
  }

  &__img {
    border: 0;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
  }

  &__head {
    &-1,
    &-2,
    &-3 {
      overflow: hidden;
    }

    &-1 {
      height: 24px;
    }

    &-2 {
      height: 48px;
    }

    &-3 {
      height: 72px;
    }
  }

  &__price {
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    margin-bottom: 10px;
  }

  &__list {
    padding-left: 0;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid $gray;
  }

  &__itm {
    line-height: 1.125rem;
    padding-bottom: 5px;
    list-style-type: none;
    display: flex;
    align-items: flex-start;
  }

  &__check {
    font-size: 1rem;
    color: $green;
    text-align: center;
    height: 17px;
    margin-right: 5px;
  }

  &__total {
    margin-top: 10px;
    text-align: center;

    &-sqm {
      text-align: left;
    }

    &-error {
      .complem {
        &__error {
          display: block;
        }

        &__input {
          & input {
            border: 1px solid $red;
          }
        }
      }
    }
  }

  &__quant {
    font-size: 1rem;

    &-sqm {
      font-size: 1rem;
    }
  }

  &__sum {
    font-size: 1rem;
    font-weight: bold;
  }

  &__input {
    width: 40px;
    margin: 0 5px;

    & input {
      text-align: center;
      padding: 8px;
    }
  }

  &__action {
    margin: 10px 0 20px;
    text-align: center;

    & .btn {
      width: 100px;
    }
  }

  &__error {
    display: none;
    padding-top: 10px;
    line-height: 1rem;
    text-align: left;
    color: $red;
  }
}

@include media-breakpoint-up(md) {
  .complem {
    width: 50%;
    margin: 15px;

    &:first-child {
      margin-left: 0;
    }
  }
}
