.history-orders>.customer-empty{padding:28px}
.customer-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e0e6ef;padding-bottom:18px;margin-bottom:32px}.customer-tabs a{padding:10px 15px;border-radius:9px;color:#4c5c73;font-size:13px;font-weight:600;text-decoration:none}.customer-tabs a:hover{background:#f3f6fc}.customer-tabs a[aria-current]{background:#edf2ff;color:var(--brand,#1145f9)}.history-filter{display:grid;grid-template-columns:minmax(200px,2fr) repeat(3,minmax(0,1fr));gap:18px}.history-filter label,.purchase-search label{display:block;font-size:12px;font-weight:600;color:#35465f;margin-bottom:8px}.history-filter input,.history-filter select,.purchase-search input{box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid #ced8e8;border-radius:9px;background:#fff;color:#23314b;font:inherit;font-size:14px}.history-filter .errorlist{color:#a12336;font-size:13px}.history-filter>.errorlist{grid-column:1/-1}.history-filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:18px}.history-filter-actions a{font-size:13px}.history-count,.history-note{color:#637089;font-size:13px;line-height:1.65}.history-count{margin:24px 0 16px}.history-note{margin-top:22px}.history-orders{display:grid;gap:20px}.history-order-items{margin-top:20px}.history-order-items>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:22px;padding:18px 0;border-top:1px solid #e8edf5;align-items:start;color:#263650;font-size:14px}.history-order-items small{display:block;color:#627088;font-size:12px;margin-top:7px;line-height:1.5}.history-order-items a{display:inline-block;margin-top:10px;font-size:12px}.history-order-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e8edf5;padding-top:20px}.history-order-footer>div:first-child{display:grid;gap:7px}.history-order-footer small{font-size:12px;color:#637089}.history-order-footer strong{font-size:22px;color:#132139}.history-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.history-actions form{margin:0}.history-actions .btn{font-size:13px;padding:12px 18px}.purchase-search{display:flex;align-items:flex-end;gap:18px}.purchase-search>div{flex:1}.purchased-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.customer-sections .purchased-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}.purchased-card{border:1px solid #e1e7f1;border-radius:14px;padding:20px;display:flex;gap:18px;align-items:flex-start;background:#fff;min-width:0}.purchased-image{width:76px;height:86px;flex:0 0 76px;display:grid;place-items:center;border-radius:10px;background:#f5f7fc;overflow:hidden}.purchased-image img{width:100%;height:100%;object-fit:contain}.purchased-image span{font-size:28px;color:var(--brand,#1145f9)}.purchased-content{flex:1;min-width:0;overflow-wrap:anywhere}.purchased-content h3{font-size:15px;line-height:1.4;margin:9px 0}.purchased-content h3 a{color:#23314b;text-decoration:none}.purchased-content p{font-size:12px;color:#637089;line-height:1.7}.purchased-content .panel-kicker{letter-spacing:.5px;font-size:10px}.purchased-content .btn{font-size:12px;padding:11px;margin-top:14px}.history-last-order{display:inline-block;font-size:12px;margin-top:10px}.purchased-grid>.customer-empty{grid-column:1/-1;border-top:0}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:24px;align-items:start}.order-reference{font-size:12px;overflow-wrap:anywhere}.order-delivery{background:#f4f7fd;border-radius:10px;padding:18px;margin-top:22px}.order-delivery h3{font-size:16px;margin:8px 0}.order-delivery p{margin-bottom:0;overflow-wrap:anywhere}.order-timeline{list-style:none;padding:0;margin:24px 0 0;border-left:2px solid #dce5f8}.order-timeline li{padding:0 0 20px 18px;position:relative}.order-timeline li:last-child{padding-bottom:0}.order-timeline li:before{content:'';position:absolute;left:-6px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--brand,#1145f9)}.order-timeline b{font-size:13px}.order-timeline time{display:block;color:#637089;font-size:11px;margin-top:5px}.order-document .secure-total-row{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e9edf4;font-size:14px}.order-document .secure-total-row.total{font-size:18px;border:0}.order-document small{color:#637089;line-height:1.6}
@media(max-width:1100px){.purchased-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-sections .purchased-grid{grid-template-columns:1fr}.history-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail-grid{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}}
@media(max-width:700px){.customer-tabs{gap:4px;margin-bottom:24px}.customer-tabs a{padding:9px;font-size:12px}.history-filter,.order-detail-grid,.purchased-grid{grid-template-columns:1fr}.history-order-footer{align-items:flex-start;flex-direction:column}.history-order-items>div{gap:12px;grid-template-columns:minmax(0,1fr) auto}.history-order-items>div>b{grid-column:1/-1;text-align:right}.history-order .customer-section-head{flex-direction:row}.history-actions{gap:8px}.purchase-search{align-items:stretch;flex-direction:column}.purchased-card{padding:16px;gap:14px}.history-filter-actions{flex-wrap:wrap}.order-detail-grid{gap:20px}.history-note{font-size:12px}}
@media print{@page{margin:14mm}body{background:#fff!important;color:#000!important}body>*:not(main),.no-print,.flash-stack{display:none!important}.order-document{width:100%!important;max-width:none!important;padding:0!important}.order-detail-grid{display:block}.order-document .customer-card{border:1px solid #ddd;box-shadow:none;margin-bottom:16px;padding:18px;break-inside:avoid}.order-document .customer-heading{padding-bottom:18px}.order-document .customer-heading h1{font-size:26px}.order-document a{color:#000;text-decoration:none}.order-document .customer-heading p,.order-document small{color:#333}.order-document .history-order-items>div{break-inside:avoid}.order-document .customer-sections{display:block}}
