/* Modern Account UI */
:root{
  --acc-primary:#bd8429;
  --acc-muted:#6b7280;
  --acc-border:#e5e7eb;
  --acc-bg:#f8fafc;
}
body{font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; background: var(--acc-bg);}
.acc-wrap{max-width:560px;margin:0 auto;padding:14px 12px 80px;}
.acc-card{background:#fff;border:1px solid var(--acc-border);border-radius:14px;box-shadow:0 6px 18px rgba(15,23,42,.06);}
.acc-card .acc-card-h{padding:14px 14px 0;}
.acc-card .acc-card-b{padding:14px;}
.acc-title{font-size:16px;font-weight:700;margin:0;color:#0f172a;}
.acc-sub{font-size:12px;color:var(--acc-muted);margin:4px 0 0;}
.acc-row{display:flex;gap:10px;align-items:center;}
.acc-avatar{width:38px;height:38px;border-radius:12px;background:rgba(159,32,137,.12);display:flex;align-items:center;justify-content:center;color:var(--acc-primary);font-weight:700;}
.acc-btn{border-radius:12px;font-weight:600;padding:.6rem .9rem;}
.acc-btn-primary{background:var(--acc-primary);border-color:var(--acc-primary);}
.acc-btn-primary:hover{opacity:.92;}
.acc-link{color:var(--acc-primary);font-weight:600;text-decoration:none;}
.acc-link:hover{text-decoration:underline;}
.acc-list{margin:0;padding:0;list-style:none;}
.acc-item{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-top:1px solid var(--acc-border);}
.acc-item:first-child{border-top:0;}
.acc-item .left{display:flex;gap:10px;align-items:center;}
.acc-ic{width:34px;height:34px;border-radius:12px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#111827;}
.acc-item .txt{line-height:1.1;}
.acc-item .lbl{font-weight:600;color:#111827;font-size:13px;margin:0;}
.acc-item .dsc{font-size:11px;color:var(--acc-muted);margin:2px 0 0;}
.acc-pill{font-size:11px;border:1px solid var(--acc-border);border-radius:999px;padding:4px 8px;color:#111827;background:#fff;}
.acc-badge-default{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.25);color:#166534;}
.acc-form label{font-size:12px;font-weight:600;color:#111827;margin-bottom:6px;}
.acc-form .form-control{border-radius:12px;border:1px solid var(--acc-border);height:44px;}
.acc-form textarea.form-control{height:auto;}
.acc-form .form-control:focus{border-color:rgba(159,32,137,.35);box-shadow:0 0 0 .2rem rgba(159,32,137,.12);}
.acc-note{font-size:11px;color:var(--acc-muted);margin-top:8px;}
.acc-divider{height:1px;background:var(--acc-border);margin:10px 0;}
.acc-empty{padding:14px;border:1px dashed var(--acc-border);border-radius:14px;color:var(--acc-muted);font-size:12px;text-align:center;}

/* ------------------------
   My Orders (Nesto-style)
-------------------------*/
.acc-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;border-radius:999px;padding:4px 9px;border:1px solid var(--acc-border);background:#fff;color:#111827;}
.acc-badge-green{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.25);color:#166534;}
.acc-badge-blue{background:rgba(59,130,246,.12);border-color:rgba(59,130,246,.25);color:#1d4ed8;}
.acc-badge-indigo{background:rgba(99,102,241,.12);border-color:rgba(99,102,241,.25);color:#4338ca;}
.acc-badge-amber{background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.28);color:#92400e;}
.acc-badge-red{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.25);color:#991b1b;}
.acc-badge-gray{background:rgba(148,163,184,.18);border-color:rgba(148,163,184,.30);color:#334155;}

.acc-order{display:block;border:1px solid var(--acc-border);border-radius:16px;padding:12px 12px;margin-bottom:10px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.05);}
.acc-order:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(15,23,42,.08);}
.acc-order-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
.acc-order-no{font-weight:800;color:#0f172a;font-size:13px;}
.acc-order-date{font-size:11px;color:var(--acc-muted);margin-top:3px;}
.acc-order-right{text-align:right;}
.acc-order-total{font-weight:900;color:#0f172a;font-size:14px;}
.acc-order-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px;justify-content:flex-end;}
.acc-order-mid{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-top:10px;}
.acc-order-items{flex:1;min-width:0;}
.acc-order-item{font-size:12px;color:#111827;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.acc-order-more{font-size:11px;color:var(--acc-muted);margin-top:2px;}
.acc-order-cta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;}
.acc-btn-mini{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:7px 12px;font-weight:800;font-size:12px;background:var(--acc-primary);color:#fff;}

/* Order details */
.acc-kv{display:flex;justify-content:space-between;gap:12px;align-items:center;}
.acc-kv-label{font-size:11px;color:var(--acc-muted);}
.acc-kv-value{font-size:18px;font-weight:900;color:#0f172a;margin-top:2px;}

.acc-track{padding:12px;border:1px solid var(--acc-border);border-radius:16px;background:#fff;}
.acc-track-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.acc-timeline{display:flex;flex-direction:column;gap:10px;}
.acc-step{display:flex;gap:10px;align-items:flex-start;position:relative;}
.acc-step .dot{width:12px;height:12px;border-radius:999px;background:#cbd5e1;margin-top:2px;flex:0 0 12px;}
.acc-step.done .dot{background:var(--acc-primary);}
.acc-step .line{position:absolute;left:5px;top:16px;width:2px;height:22px;background:#e2e8f0;}
.acc-step:last-child .line{display:none;}
.acc-step.done .line{background:rgba(159,32,137,.35);}
.acc-step .txt .lbl{font-weight:800;color:#0f172a;font-size:12px;}
.acc-step .txt .dsc{font-size:11px;color:var(--acc-muted);margin-top:2px;}

.acc-items{padding:12px;border:1px solid var(--acc-border);border-radius:16px;background:#fff;}
.acc-item-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px dashed var(--acc-border);}
.acc-item-row:first-child{border-top:0;padding-top:0;}
.acc-item-name{font-weight:700;color:#111827;font-size:12px;}
.acc-item-price{font-weight:900;color:#0f172a;font-size:12px;white-space:nowrap;}


/* Orders premium UI */
.acc-thumbs{display:flex;align-items:center;gap:0;margin:0 0 8px 0;}
.acc-thumb{width:28px;height:28px;border-radius:10px;overflow:hidden;border:1px solid var(--acc-border);background:#fff;box-shadow:0 6px 14px rgba(15,23,42,.06);margin-right:-8px;}
.acc-thumb img{width:100%;height:100%;object-fit:cover;display:block;}

.acc-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0;}
.acc-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:14px;background:var(--acc-primary);color:#fff;font-weight:800;font-size:12px;text-decoration:none;box-shadow:0 10px 24px rgba(159,51,153,.18);}
.acc-btn:active{transform:translateY(1px);}
.acc-btn-ghost{background:#fff;color:#111827;border:1px solid var(--acc-border);box-shadow:0 8px 20px rgba(15,23,42,.06);}

.acc-item-row{display:flex;align-items:center;gap:12px;}
.acc-item-thumb{width:44px;height:44px;border-radius:14px;overflow:hidden;border:1px solid var(--acc-border);background:#fff;flex:0 0 44px;}
.acc-item-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.acc-item-main{flex:1;min-width:0;}


/* =============================
   Premium UI tweaks (v3 - final override)
============================= */
body{background:#f5f6fb;}
.acc-wrap{
  max-width:560px;
  margin:0 auto;
  padding:12px 10px 92px;
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(159,32,137,.12), rgba(245,246,251,0) 60%),
    radial-gradient(900px 450px at 85% 10%, rgba(233,30,99,.09), rgba(245,246,251,0) 55%),
    #f5f6fb;
}
.acc-card{border-radius:16px; box-shadow:0 14px 38px rgba(20,20,40,.08); overflow:hidden;}
.acc-order{border-radius:18px;background:linear-gradient(180deg,#fff 0%, #fff 72%, rgba(159,32,137,.02) 100%);} 
.acc-order:hover{border-color:#e7e2fb; box-shadow:0 16px 36px rgba(20,20,40,.10);} 
.acc-btn-mini{background:linear-gradient(90deg,var(--acc-primary),#bd8429);} 
.acc-actions .acc-btn{background:linear-gradient(90deg,var(--acc-primary),#bd8429);} 
.acc-btn-ghost:hover{background:#fafbff;} 
.acc-empty-actions{display:flex;gap:10px;justify-content:center;margin-top:14px;flex-wrap:wrap;} 

/* Slightly richer timeline */
.acc-track{border-radius:18px;}
.acc-step .dot{box-shadow:0 6px 16px rgba(15,23,42,.06);} 
.acc-step.done .dot{background:linear-gradient(90deg,var(--acc-primary),#bd8429);} 

@media (max-width:520px){
  .acc-wrap{padding-left:8px;padding-right:8px;}
  .acc-card{border-radius:14px;}
}

/* Orders page bottom section */
.acc-bottom{margin-top:14px;display:flex;flex-direction:column;gap:10px;}
.acc-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;border-radius:16px;border:1px solid rgba(159,32,137,.18);background:linear-gradient(135deg, rgba(159,32,137,.10), rgba(99,102,241,.08));text-decoration:none;}
.acc-banner-title{font-weight:900;color:#0f172a;font-size:14px;}
.acc-banner-sub{font-size:12px;color:#475569;margin-top:3px;}
.acc-banner-cta{font-weight:900;font-size:12px;color:var(--acc-primary);background:#fff;border:1px solid rgba(159,32,137,.20);border-radius:999px;padding:8px 12px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.acc-arrow{font-size:16px;line-height:1;margin-top:-1px;}

.acc-help{border:1px solid var(--acc-border);border-radius:16px;background:#fff;padding:14px;}
.acc-help-title{font-weight:900;color:#0f172a;font-size:14px;}
.acc-help-sub{font-size:12px;color:var(--acc-muted);margin-top:2px;}
.acc-help-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;}
.acc-help-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:10px 12px;font-weight:900;font-size:12px;background:var(--acc-primary);color:#fff;text-decoration:none;flex:1;min-width:140px;}
.acc-help-btn-outline{background:#fff;color:var(--acc-primary);border:1px solid rgba(159,32,137,.22);}
.acc-help-note{margin-top:10px;font-size:12px;color:#475569;}
.acc-strong{font-weight:900;color:#0f172a;}

.acc-trust{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}
.acc-trust-item{display:flex;align-items:center;gap:10px;border:1px solid var(--acc-border);border-radius:14px;background:#fff;padding:12px;font-weight:800;color:#0f172a;font-size:12px;}
.acc-ic{width:28px;height:28px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.04);}


/* ===== Nesto Wear V7 account/wishlist final ===== */
:root{--nw-gold:#bd8429;--nw-gold2:#d39a35;--nw-cream:#fbf7ef;--nw-card:#fffdf8;--nw-line:#eadfce;--nw-text:#131313;--nw-muted:#6e665d;}
body{background:#fbf7ef!important;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif!important;}
.nw-wishlist-page,.nw-login-page{max-width:430px;margin:0 auto;min-height:calc(100vh - 144px);background:#fbf7ef;padding:20px 18px 96px;}
.nw-wishlist-head h1,.nw-login-head h1{font-size:25px;line-height:1.15;color:#111;font-weight:900;margin:0 0 6px;letter-spacing:-.02em;}
.nw-wishlist-head p,.nw-login-head p{font-size:13px;color:#6e665d;margin:0 0 18px;}
.nw-wishlist-list{display:grid;gap:12px;}
.nw-wishlist-card{display:flex;position:relative;gap:12px;background:#fff;border:1px solid #eadfce;border-radius:20px;padding:12px;text-decoration:none;box-shadow:0 12px 28px rgba(28,21,14,.06);}
.nw-wishlist-card-img{width:112px;height:122px;flex:0 0 112px;border-radius:16px;background:#f7efe4;overflow:hidden;}
.nw-wishlist-card-img img{width:100%;height:100%;object-fit:cover;display:block;}
.nw-wishlist-card-body{flex:1;min-width:0;padding-right:24px;}
.nw-wishlist-card-body h3{font-size:15px;line-height:1.3;color:#111;margin:2px 0 8px;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.nw-wishlist-price{font-size:22px;line-height:1;color:#111;font-weight:900;margin-bottom:12px;}
.nw-wishlist-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#8f6224;font-size:11px;font-weight:800;}
.nw-wishlist-meta span{display:inline-flex;align-items:center;gap:4px;background:#fbf3e8;border:1px solid #f0e1cb;border-radius:999px;padding:5px 8px;}
.nw-wishlist-remove{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:50%;border:1px solid #eadfce;background:#fff;color:#111;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;}
.nw-wishlist-empty{padding-top:6px;}
.nw-recommend-block{margin-top:20px;}
.nw-recommend-title{font-size:15px;color:#111;font-weight:900;margin:0 0 12px;}
.nw-mini-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.nw-mini-product{background:#fff;border:1px solid #eadfce;border-radius:18px;overflow:hidden;text-decoration:none;box-shadow:0 12px 28px rgba(28,21,14,.06);}
.nw-mini-img{display:block;height:118px;background:#f7efe4;overflow:hidden;}
.nw-mini-img img{width:100%;height:100%;object-fit:cover;display:block;}
.nw-mini-name{display:block;color:#111;font-weight:800;font-size:12px;line-height:1.25;margin:10px 10px 6px;min-height:31px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.nw-mini-price-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 10px 6px;}
.nw-mini-price-row b{font-size:15px;color:#111;}
.nw-mini-price-row em{font-size:11px;color:#8b8278;text-decoration:line-through;font-style:normal;}
.nw-mini-price-row small{font-size:10px;color:#07883d;font-weight:900;}
.nw-mini-rating{display:block;color:#bd8429;font-size:12px;font-weight:800;margin:0 10px 12px;}
.nw-login-page{padding-top:28px;}
.nw-login-head{margin-bottom:14px;}
.nw-login-card{background:#fff;border:1px solid #eadfce;border-radius:22px;padding:18px;box-shadow:0 16px 42px rgba(28,21,14,.07);}
.nw-input-label{display:block;color:#111;font-weight:800;font-size:12px;margin:0 0 8px;}
.nw-input-wrap{height:48px;border:1px solid #e4d8c8;background:#fff;border-radius:14px;display:flex;align-items:center;gap:10px;padding:0 12px;margin-bottom:16px;}
.nw-input-wrap i{color:#8b8278;font-size:14px;}
.nw-input-wrap .nw-input-right{margin-left:auto;}
.nw-input-wrap input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;flex:1;min-width:0;height:46px;color:#111;font-weight:600;font-size:14px;}
.nw-input-wrap input::placeholder{color:#8b8278;font-weight:500;}
.nw-input-wrap:focus-within{border-color:#bd8429;box-shadow:0 0 0 3px rgba(189,132,41,.1);}
.nw-forgot-row{display:flex;justify-content:space-between;align-items:center;color:#a56d17;font-weight:800;font-size:12px;margin:-6px 0 16px;}
.nw-login-btn{height:48px;width:100%;border:0;border-radius:12px;background:linear-gradient(180deg,#1d1d1d,#080808);color:#fff;font-weight:900;font-size:15px;box-shadow:0 14px 32px rgba(0,0,0,.14);}
.nw-login-divider{display:flex;align-items:center;gap:12px;margin:18px 0 12px;color:#8b8278;font-size:12px;}
.nw-login-divider:before,.nw-login-divider:after{content:'';height:1px;background:#eadfce;flex:1;}
.nw-create-copy{text-align:center;color:#4c443d;font-size:13px;margin-bottom:10px;}
.nw-create-btn{height:46px;border:1.5px solid #bd8429;color:#a56d17;background:#fff;display:flex;align-items:center;justify-content:center;border-radius:12px;text-decoration:none;font-weight:900;font-size:14px;}
.nw-form-alert{background:#fff1f1;border:1px solid #f7c4c4;color:#9f1d1d;border-radius:14px;padding:12px 14px;font-size:13px;font-weight:700;margin-bottom:12px;}
.nw-login-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:18px;}
.nw-login-trust-grid div{min-height:82px;background:#fff;border:1px solid #eadfce;border-radius:16px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;box-shadow:0 8px 22px rgba(28,21,14,.04);}
.nw-login-trust-grid i{color:#bd8429;font-size:20px;}
.nw-login-trust-grid b{font-size:10px;line-height:1.2;color:#111;}
@media (max-width:380px){.nw-login-trust-grid{gap:6px}.nw-login-trust-grid div{min-height:74px}.nw-login-trust-grid b{font-size:9px}.nw-wishlist-page,.nw-login-page{padding-left:14px;padding-right:14px}.nw-mini-img{height:104px}}
