.checkout-form__inner {
  padding: 20px 40px;
  margin: 40px 40px 0 0;
  background: #fff
}

.checkout-form__wrapper {
  display: block
}

.checkout-form__header h2 {
  font-weight: 600;
  color: #000;
  border-bottom: 1px solid #dfdfdf;
  text-transform: none;
  margin-bottom: 20px;
  text-align: left;
  padding-bottom: 20px;
  font-size: 16px;
  padding-top: 20px
}
.checkout-form__address {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}

.checkout-form__div {
  width: 100%;
  display: flex;
  margin-bottom: 3%;
  gap: 3%;
}

.checkout-form__address > .checkout-form__div:last-child {
  margin-bottom: 0;
}

.checkout-form__input-box {
  width: 100%;
  height: auto;
  position: relative;
  font-weight: 300;
}

.checkout-form__input-box input, 
.checkout-form__input-box textarea {
  width: 100%;
  padding: 10px 27px 0;
  outline: none;
  border: 1px solid #E0E0E0;
  transition: border-color .3s;
}

.checkout-form__input-box input {
  height: 50px;
}

.checkout-form__input-box textarea {
  margin: 0;
  padding-top: 20px;
}

.checkout-form__input-box input:focus, .checkout-form__input-box input:hover,
.checkout-form__input-box textarea:focus, .checkout-form__input-box textarea:hover {
  border-color: #000;
}

.checkout-form__input-box input::placeholder, textarea::placeholder {
  color: black;
  opacity: 0;
}

.checkout-form__input-box > span {
  color: #707070;
  position: absolute;
  top: 15px;
  left: 20px;
  max-width: calc(100% - 30px);
  overflow: hidden;
  pointer-events: none;
  transition: transform .3s, font-size .3s, max-width .3s;
  transform-origin: center left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.checkout-form__input-box input:not(:placeholder-shown) + span, .checkout-form__input-box input:focus + span,
.checkout-form__input-box textarea:not(:placeholder-shown) + span, .checkout-form__input-box textarea:focus + span {
  color: #707070;
  transform: translateY(-13px) scale(.75);
  max-width: 100%;
}

.checkout-form__input-box input.error,
.checkout-form__input-box textarea.error {
  border: 1px solid #CE0B10;
}

.checkout-form__input-box input.valid,
.checkout-form__input-box textarea.valid {
  border: 1px solid #54C754;
}

.name, .surname {
  width: 50%;
}

.street {
  width: 65%;
}

.num {
  width: 35%;
}

.code {
  width: 25%;
}

.city {
  width: 75%;
}

.phoneDiv {
  width: 50%;
  margin: 0;
  gap: 3%;
}

.prefix {
  width: 20%;
}

.phone {
  width: 80%;
}

.email {
  width: 50%;
}

.checkbox > label {
  font-size: 13px;
  font-weight: 400;
}

.checkout-form__select {
  width: 100%;
  height: 50px;
  border-radius: 0;
  outline: none;
  font-weight: 300
}

.checkout-form__select--prefix {
  max-width: 100px
}

.checkout-form__password-link {
  color: #000;
  text-decoration: underline;
}

.c-select {
  position: relative;
  border: 1px solid #E0E0E0;
  transition: border-color .3s;
  cursor: pointer
}

.c-select.c-select--active {
  border-color: #000
}

@media (hover: hover) {
  .c-select:hover {
      border-color:#000
  }
}

.c-select.c-select--active .c-select__list {
  max-height: 256px;
  border-color: #000;
  visibility: visible
}

.c-select__label {
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  line-height: 16px
}

.c-select__list {
  display: block;
  padding: 0;
  margin: 0;
  position: absolute;
  z-index: 10;
  left: -1px;
  width: calc(100% + 2px);
  max-height: 0;
  visibility: hidden;
  overflow-y: auto;
  list-style: none;
  background-color: #fff;
  border-width: 0 1px 1px;
  border-style: solid;
  border-color: #E0E0E0;
  transition: max-height .3s,border-color .3s,visibility .3s
}

.c-select__item {
  user-select: none
}

.c-select__item:hover {
  background-color: #e6e6e6
}

.c-select__button {
  width: 100%;
  padding: 8px 20px;
  line-height: 16px;
  background-color: transparent;
  border: none;
  border-radius: 0;
  text-align: left
}

.c-select__arrow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 22px 18px
}

.c-select__arrow svg {
  display: block;
  margin-left: auto;
  transition: transform .3s
}

.c-select.c-select--active .c-select__arrow svg {
  transform: scaleY(-1)
}

@media only screen and (max-width: 1024px) {
  .checkout-form__inner {
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media only screen and (max-width: 760px) {
  .checkout-form__address {
    padding: 0;
  }

  .div_wrap {
    /* flex-direction: row; */
    flex-wrap: wrap;
  }

  .phoneDiv {
    width: 100%;
    margin-bottom: 3%;
  }

  .phone {
    width: 100%;
  }

  .email {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .checkout-form__select--prefix {
    max-width: none;
  }

  .checkout-form__div {
    flex-wrap: wrap;
    margin-bottom: 15px;
  }

  .checkout-form__div > * {
    width: 100%;
  }

  .checkout-form__div > input:first-child,
  .checkout-form__div > div:not(.country):first-child {
    margin-bottom: 15px;
  }

  .checkout-form__address > div:last-child {
    margin: 0;
  }

  .email {
    margin-bottom: 10px;
  }  
}