body {
  background-color: #F8F8F8;
}

.page {
  max-width: 1484px;
  margin: 0 auto;
  padding: 0 32px;
}

.order-form {
  display: flex;
  gap: 100px;
}

.process-order {
  position: relative;
  max-width: 886px;
  margin-top: 32px;
  padding: 100px 100px 192px 0;
  background: white;
}
.process-order::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: 350px;
  height: 100%;
  background: white;
}

.process-part-wrapper {
  padding: 32px 0;
  border-bottom: 1.5px solid #E6E6E6;
}
.process-part-wrapper:first-child {
  border-top: 1.5px solid #E6E6E6;
}

.part-title {
  margin-bottom: 20px;
}

.form-container {
  max-width: 786px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.form-container .input {
  max-width: 388px;
  width: calc((100% - 12px) / 2);
}

.fm-container-2 {
  gap: 0;
}

.radio-wrapper {
  margin-bottom: 20px;
}

.select {
  margin-bottom: 10px;
  cursor: pointer;
}

.form-inner {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: 0.3s;
}

.form-inner-1 .input:not(:last-child) {
  margin-bottom: 10px;
}

.form-inner-2 {
  padding-left: 32px;
}

.form-box.open .form-inner-1 {
  height: calc((var(--quantity)) * 46px + 10px + 10px + 10px);
  opacity: 1;
}
.form-box.open .form-inner-2 {
  height: calc((var(--quantity)) * 26px + 40px);
  opacity: 1;
}

.order-details {
  max-width: 434px;
  width: 100%;
  padding-top: 100px;
}

.order-body {
  max-height: 45vh;
  overflow-y: auto;
}

.details-title {
  margin-bottom: 56px;
}

.order-item {
  display: flex;
  gap: 20px;
}
.order-item:not(:last-child) {
  margin-bottom: 24px;
}

.order-img {
  width: 75px;
  height: 75px;
}

.order-title {
  margin-bottom: 12px;
  color: #494C54;
}

.detail-bottom {
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1.2px solid #E6E6E6;
}

.details-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.details-bottom-title {
  color: #868A96;
}

.details-btn {
  margin-top: 32px;
  width: 100%;
  padding: 10px;
  cursor: pointer;
}
.details-btn:disabled {
  cursor: not-allowed;
  pointer-events: none;
  background: #868A96;
}

.details-public-offer {
  margin-top: 32px;
  text-align: center;
  color: #868A96;
}
.details-public-offer a {
  text-decoration: underline;
  color: black;
  transition: ease 0.3s;
}
.details-public-offer a:hover {
  color: #ffc527;
}

@media (max-width: 1200px) {
  .order-form {
    gap: 32px;
  }
  .process-order {
    padding: 100px 32px 192px 0;
  }
}
@media (max-width: 1000px) {
  .page {
    padding: 0 0 0 32px;
  }
  .order-form {
    flex-direction: column;
  }
  .process-order {
    max-width: 100%;
    padding: 50px 32px 56px 0;
  }
  .form-container {
    max-width: 100%;
  }
  .form-container .input {
    max-width: 100%;
  }
  .order-details {
    margin: 0 auto 112px auto;
    padding-top: 0;
  }
  .detail-bottom {
    padding: 24px 0 0 0;
  }
}
@media (max-width: 900px) {
  .page {
    padding: 0 0 0 16px;
  }
  .process-order {
    max-width: 100%;
    padding: 50px 16px 56px 0;
  }
}
@media (max-width: 768px) {
  .process-order {
    margin-top: 0;
  }
  .part-title {
    margin-bottom: 16px;
  }
  .form-container {
    gap: 8px;
  }
  .form-container .input {
    width: 100%;
  }
  .fm-container-2 {
    gap: 0;
  }
  .radio-wrapper {
    margin-bottom: 16px;
  }
  .detail-bottom {
    padding: 16px 0 0 0;
  }
  .details-title {
    margin-bottom: 24px;
  }
}
.np-btn {
  width: fit-content;
  margin-left: 32px;
  padding: 8px 24px 8px 16px;
  border: 1.2px solid #E6E6E6;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #494C54;
  cursor: pointer;
  transition: 0.3s;
}
.np-btn:hover {
  border: 1.2px solid #ffc527;
  color: #ffc527;
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.logo-no-margin {
  margin: 0;
}

.np-warehouse {
  margin-bottom: 8px;
}

.np-city {
  color: #494C54;
}

.np-label {
  display: none;
}
.np-label.visible {
  display: block;
}

.np-modal .modal-content {
  max-height: 80vh;
}

.m-wrapper:not(:last-child) {
  margin-bottom: 16px;
}

.result-list {
  height: 0;
  overflow-y: hidden;
  transition: height 0.3s;
}
.result-list.open {
  overflow-y: auto;
  height: 40vh;
}

.result-item {
  padding: 24px;
}
.result-item:not(:last-child) {
  border-bottom: 1.2px solid #E6E6E6;
}

.res-settelment, .res-warehouse {
  margin-bottom: 8px;
}

.res-desc {
  color: #868A96;
}

.warehouse-item {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.warehouse-item .res-desc {
  flex: 0 0 auto;
}

.no-items {
  font-family: Regular;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #494C54;
}

@media (max-width: 768px) {
  .result-item {
    padding: 16px 8px;
  }
}