.ordering-container {
  width: 100vw;
  height: 100vh;
  background-position: center;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background-repeat: no-repeat;
  background-image: linear-gradient(to right, rgba(249, 248, 246, 1) 0%,rgba(249, 248, 246, 0.975) 8.5%,rgba(249, 248, 246, 0.95) 17%,rgba(249, 248, 246, 0.93) 33%,rgba(249, 248, 246, 0.9) 50%,rgba(249, 248, 246, 0.8) 67%,rgba(249, 248, 246, 0.6) 83%,rgba(249, 248, 246, 0) 100%), url("../img/ordering-1.jpg");
  display: flex;
  flex-direction: column;
  padding-left: 4rem;
  padding-top: 10rem;
  gap: 1rem;
}

.upload-bg {
  background-image: linear-gradient(to right, rgba(249, 248, 246, 1) 0%,rgba(249, 248, 246, 0.975) 8.5%,rgba(249, 248, 246, 0.95) 17%,rgba(249, 248, 246, 0.93) 33%,rgba(249, 248, 246, 0.9) 50%,rgba(249, 248, 246, 0.8) 67%,rgba(249, 248, 246, 0.6) 83%,rgba(249, 248, 246, 0) 100%), url("../img/ordering-1.jpg");
}

.product-bg {
  background-image: linear-gradient(to right, rgba(249, 248, 246, 1) 0%,rgba(249, 248, 246, 0.975) 8.5%,rgba(249, 248, 246, 0.95) 17%,rgba(249, 248, 246, 0.93) 33%,rgba(249, 248, 246, 0.9) 50%,rgba(249, 248, 246, 0.8) 67%,rgba(249, 248, 246, 0.6) 83%,rgba(249, 248, 246, 0) 100%), url("../img/ordering-2.jpg");
}

.ordering-container h1 {
  font-size: 4rem;
  font-family: mundial;
  color: #836a59FF;
  text-transform: uppercase;
}

.cancel-upload-button {
  align-self: flex-end;
  position: absolute;
  top: 0;
  margin: 2rem;
}

.cancel-icon {
  color: #836a59FF;
}

.spinner,
.check-icon,
.upload-icon {
  color: #85736aFF;
}

.ordering-container p {
  color: #15110c99;

}

.upload-columns {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.upload-left-column {
  display: flex;
  flex-direction: column;
  flex: 0 1 50%;
  align-self: flex-start;
  height: 100%;
}

.upload-right-column {
  display: flex;
  flex-direction: column;
  flex: 0 1 50%;
  height: 100%;
}

.upload-drop-area {
  background-color: white;
  border-radius: 20px;
  border: 2px solid #85736a33;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem;
}

.before-upload,
.after-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-row {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.security-bar {
  background-color: white;
  display: flex;
  flex-direction: row;
  border-radius: 30px;
  align-self: flex-start;
  padding: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.security-bar svg {
  color: #15110c99;
}

.security-bar p {
  margin-bottom: 0px;
  color: #15110c99;
}

.alt-options-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.alt-option {
  background-color: #b1b2b554;
  flex: 1 1 50%;
  border-radius: 20px;
  border: 2px solid #85736a33;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
}

.alt-option.active {
  justify-content: center;
  padding-top: 0;
  a {
    color: #15110c99;
  }
  transition: background-color 0.2s ease-in-out;
}

.alt-option.active:hover {
  cursor: pointer;
  background-color: #f9f7f654;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-screen p {
    margin-top: 20px;
    font-size: 16px;
    color: #333;
    text-align: center;
}

.loading-screen h1 {
  font-size: 4rem;
  font-family: mundial;
  color: #836a59FF;
  text-transform: uppercase;
}

.ordering-product-form {
  display: flex;
  flex-direction: row;
  height: auto;
  width: 100%;
  margin-top: 2rem;
}

#step2,
#step3 {
  padding: 4rem;
}

.ordering-progress-bar {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
}

.progress-bar-element {
  height: 10px;
  width: 100%;
  background-color: #85736a4D;
  border-radius: 5px;
}

.filled {
  background-color: #85736aFF;
}

.canvas-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  background: white;
  border-radius: 20px;
  border: solid 2px #85736a33;
  width: 100%;
  height: fit-content;
  padding: 0.5rem;
  flex: 0 1 50%;
}

#threejs {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 10px;
}

.ordering-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  h3 {
    color: #836a59FF;
    margin-bottom: 0;
  }
}

.form-control-select,
.ordering-select {
  background-color: white;
  border-radius: 10px;
  border: solid 2px #85736a33;
  font-family: mundial, sans-serif;
  padding: 0.5rem;
  width: 50%;
}

.form-control-select:focus,
.ordering-select:focus {
  outline: solid 2px #836a59FF;
  border: none;
}

.quantity-box {
  display: flex;
  flex-direction: column;
  flex: 0 1 50%;
  margin-left: auto;
  background-color: white;
  border-radius: 20px;
  border: solid 2px #85736a33;
  padding: 1rem;
  h3, p {
    color: #836a59FF;
    text-align: center;
  }
  hr {
    background-color: #B1B2B5FF;
    min-height: 1px;
    width: auto;
    margin: 0.5rem;
  }
}

.quantity-controls {
  display: flex;
  flex-direction: row;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 50%;
  gap: 0.5rem;
  button {
    color: #836a59FF;
    background-color: transparent;
    border: none;
    border-radius: 10px;
  }
  button:active {
    background-color: #f9f7f6FF;
  }
  button:focus, button:focus-visible {
    outline: none;
  }
  input {
    background: #f9f7f6FF;
    border-radius: 10px;
    border: none;
    text-align: center;
    font-size: 1rem;
  }
  input:focus-visible {
    outline: solid 2px #836a59FF;
  }
}

#quantity_wanted {
  background: #f9f7f6FF;
  border-radius: 10px;
  border: none;
  text-align: center;
  font-size: 1rem;
}
#quantity_wanted:focus-visible {
  outline: solid 2px #836a59FF;
}

.product-discount,
.product-price {
  text-align: center;
  width: 100%;
  color: #836a59FF;
}
.current-price {
  color: #836a59FF;
  .discount-amount {
    background-color: #836a59FF;
  }
}

.error-container {
  padding: 1rem;
  p {
    margin-bottom: 0;
  }
}

.customization-img {
  padding: 0.5rem;
}

.product-img {
  border-radius: 10px;
}

.mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .ordering-container {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2rem;
  }
  .ordering-container h1 {
    font-size: 2rem;
  }
  .upload-drop-area {
    padding: 2rem;
  }
  .upload-left-column {
    flex: 0 1 100%;
  }
  .cancel-upload-button {
    margin-right: 0;
  }
  .loading-screen h1 {
    font-size: 2rem;
  }
  .mobile {
    display: block;
  }
  .web {
    display: none;
  }
}
