.history-content{min-width:0}.unpaid{font-size:12px;background:#f5f5f5;padding:12px 16px;border-radius:4px;color:#888}.unpaid b{font-weight:500;color:#333;margin-left:12px}.history-notice{font-size:11px;color:#888;background:#fafafa;border:1px solid #eee;padding:14px 16px;margin:0 0 24px;line-height:1.8}.history-notice b{color:#d62435;margin-right:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#history-search{border:1px solid #e3e3e3;border-radius:6px;padding:22px;background:white}.date-filter{display:flex;align-items:center;gap:10px;font-size:12px}.date-filter>span:first-child{margin-right:12px}.date-filter input{border:1px solid #ddd;padding:10px;border-radius:3px;font-size:12px;background:white;min-width:0;color:#333}.history-search-btn{background:#ef2337;color:white;padding:11px 28px;border-radius:3px;font-size:12px}.history-filter-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.period-buttons{display:flex;gap:6px}.period-buttons button{border:1px solid #ddd;padding:8px 12px;border-radius:3px;font-size:11px}.period-buttons button.active{background:#222;color:white;border-color:#222}.status-select{display:flex;gap:8px;align-items:center;font-size:11px;color:#777}.status-select select{border:1px solid #ddd;border-radius:3px;padding:8px;background:white;font-size:12px}#history-error{color:#c52535;font-size:12px;margin:12px 0 0}#history-error:empty{display:none}.history-results{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px;font-size:12px}.history-results p{margin:0}.history-results b{color:#ef2337}.history-results small,.history-results>span{color:#999;font-size:11px}.history-columns,.history-row{display:grid;grid-template-columns:135px minmax(150px,1fr) 130px 100px 115px;align-items:center;gap:12px}.history-columns{background:#f7f7f7;border-top:2px solid #222;border-bottom:1px solid #ddd;text-align:center;font-size:11px;padding:16px 10px}.history-row{border-bottom:1px solid #e5e5e5;padding:22px 10px}.history-number{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:12px}.history-number>a{font-weight:600;text-decoration:underline;text-underline-offset:3px}.history-number time{font-size:11px;color:#888}.example-tag{font-size:9px;background:#f3f3f3;color:#888;padding:1px 6px;border-radius:3px}.history-product{display:flex;align-items:center;gap:12px;min-width:0}.history-product img{width:62px;height:76px;object-fit:contain;flex-shrink:0}.history-product h2{font-size:12px;font-weight:500;line-height:1.7;margin:0 0 5px;overflow-wrap:anywhere}.history-product span{font-size:11px;color:#999}.history-payment,.history-state{display:flex;flex-direction:column;align-items:center;gap:7px}.history-payment strong{font-size:13px;font-weight:600}.history-payment span,.history-recipient,.history-state small{font-size:11px;color:#777;text-align:center}.status-badge{display:inline-block;font-size:11px;border-radius:4px;padding:5px 10px;background:#f2f2f2;color:#555;white-space:nowrap}.status-0{background:#fff4df;color:#90600b}.status-1{background:#eaf3ff;color:#2361a4}.status-2{background:#f2edff;color:#7557a6}.status-3{background:#e4f4f4;color:#147a7e}.status-4{background:#eff5eb;color:#45762b}.status-5{background:#fff0f1;color:#bc3a4a}.view-order{font-size:11px;text-decoration:underline;text-underline-offset:3px}#history-pages{display:flex;justify-content:center;gap:6px;margin:30px 0}#history-pages button{border:1px solid #ddd;width:34px;height:34px;font-size:12px}#history-pages button[aria-current=page]{background:#222;color:white;border-color:#222}#history-empty,#detail-missing{text-align:center;padding:65px 15px;border-bottom:1px solid #eee}#history-empty h2,#detail-missing h2{font-size:18px;font-weight:500}#history-empty p,#detail-missing p{font-size:12px;color:#888}#history-empty button{background:#222;color:white;font-size:12px;padding:13px 20px;border-radius:4px;margin-top:10px}.back-orders{border:1px solid #ddd;border-radius:4px;padding:10px 15px;font-size:12px}.order-detail-overview{border-top:2px solid #222;display:flex;align-items:center;justify-content:space-between;padding:24px 0}.order-detail-overview small{font-size:11px;color:#999}.order-detail-overview h2{font-size:22px;margin:4px 0}.order-detail-overview p{font-size:12px;color:#888;margin:0}.order-progress{display:flex;list-style:none;padding:22px 0;margin:0 0 30px;background:#fafafa;border:1px solid #eee;border-radius:6px;justify-content:space-around}.order-progress li{display:flex;flex-direction:column;align-items:center;gap:9px;color:#aaa;font-size:12px;position:relative}.order-progress span{display:grid;place-items:center;width:28px;height:28px;background:#eee;border-radius:50%;font-size:11px}.order-progress .reached{color:#555}.order-progress .reached span{background:#333;color:white}.order-progress [aria-current=step]{color:#e7283c;font-weight:bold}.order-progress [aria-current=step] span{background:#ef2337;color:white}.history-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.history-box{border:1px solid #e5e5e5;border-radius:6px;padding:24px;min-width:0}.history-box>h2{font-size:17px;margin:0 0 22px;border-bottom:1px solid #eee;padding-bottom:17px}.history-box h2 small{font-size:11px;font-weight:400;color:#999;margin-left:8px}.history-box dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;font-size:12px;margin:0}.history-box dt{color:#888}.history-box dd{margin:0;overflow-wrap:anywhere}.history-box .final-money{border-top:1px solid #eee;padding-top:16px;font-weight:bold;color:#e3243a;font-size:14px}.detail-note,.cancel-example{font-size:11px;color:#999;line-height:1.8;margin:16px 0 0}.cancel-example{background:#fff4f5;color:#ad3a4a;padding:18px;margin-bottom:24px}.history-goods article{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #eee}.history-goods img{width:65px;height:75px;object-fit:contain}.history-goods article>a{flex-shrink:0}.history-goods article>div{flex:1;min-width:0}.history-goods h3{font-size:12px;font-weight:500;line-height:1.7;margin:0;overflow-wrap:anywhere}.history-goods p{font-size:11px;color:#777;margin:7px 0}.history-goods small{font-size:10px;color:#999}.history-goods strong{font-size:12px;white-space:nowrap}.history-detail-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:30px;font-size:12px}.history-page input,.history-page button,.history-page select,.history-page a{scroll-margin-top:180px;scroll-margin-bottom:70px}
@media(max-width:1100px) and (min-width:768px){.history-columns,.history-row{grid-template-columns:95px minmax(120px,1fr) 95px 75px 85px;gap:7px}.history-product{flex-direction:column;align-items:flex-start}.history-filter-bottom{flex-wrap:wrap}.date-filter{gap:7px}.date-filter input{width:135px}.history-search-btn{padding:11px 18px}}
@media(max-width:767px){.history-page .cart-heading{align-items:flex-start;gap:12px}.unpaid{font-size:10px;padding:10px}.unpaid b{display:block;margin:3px 0 0}.history-notice{font-size:10px;padding:12px;line-height:1.8}.history-notice b{display:block}#history-search{padding:15px 12px}.date-filter{display:grid;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr) auto;gap:5px}.date-filter>span:first-child{grid-column:1/-1;margin:0 0 6px}.date-filter label{min-width:0}.date-filter input{width:100%;max-width:100%;font-size:11px;padding:9px 3px;min-height:37px}.history-search-btn{padding:10px 9px;font-size:11px}.history-filter-bottom{flex-direction:column;align-items:stretch;gap:14px}.period-buttons{gap:4px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.period-buttons button{padding:8px 2px;font-size:10px}.status-select{justify-content:space-between}.status-select select{width:145px}.history-columns{display:none!important}.history-row{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:18px 14px;border:1px solid #e5e5e5;border-radius:7px;margin-bottom:13px}.history-number{grid-column:1;grid-row:1;align-items:flex-start;font-size:12px;gap:3px}.history-number .example-tag{display:none}.history-state{grid-column:2;grid-row:1;align-items:flex-end;gap:5px}.history-product{grid-column:1/-1;grid-row:2;padding:14px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.history-product img{width:66px;height:78px}.history-product h2{font-size:12px}.history-payment{grid-column:2;grid-row:3;align-items:flex-end;gap:3px}.history-recipient{grid-column:1;grid-row:3;text-align:left;align-self:center}.history-recipient:before{content:'수령인 ';color:#aaa}.history-state small{font-size:10px}.view-order{font-size:10px}.history-results{margin-top:24px;font-size:12px}.history-detail-grid{grid-template-columns:1fr;gap:16px}.history-box{padding:20px 16px}.history-box dl{grid-template-columns:90px minmax(0,1fr);font-size:12px;gap:13px}.history-box>h2{font-size:16px}.back-orders{font-size:11px;padding:8px 12px}.order-detail-overview{padding:18px 0}.order-detail-overview h2{font-size:21px}.order-progress{padding:18px 6px;margin-bottom:20px}.order-progress li{font-size:10px;gap:7px}.order-progress span{width:24px;height:24px;font-size:10px}.history-goods article{gap:10px;flex-wrap:wrap}.history-goods strong{width:100%;text-align:right}.history-detail-bottom{gap:10px;font-size:11px}.history-detail-bottom .primary-link{font-size:11px;padding:13px 16px}.history-page .cart-main{padding-bottom:35px}}
@media(max-width:767px){.history-page .unpaid{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px}.history-page .unpaid b{display:inline;margin:0}}
