:root{color-scheme:dark;font-family:Manrope,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% 0%,#302514 0%,#141414 48%,#101010 100%);min-height:100vh;color:#f4f1e9}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.account-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px;padding:16px clamp(24px,6vw,90px);border-bottom:1px solid #5c4927}.brand{font-size:17px}.brand strong{font-size:28px;color:#e8bc52}.back{font-size:13px;color:#f1c85d}.account-wrap{width:min(880px,calc(100% - 38px));margin:60px auto 90px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.19em;color:#e2b74a}h1{font-size:clamp(32px,4vw,49px);margin:10px 0 18px}h2{font-size:21px;margin:0 0 14px}.intro{color:#c3b9a9;line-height:1.7;margin-bottom:36px}.account-card{background:#1f1e1b;border:1px solid #55442a;border-radius:18px;padding:28px;margin-bottom:18px}.account-card p{color:#c8bda9;line-height:1.65}.account-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.account-head p{font-size:13px;margin:0 0 20px}.account-card form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.account-card label{display:grid;gap:9px;font-size:13px;font-weight:700;color:#eac363}.account-card input,.account-card select{background:#111;border:1px solid #69522a;border-radius:9px;color:white;padding:13px;min-width:0}.primary,.account-card button{border:0;border-radius:9px;background:#dfb343;color:#151515;font-weight:800;padding:13px 20px;cursor:pointer}.inline{display:inline-block}.account-card form button{justify-self:start}.account-card button:disabled{opacity:.6}.account-card #customerLogout{background:#352e20;color:#eacc81;border:1px solid #705832}#accountMessage{color:#eac363;min-height:24px;font-size:13px}@media(max-width:660px){.account-card form{grid-template-columns:1fr}.account-header{padding:15px 20px}.account-card{padding:20px}.account-wrap{margin-top:35px}}
/* Logo oficial metálico — mesmo arquivo e dimensões do Admin */
.account-brand-link{display:inline-flex;align-items:center;flex:none;min-width:0}
.account-brand-logo{display:block;width:216px;max-width:44vw;height:auto;object-fit:contain;filter:drop-shadow(0 2px 9px rgba(220,166,44,.13))}
@media(max-width:600px){.account-brand-logo{width:165px;max-width:45vw}}

/* Meus pedidos — portal responsivo e fluxo de vinculação por e-mail */
.customer-orders{display:grid;gap:13px;margin:16px 0 25px}
.customer-orders-empty{padding:20px;border:1px dashed #635234;border-radius:10px;background:#171613}
.customer-order-card{background:#171613;border:1px solid #5e4c2f;border-radius:13px;padding:19px}
.customer-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.customer-order-title{display:grid;gap:7px;min-width:0}
.customer-order-title strong{font-size:16px;overflow-wrap:anywhere}
.customer-order-title small{color:#d2b878;font-size:11px;overflow-wrap:anywhere}
.customer-order-status{font-size:11px;white-space:nowrap;font-weight:800;color:#f4ca72;background:#3c2e16;padding:7px 9px;border-radius:18px}
.customer-order-meta{font-size:12px;margin:12px 0 8px;color:#b9afa0}
.customer-order-price{color:#f2c65d!important;font-weight:800;font-size:17px;margin:10px 0}
.customer-order-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.customer-order-action{padding:10px 14px!important;font-size:12px;border:1px solid #84652a!important}
.customer-order-action.positive{background:#dcb448}
.customer-order-action.negative{background:#332b21;color:#e7cf9b}
.customer-order-action:disabled{opacity:.5;cursor:wait}
.customer-link-box{background:#23201b;border:1px solid #52452d;border-radius:13px;padding:22px;margin:18px 0 24px}
.customer-link-box h3{font-size:17px;margin:0 0 10px}
.customer-link-box p{font-size:13px}
.account-card .customer-link-form,.account-card .customer-verify-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:15px 0}
.customer-link-form label,.customer-verify-form label{flex:1;min-width:200px}
.customer-link-form input,.customer-verify-form input{width:100%}
.account-card .customer-link-form button,.account-card .customer-verify-form button{font-size:13px}
.order-feedback{font-size:13px;min-height:15px;color:#edc772!important;overflow-wrap:anywhere}
@media(max-width:650px){.customer-order-head{flex-direction:column}.account-card .customer-link-form,.account-card .customer-verify-form{display:grid}.customer-link-form label,.customer-verify-form label{min-width:0}}

/* Respect conditional UI visibility, even where a form has display:flex. */
[hidden]{display:none!important}


/* Contato WhatsApp R3D — acesso direto, sem integração/API de envio automático */
.r3d-whatsapp-float{
 position:fixed;right:clamp(16px,3vw,36px);bottom:calc(22px + env(safe-area-inset-bottom, 0px));
 z-index:990;display:inline-flex;align-items:center;justify-content:center;gap:11px;
 min-height:56px;padding:13px 22px;border:1px solid rgba(255,230,170,.42);
 border-radius:999px;background:linear-gradient(135deg,#e3b64c,#c58b26);
 color:#17140d!important;font:800 13px/1.2 Manrope,Arial,sans-serif;
 text-decoration:none;box-shadow:0 8px 27px rgba(0,0,0,.3),0 4px 16px rgba(187,128,26,.25);
 transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.r3d-whatsapp-float svg{width:23px;height:23px;flex:none}
.r3d-whatsapp-float:hover{transform:translateY(-3px);filter:brightness(1.07);box-shadow:0 12px 30px rgba(0,0,0,.34),0 6px 22px rgba(187,128,26,.35)}
.r3d-whatsapp-float:focus-visible{outline:3px solid #f4d98b;outline-offset:4px}
@media(max-width:600px){
 .r3d-whatsapp-float{right:15px;bottom:calc(16px + env(safe-area-inset-bottom, 0px));min-height:51px;padding:11px 15px;font-size:12px;gap:8px}
 .r3d-whatsapp-float svg{width:22px;height:22px}
}
@media(prefers-reduced-motion:reduce){.r3d-whatsapp-float{transition:none}.r3d-whatsapp-float:hover{transform:none}}

/* Ícone WhatsApp: SVG vetorial oficial Bootstrap Icons; proporções preservadas */
.r3d-whatsapp-float svg{display:block;width:24px;height:24px;fill:currentColor;stroke:none;shape-rendering:geometricPrecision}

/* Timeline de pedidos — etapas existentes no fluxo comercial R3D. */
.customer-timeline{list-style:none;margin:20px 0 4px;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.customer-timeline-step{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;color:#817b70}
.customer-timeline-step:not(:last-child)::after{content:"";position:absolute;top:14px;left:calc(50% + 16px);width:calc(100% - 32px);height:2px;background:#4e432f}
.customer-timeline-step.done:not(:last-child)::after{background:#c89a39}
.customer-timeline-dot{position:relative;z-index:1;display:grid;place-items:center;width:29px;height:29px;border:1px solid #5b513d;background:#28241d;border-radius:50%;font-size:11px;font-weight:800}
.customer-timeline-step.done .customer-timeline-dot{background:#c79b39;border-color:#deb450;color:#1b160d}
.customer-timeline-step.current .customer-timeline-dot{border:2px solid #f2c766;color:#f2c766;box-shadow:0 0 0 3px rgba(233,185,76,.13)}
.customer-timeline-step.current{color:#f4d891;font-weight:800}
.customer-timeline-label{font-size:10px;line-height:1.3;max-width:96px}
.customer-timeline-note{color:#bfb4a2!important;font-size:12px;line-height:1.6;margin:12px 0 18px!important}
.customer-quote-summary{border-top:1px solid #514631;margin-top:16px;padding-top:16px;display:grid;gap:10px}
.customer-quote-eyebrow{font-size:10px;letter-spacing:.13em;color:#d9b35e;font-weight:800}
.customer-quote-summary .customer-order-price{margin:0;font-size:23px}
.customer-quote-result{color:#f2d18a;font-size:12px;font-weight:800}
.customer-order-action.secondary{background:#332b20;color:#f2d49e}
.customer-order-action:focus-visible{outline:2px solid #f0c760;outline-offset:2px}
@media(max-width:740px){
 .customer-timeline{display:grid;grid-template-columns:1fr;gap:0;margin:18px 0}
 .customer-timeline-step{flex-direction:row;text-align:left;align-items:center;gap:12px;padding-bottom:10px}
 .customer-timeline-step:not(:last-child)::after{left:14px;top:29px;width:2px;height:calc(100% - 29px)}
 .customer-timeline-label{font-size:12px;max-width:none}
}
@media(prefers-reduced-motion:reduce){.customer-order-action{transition:none}}

/* Meus pedidos: resumo compacto com seta para mostrar detalhes e timeline */
.customer-order-disclosure{display:block}
.customer-order-summary{display:block;cursor:pointer;list-style:none;border-radius:10px;outline-offset:5px}
.customer-order-summary::-webkit-details-marker{display:none}
.customer-order-summary::marker{content:""}
.customer-order-summary:focus-visible{outline:2px solid #e6b74c}
.customer-status-and-arrow{display:flex;align-items:center;gap:13px;flex-shrink:0}
.customer-order-chevron{display:grid;place-items:center;color:#eec46b;font-size:28px;line-height:1;width:26px;height:30px;transform:rotate(0deg);transition:transform .2s ease}
.customer-order-disclosure[open] .customer-order-chevron{transform:rotate(180deg)}
.customer-order-expanded{padding-top:12px;border-top:1px solid #4e4029;margin-top:17px}
.customer-order-summary:hover .customer-order-chevron{color:#fff}
@media(prefers-reduced-motion:reduce){.customer-order-chevron{transition:none}}

/* Privacidade/LGPD — área Minha Conta */
.account-privacy-footer{width:min(880px,calc(100% - 38px));margin:0 auto 48px;padding:20px 0 0;border-top:1px solid #59472a;color:#b9af9c}
.account-privacy-footer strong{color:#eac363;font-size:13px}
.account-privacy-footer p{font-size:12px;line-height:1.7;max-width:820px}
.account-privacy-footer a{color:#eac363;text-decoration:underline;text-underline-offset:3px}
.account-privacy-footer a:hover,.account-privacy-footer a:focus-visible{color:#fff}

/* Minha conta: entrar e criar conta no mesmo ponto de acesso */
.account-auth-card{max-width:720px;margin:0 auto 22px;padding:30px 32px}
.account-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:6px;border:1px solid #55452e;border-radius:12px;background:#161512;margin-bottom:27px}
.account-auth-tabs button{border:1px solid transparent!important;background:transparent!important;color:#d8c09b!important;padding:13px 16px;font-weight:750}
.account-auth-tabs button.is-selected{background:#dfb343!important;color:#18140b!important;border-color:#eac25e!important}
.account-auth-card [role="tabpanel"] h2{margin:0 0 8px}
.account-auth-card [role="tabpanel"]>p{font-size:13px;line-height:1.65;margin:0 0 18px}
.account-auth-card .account-auth-form{display:grid;grid-template-columns:1fr;gap:14px;margin:5px 0 12px}
.account-auth-card .account-auth-form label{font-size:12px}
.account-auth-card .account-auth-form input{width:100%}
.account-auth-card .account-auth-form .primary{width:100%;justify-self:stretch;font-size:14px}
.account-auth-card .account-google-firebase{width:100%;background:#ece8df;color:#1d1b17;border:1px solid #cfc6b5;font-weight:800;min-height:47px}
.account-google-legacy{min-height:40px;display:flex;align-items:center;justify-content:center}
.account-divider{display:flex;align-items:center;gap:13px;text-align:center;font-size:11px;color:#ac9c7f;margin:20px 0}
.account-divider::before,.account-divider::after{content:"";height:1px;background:#58482e;flex:1}
.account-auth-card .account-switch{border-top:1px solid #4c3c26;padding-top:18px;margin-top:22px!important;margin-bottom:0!important;text-align:center;font-size:13px}
.account-auth-card .account-switch button,.account-auth-card .account-text-button{padding:0;background:transparent;color:#eac363;font-size:13px;border:0;text-decoration:underline;text-underline-offset:4px}
.account-auth-card .account-text-button{margin:8px 0 3px}
.account-auth-hint{font-size:12px!important;color:#edc772!important;line-height:1.6;min-height:12px}
.account-privacy-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:11px!important;color:#ddceaf!important;font-size:12px!important;font-weight:500!important}
.account-privacy-consent input{width:17px!important;height:17px;min-width:17px;margin:1px 0 0;accent-color:#dfb343}
.account-privacy-consent a{color:#eac363;text-decoration:underline}
.account-auth-card button:focus-visible,.account-auth-card input:focus-visible{outline:2px solid #eac363;outline-offset:3px}
#accountLinkGoogleSection{border-color:#80622c}
@media(max-width:600px){.account-auth-card{padding:18px}.account-auth-tabs{gap:4px}.account-auth-tabs button{padding:12px 8px;font-size:13px}}

/* Confirmacao do cadastro visivel imediatamente abaixo do botao Salvar. */
.account-card .account-profile-feedback{
 grid-column:1/-1;justify-self:stretch;margin:0;padding:12px 14px;
 border:1px solid #705832;border-radius:9px;background:#302818;
 color:#f2d48d;font-size:13px;line-height:1.5
}
.account-card .account-profile-feedback[data-state="success"]{
 border-color:#456d4b;background:#1d3326;color:#b9eac1
}
.account-card .account-profile-feedback[data-state="error"]{
 border-color:#9b5b50;background:#3a2424;color:#ffd0c9
}
.account-card .account-profile-feedback[hidden]{display:none!important}

/* Mensagem imediata de logout, antes do formulario de entrada. */
.account-signed-out-notice{
 background:#1c3225;border:1px solid #487d54;border-radius:10px;
 padding:13px 16px;color:#c9efcf;font-size:14px;line-height:1.5
}
.account-signed-out-notice[hidden]{display:none!important}

/* Pedidos claros por origem, sem referências técnicas no título */
.customer-order-origin{color:#e6b947;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.customer-order-title strong{line-height:1.35;font-size:16px;overflow-wrap:break-word}
.customer-order-meta{line-height:1.6;overflow-wrap:break-word}
.customer-order-detail-block{background:#25211b;border:1px solid #4f4028;border-radius:10px;padding:12px 15px;margin:0 0 12px}
.customer-order-detail-block h4{margin:0 0 7px;color:#e3bd64;font-size:12px}
.customer-order-detail-block p{margin:4px 0;line-height:1.55;font-size:13px;color:#e6daca;overflow-wrap:anywhere;white-space:pre-line}
@media(max-width:560px){.customer-order-head{gap:8px}.customer-order-title strong{font-size:14px}.customer-status-and-arrow{gap:5px}}
