/* Order history shares the landing typography, navigation and footer. */
.ms-orders .ms-order-hero{padding:20px 0}
.ms-order-hero-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.ms-orders .ms-order-hero h1{font-size:clamp(34px,3.3vw,46px)}
.ms-orders .ms-order-hero p{margin-top:18px;font-size:14px}
.ms-orders .ms-order-section{padding:44px 0 60px}
.ms-order-access{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid var(--ms-line);border-radius:14px;overflow:hidden;margin-bottom:48px}
.ms-member-card,.ms-guest-card{padding:36px 40px}
.ms-member-card{background:#f4f6fb;border-right:1px solid var(--ms-line)}
.ms-order-access h2{font-size:25px;margin-bottom:15px}
.ms-order-access p{font-size:14px;line-height:1.85}
.ms-member-card .ms-button{margin-top:25px}
.ms-order-register{display:block;font-size:12px;color:var(--ms-muted)!important;margin-top:18px}
.ms-guest-fields{display:grid;grid-template-columns:1fr 1.4fr;gap:16px;margin-top:22px}
.ms-guest-fields label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}
.ms-orders .form-control{border:1px solid #dce1eb;border-radius:7px;min-height:48px;height:auto;font-size:14px;padding:12px 14px;color:var(--ms-ink);box-shadow:none}
.ms-orders .form-control:focus{border-color:var(--ms-blue);box-shadow:0 0 0 3px #2456df18}
.ms-order-lookup{margin-top:18px;background:#17233b!important;color:white!important;border-color:#17233b;width:100%}
.ms-guest-card small{display:block;margin-top:10px;font-size:11px;color:var(--ms-muted)}
.ms-order-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}
.ms-order-toolbar h2{font-size:25px;display:flex;gap:12px;align-items:center}
.ms-order-toolbar h2 span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:7px;background:#eef2ff;color:var(--ms-blue);font-size:13px;letter-spacing:0;padding:0 8px}
.ms-order-toolbar p{font-size:12px;margin-top:9px}
.ms-order-support-link{font-size:12px;color:var(--ms-muted)!important;white-space:nowrap}
.ms-order-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;line-height:1.6;border-top:1px solid var(--ms-line);table-layout:fixed}
.ms-order-table th{background:#f7f8fb;color:var(--ms-muted);font-weight:500;font-size:11px;text-align:center;padding:16px 8px;border-bottom:1px solid var(--ms-line)}
.ms-order-table th:nth-child(1){width:45px}.ms-order-table th:nth-child(2){width:90px}.ms-order-table th:nth-child(3){width:auto;text-align:left}.ms-order-table th:nth-child(4){width:95px}.ms-order-table th:nth-child(5){width:130px}.ms-order-table th:nth-child(6){width:70px}.ms-order-table th:nth-child(7){width:90px}.ms-order-table th:nth-child(8){width:125px}
.ms-order-table td{padding:27px 8px;border-bottom:1px solid var(--ms-line);vertical-align:middle;overflow-wrap:anywhere}
.ms-order-row:hover td{background:#fcfdff}
.ms-order-table td:first-child{text-align:center}
.ms-order-table p{font-size:12px;color:var(--ms-ink);margin:0}
.ms-order-table label{margin:0}
.ms-order-table input[type=checkbox]{width:15px;height:15px;accent-color:var(--ms-blue);vertical-align:middle;cursor:pointer}
.ms-order-table .order_detail_div{line-height:1.75!important}
.ms-order-table .open-overlay{display:block;color:var(--ms-muted);font-size:12px}
.ms-order-table .open-overlay:first-child{color:var(--ms-ink);font-size:14px;font-weight:700;margin-bottom:7px}
.ms-order-table .open-overlay:hover{color:var(--ms-blue)}
.ms-order-table .open-overlay:first-child:after{content:' ↗';color:var(--ms-blue);font-size:13px}
.ms-order-title{letter-spacing:-.025em}
.ms-order-table .m_red,.ms-order-table .red,.ms-order-table .gray{color:inherit}
.ms-order-table .blue,.ms-order-table .green{color:var(--ms-blue)}
.ms-order-table td[data-label=결제금액] p{font-weight:700;font-size:14px;line-height:1.6}
.ms-order-table td[data-label=출고\ 예정] p{line-height:1.8}
.ms-order-status{display:inline-block;font-size:11px;white-space:nowrap;border-radius:5px;padding:6px 9px;background:#eef2ff;color:#2456df;font-weight:700}
.ms-order-status.is-complete{background:#eaf4ed;color:#2d724d}
.ms-orders .ms-order-table .btn{background:#fff;color:var(--ms-ink);border:1px solid #dce1eb;font-size:11px;line-height:1.5;white-space:normal;border-radius:6px;padding:9px 10px;box-shadow:none}
.ms-orders .ms-order-table .btn:hover{border-color:var(--ms-blue);color:var(--ms-blue);background:#f4f6ff}
.ms-order-empty{border:1px dashed #d9e0ec;border-radius:12px;background:#fafbfe;text-align:center;padding:40px 24px}
.ms-empty-icon{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 15px;background:#edf1fb;border-radius:12px;font-size:24px;color:var(--ms-blue)}
.ms-order-empty h3{font-size:20px;margin-bottom:10px}
.ms-order-empty p{font-size:13px;line-height:1.9}
.ms-order-empty .ms-button{margin-top:22px}
.ms-orders-empty{display:none}
.ms-orders-form>p[align=center]{display:flex;justify-content:center;gap:9px;align-items:center;font-size:13px;margin:24px 0}
.ms-orders-form>p[align=center] a{border:1px solid var(--ms-line);border-radius:5px;padding:6px 10px}
.ms-order-bundle-note{background:#f5f7fc;padding:15px 18px;font-size:13px;margin-bottom:20px!important}
.ms-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ms-order-dialog{position:fixed;inset:0;margin:8px auto auto;width:min(1440px,calc(100% - 32px));height:calc(100dvh - 24px);max-height:100%;padding:0;border:1px solid var(--ms-line);border-radius:14px;color:var(--ms-ink);box-shadow:0 24px 80px #17233b44;overflow:hidden}
.ms-order-dialog::backdrop{background:#17233b88}
.ms-order-dialog[open]{display:flex;flex-direction:column}
.ms-order-dialog iframe{width:100%;flex:1;min-height:0;border:0;background:white}
body:has(.ms-order-dialog[open]){overflow:hidden}
@media(max-width:1050px){.ms-order-table th:nth-child(1){width:35px}.ms-order-table th:nth-child(2){width:75px}.ms-order-table th:nth-child(4){width:90px}.ms-order-table th:nth-child(5){width:120px}.ms-order-table th:nth-child(6){width:60px}.ms-order-table th:nth-child(7){width:80px}.ms-order-table th:nth-child(8){width:100px}.ms-member-card,.ms-guest-card{padding:30px}.ms-order-access h2{font-size:22px}}
@media(max-width:800px){.ms-order-hero-inner{align-items:start;flex-direction:column;gap:24px}.ms-order-access{grid-template-columns:1fr}.ms-member-card{border-right:0;border-bottom:1px solid var(--ms-line)}.ms-order-toolbar{align-items:start}.ms-order-toolbar h2{font-size:23px}.ms-order-toolbar p{max-width:300px}.ms-order-table{border:0;table-layout:auto;display:block}.ms-order-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ms-order-table tbody{display:grid;gap:20px}.ms-order-table .ms-order-row{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--ms-line);border-radius:12px;background:white;padding:20px;gap:17px 18px}.ms-order-table td{display:block;padding:0;border:0;min-width:0}.ms-order-table td p{text-align:left}.ms-order-table td>div{line-height:1.7!important}.ms-order-table td:before{content:attr(data-label);display:block;color:var(--ms-muted);font-size:10px;font-weight:400;margin-bottom:7px}.ms-order-table td:first-child{grid-column:2;grid-row:1;text-align:right;align-self:center}.ms-order-table td:first-child:before{display:inline;margin:0 8px 0 0}.ms-order-table td:nth-child(2){grid-column:1;grid-row:1}.ms-order-table td:nth-child(2) br{display:none}.ms-order-table td:nth-child(3){grid-column:1/-1;grid-row:2;border-top:1px solid var(--ms-line);padding-top:16px}.ms-order-table td:nth-child(3):before{display:none}.ms-order-table td:nth-child(8){grid-column:1/-1;padding-top:16px;border-top:1px solid var(--ms-line)}.ms-order-table td:nth-child(8):before{display:none}.ms-orders .ms-order-table .btn{width:100%;padding:12px;font-size:12px}.ms-order-table .open-overlay:first-child{font-size:16px}.ms-order-row:hover td{background:transparent}}
@media(max-width:480px){.ms-orders .ms-order-hero h1{font-size:33px}.ms-order-hero p{font-size:13px!important}.ms-orders .ms-order-section{padding-top:28px}.ms-member-card,.ms-guest-card{padding:27px 23px}.ms-order-access h2{font-size:22px}.ms-guest-fields{grid-template-columns:1fr;gap:16px}.ms-order-access{margin-bottom:32px}.ms-order-toolbar{flex-direction:column;gap:14px}.ms-order-empty{padding:32px 18px}.ms-order-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:10px}}
.ms-order-pagination{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:26px}.ms-order-pagination button{border:1px solid var(--ms-line);background:#fff;border-radius:6px;min-width:36px;min-height:36px;font-size:12px;color:var(--ms-muted);cursor:pointer}.ms-order-pagination button[aria-current=page]{background:var(--ms-blue);color:white;border-color:var(--ms-blue)}
.ms-order-table .open-overlay:first-child br{display:none}.ms-orders-form>.ms-button{margin-bottom:20px}.ms-orders-form .newLine{margin-top:20px}
.ms-orders-form:not(.ms-orders-cart) .ms-order-table th:first-child,.ms-orders-form:not(.ms-orders-cart) .ms-order-table td:first-child{display:none}@media(max-width:800px){.ms-orders-form:not(.ms-orders-cart) .ms-order-table td:nth-child(2){grid-column:1/-1}}
.ms-selection-count{font-size:12px;color:var(--ms-blue)!important;margin:0 0 14px!important}
.ms-order-more{display:flex;justify-content:center;margin-top:26px}.ms-order-more .ms-button{min-width:220px;gap:8px}.ms-order-more .ms-button span{color:var(--ms-muted);font-weight:500}.ms-order-more .ms-button:disabled{opacity:.6;cursor:wait}
