.popup-more.show-popup{
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: all !important;
  .popup-more__wrapper{
    transform: translateY(0%) !important;
  }
}
.popup-more{
  position: fixed;
  left: 0;
  z-index: 15;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
  pointer-events: none;
  &__wrapper{
    transition: all 0.4s;
    transform: translateY(150%);
  }
  &__bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    cursor: pointer;
  }
  &__content{
    position: relative;
    z-index: 150;
    background: #FFFFFF;
    border-radius: 15px;
    padding: 25px;
    max-width: 610px;
    &.uploading {
      & .popup-more__info,
      & .popup-more__addition {
        opacity: 0.5;
        & * {
          touch-action: none;
          pointer-events: none;
        }
      }
    }
  }
  &__close{
    position: absolute;
    right: -30px;
    top: 15px;
    cursor: pointer;
    .close-line{
      display: none;
    }
  }
  &__info{
    background: #F7F7F7;
    border-radius: 10px;
    transition: opacity 400ms ease;
    .info-wrapper{
      display: flex;
      padding: 18px;
      flex-flow: row wrap;
      .info-image{
        width: 151px;
        img{
          max-width: 100%;
        }
      }
      .info-content{
        padding-left: 25px;
        flex: 1;
        p{
          margin: 0;
        }
        .content-title{
          font-family: PT Sans;
          font-style: normal;
          font-weight: bold;
          font-size: 18px;
          line-height: 23px;
          color: #3A3838;
          padding-top: 30px;
        }
        .content-desc{
          font-family: PT Sans;
          font-style: normal;
          font-weight: normal;
          font-size: 14px;
          line-height: 18px;
          color: #3A3838;
          padding-top: 2px;
        }
        .content-size{
          font-family: PT Sans;
          font-style: normal;
          font-weight: normal;
          font-size: 14px;
          line-height: 18px;
          color: #3A3838;
          padding-top: 10px;
        }
      }
      .info-type{
        display: block;
        width: 100%;
        .type-wrapper{
          display: flex;
          justify-content: space-between;
          padding-top: 25px;
          .type-size{
            display: flex;
            align-items: center;
            input{
              display: none;
            }
            input[type="radio"]:checked + label{
              color: #FFFFFF;
              background: #ED1A3A;
            }
            .tab{
              margin-right: 13px;
              &:nth-last-child(1){
                margin-right: 0;
              }
            }
            label{
              display: block;
              font-family: PT Sans;
              font-style: normal;
              font-weight: normal;
              font-size: 14px;
              line-height: 18px;
              color: #3A3838;
              background: #EDEDED;
              border-radius: 23px;
              padding: 4px 11px;
              border: 0;
              cursor: pointer;
            }
          }
          .type-counter{
            display: flex;
            align-items: center;
            .count-num{
              font-family: PT Sans;
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              color: #3A3838;
              text-align: center;
              width: 20px;
            }
            .counter-item{
              display: flex;
              align-items: center;
              justify-content: center;
              width: 25px;
              height: 25px;
              background: #EDEDED;
              border-radius: 100%;
              border: 0;
              margin-right: 5px;
              margin-left: 5px;
              cursor: pointer;
            }
          }
        }
      }
    }
  }
  &__addition{
    transition: opacity 400ms ease;
    .addition-wrapper{
      display: flex;
      flex-direction: column;
      .addition-title{
        &__text{
          font-family: PT Sans;
          font-style: normal;
          font-weight: bold;
          font-size: 16px;
          line-height: 21px;
          color: #3A3838;
          margin-top: 25px;
          margin-bottom: 0;
        }
      }
      .addition-list{
        padding-top: 15px;
        &__wrapper{
          display: flex;
          flex-flow: row wrap;
          .addition-item{
            cursor: pointer;
            margin-right: 8px;
            &:nth-last-child(1){
              margin-right: 0;
            }
            input{
              display: none;
            }
            input[type="checkbox"]:checked + label{
              border: 1px solid #ED1A3A !important;
              .addition-item__count{
                opacity: 1 !important;
              }
            }
            &__content{
              display: flex;
              flex-direction: column;
              align-items: center;
              width: 93px;
              height: 130px;
              background: #F7F7F7;
              border-radius: 10px;
              border: 1px solid #F7F7F7;
              cursor: pointer;
              position: relative;
            }
            &__count{
              font-family: PT Sans;
              font-style: normal;
              font-weight: normal;
              font-size: 11px;
              line-height: 14px;
              color: #000000;
              position: absolute;
              top: 6px;
              right: 6px;
              opacity: 0;
            }
            &__img{
              width: 65px;
              height: 65px;
              margin-top: 2px;
              object-fit: none;
            }
            &__title{
              font-family: PT Sans;
              font-style: normal;
              font-weight: bold;
              font-size: 12px;
              line-height: 16px;
              color: #3A3838;
            }
            &__price{
              font-family: PT Sans;
              font-style: normal;
              font-weight: bold;
              font-size: 12px;
              line-height: 16px;
              text-align: center;
              color: #3A3838;
              padding-top: 11px;
            }
          }
        }
      }
      .addition-submit{
        display: flex;
        justify-content: center;
        padding-top: 30px;
        .submit-btn{
          font-family: PT Sans;
          font-style: normal;
          font-weight: normal;
          font-size: 16px;
          line-height: 21px;
          color: #FFFFFF;
          background: #ED1A3A;
          border-radius: 23px;
          padding: 7px 18px;
          border: 0;
          cursor: pointer;
        }
      }
    }
  }
}
@media (max-width: 600px) {
  .popup-more{
    align-items: flex-start;
    &__content{
      border-radius: 0;
      height: auto;
    }
    &__close{
      position: relative;
      top: -25px;
      left: -25px;
      width: calc(100% + 50px);
      background: #EDEDED;
      .close__btn{
        display: none;
      }
      .close-line{
        width: 100%;
        display: block;
        &__btn{
          padding: 13px 20px;
          span{
            font-style: normal;
            font-weight: normal;
            font-size: 15px;
            line-height: 19px;
            color: #6C6C6C;
          }
        }
      }
    }
    &__wrapper{
      height: 100vh;
      overflow-y: scroll;
    }
    &__info{
      background: transparent;
      .info-wrapper{
        flex-direction: column;
        padding: 0;
        .info-image{
          width: 100%;
          img{
            width: 100%;
          }
        }
        .info-content{
          padding-left: 0;
          .content-title{
            font-weight: bold;
            font-size: 16px;
            line-height: 21px;
            text-transform: uppercase;
            color: #3A3838;
          }
          .content-size{
            display: none;
          }
        }
      }
    }
    &__addition{
      .addition-wrapper{
        border-top: 1px solid #E5E5E5;
        margin-top: 17px;
        .addition-list{
          &__wrapper{
            gap: 15px 6%;
            .addition-item{
              margin-right: 0;
            }
          }
        }
      }
    }
  }
}


.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #7c7c7c;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.4s linear infinite;

  position: absolute;
  z-index: 200;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}