.checkout {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10rem 0rem;
}

.to_pay button {
  background-color: var(--Orange_main);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  outline: none;
  margin-top: 4rem;
  cursor: pointer;
}

.checkout h1 {
  color: var(--Orange_main);
  font-size: 4rem;
  font-family: Bebas;
}

.checkout_items h2 {
  color: var(--Orange_main);
  font-size: 20px;
}
.checkout_items {
  width: 70%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout_items h3,
.counter {
  margin: 2rem 0rem;
}

.checkout_items h3 {
  font-size: 28px;
  font-family: Bebas;
}
.counter button {
  background-color: var(--Orange_main);
  border-radius: 100%;
  width: 30px;
  height: 30px;
  outline: none;
  color: var(--White_main);
  border: none;
  cursor: pointer;
  margin: 0rem 0.5rem;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px; /* Adjust the gap as needed */
}

.break_line {
  width: 70%;
  height: 5px;
  background-color: grey;
}

/* order Form */

.order-form {
  width: 70%;
  height: auto;
  margin: 10rem auto; /* This centers the form horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-form h1 {
  color: var(--Orange_main);
  font-size: 4rem;
  font-family: Bebas;
}

.order-form button {
  background-color: var(--Orange_main);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  outline: none;
  margin-top: 4rem;
  cursor: pointer;
}

.form_top,
.form_mid,
.form_bottom {
  display: flex;
}

/* order Form */
.order-form input[type="tel"],
.order-form input[type="text"],
.order-form input[type="number"],
.order-form input[type="email"] {
  margin: 1rem;
  color: var(--Orange_main);
  padding: 0.5rem 1rem;
  outline: none;
}

@media (max-width: 768px) {
  .checkout {
    margin: 5rem 0;
  }

  .checkout_items {
    width: 90%;
    flex-direction: column;
  }

  .order-form {
    width: 90%;
    margin: 2rem auto;
  }

  .form_top,
  .form_mid,
  .form_bottom {
    flex-direction: column; /* Display form fields in a column on smaller screens */
  }

  .form-group {
    margin-bottom: 1.5rem; /* Adjust margin between form fields */
  }
}
