.pay-part {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 10px 0 30px;
  cursor: pointer;
}

.pay-part__price {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.pay-part__popup {
  display: none;
  opacity: 0;
  transition: all 0.5s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .3);
  align-items: flex-start;
  justify-content: flex-end;
  overflow: auto;
  z-index: 1031;
}

.pay-part__popup.active {
  display: flex!important;
  opacity: 1;
}

.pay-part__close-popup {
  position: absolute;
  top: 23px;
  right: 23px;
  width: 32px;
  height: 32px;
  background-image: url(/bitrix/templates/panchemodan_mobile/frontend/src/img/close.svg);
  background-size: 32px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.pay-part__content {
  width: 585px;
  height: 100vh;
  background: #fff;
  padding: 60px;
  box-sizing: border-box;
  overflow-Y: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.pay-part__title {
  font-family: Forum, sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 64px;
}

.pay-part__logos {
  display: flex;
  width: 100%;
  gap: 16px;
  justify-content: space-between;
}

.pay-part__info {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.pay-part__graph-now {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.pay-part__modal-details-of-payment {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 12px;
    width: 100%;
}

.pay-part__modal-details-of-payment_item {
    list-style-type: none;
    width: 24%;
    color: #000;
}

.pay-part__modal-details-of-payment_item:before {
  content: "";
  background: #A6A6A6;
  height: 6px;
  width: 100%;
  display: block;
}

.pay-part__modal-details-of-payment_item:first-child:before {
  background: #000;
}

.pay-part__modal-details-of-payment_date {
  color: #5E5E5E;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  margin: 4px 0;
}

.pay-part__modal-details-of-payment_price {
  color: #000;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.pay-part__notes-item {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  padding-left: 33px;
  display: block;
  margin-bottom: 9px;
  position: relative;
}

.pay-part__notes-item:last-child {
  margin-bottom: 0;
}

.pay-part__notes-item:before {
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 12.84L8.11111 19L22 5' stroke='black'/%3E%3C/svg%3E");
}

.pay-part__links,
.pay-part__links a {
  color: #5E5E5E;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}


@media (max-width: 767px) {

  .pay-part__price {
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-left: 15px;
  }

  .pay-part__content {
    padding: 16px 15px 20px;
    gap: 20px;
  }

  .pay-part__close-popup {
    top: 22px;
    right: 17px;
    width: 20px;
    height: 20px;
    background-size: 20px;
  }

  .pay-part__title {
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: -5px;
  }
}
