/* Tejori — vendor registration page */

.rg {
  padding-bottom: 60px;
}

.rg__w {
  display: flex;
  gap: 100px;
}

/* inline, so the box keeps the text line's full height — same as the original */
.rg__pic img {
  display: inline;
  width: 100%;
  max-width: 58.333vw;
}

.rg__c {
  width: 30.573vw;
}

.rg__hd {
  padding-top: 3.125vw;
  padding-bottom: 1.302vw;
}

.rg__sub {
  font-family: var(--ff-script);
  font-size: 2.659vw;
  line-height: 1;
  letter-spacing: 0;
  color: var(--c-green);
}

.rg__h {
  margin-bottom: .781vw;
  font-size: 2.5vw;
  font-weight: 700;
  line-height: 2.344vw;
  color: var(--c-green);
}

.rg__d {
  font-size: 1.146vw;
  font-weight: 600;
  line-height: 1.719vw;
  color: #000;
}

/* ---------- fields ---------- */

.rg__grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3.385vw;
}

.rg__i {
  flex: 1 1 100%;
}

.rg__i--half {
  flex: 1 1 44%;
}

.rg__i label {
  display: block;
  margin: 1.302vw 0 .625vw;
  font-size: 1.25vw;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.rg__i input {
  width: 100%;
  height: 3.385vw;
  padding: 1.042vw;
  font-family: inherit;
  font-size: 1.042vw;
  font-weight: 400;
  border: .078vw solid #000;
  border-radius: .521vw;
  outline: none;
  box-shadow: none;
}

.rg__tel {
  display: flex;
  flex-wrap: wrap;
}

.rg__tel select {
  width: 7.813vw;
  height: 3.385vw;
  padding: 0 .26vw;
  font-family: inherit;
  font-size: 1.042vw;
  font-weight: 400;
  border: .078vw solid #000;
  border-radius: .521vw 0 0 .521vw;
  outline: none;
  box-shadow: none;
}

.rg__tel input {
  width: 74%;
  border-radius: 0 .521vw .521vw 0;
}

/* ---------- note, button, footer line ---------- */

.rg__note {
  margin: 0;
  padding-top: 1.146vw;
  font-size: 1.138vw;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: #000;
  cursor: pointer;
}

.rg__note a {
  color: #167a5a;
}

.rg__note a:hover {
  color: var(--c-green);
}

.rg__btn {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 1.563vw;
  padding: .547vw .521vw;
  font-family: inherit;
  font-size: 1.042vw;
  font-weight: 700;
  /* a <button> takes line-height: normal from the UA, not the body's 1.8 */
  line-height: normal;
  letter-spacing: .052vw;
  color: #fff;
  background: #000;
  border: 0;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}

/* the green wipes across from the left on hover */
.rg__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 100%;
  background: var(--c-green);
  transition: width .4s;
}

.rg__btn:hover::before {
  width: 100%;
}

.rg__btn__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.042vw;
}

.rg__btn__in svg {
  width: 2.187vw;
  height: 1.458vw;
}

.rg__log {
  display: block;
  clear: both;
  margin-top: 1.563vw;
  font-size: 1.146vw;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  color: #000;
}

.rg__log a {
  color: #000;
}

@media (max-width: 767px) {
  .rg {
    padding-block: 4.545vw;
    padding-inline: 4.545vw;
  }

  .rg__w {
    display: block;
  }

  .rg__pic img {
    max-width: 100%;
  }

  .rg__c {
    width: 100%;
    margin-top: 2.273vw;
  }

  .rg__hd {
    padding-top: 0;
  }

  .rg__sub {
    font-size: 8.701vw;
  }

  .rg__h {
    font-size: 8.182vw;
    line-height: 10.227vw;
  }

  .rg__d {
    margin-bottom: 3.955vw;
    font-size: 3.409vw;
    line-height: 150%;
    letter-spacing: 0;
  }

  .rg__grid {
    gap: 3.409vw 0;
  }

  .rg__i--half {
    flex: 1 1 100%;
  }

  /* on small screens the placeholders do the labels' job */
  .rg__i label {
    display: none;
  }

  .rg__i input {
    height: 11.064vw;
    padding: 2.273vw 4.545vw;
    font-size: 4.545vw;
    border-width: .242vw;
    border-radius: 1.613vw;
  }

  .rg__tel select {
    width: 28.409vw;
    height: 11.064vw;
    font-size: 3.636vw;
    border-radius: 1.613vw 0 0 1.613vw;
  }

  .rg__tel input {
    width: 68%;
    border-radius: 0 1.613vw 1.613vw 0;
  }

  .rg__note {
    padding-top: 4.091vw;
    font-size: 3.9vw;
  }

  .rg__btn {
    margin-top: 4.091vw;
    padding: 2.391vw 3.409vw;
    font-size: 4.545vw;
    letter-spacing: .227vw;
  }

  .rg__btn__in {
    gap: 5vw;
  }

  .rg__btn__in svg {
    width: 8.759vw;
    height: 6.58vw;
  }

  .rg__log {
    margin-top: 4.545vw;
    padding-bottom: 4.545vw;
    font-size: 3.75vw;
  }
}
