/* V7.3 — "My orders" (/orders/) */
.ord-page{background:#F3F6FA}
.kk-ico{display:inline-block;flex-shrink:0;vertical-align:-3px}
.ord-main{max-width:820px;margin:0 auto;padding:28px 16px calc(100px + var(--safe-b))}
.ord-head h1{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:800;margin:0 0 6px;color:var(--text)}
.ord-head p{color:var(--muted);margin:0 0 20px;line-height:1.7}
.ord-card{background:#fff;border:1px solid #E6ECF3;border-radius:20px;box-shadow:0 4px 18px rgba(15,30,51,.05);padding:20px;margin-bottom:14px}
.ord-empty{text-align:center;padding:36px 20px}
.ord-empty h2{font-size:1.1rem;margin:8px 0}
.ord-empty p{color:var(--muted);margin:0 0 16px}
.ord-empty-ico{width:60px;height:60px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#EAF2FC;color:var(--primary)}
.ord-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border:0;border-radius:14px;background:linear-gradient(135deg,#0B4F93,#063B70);color:#fff;font-weight:800;font-family:inherit;cursor:pointer}
.ord-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.ord-tabs a{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:12px;background:#fff;border:1px solid #E2E8F0;color:var(--text);font-weight:700;font-size:.9rem}
.ord-tabs a em{font-style:normal;background:#EEF2F7;border-radius:999px;padding:0 8px;font-size:.78rem}
.ord-tabs a.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.ord-tabs a.active em{background:rgba(255,255,255,.2)}
.ord-tabs .ord-tabs-new{margin-inline-start:auto;color:var(--primary);border-color:#C7D7EA}
.ord-order-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.ord-order-head h2{font-size:1.05rem;margin:0 0 4px;color:var(--text)}
.ord-order-head small{color:var(--muted);font-size:.82rem}
.ord-product{margin:8px 0 0;color:var(--text);font-size:.9rem;line-height:1.6}
.ord-pct{font-size:1.4rem;font-weight:800;color:var(--primary);white-space:nowrap}
.ord-now{display:flex;align-items:center;gap:8px;margin:14px 0 8px;color:var(--primary);font-size:1rem}
.ord-bar{height:10px;background:#E2E8F0;border-radius:6px;overflow:hidden;margin-bottom:14px}
.ord-bar span{display:block;height:100%;background:linear-gradient(90deg,#1268A8,#063B70);border-radius:6px;transition:width .6s ease}
.ord-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.ord-steps li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;font-size:.7rem;color:#94A3B8;line-height:1.35}
.ord-steps .dot{width:22px;height:22px;border-radius:50%;background:#E2E8F0;display:inline-flex;align-items:center;justify-content:center;color:#fff}
.ord-steps li.done{color:#15803D}.ord-steps li.done .dot{background:#16A34A}
.ord-steps li.now{color:var(--primary);font-weight:700}.ord-steps li.now .dot{background:var(--primary);box-shadow:0 0 0 5px rgba(6,59,112,.14)}
.ord-tracking{display:flex;gap:8px;align-items:center;margin:12px 0 0;background:#ECFEFF;border:1px solid #A5F3FC;color:#0E7490;border-radius:12px;padding:10px 12px;font-weight:600;font-size:.9rem}
.ord-closed-note{color:var(--muted);margin:4px 0 0}
.ord-order.is-closed{opacity:.8}
.ord-history{margin-top:14px;border-top:1px solid #EEF2F7;padding-top:10px}
.ord-history summary{cursor:pointer;font-weight:700;color:var(--text);display:flex;gap:6px;align-items:center;list-style:none;font-size:.9rem}
.ord-history summary::-webkit-details-marker{display:none}
.ord-history ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.ord-history li{display:flex;flex-direction:column;background:#F8FAFC;border-radius:10px;padding:8px 12px;font-size:.88rem}
.ord-history li small{color:var(--muted);font-size:.76rem}
.ord-table-wrap{overflow-x:auto}
.ord-table{width:100%;border-collapse:collapse;font-size:.9rem}
.ord-table th,.ord-table td{padding:11px 8px;border-bottom:1px solid #EEF2F7;text-align:start}
.ord-table th{color:var(--muted);font-size:.78rem;font-weight:600}
.ord-link{color:var(--primary);font-weight:700;text-decoration:underline}
.ord-muted{color:var(--muted)}
.ord-help{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;background:#F0FDF4;color:#15803D;border:1px solid #BBF7D0;border-radius:14px;padding:12px;font-weight:700}
@media (max-width:640px){
  .ord-steps{grid-template-columns:1fr;gap:8px}
  .ord-steps li{flex-direction:row;text-align:start;font-size:.82rem}
  .ord-tabs .ord-tabs-new{margin-inline-start:0}
  .ord-card{padding:16px;border-radius:18px}
}

/* V8.4: follow up this order on WhatsApp */
.ord-wa{display:inline-flex;align-items:center;gap:8px;margin-top:12px;background:#25D366;color:#fff;border-radius:999px;padding:9px 16px;font-weight:700;font-size:.88rem;text-decoration:none}
.ord-wa:hover{background:#1DA851;color:#fff}
/* V8.8 — service fee not paid yet / paid */
.ord-unpaid{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:12px;padding:10px 12px;border-radius:12px;background:#FFFBEB;border:1px solid #FDE68A;color:#78350F;font-size:.88rem}
.ord-unpaid span{flex:1;min-width:180px}
.ord-unpaid-btn{background:#D97706;color:#fff;border-radius:999px;padding:7px 14px;font-weight:700;text-decoration:none;white-space:nowrap}
.ord-unpaid-btn:hover{background:#B45309;color:#fff}
.ord-fee-paid{margin:10px 0 0;color:#166534;font-size:.85rem;font-weight:600}
