.ajot-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.6);display:flex;align-items:flex-end;justify-content:center}
.ajot-overlay[hidden]{display:none!important}
.ajot-lock{overflow:hidden!important}
.ajot-overlay{overscroll-behavior:contain}
.ajot-box{background:#fff;color:#111;width:100%;max-width:520px;max-height:88vh;border-radius:22px 22px 0 0;display:flex;flex-direction:column;font-family:inherit;box-sizing:border-box;animation:ajotUp .25s ease}
.ajot-box *{box-sizing:border-box}
@keyframes ajotUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.ajot-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eee}
.ajot-title{margin:0;font-size:18px;font-weight:700;color:#111}
.ajot-box .ajot-close{all:unset!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#111!important;font-size:30px!important;line-height:1!important;cursor:pointer!important}
.ajot-body{padding:18px 20px 26px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.ajot-sum{background:#111;color:#fff;border-radius:16px;padding:14px 16px;margin-bottom:18px;font-size:14px;line-height:1.7}
.ajot-sum b{font-size:16px}
.ajot-pill{display:inline-block;background:#e10600;color:#fff;border-radius:20px;padding:2px 12px;font-size:12px;font-weight:600;margin-left:6px}
.ajot-tl{list-style:none;margin:0;padding:0}
.ajot-tl li{position:relative;padding:0 0 20px 34px;margin:0;min-height:24px;list-style:none}
.ajot-tl li:before{content:"";position:absolute;left:9px;top:22px;bottom:-2px;width:2px;background:#e10600}
.ajot-tl li:last-child:before{display:none}
.ajot-tl li:after{content:"\2713";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:#e10600;color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center}
.ajot-tl li:last-child:after{box-shadow:0 0 0 4px rgba(225,6,0,.18)}
.ajot-tl li:last-child .ajot-l{font-weight:700;color:#e10600}
.ajot-l{font-size:15px;color:#111;line-height:1.35}
.ajot-t{font-size:12.5px;color:#777;margin-top:2px}
.ajot-msg{padding:30px 6px;text-align:center;color:#555;font-size:14px}
.ajot-wrap{width:100%;flex:0 0 100%;margin-top:10px}
.ajot-btn{display:block;width:100%;background:transparent;color:#111;border:2px solid #111;border-radius:999px;padding:12px 16px;font-size:15px;font-weight:600;cursor:pointer;text-align:center;line-height:1.2}
.ajot-btn:hover{background:#111;color:#fff}
@media(min-width:700px){.ajot-overlay{align-items:center}.ajot-box{border-radius:22px}}

.ajot-after{margin-top:6px}
.ajot-spin{position:relative!important;color:transparent!important;pointer-events:none!important}
.ajot-spin:after{content:""!important;position:absolute!important;left:50%!important;top:50%!important;width:22px!important;height:22px!important;margin:-11px 0 0 -11px!important;border:3px solid transparent!important;border-top-color:var(--ajot-sp,#fff)!important;border-right-color:var(--ajot-sp,#fff)!important;border-radius:50%!important;animation:ajotSpin .7s linear infinite!important}
@keyframes ajotSpin{to{transform:rotate(360deg)}}

/* My Account orders: View | Track Order | Cancel always sit side by side (mobile, tablet, desktop) */
body .ajot-row{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:stretch!important;gap:8px!important}
body .ajot-row>a,body .ajot-row>button.ajot-inline{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;line-height:1.2!important;padding:12px 10px!important;font-size:14px!important;border-radius:999px!important}
/* three buttons: slightly smaller so all fit on one line */
body .ajot-row[data-ajot-count="3"]{gap:6px!important}
body .ajot-row[data-ajot-count="3"]>a,body .ajot-row[data-ajot-count="3"]>button.ajot-inline{padding:11px 6px!important;font-size:13px!important}
@media(max-width:480px){
  body .ajot-row[data-ajot-count="3"]{gap:5px!important}
  body .ajot-row[data-ajot-count="3"]>a,body .ajot-row[data-ajot-count="3"]>button.ajot-inline{padding:10px 4px!important;font-size:12px!important}
}
/* more than three (e.g. Pay Balance added): wrap instead of squeezing */
body .ajot-row[data-ajot-count="4"]{flex-wrap:wrap!important}
body .ajot-row[data-ajot-count="4"]>a,body .ajot-row[data-ajot-count="4"]>button.ajot-inline{flex:1 1 calc(50% - 8px)!important}


/* ==== AJ Round UI — shape-only overrides (border-radius only; nothing else changed) ==== */
html .ajot-sum{border-radius:24px!important}
html .ajot-pill{border-radius:999px!important}
