.orders-page{background:#f6f3ee;padding:22px 4% 96px}
.orders-shell{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:start}
.orders-side{background:#fff;border:1px solid #ece4d8;border-radius:18px;padding:16px;position:sticky;top:16px}
.orders-hello{display:flex;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid #f0ebe3;margin-bottom:10px}
.orders-avatar{width:46px;height:46px;border-radius:50%;background:#087f3e;color:#fff;display:grid;place-items:center;font-weight:800;flex:0 0 46px}
.orders-hello small{display:block;color:#7b746a;font-size:12px}
.orders-hello strong{display:block;color:#1d2a22}
.orders-hello em{display:inline-block;margin-top:4px;background:#e8f6ee;color:#087f3e;font-style:normal;font-size:11px;font-weight:800;border-radius:999px;padding:2px 8px}
.orders-side nav{display:grid}
.orders-side a{text-decoration:none;color:#3d4a42;font-weight:700;padding:10px 10px;border-radius:10px}
.orders-side a.active,.orders-side a:hover{background:#f3faf5;color:#087f3e}
.orders-main{min-width:0}
.orders-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:14px}
.orders-kicker{margin:0 0 4px;color:#087f3e;font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-size:12px}
.orders-head h1{margin:0;color:#1b241e;font-size:clamp(1.8rem,3vw,2.4rem)}
.orders-head p{margin:6px 0 0;color:#6d655c;max-width:520px}
.orders-head-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.orders-shop,.orders-wa,.orders-signin{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:999px;font-weight:800;text-decoration:none;border:0;cursor:pointer}
.orders-shop{background:#fff;color:#17351f;border:1px solid #e4ddd2}
.orders-wa{background:#128c7e;color:#fff}
.orders-signin{background:#087f3e;color:#fff}
.orders-user{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #ece4d8;border-radius:16px;padding:14px 16px;margin-bottom:12px}
.orders-user span{display:block;color:#746c63;font-size:14px}
.orders-tabs{display:flex;gap:6px;overflow:auto;background:#fff;border:1px solid #ece4d8;border-radius:16px;padding:8px;margin-bottom:12px}
.order-tab{border:0;background:transparent;color:#5d564e;font-weight:800;border-radius:999px;padding:9px 12px;white-space:nowrap;cursor:pointer}
.order-tab span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;border-radius:99px;background:#f1eee8;font-size:11px}
.order-tab.active{background:#087f3e;color:#fff}
.order-tab.active span{background:rgba(255,255,255,.2);color:#fff}
.orders-toolbar{display:flex;gap:10px;margin-bottom:12px}
.orders-search{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #ece4d8;border-radius:12px;padding:0 12px}
.orders-search input,.orders-toolbar select{border:0;background:transparent;min-height:44px;font:inherit;width:100%}
.orders-toolbar select{background:#fff;border:1px solid #ece4d8;border-radius:12px;padding:0 10px}
.orders-list{display:grid;gap:12px}
.orders-empty,.notice{background:#fff;border:1px dashed #e0d6c8;border-radius:18px;padding:36px 20px;text-align:center}
.orders-empty h3{margin:8px 0;color:#1b241e}
.orders-empty p{color:#6d655c}
.order-card{background:#fff;border:1px solid #ece4d8;border-radius:18px;overflow:hidden}
.order-card-head,.order-card-body{padding:14px 16px}
.order-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;border-bottom:1px solid #f3eee6}
.order-meta{display:block;color:#7a7268;font-size:13px;margin-top:4px}
.status-pill{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;background:#eef6f1;color:#087f3e}
.status-cancelled{background:#fdecec;color:#b42318}
.status-delivered{background:#e8f6ee;color:#087f3e}
.order-product-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0}
.order-product-row img{width:64px;height:64px;object-fit:cover;border-radius:12px;background:#f6f3ee}
.order-summary{display:flex;gap:16px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #f3eee6;padding-top:10px}
.summary-line{display:grid;text-align:right;color:#6d655c;font-size:13px}
.summary-line strong,.summary-line b{color:#1b241e}
@media (max-width:860px){
  .orders-shell{grid-template-columns:1fr}
  .orders-side{position:static}
  .orders-side nav{display:flex;gap:6px;overflow:auto}
  .orders-side a{white-space:nowrap;background:#f7f4ef}
  .orders-head{flex-direction:column;align-items:stretch}
  .orders-head-actions{justify-content:flex-start}
  .orders-toolbar{flex-direction:column}
  .order-product-row{grid-template-columns:54px minmax(0,1fr)}
  .order-product-row b{grid-column:2}
}
