:root {
    accent-color: #F2994A;
  }
  
  *, *::after, *::before {
    box-sizing: border-box;
  }
  
  *, body {
    margin: 0;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #4F4F4F;
    font-size: 14px;
    margin-left: min(1rem, 100%);
    margin-right: min(1rem, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  h1 {
    font-size: 24px;
    line-height: 29px;
    color: #4E5150;
    padding-block: 2rem;
  }
  
  h2 {
    font-size: 14px;
    line-height: 17px;
    padding-top: 3rem;
  }
  
  p.total {
    color: #333;
    display: inline;
  }
  
  p.price-right {
    float: right;
  }
  
  p.item-title {
    font-size: 12px;
    line-height: 15px;
    padding-bottom: .5rem;
  }
  
  p.item-price {
    font-size: 14px;
    line-height: 17px;
    color: #F2994A;
    display: inline;
    padding-right: 10px;
  }
  
  p.item-old-price {
    font-size: 10px;
    line-height: 12px;
    text-decoration-line: line-through;
    color: #4E5150;
    display: inline;
  }
  
  label {
    font-size: 10px;
    line-height: 12px;
    display: block;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }
  
  input {
    border: solid 1px #828282;
    border-radius: 12px;
    width: 100%;
    height: 40px;
  }
  
  select {
    font-weight: 600;
    font-size: 12px;
    color: #828282;
    height: 40px;
    border-radius: 12px;
    width: 100%;
  }
  
  option {
    font-size: .9rem;
  }
  
  ::placeholder {
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
  }
  
  .last-input {
    display: flex;
  
    column-gap: 1rem;
  }
  
  .checkbox {
    width: auto;
    height: auto;
  }
  
  .fontawesome {
    font-family: 'Font Awesome 5 Free', 'Montserrat', sans-serif !important;
    font-weight: 700;
    padding-inline: 10px;
  }
  
  button {
    background: #F2994A;
    border-radius: 12px;
    border: none;
    width: 166px;
    height: 54px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  
  .button-box {
    display: flex;
    justify-content: flex-end;
  }
  
  .save-box {
    padding-block: 2rem;
  }
  
  a {
    color: #BDBDBD;
  }
  
  img {
    border-radius: 13px;
    width: 125px;
    height: 125px;
  }
  
  hr.solid {
    border: 0;
    border-top: 1px solid #BDBDBD;
    width: 100%;
    margin-block: .5rem;
  }
  
  p.save {
    font-size: 10px;
    display: inline;
    padding-left: 6px;
  }
  
  .container {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  header {
    display: flex;
    width: 100%;
    justify-content: flex-start;
  }
  
  aside {
    display: flex;
    flex-direction: column;
    align-content: center;
    background-color: #f2f2f2;
    border-radius: 12px;
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .item-box {
    display: flex;
  }
  
  .price-box {
    padding-inline: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .checkout-box {
    padding-top: 2rem;
  }
  
  
  .quantity-box {
    width: 120px;
    display: flex;
    border: 1px solid #828282;
    border-radius: 12px;
    padding-block: .8rem;
    justify-content: space-evenly;
  }
  
  .last-input > div {
    width: 50%;
  }
  
  form {
    width: 100%;
  }
  
  .value-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #E0E0E0;
    border: none;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #828282;
    font-size: 1.5rem;
    font-weight: 400;
  }
  
  .value-button:hover {
    cursor: pointer;
  }
  
  form #decrease {
    border-radius: 8px 0 0 8px;
  }
  
  form #increase {
    border-radius: 0 8px 8px 0;
  }
  
  form #input-wrap {
    margin: 0px;
    padding: 0px;
  }
  
  input#number1, input#number2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: none;
    margin: 0px;
    width: 25px;
    height: 20px;
    background-color: #f2f2f2;
  }
  
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
  }
  
  input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
  }
  
  .footer-info {
    display: flex;
    justify-content: center;
    font-size: 14px;
    line-height: 17px;
    color: #BDBDBD;
    margin-block: 2rem;
  }
  
  @media screen and (min-width: 660px) {
    .container {
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      width: 800px;
      max-width: 90%;
      gap: 2rem;
    }
    header {
      width: 800px;
      max-width: 90%;
    }
    aside {
      height: fit-content;
      margin-top: 3rem;
    }
    footer {
      padding-top: 3rem;
    }
    h1 {
      font-size: 36px;
    }
    h2 {
      font-size: 18px;
      line-height: 22px;
    }
    label {
      font-size: 12px;
    }
    ::placeholder, select {
      font-size: 1rem;
      line-height: 20px;
    }
    input, select {
      height: 56px;
    }
    hr.solid {
      margin-block: 0.75rem;
    }
    p.item-title, p.item-price {
      font-size: 1rem;
    }
    p.item-old-price {
      font-size: 12px;
    }
    p.total {
      font-size: 18px;
    }
    p.save {
      font-size: 12px;
      line-height: 15px;
    }
    .save-box {
      padding-bottom: 2rem;
    }
  }
  
  @media screen and (min-width: 660px) and (max-width: 850px) {
    .last-input {
      flex-wrap: wrap;
    }
    .last-input > div {
      width: 100%;
    }
    }