[hidden]{display:none!important}
*{box-sizing:border-box}
body.ek-history-page{margin:0;background:#131610;color:#eff4e8;font-family:Arial,Helvetica,sans-serif;min-height:100vh}
.history-header{min-height:88px;background:#10120e;border-bottom:1px solid #30382b;padding:15px max(18px,calc((100vw - 1080px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}
.history-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:20px;font-weight:900;letter-spacing:-.04em}
.history-brand img{width:47px;height:47px;object-fit:contain;border-radius:50%}
.history-brand span span{color:#efbc4c}.history-brand small{display:block;letter-spacing:.16em;font-size:9px;color:#bec4ad;margin-top:4px}
.history-home{font-size:13px;font-weight:800;color:#d0ed93;text-decoration:none;white-space:nowrap}
.history-container{max-width:1110px;padding:49px 18px 75px;margin:0 auto}
.history-eyebrow{font-size:11px;letter-spacing:.16em;color:#add47b;font-weight:800}
.history-title-row{display:flex;align-items:end;gap:26px;justify-content:space-between;margin:9px 0 28px}
.history-title-row h1{font-size:clamp(33px,6vw,64px);font-family:Impact,'Arial Black',sans-serif;letter-spacing:0;margin:0}
.history-title-row h1 span{color:#f5b54b}.history-title-row p{color:#bcc5b2;font-size:14px;line-height:1.5;margin:6px 0 0}
.history-refresh,.history-import button{border:0;border-radius:12px;background:#d4f292;color:#24320d;padding:14px 20px;font-size:13px;font-weight:900;cursor:pointer}
.history-refresh:disabled,.history-import button:disabled{opacity:.6;cursor:progress}
.history-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:17px}
.history-card{background:#f8faf5;color:#253021;border-radius:18px;padding:22px;box-shadow:0 14px 32px #0002}
.history-card-top{display:flex;justify-content:space-between;gap:15px;align-items:start}
.history-order-number{font-size:25px;font-weight:900;line-height:1.1}.history-order-date{font-size:12px;color:#6c7865;margin-top:7px}
.history-badge{display:inline-block;background:#eaf5d3;color:#3e611a;border-radius:30px;font-weight:800;font-size:12px;padding:8px 10px;max-width:180px;text-align:center}
.history-badge.is-cancelled{background:#f9e5df;color:#a43f32}
.history-price{font-size:23px;font-weight:900;padding:17px 0 10px}.history-price span{font-size:11px;color:#6b7668;font-weight:700;display:block;margin-bottom:3px}
.history-items{margin:10px 0 16px;padding:13px 0;border-top:1px solid #dce5d6;border-bottom:1px solid #dce5d6;list-style:none;color:#53624b;font-size:13px;line-height:1.5}
.history-items li+li{margin-top:6px}.history-missing{color:#80897b}
.history-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.history-track{color:#34641a;text-decoration:none;font-size:13px;font-weight:900}.history-delete{font-size:12px;color:#98756d;border:0;background:transparent;cursor:pointer;padding:9px 0}
.history-empty{border:1px dashed #68775c;border-radius:20px;padding:36px 27px;text-align:center;grid-column:1/-1}.history-empty span{display:block;font-size:44px}.history-empty h2{font-size:23px;margin:14px 0}.history-empty p{font-size:14px;color:#b8c2af;line-height:1.6}.history-empty a{display:inline-block;margin-top:12px;background:#d4f292;color:#24320d;font-size:13px;font-weight:900;padding:14px 18px;border-radius:10px;text-decoration:none}
.history-import{margin-top:35px;background:#22291d;border:1px solid #48523c;border-radius:18px;padding:25px}
.history-import h2{margin:0 0 8px;font-size:20px}.history-import p{font-size:13px;color:#c1cab9;line-height:1.5;margin:0 0 17px}
.history-import label{display:block;font-size:12px;color:#c5d0ba;margin:0 0 8px}.history-import-controls{display:flex;gap:12px}
.history-import input{flex:1;min-width:0;padding:13px;border-radius:10px;background:#fff;color:#111;border:1px solid #c6cebc;font-size:14px}
.history-note{max-width:850px;margin:22px 0 0;color:#b9c2ae;font-size:12px;line-height:1.7}
#history-message{padding:12px 15px;margin:0 0 17px;background:#334328;border:1px solid #688351;border-radius:10px;color:#eff4e8;font-size:13px}
#history-message.error{background:#522b28;border-color:#a95b57}
.history-footer{padding:27px 17px;background:#0d100b;display:flex;justify-content:center;gap:25px;flex-wrap:wrap;font-size:12px}
.history-footer a{color:#c9dcb2;text-decoration:none}
.order-history-success{display:block;color:#3c652a;font-size:13px;text-align:center;font-weight:900;text-decoration:underline;margin:10px 0}
@media(max-width:700px){.history-header{padding:12px 14px}.history-brand{font-size:16px}.history-brand img{width:38px;height:38px}.history-home{font-size:11px}.history-title-row{display:block}.history-refresh{margin-top:20px;width:100%}.history-import-controls{flex-direction:column}.history-import button{width:100%}.history-container{padding-top:31px}}

/* Store header: history stays usable on mobile without overcrowding the cart. */
.history-head-link{margin-right:5px}
@media(max-width:720px){.history-head-link span{display:none}.history-head-link{padding:9px;min-width:34px;justify-content:center;margin-left:auto;margin-right:4px}#my-order-link{display:none!important}}
