project/3-web/submission/4 FooBar/sass/_checkout.scss
/*---------------------
  Checkout
-----------------------*/
.coupon__code {
  color: #444444;
  font-size: 14px;
  border-top: 2px solid $heading-color;
  background: #f5f5f5;
  padding: 23px 30px 18px;
  margin-bottom: 50px;

  span {
    color: $primary-color;
  }

  a {
    color: #444444;
  }
}

.checkout__title {
  color: $heading-color;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.checkout__input {
  margin-bottom: 6px;
  
  p {
    color: #444444;
    font-weight: 500;
    margin-bottom: 12px;

    span {
      color: $primary-color;
    }
  }

  input {
    height: 50px;
    width: 100%;
    border: 1px solid #e1e1e1;
    font-size: 14px;
    color: #666666;
    padding-left: 20px;
    margin-bottom: 20px;

    &::placeholder {
      color: #666666;
    }
  }
}

.checkout__input__checkbox {

  label {
    font-size: 14px;
    color: #444444;
    position: relative;
    padding-left: 30px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
    display: block;

    input {
      position: absolute;
      visibility: hidden;

      &:checked ~ .checkmark {
        border-color: $primary-color;
      }

      &:checked ~ .checkmark:after {
        opacity: 1;
      }
    }

    .checkmark {
      position: absolute;
      left: 0;
      top: 3px;
      height: 14px;
      width: 14px;
      border: 1.5px solid #888888;
      content: "";
      border-radius: 2px;

      &:after {
        position: absolute;
        left: 1px;
        top: -3px;
        width: 14px;
        height: 7px;
        border: solid $primary-color;
        border-width: 1.5px 1.5px 0px 0px;
        -webkit-transform: rotate(127deg);
        -ms-transform: rotate(127deg);
        transform: rotate(127deg);
        content: "";
        opacity: 0;
      }
    }
  }

  p {
    color: #666666;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 22px;
  }
}

.checkout__order {
  background: #fdf3ea;
  padding: 30px;

  .order__title {
    color: $heading-color;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 25px;
    margin-bottom: 30px;
  }

  p {
    color: #444444;
    font-size: 16px;
  }

  .site-btn {
    width: 100%;
    margin-top: 8px;
    letter-spacing: 0;
  }
}

.checkout__order__products {
  font-size: 16px;
  color: $heading-color;
  overflow: hidden;
  margin-bottom: 18px;
  font-weight: 600;

  span {
    float: right;
  }
}

.checkout__total__products {
  margin-bottom: 20px;

  li {
    font-size: 16px;
    color: #444444;
    list-style: none;
    line-height: 26px;
    overflow: hidden;
    margin-bottom: 15px;
    font-weight: 500;

    &:last-child {
      margin-bottom: 0;
    }

    samp {
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 600;
    }

    span {
      color: $heading-color;
      float: right;
      font-weight: 600;
    }
  }
}

.checkout__total__all {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 15px 0;
  margin-bottom: 26px;

  li {
    list-style: none;
    font-size: 16px;
    color: $heading-color;
    line-height: 40px;
    font-weight: 600;
    overflow: hidden;

    span {
      color: $primary-color;
      float: right;
    }
  }
}