/* My account: OTP login + order history (js/account.js) */
.ac{background:#fdf8f1;padding:28px 16px 56px;min-height:60vh;color:#2b2118}
.ac-wrap{max-width:860px;margin:0 auto}
.ac [hidden]{display:none!important}
.ac-loading{text-align:center;padding:60px 0;color:#7a6a5a}
.ac-card{background:#fff;border-radius:18px;box-shadow:0 6px 24px rgba(80,50,20,.08);padding:22px}
.ac-card--login{max-width:420px;margin:12px auto 0;text-align:center;padding:30px 24px}
.ac-lock{width:56px;height:56px;border-radius:50%;background:#fff1e6;color:#c94c0a;display:grid;place-items:center;margin:0 auto 12px}
.ac-h1{font-size:26px;line-height:1.2;margin:0 0 6px;font-weight:700}
.ac-sub{margin:0 0 18px;color:#6d5d4e;font-size:14.5px;line-height:1.5}
.ac-form{display:grid;gap:12px;text-align:left}
.ac-lab{font-size:13px;font-weight:600;color:#5a4a3c;display:block;margin-bottom:4px}
.ac-phone{display:flex;align-items:stretch;border:1.5px solid #d9cbbb;border-radius:12px;overflow:hidden;background:#fff}
.ac-phone:focus-within,.ac-code:focus,.ac-in:focus{border-color:#c94c0a;box-shadow:0 0 0 3px rgba(201,76,10,.15);outline:none}
.ac-phone span{display:grid;place-items:center;padding:0 12px;background:#faf3ea;font-weight:700;color:#5a4a3c;border-right:1.5px solid #e7dccf}
.ac-phone input{border:0;outline:0;flex:1;min-width:0;padding:13px 12px;font:inherit;font-size:17px;letter-spacing:.5px;background:transparent}
.ac-code{border:1.5px solid #d9cbbb;border-radius:12px;padding:12px;font:inherit;font-size:26px;letter-spacing:12px;text-align:center;width:100%;box-sizing:border-box}
.ac-in{border:1.5px solid #d9cbbb;border-radius:10px;padding:11px 12px;font:inherit;font-size:15px;width:100%;box-sizing:border-box;background:#fff}
.ac-in:disabled{background:#f5efe8;color:#7a6a5a}
.ac-btn{appearance:none;border:0;border-radius:12px;background:#c94c0a;color:#fff;font:inherit;font-weight:700;font-size:16px;padding:13px 18px;cursor:pointer;min-height:48px}
.ac-btn:hover{background:#b5440a}
.ac-btn:disabled{opacity:.6;cursor:wait}
.ac-btn--ghost{background:#fff;color:#c94c0a;border:1.5px solid #e2c9b6;min-height:40px;padding:8px 14px;font-size:14px}
.ac-btn--ghost:hover{background:#fff6ef}
.ac-btn--sm{min-height:38px;padding:8px 14px;font-size:14px;border-radius:10px;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.ac-link{appearance:none;background:none;border:0;color:#c94c0a;font:inherit;font-weight:700;cursor:pointer;padding:0;text-decoration:underline}
.ac-resend{display:flex;justify-content:center;gap:8px;font-size:13.5px;color:#7a6a5a;min-height:20px}
.ac-err{background:#fde8e6;color:#9b1c13;border-radius:10px;padding:10px 12px;font-size:14px;text-align:left}
.ac-ok{background:#e3f6ea;color:#11633a;border-radius:10px;padding:10px 12px;font-size:14px}
.ac-safe{display:flex;align-items:center;justify-content:center;gap:6px;margin:16px 0 0;font-size:12.5px;color:#4d7a5d}
.ac-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.ac-top .ac-sub{margin:0}
.ac-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.ac-stat{background:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 3px 12px rgba(80,50,20,.06)}
.ac-stat b{display:block;font-size:20px}
.ac-stat span{font-size:12.5px;color:#7a6a5a}
.ac-tabs{display:flex;gap:6px;margin-bottom:14px;border-bottom:1.5px solid #eadfd2}
.ac-tab{appearance:none;background:none;border:0;font:inherit;font-weight:700;font-size:15px;color:#7a6a5a;padding:10px 6px;margin-bottom:-1.5px;border-bottom:3px solid transparent;cursor:pointer}
.ac-tab.is-on{color:#c94c0a;border-bottom-color:#c94c0a}
.ac-pane{display:grid;gap:14px}
.ac-empty{text-align:center;padding:36px 16px}
.ac-empty p{color:#6d5d4e;margin:0 0 14px}
.ac-order{background:#fff;border-radius:16px;box-shadow:0 4px 18px rgba(80,50,20,.07);overflow:hidden}
.ac-ohead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #f1e8de;flex-wrap:wrap}
.ac-ohead b{font-size:16px}
.ac-ohead small{display:block;color:#7a6a5a;font-size:12.5px;margin-top:2px}
.ac-badge{font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px;background:#fff1e6;color:#a34408;white-space:nowrap}
.ac-badge.s-shipped{background:#e6f0ff;color:#1c4fa3}
.ac-badge.s-delivered{background:#e3f6ea;color:#11633a}
.ac-badge.s-cancelled,.ac-badge.s-rto{background:#efefef;color:#555}
.ac-steps{display:grid;grid-template-columns:repeat(4,1fr);padding:14px 16px 4px;position:relative}
.ac-step{text-align:center;font-size:11.5px;color:#9a8b7c;position:relative}
.ac-step i{display:block;width:14px;height:14px;border-radius:50%;background:#e7dccf;margin:0 auto 6px;position:relative;z-index:1;border:3px solid #fff;box-shadow:0 0 0 1.5px #e7dccf}
.ac-step:not(:first-child):before{content:"";position:absolute;top:6px;right:50%;width:100%;height:3px;background:#e7dccf}
.ac-step.on{color:#2b2118;font-weight:700}
.ac-step.on i{background:#c94c0a;box-shadow:0 0 0 1.5px #c94c0a}
.ac-step.on:not(:first-child):before{background:#c94c0a}
.ac-items{padding:6px 16px}
.ac-item{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px dashed #f0e6da;color:inherit;text-decoration:none}
.ac-item:last-child{border-bottom:0}
.ac-item img,.ac-item .ac-noimg{width:54px;height:54px;border-radius:10px;object-fit:cover;background:#f6efe6;flex:none}
.ac-item div{min-width:0;flex:1}
.ac-item b{display:block;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ac-item small{color:#7a6a5a;font-size:12.5px}
.ac-item em{font-style:normal;font-weight:700;font-size:14px;white-space:nowrap}
.ac-ofoot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;background:#fcf8f3;border-top:1px solid #f1e8de}
.ac-ofoot .t{font-size:13px;color:#6d5d4e}
.ac-ofoot .t b{font-size:17px;color:#2b2118;margin-right:6px}
.ac-acts{display:flex;gap:8px;flex-wrap:wrap}
.ac-more{padding:0 16px 12px;font-size:13.5px;color:#4b3d31}
.ac-more summary{cursor:pointer;font-weight:700;color:#c94c0a;padding:10px 0 4px;list-style:none}
.ac-more summary::-webkit-details-marker{display:none}
.ac-more dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:6px 0 0}
.ac-more dd{margin:0;text-align:right}
.ac-more address{font-style:normal;line-height:1.5;margin-top:8px}
.ac-eta{font-size:13px;color:#11633a;font-weight:600;padding:2px 16px 0}
.ac-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ac-everywhere{justify-self:start;margin-top:4px;font-size:13.5px}
@media (max-width:600px){
  .ac{padding:18px 12px 40px}
  .ac-h1{font-size:22px}
  .ac-stats{gap:8px}
  .ac-stat{padding:10px}
  .ac-stat b{font-size:17px}
  .ac-two{grid-template-columns:1fr}
  .ac-step{font-size:10.5px}
}
.ac-soon{display:grid;gap:10px;text-align:center}
.ac-soon p{margin:0 0 4px;color:#4b3d31;line-height:1.55;font-size:14.5px}
.ac-btn--wa{background:#1fa855;text-decoration:none;display:flex;align-items:center;justify-content:center}
.ac-btn--wa:hover{background:#178a45}
.ac-soon .ac-btn--ghost{text-decoration:none;display:flex;align-items:center;justify-content:center;min-height:46px}
