/* =========================================================
 * 구매 화면 공통 (shop.css) – 장바구니 · 견적함 · 마이페이지 · 고객센터
 * ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.w100 { width: 100%; }
.mt8 { margin-top: 8px; }
.chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.chk input { width: 18px; height: 18px; accent-color: var(--primary); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 34px; font-size: 16px; color: var(--sub); }
.qty button:hover { background: var(--primary-soft); color: var(--primary); }
.qty input { width: 50px; height: 34px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gate { padding: 70px 20px; text-align: center; background: var(--bg); border-radius: var(--radius); }
.gate i { display: block; font-style: normal; font-size: 46px; margin-bottom: 10px; }
.gate b { display: block; font-size: 18px; color: var(--ink); }
.gate p { margin-top: 8px; color: var(--sub); }
.gate div { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.free-left { margin-top: 6px; font-size: 12px; color: var(--ok); text-align: right; }

/* ---------- 페이지 제목 + 구매 절차 ---------- */
.bag-page { padding-top: 30px; }
.page-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; }
.page-hd h1 { font-size: 30px; font-weight: 800; color: var(--ink); }
.flow { display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--mute); }
.flow li { display: flex; align-items: center; gap: 4px; }
.flow li + li::before { content: '›'; margin: 0 2px; color: #c5cedb; }
.flow .on { color: var(--primary); font-weight: 800; }
.flow .done { color: var(--ink); }
.bag-tabs { display: flex; border-bottom: 2px solid var(--ink); margin-bottom: 22px; }
.bag-tabs a { display: flex; align-items: center; gap: 8px; padding: 14px 26px; font-size: 16px; font-weight: 700; color: var(--sub); border: 1px solid var(--line); border-bottom: 0; margin-right: -1px; background: var(--bg); border-radius: 10px 10px 0 0; }
.bag-tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bag-tabs em { font-style: normal; min-width: 22px; padding: 0 6px; border-radius: 11px; background: rgba(0, 0, 0, .08); font-size: 13px; text-align: center; }
.bag-tabs a.on em { background: rgba(255, 255, 255, .2); }

/* ---------- 목록 + 우측 요약 ---------- */
.bag-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.bag-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px 12px; border-bottom: 1px solid var(--line); }
.bag-tools div { display: flex; gap: 6px; }
.bag-row { display: grid; grid-template-columns: 26px 96px minmax(0, 1fr) auto 110px 110px; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.bag-row__img { position: relative; display: block; width: 96px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.bag-row__img img { width: 100%; height: 100%; object-fit: contain; }
.bag-row__img .ph span { font-size: 36px; }
.bag-row__img .ph em { display: none; }
.bag-row__img .pcard__sold { font-size: 13px; }
.bag-row__name { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.bag-row__name:hover { text-decoration: underline; }
.bag-row__opt { margin-top: 4px; font-size: 12.5px; color: var(--sub); }
.bag-row__unit { margin-top: 4px; font-size: 13px; color: var(--text); }
.bag-row__amt { text-align: right; font-size: 17px; font-weight: 800; color: var(--ink); }
.bag-row__amt small { font-size: 13px; }
.bag-row__acts { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.bag-row__del { width: 30px; height: 30px; border-radius: 50%; font-size: 20px; color: var(--mute); }
.bag-row__del:hover { background: #fff2f1; color: var(--sale); }
.bag-row.is-soldout .bag-row__name, .bag-row.is-soldout .bag-row__amt { opacity: .5; }

.bag-side { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 12px; }
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-card.sum { box-shadow: var(--shadow); }
.side-card__ttl { font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.side-card dl div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.side-card dl dt { color: var(--sub); }
.side-card dl .sub { font-size: 12.5px; padding: 2px 0; }
.side-card dl .sub dt, .side-card dl .sub dd { color: var(--mute); }
.side-card dl .total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.side-card dl .total dt { color: var(--ink); font-weight: 700; }
.side-card dl .total dd { font-size: 24px; font-weight: 800; color: var(--primary); }
.side-card dl .total small { font-size: 15px; }
.side-card .btn.lg { margin-top: 14px; height: 52px; }
.side-card .btn:disabled { background: #c9d6e8; border-color: #c9d6e8; color: #fff; cursor: not-allowed; }
.side-note { margin-top: 10px; font-size: 12.5px; color: var(--sub); line-height: 1.6; text-align: center; }
.sf { display: block; margin-bottom: 10px; }
.sf span { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.sf small { font-weight: 400; color: var(--mute); }
.sf input, .sf textarea, .sf select { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; background: #fff; resize: vertical; }
.sf input[readonly] { background: var(--bg); color: var(--sub); }
.sf input:focus, .sf textarea:focus, .sf select:focus { outline: 0; border-color: var(--primary); }

/* =========================================================
 * RESPONSIVE (장바구니·견적함)
 * ========================================================= */
@media (max-width: 1100px) {
  .bag-grid { grid-template-columns: minmax(0, 1fr); }
  .bag-side { position: static; }
}
@media (max-width: 768px) {
  .bag-page { padding-top: 16px; }
  .page-hd h1 { font-size: 22px; }
  .flow { font-size: 11.5px; }
  .bag-tabs a { flex: 1; justify-content: center; padding: 12px 8px; font-size: 14px; }
  .bag-row { grid-template-columns: 22px 72px minmax(0, 1fr) auto; grid-template-areas: 'chk img info info' 'chk img qty amt' '. acts acts acts'; gap: 8px 12px; padding: 14px 2px; }
  .bag-row__chk { grid-area: chk; align-self: start; padding-top: 26px; }
  .bag-row__img { grid-area: img; width: 72px; align-self: start; }
  .bag-row__info { grid-area: info; }
  .bag-row__name { font-size: 14px; }
  .bag-row .qty { grid-area: qty; justify-self: start; }
  .bag-row .qty button { width: 28px; }
  .bag-row .qty input { width: 40px; }
  .bag-row__amt { grid-area: amt; font-size: 16px; }
  .bag-row__acts { grid-area: acts; justify-content: space-between; }
  .bag-tools { flex-wrap: wrap; }
}

/* =========================================================
 * 마이페이지
 * ========================================================= */
.btn.xs { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 6px; }
.btn.demo { background: #fff8e6; border: 1px dashed #f0b43c; color: #8a5d08; }
.demo-sel { height: 28px; padding: 0 6px; border: 1px dashed #f0b43c; border-radius: 6px; background: #fff8e6; color: #8a5d08; font-size: 12px; cursor: pointer; }
.btn.demo:hover { background: #ffefc7; }
.lnk { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.muted { color: var(--mute); }
.hint { margin-top: 8px; font-size: 12.5px; color: var(--sub); line-height: 1.6; }
.mt12 { margin-top: 12px; }
.empty { padding: 50px 20px; text-align: center; color: var(--mute); background: var(--bg); border-radius: var(--radius); }
.tag { font-style: normal; display: inline-block; padding: 1px 7px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 11.5px; font-weight: 700; }
.req-tag { font-style: normal; margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: #fff0ef; color: var(--sale); font-size: 11px; font-weight: 700; }
.ost { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 800; }
.ost--blue { background: var(--primary-soft); color: var(--primary); }
.ost--orange { background: #fff3dd; color: #b06d08; }
.ost--purple { background: #f0ebff; color: #6a3fd6; }
.ost--green { background: #e3f6ec; color: #157a4f; }
.ost--gray { background: #eef1f5; color: var(--sub); }
.qst { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 800; }
.qst--blue { background: var(--primary-soft); color: var(--primary); }
.qst--orange { background: #fff3dd; color: #b06d08; }
.qst--green { background: #e3f6ec; color: #157a4f; }
.qst--gray { background: #eef1f5; color: var(--sub); }
.qst--red { background: #fff0ef; color: var(--sale); }

.my-page { padding-top: 26px; }
.my-hd { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: 16px; background: linear-gradient(120deg, var(--primary), #3c97ff); color: #fff; }
.my-hd__co { font-size: 22px; font-weight: 800; }
.my-hd__mgr { margin-top: 2px; font-size: 13px; opacity: .85; }
.my-hd__stats { display: flex; gap: 10px; flex-wrap: wrap; }
.my-hd__stats div { min-width: 140px; padding: 12px 18px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.my-hd__stats dt { font-size: 12.5px; opacity: .9; }
.my-hd__stats dd a { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; color: #fff; }
.my-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; margin-top: 26px; align-items: start; }
.my-nav { position: sticky; top: 72px; display: flex; flex-direction: column; padding: 10px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.my-nav__grp { padding: 12px 18px 4px; font-size: 12px; font-weight: 800; color: var(--mute); letter-spacing: .5px; }
.my-nav a { padding: 9px 18px; font-size: 14.5px; color: var(--text); border-left: 3px solid transparent; }
.my-nav a:hover { color: var(--primary); background: var(--primary-softer); }
.my-nav a.on { color: var(--primary); font-weight: 800; background: var(--primary-softer); border-left-color: var(--primary); }
.my-nav a.is-quote::before { content: '🧾 '; }
.my-nav a.is-order::before { content: '📦 '; }
.my-content { min-width: 0; }
.sec-hd2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.sec-hd2 h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.sec-hd2 p { margin-top: 6px; font-size: 13.5px; color: var(--sub); line-height: 1.6; }
.sec-hd2 b { color: var(--ink); }

.my-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 18px; }
.my-flow li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 10px; background: var(--bg); font-size: 12.5px; color: var(--sub); text-align: center; }
.my-flow b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 13px; border: 1px solid var(--primary-soft); }
.todos { display: grid; gap: 8px; margin-bottom: 22px; }
.todo { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.todo b { color: var(--ink); }
.todo span { font-size: 13.5px; color: var(--primary); font-weight: 600; }
.todo--order { border-color: #b6e6cd; background: #f1fbf6; }
.todo--quote { border-color: #ffe0a3; background: #fffaf0; }
.dash2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.box { margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.box__hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.box__hd h3 { font-size: 15.5px; color: var(--ink); }
.box__hd h3 small { margin-left: 6px; font-weight: 400; font-size: 12px; color: var(--mute); }
.box__hd a { font-size: 13px; color: var(--sub); }
.box--quote { border-top: 3px solid var(--primary); }
.box--order { border-top: 3px solid #12a46b; }
.box .pad { padding: 18px; }
.box .tbl-wrap { border: 0; border-radius: 0; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; }
.tbl th { padding: 11px 12px; background: var(--bg); color: var(--sub); font-size: 12.5px; font-weight: 700; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; white-space: nowrap; }
.tbl .sub { margin-top: 3px; font-size: 12px; color: var(--sub); }
.tbl .acts { white-space: normal; }
.tbl .acts .btn { margin: 0 4px 4px 0; }
.tbl .plus { color: var(--primary); font-weight: 700; }
.tbl .minus { color: var(--sale); font-weight: 700; }
.tbl-quote { min-width: 900px; }
.tbl-order { min-width: 960px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 17px; background: #fff; font-size: 13.5px; color: var(--sub); }
.chip em { font-style: normal; margin-left: 2px; font-size: 12px; color: var(--mute); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.chip.on em { color: rgba(255, 255, 255, .7); }
.srch { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.srch .sf { margin: 0; }
.srch .grow { flex: 1; min-width: 220px; }
.srch .btn { height: 40px; }
.info-box { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius); background: var(--primary-softer); border: 1px solid var(--primary-soft); font-size: 14px; }
.info-box p { margin-top: 4px; font-size: 13px; color: var(--sub); }

/* 주문서 */
.od-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.od-side { position: sticky; top: 72px; }
.sel, .sf-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; background: #fff; }
.sf-input { margin-top: 8px; }
.od-items { padding: 0 18px; }
.od-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 100px; grid-template-areas: 'img info qty amt' 'img acts acts acts'; gap: 6px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.od-item:last-child { border-bottom: 0; }
.od-item.is-rep { background: linear-gradient(90deg, #fffaf0, transparent 60%); }
.od-item__img { grid-area: img; width: 70px; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; align-self: start; background: #fff; }
.od-item__img img { width: 100%; height: 100%; object-fit: contain; }
.od-item__img .ph span { font-size: 28px; }
.od-item__img .ph em { display: none; }
.od-item__info { grid-area: info; min-width: 0; }
.od-item .qty { grid-area: qty; }
.od-item__name { font-weight: 600; color: var(--ink); }
.od-item__opt { margin-top: 2px; font-size: 12.5px; color: var(--sub); }
.od-item__orig { margin-top: 4px; font-size: 12px; color: var(--mute); text-decoration: line-through; }
.od-item__amt { grid-area: amt; text-align: right; font-weight: 800; color: var(--ink); }
.od-item__acts { grid-area: acts; display: flex; gap: 6px; }
.rep-tag { display: inline-block; margin-bottom: 4px; padding: 1px 8px; border-radius: 10px; background: #fff0d4; color: #a3620a; font-size: 11.5px; font-weight: 800; font-style: normal; }
.rep-tag.sm { margin: 0 0 0 4px; }
.addr-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.addr-opt { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.6; cursor: pointer; }
.addr-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-softer); }
.addr-opt input { accent-color: var(--primary); margin-top: 4px; }
.addr-form { margin-top: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--bg); }
.af { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.af-full { grid-column: 1 / -1; }
.inline2 { display: flex; gap: 6px; }
.inline2 input { max-width: 140px; }
.consent__ttl { font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.consent__tbl { width: 100%; border-collapse: collapse; font-size: 13px; border-top: 1px solid var(--ink); }
.consent__tbl th, .consent__tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.consent__tbl th { width: 130px; background: var(--bg); font-weight: 600; color: var(--ink); }
.consent__chk { display: flex; margin-top: 10px; font-size: 14px; }
.side-card dl .sub2 { font-size: 13px; padding: 3px 0; }
.side-card dl .sub2 dt { color: var(--sub); }
.side-card dl .bad dd { color: var(--sale); font-weight: 800; }
.od-warn { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: #fff2f1; color: #c8382e; font-size: 13px; line-height: 1.6; }

/* 주문 상세 모달 */
.modal__box.wide { width: min(640px, 100%); text-align: left; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal__box.wide h3 { text-align: left; }
.od-done { margin-bottom: 10px; padding: 10px 14px; border-radius: var(--radius-sm); background: #e8f8f0; color: #157a4f; font-weight: 800; }
.od-cancel { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bg); color: var(--sub); font-size: 13.5px; }
.od-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0; counter-reset: s; }
.od-steps li { position: relative; padding-top: 30px; text-align: center; font-size: 12.5px; color: var(--mute); counter-increment: s; }
.od-steps li::before { content: counter(s); position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; z-index: 1; }
.od-steps li + li::after { content: ''; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.od-steps .done, .od-steps .now { color: var(--ink); font-weight: 700; }
.od-steps .done::before, .od-steps .now::before { background: var(--primary); border-color: var(--primary); color: #fff; }
.od-steps .done + li::after, .od-steps .now::after { background: var(--primary); }
.od-sec { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.7; }
.od-sec__ttl { font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.od-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.od-lines .orig { display: block; color: var(--mute); text-decoration: line-through; font-size: 12px; }
.od-lines .sub { color: var(--sub); }
.od-lines .tot { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 15px; }
.od-lines .tot b { color: var(--primary); }
.od-hist li { display: flex; gap: 12px; font-size: 13px; }
.od-hist span { color: var(--mute); min-width: 120px; }
.modal__box .m-acts { flex-wrap: wrap; }
.rep-search { display: flex; gap: 10px; align-items: center; margin: 12px 0; }
.rep-search input[type=search] { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.rep-list { max-height: 52vh; overflow-y: auto; border-top: 1px solid var(--line); }
.rep-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 10px 6px; border-bottom: 1px solid var(--line-2); text-align: left; }
.rep-item:hover { background: var(--primary-softer); }
.rep-item__img { width: 52px; height: 52px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.rep-item__img img { width: 100%; height: 100%; object-fit: contain; }
.rep-item__img .ph span { font-size: 22px; }
.rep-item__img .ph em { display: none; }
.rep-item__txt b { display: block; font-size: 13.5px; color: var(--ink); }
.rep-item__txt small { display: block; font-size: 12px; color: var(--sub); }
.rep-item__price { font-weight: 800; color: var(--ink); white-space: nowrap; }

/* 포인트 / 배송지 / 회원정보 */
.pt-card { padding: 22px 24px; margin-bottom: 16px; border-radius: var(--radius); background: var(--primary-softer); border: 1px solid var(--primary-soft); }
.pt-card span { font-size: 13.5px; color: var(--sub); }
.pt-card b { display: block; font-size: 32px; font-weight: 800; color: var(--primary); }
.pt-card small { font-size: 18px; margin-left: 2px; }
.pt-card p { margin-top: 6px; font-size: 13px; color: var(--sub); }
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.addr-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13.5px; line-height: 1.7; }
.addr-card.on { border-color: var(--primary); background: var(--primary-softer); }
.btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.kv div { display: grid; grid-template-columns: 130px 1fr; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.kv dt { color: var(--sub); }
.chks { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 14px; }

/* 주소 검색 레이어 */
.zip-layer { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 20px; }
.zip-layer[hidden] { display: none; }
.zip-layer__dim { position: absolute; inset: 0; background: rgba(10, 20, 36, .5); }
.zip-layer__box { position: relative; display: flex; flex-direction: column; width: min(520px, 100%); height: min(600px, calc(100vh - 40px)); background: #fff; border-radius: 14px; overflow: hidden; }
.zip-layer__hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.zip-layer__hd h2 { font-size: 16px; }
.zip-layer__x { font-size: 28px; line-height: 1; color: var(--sub); }
.zip-layer__body { flex: 1; min-height: 0; }

@media (max-width: 1100px) {
  .od-grid { grid-template-columns: minmax(0, 1fr); }
  .od-side { position: static; }
  .dash2 { grid-template-columns: 1fr; }
  .my-flow { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .my-layout { grid-template-columns: 1fr; gap: 16px; }
  .my-nav { position: static; flex-direction: row; overflow-x: auto; padding: 0; scrollbar-width: none; white-space: nowrap; }
  .my-nav::-webkit-scrollbar { display: none; }
  .my-nav__grp { display: none; }
  .my-nav a { padding: 12px 14px; border-left: 0; border-bottom: 3px solid transparent; font-size: 14px; }
  .my-nav a.on { border-bottom-color: var(--primary); }
}
@media (max-width: 768px) {
  .my-page { padding-top: 14px; }
  .my-hd { padding: 18px; }
  .my-hd__co { font-size: 18px; }
  .my-hd__stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .my-hd__stats div { min-width: 0; padding: 10px; }
  .my-hd__stats dt { font-size: 11px; }
  .my-hd__stats dd a { font-size: 16px; }
  .sec-hd2 { flex-direction: column; }
  .sec-hd2 h2 { font-size: 19px; }
  .my-flow { grid-template-columns: repeat(2, 1fr); }
  .od-item { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: 'img info info' 'img qty amt' 'acts acts acts'; }
  .od-item__img { width: 60px; }
  .af { grid-template-columns: 1fr; }
  .consent__tbl th { width: 90px; }
  .kv div { grid-template-columns: 100px 1fr; }
  .zip-layer { padding: 0; align-items: stretch; }
  .zip-layer__box { width: 100%; height: 100%; border-radius: 0; }
}

/* =========================================================
 * 고객센터
 * ========================================================= */
.cs-page .page-hd { padding-bottom: 0; }
.cs-page .my-layout { margin-top: 20px; }
.cs-top { display: grid; grid-template-columns: 300px 1fr; gap: 16px; margin-bottom: 16px; }
.cs-call { padding: 22px; border-radius: var(--radius); background: linear-gradient(140deg, var(--primary), #3c97ff); color: #fff; }
.cs-call p { font-size: 13px; opacity: .9; }
.cs-call b { display: block; margin: 4px 0 8px; font-size: 28px; font-weight: 800; }
.cs-call span { display: block; font-size: 12.5px; opacity: .9; line-height: 1.7; }
.cs-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cs-quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 8px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }
.cs-quick a:hover { border-color: var(--primary); color: var(--primary); }
.cs-quick i { font-style: normal; font-size: 24px; }
.cs-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.cs-list li:last-child { border-bottom: 0; }
.cs-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-list a:hover { color: var(--primary); }
.cs-list em { font-style: normal; color: var(--primary); }
.cs-list time { flex-shrink: 0; font-size: 12.5px; color: var(--mute); }
.acc-btn { text-align: left; font-size: 14px; color: var(--ink); }
.acc-btn:hover { color: var(--primary); }
.acc-body { margin-top: 8px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); font-size: 13.5px; color: var(--text); white-space: pre-wrap; }
.faq { border-top: 1px solid var(--ink); }
.faq li { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 10px; text-align: left; font-size: 14.5px; color: var(--ink); }
.faq__q em, .faq__a em { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.faq__q.open { color: var(--primary); font-weight: 700; }
.faq__a { display: flex; gap: 12px; margin: 0 10px 14px; }
.faq__a[hidden] { display: none; }
.faq__a em { background: var(--ink); }
.guide-steps { counter-reset: g; margin-bottom: 18px; }
.guide-steps li { position: relative; padding: 14px 16px 14px 62px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: g; }
.guide-steps li::before { content: counter(g); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.guide-steps b { color: var(--ink); font-size: 15px; }
.guide-steps p { margin-top: 3px; font-size: 13.5px; color: var(--sub); line-height: 1.6; }
.dot { list-style: disc; padding-left: 18px; font-size: 14px; line-height: 1.9; color: var(--text); }
.terms-text { max-height: 70vh; overflow-y: auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfe; font: 13px/1.9 var(--font); color: var(--text); white-space: pre-wrap; word-break: keep-all; }
.terms-h { margin: 22px 0 10px; font-size: 16px; color: var(--ink); }
@media (max-width: 1100px) { .cs-top { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .cs-quick { grid-template-columns: repeat(2, 1fr); } .cs-call b { font-size: 24px; } }

.qa-answer { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #f2f7ff; }
.qa-answer p { margin-top: 4px; }
.pin { color: var(--primary); font-size: 12px; }
