/* 최종 견적과 제작 주문: 상담 화면의 화이트·네이비 톤을 이어갑니다. */
.ws-final-page {
  padding-block: 70px 100px;
}
.ws-commerce-heading {
  margin-bottom: 40px;
}
.ws-commerce-heading h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.4;
  letter-spacing: -0.05em;
  margin-block: 20px;
}
.ws-commerce-heading > p:last-child {
  color: #6d7f98;
  font-size: 14px;
  line-height: 1.9;
}
.ws-final-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.ws-final-document {
  border: 1px solid #dce5f2;
  border-radius: 14px;
  padding: clamp(24px, 4vw, 50px);
  background: #fff;
  min-width: 0;
}
.ws-final-document-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 30px;
}
.ws-final-document-heading h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.04em;
  margin-top: 13px;
  line-height: 1.4;
}
.ws-final-document-heading > strong {
  color: #6983a5;
  font-size: 12px;
  white-space: nowrap;
}
.ws-final-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 45px;
  padding: 22px;
  background: #f5f8fc;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 13px;
  line-height: 1.8;
}
.ws-final-meta dt {
  color: #7c8ca1;
  font-size: 11px;
}
.ws-final-scroll-hint {
  display: none;
}
.ws-final-table-wrap,
.ws-quote-editor-table {
  overflow-x: auto;
}
.ws-final-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  text-align: right;
  font-size: 14px;
}
.ws-final-table th,
.ws-final-table td {
  padding: 20px 10px;
  border-bottom: 1px solid #e6edf6;
}
.ws-final-table thead {
  background: #f8fafd;
  color: #667c98;
  font-size: 12px;
}
.ws-final-table tr > :first-child {
  text-align: left;
  width: 44%;
}
.ws-final-table small {
  display: block;
  font-weight: 400;
  line-height: 1.8;
  color: #7e8ea4;
  margin-top: 6px;
}
.ws-final-totals {
  margin: 28px 0 35px auto;
  max-width: 380px;
}
.ws-final-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
  font-size: 13px;
  color: #687e9d;
}
.ws-final-totals > div:last-child {
  padding-top: 20px;
  border-top: 1px solid #dfe8f5;
  align-items: center;
  color: #193454;
}
.ws-final-totals > div:last-child dd {
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 700;
  white-space: nowrap;
}
.ws-final-scope {
  margin-top: 28px;
}
.ws-final-scope h3 {
  font-size: 17px;
  margin-bottom: 14px;
}
.ws-final-scope p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #566f90;
  font-size: 14px;
  line-height: 1.95;
}
.ws-final-order-form {
  max-width: 900px;
  margin: 45px auto 0;
  padding: 35px;
  background: #f7f9fd;
  border: 1px solid #e1e8f3;
  border-radius: 12px;
}
.ws-final-order-form h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.ws-final-order-form > p {
  color: #6e829f;
  font-size: 13px;
  margin-bottom: 30px;
  line-height: 1.8;
}
.ws-final-order-form .consult-consent {
  align-items: start;
}
.ws-final-order-form .consult-submit {
  margin-top: 25px;
  white-space: normal;
  line-height: 1.7;
}
.ws-commerce-notice,
.ws-quote-ready {
  padding: 30px;
  background: #eff5ff;
  border: 1px solid #dce8fc;
  border-radius: 12px;
  margin-top: 30px;
  line-height: 1.9;
}
.ws-commerce-notice h2,
.ws-quote-ready h2 {
  font-size: 24px;
  margin-block: 12px;
}
.ws-quote-ready p {
  color: #617b9e;
  font-size: 14px;
  margin-bottom: 22px;
}
.ws-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 32px;
  align-items: start;
}
.ws-order-layout > div {
  min-width: 0;
}
.ws-order-receipt {
  margin-bottom: 25px;
  padding: 25px 30px;
  background: #142d4d;
  color: #fff;
  border-radius: 12px;
}
.ws-order-receipt > span {
  display: block;
  font-size: 11px;
  color: #afc7e8;
  margin-bottom: 10px;
}
.ws-order-receipt > strong {
  font-size: 24px;
  overflow-wrap: anywhere;
}
.ws-order-receipt p {
  color: #b7cae6;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
}
.ws-order-payment {
  position: sticky;
  top: 30px;
  padding: 30px;
  background: #f3f7fd;
  border: 1px solid #e0e8f4;
  border-radius: 12px;
}
.ws-order-payment > span {
  font-size: 11px;
  color: #7389a7;
}
.ws-order-payment h2 {
  margin-block: 15px;
  font-size: 25px;
  line-height: 1.5;
}
.ws-order-payment p {
  color: #6a7f9b;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.ws-order-payment .ws-order-amount {
  color: #204976;
  font-size: 29px;
  font-weight: 650;
  white-space: nowrap;
}
.ws-order-amount small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #7c8fa9;
}
.ws-order-payment .button {
  width: 100%;
  margin-bottom: 20px;
}
.ws-quote-editor-table table {
  width: 100%;
  min-width: 750px;
  border-collapse: collapse;
}
.ws-quote-editor-table caption {
  text-align: left;
  margin-bottom: 14px;
  color: #6b7f9b;
  font-size: 12px;
}
.ws-quote-editor-table td,
.ws-quote-editor-table th {
  padding: 12px;
  border: 1px solid #e2e8f1;
  vertical-align: middle;
}
.ws-quote-editor-table th {
  background: #f4f7fc;
}
.ws-quote-editor-table td:first-child {
  width: 44%;
}
.ws-admin .ws-quote-editor-table input {
  margin-bottom: 6px;
}
.ws-quote-editor-table [data-field='quantity'] {
  min-width: 65px;
}
.ws-quote-editor-table [data-field='unit'] {
  min-width: 120px;
}
.ws-quote-editor-table output {
  display: block;
  white-space: nowrap;
  min-width: 100px;
}
.ws-quote-totals {
  display: flex;
  justify-content: end;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-block: 25px 35px;
  padding: 22px;
  background: #f3f7fd;
  font-size: 14px;
}
.ws-quote-totals b {
  display: block;
  margin-top: 8px;
}
.ws-quote-totals strong b {
  font-size: 25px;
  color: #2458a5;
}
.ws-quote-versions {
  list-style: none;
}
.ws-quote-versions li {
  display: flex;
  gap: 25px;
  padding: 12px 0;
  border-bottom: 1px solid #e4ebf5;
}
.ws-quote-versions li span {
  color: #73839a;
  font-size: 12px;
}
@media (max-width: 1000px) {
  .ws-order-layout {
    grid-template-columns: 1fr;
  }
  .ws-order-payment {
    position: static;
  }
}
@media (max-width: 600px) {
  .ws-final-scroll-hint {
    display: block;
    margin: 0 0 12px;
    color: #71839e;
    font-size: 11px;
  }
  .ws-final-page {
    padding-block: 45px 65px;
  }
  .ws-final-document-heading {
    display: block;
  }
  .ws-final-document-heading > strong {
    display: block;
    margin-top: 18px;
  }
  .ws-final-meta {
    padding: 18px;
  }
  .ws-final-order-form,
  .ws-order-payment {
    padding: 24px;
  }
  .ws-final-order-form .form-row {
    grid-template-columns: 1fr;
  }
  .ws-final-actions {
    align-items: start;
    flex-direction: column;
  }
  .ws-final-totals > div {
    font-size: 11px;
  }
}
@media print {
  .site-header,
  .site-footer,
  #hd_login_msg,
  .skip-link,
  .ws-commerce-heading,
  .ws-final-actions,
  .ws-final-order-form,
  .ws-commerce-notice,
  .consult-preview-note,
  .ws-order-payment,
  .ws-order-receipt {
    display: none !important;
  }
  .ws-final-scroll-hint {
    display: none;
  }
  .ws-final-page {
    padding: 0;
  }
  .ws-final-document {
    border: 0;
    padding: 0;
  }
  .ws-final-table {
    min-width: 0;
  }
  .ws-final-table-wrap {
    overflow: visible;
  }
  .ws-order-layout {
    display: block;
  }
}
