/* 결제는 안내를 읽는 화면이 아니라 바로 결제하는 화면이다. 공용 .ms-section 의
   여백을 그대로 쓰면 결제 카드가 첫 화면 밖으로 밀려난다. 머리 부분은 .ms-hero
   자체가 20px 이라 따로 줄이지 않는다. */
.ms-payment-section{padding-top:44px}
.ms-payment-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(380px,1fr);gap:48px;align-items:start}
.ms-payment-list-heading{margin-bottom:30px}.ms-payment-list-heading h2,.ms-payment-panel h2{font-size:28px}.ms-payment-list-heading p{margin-top:15px;font-size:14px}
.ms-payment-panel{border:1px solid var(--ms-line);border-radius:18px;padding:32px;background:#fff;box-shadow:0 16px 50px #17233b08}.ms-payment-intro{margin:12px 0 28px!important;font-size:14px}
.ms-payment-field{margin-top:22px}.ms-payment-field label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}.ms-payment-field label span{color:var(--ms-blue);font-size:11px;margin-left:8px}.ms-payment-field input{width:100%;min-height:54px;border:1px solid #dce1eb;border-radius:7px;padding:13px 15px;background:#fff;color:var(--ms-ink)}.ms-payment-field input:focus{outline:3px solid #2456df22;border-color:var(--ms-blue)}.ms-payment-field small{display:block;color:var(--ms-muted);font-size:12px;margin-top:9px}.ms-amount-wrap{position:relative}.ms-amount-wrap input{padding-right:46px;font-size:23px;font-weight:700}.ms-amount-wrap>span{position:absolute;right:17px;top:15px;color:var(--ms-muted)}
.ms-widget-section{margin-top:32px;padding-top:26px;border-top:1px solid var(--ms-line)}.ms-widget-section h3{font-size:16px;margin-bottom:12px}.ms-widget-section>div{max-width:100%}#payment-button{width:100%;margin-top:20px;justify-content:space-between}.ms-payment-note{font-size:11px;text-align:center;margin-top:15px!important}
.ms-payment-empty{border:1px solid var(--ms-line);border-radius:14px;padding:48px 24px;text-align:center;background:#f8f9fc}.ms-payment-empty>span{display:block;font-size:35px;color:var(--ms-blue);margin-bottom:14px}.ms-payment-empty h3{font-size:21px}.ms-payment-empty p{font-size:13px;margin:16px 0 24px}.ms-payment-help{margin-top:32px;padding:28px;border-radius:12px;background:#eef2ff}.ms-payment-help h3{font-size:19px;margin-bottom:12px}.ms-payment-help p{font-size:13px}.ms-payment-help a{display:inline-block;font-size:24px;font-weight:700;color:var(--ms-blue);margin-top:15px}.ms-payment-help small{display:block;color:var(--ms-muted);font-size:12px}
.ms-payment-orders{display:block;width:100%;border-collapse:separate}.ms-payment-orders.is-empty{display:none}.ms-payment-orders thead,.ms-payment-orders tbody{display:block}.ms-payment-orders thead tr{display:block;padding:0 0 15px}.ms-payment-orders th{font-size:13px;font-weight:400}.ms-payment-orders th:not(:first-child){display:none}.ms-payment-orders label{margin:0;cursor:pointer}.ms-payment-orders input[type=checkbox]{width:18px;height:18px;accent-color:var(--ms-blue);vertical-align:middle;margin-right:8px}.ms-payment-orders tbody tr{display:grid;grid-template-columns:28px 1fr 1fr;gap:13px 14px;padding:24px;margin-bottom:16px;border:1px solid var(--ms-line);border-radius:12px;background:white!important}.ms-payment-orders td{font-size:12px;padding:0;min-width:0;width:auto!important;color:var(--ms-muted);text-align:left!important}.ms-payment-orders td:before{content:attr(data-label);display:block;font-size:10px;color:var(--ms-muted);margin-bottom:4px}.ms-payment-orders td:first-child{grid-column:1;grid-row:1 / span 4}.ms-payment-orders td:first-child:before{display:none}.ms-payment-orders td:nth-child(2){grid-column:2 / 4}.ms-payment-orders td:nth-child(3){grid-column:2 / 4;color:var(--ms-ink)}.ms-payment-orders td:nth-child(4){grid-column:2;color:var(--ms-blue);font-size:18px;font-weight:700}.ms-payment-orders td:nth-child(5){grid-column:3}.ms-payment-orders td:nth-child(6){grid-column:2}.ms-payment-orders td:nth-child(7){grid-column:3}.ms-payment-orders td a{color:var(--ms-ink);font-weight:700}.ms-payment-orders td a:hover{color:var(--ms-blue)}.ms-payment-orders td .btn{font-size:11px}.ms-payment-orders td div{max-width:100%}.ms-payment-check-label{display:block!important;position:static!important}
@media(max-width:1050px){.ms-payment-grid{grid-template-columns:minmax(0,1fr) minmax(350px,1fr);gap:26px}.ms-payment-panel{padding:24px}.ms-payment-list-heading h2{font-size:24px}}
@media(max-width:820px){.ms-payment-grid{grid-template-columns:1fr;gap:36px}.ms-payment-panel{padding:28px}.ms-payment-help{padding:24px}.ms-payment-section{padding:32px 0 42px}.ms-payment-orders tbody tr{padding:20px}}
@media(max-width:430px){.ms-payment-panel{padding:22px 16px}.ms-payment-panel h2{font-size:25px}.ms-payment-orders tbody tr{padding:18px 14px;gap:12px 8px}.ms-payment-orders td:nth-child(4){font-size:16px}.ms-payment-empty{padding:32px 18px}.ms-payment-empty h3{font-size:19px}}
.ms-payment-orders caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ms-payment-orders td p{text-align:left!important;color:inherit}.ms-payment-orders td:nth-child(3) a{font-size:13px;line-height:1.8}
.ms-amount-wrap input::placeholder{font-size:14px;font-weight:400;color:#8a93a3}
/* 2026-09-28 주문 목록 압축: 한 주문을 두 줄(체크·내용·금액 / 접수일·납기·배송·상태)로 줄여 여러 건을 한눈에 본다 */
.ms-payment-list-heading{margin-bottom:18px}
.pv-table-scroll>table.ms-payment-orders{min-width:0}
.ms-payment-orders thead tr{padding:0 0 8px}
.ms-payment-orders tbody tr{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 12px;position:relative;padding:12px 16px 12px 50px;margin-bottom:8px;border-radius:10px}
.ms-payment-orders tbody tr:before{content:"";order:3;flex-basis:100%;height:0}
.ms-payment-orders td p{margin:0}
.ms-payment-orders td:first-child{position:absolute;left:16px;top:14px}
.ms-payment-orders td:first-child input[type=checkbox]{margin:0}
.ms-payment-orders td:nth-child(3){order:1;flex:1 1 220px}
.ms-payment-orders td:nth-child(3):before,.ms-payment-orders td:nth-child(4):before{display:none}
.ms-payment-orders td:nth-child(3) a{line-height:1.5}
.ms-payment-orders td:nth-child(4){order:2;flex:0 0 auto;font-size:16px;text-align:right!important;white-space:nowrap}
.ms-payment-orders td:nth-child(4) p{text-align:right!important;line-height:1.3}
.ms-payment-orders td:nth-child(2),.ms-payment-orders td:nth-child(5),.ms-payment-orders td:nth-child(6),.ms-payment-orders td:nth-child(7){order:4;flex:0 0 auto;font-size:12px}
.ms-payment-orders td:nth-child(5){order:5}.ms-payment-orders td:nth-child(6){order:6}.ms-payment-orders td:nth-child(7){order:7}
.ms-payment-orders td:nth-child(2):before,.ms-payment-orders td:nth-child(5):before,.ms-payment-orders td:nth-child(6):before,.ms-payment-orders td:nth-child(7):before{display:inline;margin:0 4px 0 0;font-size:11px}
.ms-payment-orders td:nth-child(2) .ms-payment-check-label{display:inline!important}
.ms-payment-orders td:nth-child(2) label,.ms-payment-orders td:nth-child(2) p,.ms-payment-orders td:nth-child(5) p,.ms-payment-orders td:nth-child(6) p,.ms-payment-orders td:nth-child(7) p{display:inline}
@media(max-width:430px){.ms-payment-orders tbody tr{padding:10px 12px 10px 44px}.ms-payment-orders td:first-child{left:12px;top:12px}.ms-payment-orders td:nth-child(4){flex-basis:100%;text-align:left!important}.ms-payment-orders td:nth-child(4) p{text-align:left!important}}
