@media (max-width: 1023px) {
.sub_wrap {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: #3a3d44;
}

.sub_wrap,
.sub_wrap *,
.sub_wrap *::before,
.sub_wrap *::after { box-sizing: border-box; }

section.sub_wrap { padding: 40px 20px 80px; }

.sub_wrap .sub_order { width: auto; max-width: 1260px; margin: 0 auto; }

.sub_order .sub_h1 {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 800;
  color: #222;
  letter-spacing: -.02em;
}

.sub_order .order_ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: auto;
  margin: 30px auto 40px;
  background: none;
}

.sub_order .order_ul::after { content: none; }

.sub_order .order_ul li {
  float: none;
  width: 150px;
  height: auto;
  border-bottom: 0;
  font-size: 15px;
  font-weight: 700;
  color: #b3b9c2;
  text-align: center;
  position: relative;
}

.sub_order .order_ul li.active { border-bottom: 0; color: #222; }

.sub_order .order_ul li em { margin-right: 5px; font-family: 'Montserrat', sans-serif; font-style: normal; }

.sub_order .order_ul li + li::before {
  content: "\203A";
  position: absolute;
  left: -5px;
  top: 16px;
  color: #c9ced5;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.sub_order .my_benefit {
  height: auto;
  margin-top: 0;
  padding: 14px 20px;
  background: #f6f7f9;
  border-radius: 6px;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 6px;
}

.sub_order .my_benefit .my { font-weight: 700; color: #333; }

.sub_order .my_benefit span { height: auto; line-height: 1.5; }

.sub_order .cartT01 { margin-bottom: 0; }

.sub_order .cartT01 thead td {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  padding: 14px 10px;
  border-bottom: 1px solid #333;
  white-space: nowrap;
}

.sub_order .cartT01 thead td:nth-child(4) { text-align: left; }

.sub_order .cartT01 tr { border-bottom: 0; }

.sub_order .cartT01 tbody td {
  padding: 22px 10px;
  font-size: 14px;
  vertical-align: top;
  border-bottom: 1px solid #eef0f3;
}

.sub_order .cartT01 tbody td:first-child:not([colspan]) { width: 44px; }

.sub_order .cartT01 tbody td { overflow-wrap: anywhere; }

.sub_order .cartT01 .td01 { width: 150px; color: #159fda; font-weight: 600; white-space: nowrap; }

.sub_order .cartT01 .productName { font-size: 15px; font-weight: 800; color: #222; }

.sub_order .cartT01 .td02 { padding: 22px 10px; color: #555; line-height: 1.7; }

.sub_order .cartT01 .tit02 { color: #888; font-size: 13px; }

.sub_order .cartT01 tr td.price {
  width: 130px;
  font-size: 15px;
  color: #222;
  white-space: nowrap;
}

.sub_order .cartT01 tr td.del { width: 60px; }

.sub_order .cartT01 td.del img.cartDel {
  width: 20px;
  height: 20px;
  opacity: 1;
  vertical-align: middle;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bbb' stroke-width='1.6'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14'/%3E%3C/svg%3E");
}

.sub_order .cartT01 td.del img.cartDel:hover {
  opacity: 1;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14'/%3E%3C/svg%3E");
}

.sub_order #estimateBtn {
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sub_order .order_price { margin-top: 34px; }

.sub_order .order_price > p {
  font-size: 13px;
  color: #6b7079;
  padding-top: 24px;
  border-top: 2px solid #333;
}

.sub_order .price_box {
  border-top: 0;
  border-bottom: 0;
  margin-top: 0;
  padding: 26px 0 0;
  background: none;
}

.sub_order .cartT02 { width: auto; margin: 0 auto; }

.sub_order .cartT02 tr:first-child td {
  font-size: 14px;
  color: #555;
  padding: 0 13px 10px;
}

.sub_order .cartT02 .prc01,
.sub_order .cartT02 .prc02 { width: auto; padding: 0 13px; font-size: 14px; color: #555; }

.sub_order .cartT02 .prc01 span { font-size: 26px; font-weight: 800; color: #222; }

.sub_order .cartT02 .prc02 span { font-size: 26px; font-weight: 800; color: #fb5a5a; }

.sub_order .cartT02 .sb01 { width: auto; padding: 0 13px 9px; line-height: 30px; font-size: 22px; font-weight: 400; color: #333; }

.sub_order .cartT02 tr:last-child td:last-child { padding-left: 23px; }

.sub_order .price_box button.btn01 {
  width: auto;
  min-width: 220px;
  height: 64px;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.sub_order .price_box { margin-bottom: -25px; }

.sub_order .ul_default { padding-top: 10px; }

.sub_order .ul_default li {
  background: none;
  padding-left: 0;
  font-size: 13px;
}
}

@media (min-width: 1024px) {
  .sub_order .cartT02 { position: relative; }

  .sub_order .cartT02 tr:last-child td:last-child { width: 243px; }
  .sub_order .price_box button.btn01 {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 1023px) {
  section.sub_wrap { padding: 30px 16px 60px; }

  .sub_order .cartT01 thead td,
  .sub_order .cartT01 tbody td { padding-left: 6px; padding-right: 6px; }
  .sub_order .cartT01 tbody td:first-child:not([colspan]) { width: 34px; }
  .sub_order .cartT01 .td01 { width: 96px; white-space: normal; }
  .sub_order .cartT01 tr td.price { width: 96px; }
  .sub_order .cartT01 tr td.del { width: 44px; }

}

@media (min-width: 768px) and (max-width: 1023px) {

  .sub_order .cartT02 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, auto);
    justify-content: center;
    align-items: center;
  }
  .sub_order .cartT02 tbody,
  .sub_order .cartT02 tr { display: contents; }

  .sub_order .cartT02 tr:first-child td { padding: 0 13px 10px; }
  .sub_order .cartT02 .prc01,
  .sub_order .cartT02 .prc02 { padding: 0 13px; }

  .sub_order .cartT02 .sb01 { padding: 0 13px; position: relative; top: -4.5px; }

  .sub_order .cartT02 tr:last-child td:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  section.sub_wrap { padding: 22px 14px 50px; }
  .sub_order .sub_h1 { font-size: 24px; }

  .sub_order .order_ul { margin: 22px auto 28px; }
  .sub_order .order_ul li { width: auto; flex: 1; font-size: 12px; }
  .sub_order .order_ul li + li::before { content: none; }

  .sub_order .cartT01,
  .sub_order .cartT01 tbody,
  .sub_order .cartT01 tr,
  .sub_order .cartT01 tbody td { display: block; width: auto; }
  .sub_order .cartT01 thead { display: block; }
  .sub_order .cartT01 thead td { display: none; }
  .sub_order .cartT01 thead td:first-child {
    display: flex;
    align-items: center;
    width: auto;
    height: 45px;
    padding: 0 13px;
    margin-bottom: 12px;
    border-bottom: 0;
    border-radius: 8px;
    background: #f7f7f7;
    box-sizing: border-box;
  }
  .sub_order .cartT01 thead td:first-child .chk01 {
    background-color: #fff;
    vertical-align: middle;
  }
  .sub_order .cartT01 thead td:first-child label::after {
    content: "전체 선택";
    margin-left: 8px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
  }
  .sub_order .cartT01 tbody tr {
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
  }

  .sub_order .cartT01 tbody tr:last-child { margin-bottom: 0; }
  .sub_order .cartT01 tbody td { padding: 3px 0; border-bottom: 0; }
  .sub_order .cartT01 tbody td:first-child:not([colspan]) {
    position: absolute;
    top: 12px;
    left: 12px;
    width: auto;
  }
  .sub_order .cartT01 .td01 { width: auto; padding-left: 32px; font-size: 13px; text-align: left; }
  .sub_order .cartT01 .td02 { padding: 3px 0; }
  .sub_order .cartT01 tr td.price {
    width: auto;
    text-align: left;
    margin-top: 8px;
  }
  .sub_order .cartT01 tr td.price::before {
    content: "제품금액 ";
    font-weight: 600;
    color: #888;
    font-size: 13px;
  }

  .sub_order .cartT01 tr td.del {
    position: absolute;
    top: 10px;
    right: 8px;
    width: auto;
    padding: 6px;
  }

  .sub_order .cartT02 {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    align-items: center;
  }
  .sub_order .cartT02 tbody,
  .sub_order .cartT02 tr { display: contents; }
  .sub_order .cartT02 tr:first-child td {
    text-align: left;
    padding: 0;
  }
  .sub_order .cartT02 tr:first-child td:nth-child(even) { display: none; }
  .sub_order .cartT02 .sb01 { display: none; }
  .sub_order .cartT02 .prc01,
  .sub_order .cartT02 .prc02,
  .sub_order .cartT02 .sb01 { width: auto; text-align: right; padding: 0; }
  .sub_order .cartT02 .prc01 span,
  .sub_order .cartT02 .prc02 span { font-size: 18px; }
  .sub_order .cartT02 tr:last-child td:last-child {
    grid-area: 5 / 1 / 6 / 3;
    text-align: center;
    padding: 0;
  }
  .sub_order .price_box button.btn01 {
    width: 100%;
    height: 54px;
    margin-top: 12px;
  }
}
