.modal {
  &-content,
  &-body,
  &-header,
  &-footer {
    border: 0;
    border-radius: 10px;
  }

  &-body {
    padding: 30px 40px;
    @include mq("tablet", max) {
      padding-left: 20px;
      padding-right: 20px;
    }
    position: relative;
    .close {
      position: absolute;
      top: 15px;
      right: 15px;
    }

    h4 {
      font-size: 30px;
      font-weight: 600;
      color: rgb(34, 34, 34);
      text-align: left;
      @include mq("tablet", max) {
        font-size: 24px;
      }
    }
  }
}

.terms-of-use {
  &__content {
    margin-top: 20px;
    font-size: 16px;
    font-weight: normal;
    color: rgb(34, 34, 34);
    line-height: 1.3;
    text-align: left;

    max-height: 600px;
    overflow-y: auto;

    padding-right: 10px;

    // @include mq("desktop", min) {
    /* width */
    &::-webkit-scrollbar {
      width: 4px;
      height: 4px;
    }

    /* Track */
    &::-webkit-scrollbar-track {
      background-color: rgba(#b5bdcc, 0.329);
    }

    /* Handle */
    &::-webkit-scrollbar-thumb {
      background-color: #b5bdcc;
    }

    /* Handle on hover */
    &::-webkit-scrollbar-thumb:hover {
      background-color: #b5bdcc;
    }
    // }
  }
}

.basket-modal {
  .product {
    padding: 10px;
    margin: 20px 0;

    &-title {
      font-size: 16px;

      a {
        font-size: 16px;
      }
    }

    @include mq("desktop", min) {
      // box-shadow: none;
      // padding: 0px;
    }

    &-img {
      margin-top: 0;
      margin-bottom: 0;
      height: 120px;
    }

    .product-buttons {
      margin-bottom: 0;
      button {
        width: 100%;
      }
    }
  }

  .sum-of-products {
    margin-right: 0;
  }
}

.basket-modal {
  .btn-links {
    height: 45px;
    padding: 13px 5px;
    font-size: 18px;
  }

  @media (min-width: 576px) {
    .modal-dialog {
      max-width: 550px;
    }
  }
  @media (min-width: 900px) {
    .modal-dialog {
      max-width: 850px;
    }
  }

  @media (max-width: 576px) {
    form {
      button,
      a {
        width: 100%;
        margin: 10px 0 !important;
      }

      .product-buttons {
        width: 100%;
      }
    }
  }
}

.alert-when-has-product {
  h5 {
    font-size: 20px;
    font-weight: 600;
    color: rgb(34, 34, 34);
    text-align: left;
    @include mq("tablet", max) {
      font-size: 20px;
    }
  }

  p {
    font-size: 16px;
    font-weight: normal;
    color: rgb(34, 34, 34);
    text-align: left;
    @include mq("tablet", max) {
      font-size: 16px;
    }
  }
}

.installment {
  .nav-pills .nav-link {
    border: 2px solid #b5bdcc;
    margin: 0 5px;
    background-color: transparent;
    color: #000;
    min-width: 150px;
    text-align: center;
    position: relative;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;

    @media screen and (max-width: 576px) {
      min-width: unset;
    }

    &::after {
      content: "";
      position: absolute;
      top: 5px;
      right: 10px;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      border: 2px solid #b5bdcc;
    }

    &::before {
      content: "";
      position: absolute;
      top: 8px;
      right: 13px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background-color: $my-orange;
      opacity: 0;
    }
  }

  .nav-item {
    @media screen and (max-width: 576px) {
      width: 48%;
    }
  }

  .nav-pills .nav-link.active,
  .nav-pills .show > .nav-link {
    border-color: $my-orange;
    &::after {
      border-color: $my-orange;
    }

    &::before {
      opacity: 1;
    }
  }

  .my-form__group {
    input:disabled {
      color: #000;
    }
  }
}
