/* Minha conta (nova versão). Tudo escopado em #accountPage e no diálogo de exclusão. */
#accountPage{background:#faf9f6;color:#242624}
#accountPage [hidden]{display:none!important}
#accountPage .account-wrap{max-width:1080px;margin:0 auto;padding:32px 28px 64px}

/* Cabeçalho */
.nv-acc-head{display:flex;align-items:center;gap:18px;margin:0 0 28px}
.nv-acc-avatar{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:50%;background:#f1e6cf;color:#7c5a22;font-size:24px;font-weight:600}
.nv-acc-hello{min-width:0}
.nv-acc-hello .nv-eyebrow{margin:0 0 6px}
.nv-acc-hello h2{margin:0;font-size:clamp(26px,3vw,34px);font-weight:600;letter-spacing:-1px;line-height:1.15}
.nv-acc-sub{margin:4px 0 0;overflow:hidden;font-size:13px;color:#6e706b;text-overflow:ellipsis}

/* Navegação lateral */
#accountPage .account-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
#accountPage .account-nav{position:sticky;top:24px;display:flex;flex-direction:column;gap:4px;height:max-content;padding:10px;border:1px solid #ece7de;border-radius:20px;background:#fff;box-shadow:none}
#accountPage .account-nav button{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:12px 14px;border:0;border-radius:14px;background:transparent;color:#4a4d47;font:500 14px 'Poppins',sans-serif;text-align:left;cursor:pointer;transition:background .2s,color .2s}
#accountPage .account-nav button i{display:grid;font-size:16px;color:#a3a59e}
#accountPage .account-nav button:hover{background:#f7f4ee;color:#242624}
#accountPage .account-nav button.active{border:0;background:#f4ecdc;color:#7c5a22}
#accountPage .account-nav button.active i{color:#b88a3e}
#accountPage .account-nav .nv-acc-logout{margin-top:6px;border-top:1px solid #f1ede5;border-radius:0 0 14px 14px;color:#9a3b2e}
#accountPage .account-nav .nv-acc-logout i{color:#c98a7f}

/* Painéis */
#accountPage .account-panel{display:none;padding:28px;border:1px solid #ece7de;border-radius:24px;background:#fff;box-shadow:none}
#accountPage .account-panel.active{display:block}
.nv-acc-panel-head{margin:0 0 20px}
.nv-acc-panel-head h3{margin:0;font-size:20px;font-weight:600;letter-spacing:-.4px}
.nv-acc-panel-head p{margin:4px 0 0;font-size:13px;line-height:1.6;color:#6e706b}
.nv-acc-card{padding:20px;border:1px solid #ece7de;border-radius:18px}
.nv-acc-card+.nv-acc-card{margin-top:14px}
#tab-profile .nv-acc-card{margin-top:22px}
.nv-acc-card h4{margin:0 0 4px;font-size:15px;font-weight:600}
.nv-acc-card p{margin:0 0 14px;font-size:13px;line-height:1.6;color:#6e706b}
.nv-acc-card p a{color:#876428;text-decoration:underline;text-underline-offset:3px}
.nv-acc-danger{border-color:#f0d9d4;background:#fdf8f6}
.nv-acc-danger h4{color:#9a3b2e}

/* Formulários */
.nv-acc-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.nv-acc-form .nv-wide{grid-column:1/-1}
.nv-acc-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:500;color:#4e554b}
.nv-acc-field small{font-weight:400;color:#9a9c95}
#accountPage .nv-acc-field .input,.nv-acc-dialog .nv-acc-field .input{width:100%;min-width:0;max-width:none;height:46px;min-height:0;padding:0 14px;border:1px solid #e3ded3;border-radius:12px;background:#fff;box-shadow:none;color:#242624;font:400 14px 'Poppins',sans-serif}
#accountPage .nv-acc-field .input:focus,.nv-acc-dialog .nv-acc-field .input:focus{border-color:#b88a3e;outline:3px solid #c39b4d1f;outline-offset:0}
.nv-acc-actions{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:4px}
.nv-acc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border:0;border-radius:999px;background:#c69d54;color:#211b10;font:600 14px 'Poppins',sans-serif;cursor:pointer;transition:background .2s,opacity .2s}
.nv-acc-btn:hover{background:#d3ad68}
.nv-acc-btn:disabled{opacity:.55;cursor:not-allowed}
.nv-acc-btn-ghost{border:1px solid #e3ded3;background:#fff;color:#242624}
.nv-acc-btn-ghost:hover{background:#f7f4ee}
.nv-acc-btn-danger{background:#b3261e;color:#fff}
.nv-acc-btn-danger:hover{background:#99201a}
.nv-acc-btn-sm{min-height:36px;padding:0 16px;font-size:13px}
.nv-acc-msg{font-size:13px;line-height:1.5;color:#2f6b4f}
.nv-acc-msg[data-type=error]{color:#b3261e}
.nv-acc-msg:empty{display:none}

/* Pedidos */
.nv-orders{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.nv-order{overflow:hidden;border:1px solid #ece7de;border-radius:18px;transition:border-color .2s}
.nv-order:hover{border-color:#dcc79d}
.nv-order-main{display:flex;align-items:center;gap:16px;padding:16px}
.nv-order-main img,.nv-order-ph{flex:0 0 auto;width:64px;height:80px;border-radius:12px;object-fit:cover;background:#f5f3ee}
.nv-order-ph{display:grid;place-items:center;color:#b99a62;font-size:22px}
.nv-order-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.nv-order-top{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.nv-order-top strong{font-size:15px;font-weight:600}
.nv-order-meta,.nv-order-items{font-size:12px;color:#6e706b}
.nv-order-items{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.nv-order-total{flex:0 0 auto;font-size:17px;font-weight:600;white-space:nowrap}
.nv-status{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:#f1efe9;color:#6e706b;font-size:11px;font-weight:600}
.nv-status::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.nv-status[data-status=pending]{background:#fbf1dc;color:#95670f}
.nv-status[data-status=processing]{background:#e8eefb;color:#2f5aa8}
.nv-status[data-status=shipped]{background:#efe8fb;color:#6a3fb0}
.nv-status[data-status=delivered]{background:#e3f1ea;color:#2f6b4f}
.nv-status[data-status=cancelled]{background:#fbe9e7;color:#b3261e}
.nv-order-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px;padding:10px 16px;border-top:1px solid #f1ede5;background:#fcfbf8}
.nv-acc-link{padding:6px 0;border:0;background:none;color:#876428;font:500 13px 'Poppins',sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.nv-acc-link:hover{color:#5f4418}
.nv-order-actions .nv-acc-btn{margin-left:auto}
.nv-acc-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:36px 12px;text-align:center}
.nv-acc-empty-ico{display:grid;place-items:center;width:64px;height:64px;margin-bottom:8px;border-radius:50%;background:#f7f4ee;color:#967029;font-size:22px}
.nv-acc-empty strong{font-size:16px;font-weight:600}
.nv-acc-empty p{margin:0 0 12px;font-size:13px;color:#6e706b}
.nv-acc-loading{margin:0;padding:24px 4px;font-size:13px;color:#6e706b}

/* Diálogo de exclusão */
.nv-acc-dialog{width:min(440px,92vw);max-width:92vw;padding:0;border:0;border-radius:24px;background:#fff;color:#242624;box-shadow:0 30px 80px #1c211326}
.nv-acc-dialog::backdrop{background:#1b201d66}
.nv-del-body{display:flex;flex-direction:column;gap:12px;padding:26px}
.nv-del-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fbe9e7;color:#b3261e;font-size:20px}
.nv-del-body h3{margin:4px 0 0;font-size:20px;font-weight:600;letter-spacing:-.4px}
.nv-del-body p{margin:0;font-size:13px;line-height:1.6;color:#5d6059}
.nv-del-body ul{margin:0;padding-left:18px;font-size:13px;line-height:1.7;color:#5d6059}
.nv-del-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:6px}

#accountPage button:focus-visible,.nv-acc-dialog button:focus-visible,#accountPage a:focus-visible{outline:2px solid #a17e35;outline-offset:3px}

@media(max-width:860px){
 #accountPage .account-wrap{padding:20px 16px 48px}
 .nv-acc-head{gap:14px;margin-bottom:18px}
 .nv-acc-avatar{width:52px;height:52px;font-size:20px}
 #accountPage .account-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 #accountPage .account-nav{position:static;flex-direction:row;gap:4px;overflow-x:auto;padding:6px;border-radius:999px;scrollbar-width:none}
 #accountPage .account-nav::-webkit-scrollbar{display:none}
 #accountPage .account-nav button{flex:0 0 auto;width:auto;padding:10px 16px;border-radius:999px;white-space:nowrap}
 #accountPage .account-nav button i{display:none}
 #accountPage .account-nav .nv-acc-logout{margin:0;border:0;border-radius:999px}
 #accountPage .account-panel{padding:20px 16px;border-radius:20px}
 .nv-acc-form{grid-template-columns:minmax(0,1fr)}
 .nv-acc-card{padding:16px}
 .nv-order-main{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:4px 14px}
 .nv-order-main img,.nv-order-ph{grid-row:span 2}
 .nv-order-total{font-size:16px}
 .nv-order-actions .nv-acc-btn{margin-left:0}
}
@media(prefers-reduced-motion:reduce){#accountPage *,.nv-acc-dialog *{transition:none!important}}

/* Segurança: lista de ajustes */
.nv-acc-list{margin:0 0 14px;padding:0;list-style:none;border:1px solid #ece7de;border-radius:18px}
.nv-acc-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}
.nv-acc-row+.nv-acc-row{border-top:1px solid #f1ede5}
.nv-acc-row strong{display:block;font-size:15px;font-weight:600}
.nv-acc-row span{display:block;margin-top:2px;font-size:13px;line-height:1.5;color:#6e706b}
.nv-acc-row .nv-acc-btn{flex:0 0 auto}
.nv-acc-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#4a4d47;cursor:pointer}
.nv-acc-check input{width:16px;height:16px;accent-color:#b88a3e}
@media(max-width:600px){.nv-acc-row{flex-direction:column;align-items:stretch;gap:12px;padding:16px}.nv-acc-row .nv-acc-btn{width:100%}}
@media(max-width:600px){.nv-del-actions{flex-direction:column-reverse;align-items:stretch}.nv-del-actions .nv-acc-btn{width:100%}}
