main {
  padding-bottom: 95px;
}
main .inner {
  display: flex;
  width: 100%;
  max-width: 1185px;
  margin: 25px auto 0;
  -moz-column-gap: 48px;
       column-gap: 48px;
  align-items: flex-start;
  padding: 0 15px;
}
main .inner section {
  flex-grow: 1;
}
main .inner section > div,
main .inner section form > div {
  border-radius: 12px;
  padding: 40px 30px;
  background: white;
  box-shadow: 0px 4px 20px 0px rgba(207, 207, 207, 0.25);
  margin: 0 auto 10px;
}
main .inner section > div > p,
main .inner section form > div > p {
  color: #1e1e1e;
  margin-bottom: 20px;
}
main .inner section .item-info > div {
  display: flex;
  align-items: center;
  -moz-column-gap: 38px;
       column-gap: 38px;
}
main .inner section .item-info > div img {
  width: 346px;
  aspect-ratio: 346/246;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 12px;
}
main .inner section .item-info > div .item-wrapper {
  color: #1e1e1e;
  flex-grow: 1;
}
main .inner section .item-info > div .item-wrapper:last-child {
  margin-bottom: 0 !important;
}
main .inner section .item-info > div .item-wrapper > * {
  margin-bottom: 12px;
}
main .inner section .item-info > div .item-wrapper .name {
  margin-bottom: 16px;
}
main .inner section .item-info > div .item-wrapper .info {
  color: #b0b0b0;
}
main .inner section .buyer-info label,
main .inner section .buyer-info > div {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
main .inner section .buyer-info label:last-of-type,
main .inner section .buyer-info > div:last-of-type {
  margin: 0;
}
main .inner section .buyer-info label span,
main .inner section .buyer-info > div span {
  flex-shrink: 0;
  width: 100px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.25px;
  color: #393939;
}
@media screen and (max-width: 767px) {
  main .inner section .buyer-info label span,
  main .inner section .buyer-info > div span {
    width: 90px;
  }
}
@media screen and (max-width: 599px) {
  main .inner section .buyer-info label span,
  main .inner section .buyer-info > div span {
    display: none;
  }
}
main .inner section .buyer-info > div > p,
main .inner section .buyer-info input,
main .inner section .buyer-info select {
  width: 100%;
  display: block;
  margin-bottom: 12px;
  border-radius: 6px;
  padding: 14px 30px;
  border: 1px solid rgba(199, 199, 199, 0.4);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.25px;
  text-align: left;
  color: #1e1e1e;
}
main .inner section .buyer-info > div > p.act,
main .inner section .buyer-info input.act,
main .inner section .buyer-info select.act {
  border: 1px solid rgb(176, 16, 16);
  color: rgb(176, 16, 16);
}
main .inner section .buyer-info > div > p::-moz-placeholder, main .inner section .buyer-info input::-moz-placeholder, main .inner section .buyer-info select::-moz-placeholder {
  color: #c7c7c7;
}
main .inner section .buyer-info > div > p::placeholder,
main .inner section .buyer-info input::placeholder,
main .inner section .buyer-info select::placeholder {
  color: #c7c7c7;
}
main .inner section .buyer-info > div > p:last-of-type,
main .inner section .buyer-info input:last-of-type,
main .inner section .buyer-info select:last-of-type {
  margin: 0;
}
main .inner section .buyer-info > div > p {
  border: none !important;
}
main .inner section .buyer-info > div {
  display: flex;
  align-items: center;
}
main .inner section .sec label {
  position: relative;
}
main .inner section .sec label select option:first-of-type {
  color: red;
}
main .inner section .sec span {
  display: block !important;
}
@media screen and (max-width: 599px) {
  main .inner section .sec span {
    width: 75px !important;
  }
}
@media screen and (max-width: 599px) {
  main .inner section .sec select {
    padding: 14px 20px !important;
  }
}
main .inner aside {
  border-radius: 12px;
  position: sticky;
  top: 135px;
  width: 350px;
  flex-shrink: 0;
  background: #1e1e1e;
  padding: 40px 35px;
  text-align: left;
}
main .inner aside .checkout-button {
  font-weight: 400;
  display: block;
  width: 100%;
  background: white;
  padding: 13px 0;
  text-align: center;
  border-radius: 40px;
  margin: 30px auto;
  transition: 0.3s ease;
  color: #1e1e1e;
}
main .inner aside .checkout-button:hover {
  background: #15aa93;
  color: white;
}
main .inner aside p {
  color: white;
  margin-bottom: 20px;
}
main .inner aside p.rule {
  color: #c7c7c7;
  margin-bottom: 0;
}
main .inner aside p.amount span {
  display: inline-block;
  margin-left: 24px;
}
@media screen and (max-width: 1199px) {
  main .inner {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
  main .inner aside {
    width: 320px;
    padding: 35px 30px;
  }
}
@media screen and (max-width: 1023px) {
  main {
    padding-bottom: 0;
  }
  main .inner {
    flex-direction: column;
    margin-top: 10px;
    padding: 0;
  }
  main .inner > * {
    width: 100% !important;
    border-radius: 0 !important;
  }
  main .inner section > div {
    border-radius: 0;
    padding: 20px 28px;
  }
  main .inner section .item-info > div {
    -moz-column-gap: 25px;
         column-gap: 25px;
  }
  main .inner aside {
    position: relative;
    top: unset;
  }
}
@media screen and (max-width: 767px) {
  main section .item-info > div {
    flex-direction: column;
    row-gap: 24px;
  }
  main section .item-info > div > * {
    width: 100% !important;
  }
}
@media screen and (max-width: 374px) {
  main section > div {
    padding: 20px 15px 20px !important;
  }
  main aside {
    padding: 25px 30px !important;
  }
}

main#transaction-confirmed .inner {
  display: block;
  max-width: 786px;
}
main#transaction-confirmed .inner aside {
  border-radius: 0;
  position: relative;
  width: 100%;
  top: 0;
}
main#transaction-confirmed .inner aside div {
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
main#transaction-confirmed .inner aside div a {
  width: 50%;
}
main#transaction-confirmed .inner aside div a.return-button {
  background: #1e1e1e;
  border: 1px solid white;
  color: white;
  font-weight: 400;
  display: block;
  padding: 13px 0;
  text-align: center;
  border-radius: 40px;
  margin: 30px auto;
  transition: 0.3s ease;
}