:root{--font-sans:"Poppins",Arial,"Segoe UI",sans-serif;--sidebar-width:268px}
html,body,button,input,select,textarea{font-family:var(--font-sans)}
body{font-weight:400;letter-spacing:-.01em}
h1,h2,h3,h4,h5,h6,strong,b,th{font-family:var(--font-sans);font-weight:700}
button,.btn,.button{font-weight:600}
.bi{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.btn,.button,.backoffice-account button{gap:8px}

.backoffice-body{min-height:100vh;overflow-x:hidden;background:#f4f6f9}
.backoffice-top{z-index:60;height:72px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 14px #00284f0a}
.backoffice-main{min-height:100vh}
.backoffice-shell{width:100%;min-height:calc(100vh - 72px)}
.backoffice-sidebar{z-index:40;width:var(--sidebar-width);background:#fff;box-shadow:0 10px 30px #00284f12;scrollbar-width:thin;scrollbar-color:#d6dce4 transparent;overscroll-behavior:contain;scrollbar-gutter:stable}
.backoffice-sidebar::-webkit-scrollbar{width:7px}
.backoffice-sidebar::-webkit-scrollbar-track{background:transparent}
.backoffice-sidebar::-webkit-scrollbar-thumb{background:#d6dce4;border:2px solid #fff;border-radius:20px}
.backoffice-sidebar .panel-user{display:flex;align-items:center;gap:11px;padding:14px}
.backoffice-sidebar .panel-user>i{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#ffffff18;font-size:18px}
.backoffice-sidebar .panel-user>span{min-width:0}
.panel-menu{gap:3px}
.panel-menu a{display:flex;align-items:center;gap:11px;min-height:42px;padding:10px 12px;font-size:12px;font-weight:500}
.panel-menu a .bi{width:20px;flex:0 0 20px;font-size:16px;color:#7b8492}
.panel-menu a:hover .bi,.panel-menu a.active .bi{color:var(--orange)}
.panel-menu a.active{box-shadow:inset 3px 0 0 var(--orange)}
.panel-content{width:100%;min-width:0}
.backoffice-mark{font-size:20px}
.backoffice-account button .bi{font-size:15px}
.topbar .bi,.quick .bi,.nav-row .bi,footer .bi{margin-right:5px}
.quick>a>.bi{font-size:21px;color:var(--orange)}
.system-section{scroll-margin-top:96px}
.system-section:target{outline:3px solid #ff650026;box-shadow:0 10px 30px #ff650018}

/* Menu lateral fixo no desktop; apenas o menu possui rolagem própria. */
@media(min-width:851px){
    .backoffice-top{position:fixed;inset:0 0 auto 0}
    .backoffice-main{padding-top:72px}
    .backoffice-shell{display:block;padding:24px 24px 40px calc(var(--sidebar-width) + 48px)}
    .backoffice-sidebar{position:fixed;top:96px;bottom:24px;left:24px;max-height:none;overflow-x:hidden;overflow-y:auto}
}

/* Páginas institucionais acessíveis a partir do menu e rodapé. */
.institutional-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:34px;align-items:start}
.institutional-menu{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;box-shadow:0 8px 28px #00284f0a}
.institutional-menu-title{display:flex;align-items:center;gap:10px;padding:12px;margin-bottom:6px;border-radius:9px;background:var(--navy);color:#fff}
.institutional-menu-title>i{font-size:22px;color:#ff9b5a}
.institutional-menu-title span,.institutional-menu-title b,.institutional-menu-title small{display:block}
.institutional-menu-title small{opacity:.75;font-size:10px}
.institutional-menu nav{display:grid;gap:3px}
.institutional-menu nav a{padding:10px 12px;border-radius:7px;font-size:12px;font-weight:600;color:#4f5968}
.institutional-menu nav a:hover,.institutional-menu nav a.active{background:#fff1e8;color:var(--orange)}
.institutional-content{max-width:960px;width:100%;padding:4px 0 20px}
.institutional-content h1{margin-top:0}
.institutional-content h2{margin-top:34px;font-size:23px}
.institutional-content li{margin:8px 0}
.institutional-content a:not(.btn){color:#c95000;text-decoration:underline;text-underline-offset:3px}
.institutional-content .page-lead{margin:0 0 28px;padding:20px 22px;border-left:4px solid var(--orange);border-radius:0 10px 10px 0;background:#fff7f1;font-size:17px;line-height:1.7}
.institutional-content .page-callout{margin:24px 0;padding:17px 19px;border:1px solid #ffd8bd;border-radius:10px;background:#fff8f3}
.institutional-content details{margin:10px 0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 18px}
.institutional-content details summary{cursor:pointer;padding:16px 0;font-weight:700}
.institutional-content details p{padding:0 0 16px;margin:0;color:#555}
.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.help-grid>a{display:grid;grid-template-columns:42px 1fr;gap:3px 12px;padding:18px;border:1px solid var(--line);border-radius:11px;text-decoration:none!important;color:inherit!important}
.help-grid>a:hover{border-color:#ffb27e;box-shadow:0 8px 24px #ff650012;transform:translateY(-1px)}
.help-grid>a>i{grid-row:1/3;width:42px;height:42px;border-radius:10px;background:#fff1e8;color:var(--orange);font-size:20px}
.help-grid>a>strong{font-size:14px}
.help-grid>a>span{color:#6b7280;font-size:12px}
.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.contact-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:20px;border:1px solid var(--line);border-radius:11px;background:#fff}
.contact-grid>div>i{width:42px;height:42px;margin-bottom:6px;border-radius:10px;background:#fff1e8;color:var(--orange);font-size:20px}
.contact-grid>div>a,.contact-grid>div>span{font-size:12px}

@media(max-width:850px){
    :root{--sidebar-width:auto}
    .backoffice-top{position:sticky;top:0;height:auto;min-height:66px;padding:10px 14px}
    .backoffice-main{padding-top:0;min-height:calc(100vh - 66px)}
    .backoffice-shell{display:grid;grid-template-columns:1fr;padding:14px}
    .backoffice-sidebar{position:sticky;top:66px;width:auto;max-height:none;overflow:visible;box-shadow:0 7px 20px #00284f0d}
    .backoffice-sidebar .panel-user{display:none}
    .backoffice-sidebar .panel-menu{display:flex;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;scrollbar-width:thin;overscroll-behavior-x:contain}
    .backoffice-sidebar .panel-menu a{white-space:nowrap;flex:0 0 auto}
    .institutional-layout{grid-template-columns:1fr;gap:20px}
    .institutional-menu{position:sticky;top:0;z-index:12;max-height:none;overflow:hidden;padding:8px;border-radius:10px}
    .institutional-menu-title{display:none}
    .institutional-menu nav{display:flex;overflow-x:auto;gap:4px;padding-bottom:3px;scrollbar-width:thin}
    .institutional-menu nav a{white-space:nowrap;flex:0 0 auto}
    .help-grid{grid-template-columns:1fr}
    .contact-grid{grid-template-columns:1fr}
}

@media(max-width:560px){
    .backoffice-account>span{display:none}
    .backoffice-brand span:last-child small{display:none}
    .panel-menu a{min-height:40px;padding:9px 11px}
    .institutional-content h1{font-size:32px}
}

/* Correção definitiva do menu Admin Master: a caixa fica fixa e só a lista rola. */
@media(min-width:851px){
    .backoffice-sidebar{
        height:auto!important;
        max-height:none!important;
        display:flex;
        flex-direction:column;
        overflow:hidden!important;
        padding:15px 8px 12px 15px;
    }
    .backoffice-sidebar .panel-user{flex:0 0 auto;margin-right:7px}
    .backoffice-sidebar .panel-menu{
        display:flex;
        flex:1 1 auto;
        min-height:0;
        flex-direction:column;
        overflow-x:hidden;
        overflow-y:auto;
        padding-right:7px;
        overscroll-behavior:contain;
        scrollbar-gutter:stable;
        -webkit-overflow-scrolling:touch;
    }
    .backoffice-sidebar .panel-menu::-webkit-scrollbar{width:7px}
    .backoffice-sidebar .panel-menu::-webkit-scrollbar-track{background:transparent}
    .backoffice-sidebar .panel-menu::-webkit-scrollbar-thumb{background:#d6dce4;border:2px solid #fff;border-radius:20px}
}

/* Páginas administrativas completas, com cabeçalho, descrição e ações. */
.admin-page-heading{align-items:flex-start}
.panel-description{max-width:760px;margin:7px 0 0;color:#697386;font-size:13px;line-height:1.6}
.pages-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;border-color:#ffd7bc;background:linear-gradient(135deg,#fff 0%,#fff8f3 100%)}
.pages-overview-copy{display:flex;align-items:flex-start;gap:15px}
.pages-overview-copy h2{margin:0 0 5px;font-size:19px}
.pages-overview-copy p{margin:0;color:#667085;font-size:12px;line-height:1.55}
.pages-overview-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:12px;background:#fff1e8;color:var(--orange);font-size:22px}
.pages-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pages-stats span{padding:6px 9px;border:1px solid #e7eaf0;border-radius:999px;background:#fff;color:#667085;font-size:10px}
.pages-stats strong{color:#1f2937}
.pages-stats .success-text,.success-text strong{color:#087443}
.admin-create-card>summary,.admin-record-card>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;list-style:none}
.admin-create-card>summary::-webkit-details-marker,.admin-record-card>summary::-webkit-details-marker{display:none}
.admin-create-card>summary span,.admin-record-card>summary>span:first-child{display:flex;align-items:center;gap:9px}
.admin-create-card>summary small,.admin-record-card>summary small{color:#7b8492;font-size:10px;font-weight:500}
.admin-create-card[open]>summary,.admin-record-card[open]>summary{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.field-wide{grid-column:1/-1}
.content-cards{display:grid;gap:14px}
.admin-record-card{margin-bottom:0}
.admin-record-card>summary>span:first-child{align-items:flex-start;flex-direction:column;gap:2px}
.record-summary-actions{display:flex;align-items:center;gap:10px}
.record-summary-actions>a{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;color:#4f5968;font-size:10px;font-style:normal;font-weight:600}
.record-form-actions{display:flex;gap:10px;margin-top:4px}
.admin-record-card>form+form{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}
.empty.small .bi{display:block;margin-bottom:8px;font-size:30px;color:#9ca3af}
.empty.small h3{margin:0 0 5px}
.empty.small p{margin:0;color:#7b8492}

@media(max-width:850px){
    .pages-overview{align-items:stretch;flex-direction:column}
    .pages-overview form,.pages-overview button{width:100%}
    .field-wide{grid-column:auto}
    .record-summary-actions .status{display:none}
}

/* Admin Master v4: menu fixo com rolagem exclusivamente na lista de opções. */
@media (min-width: 851px) {
    body.backoffice-body { min-height: 100vh; overflow-y: auto; }
    .backoffice-top { position: fixed !important; top: 0; right: 0; left: 0; }
    .backoffice-main { padding-top: 72px !important; }
    .backoffice-shell { min-height: calc(100vh - 72px); padding: 24px 24px 48px calc(var(--sidebar-width) + 48px) !important; }
    .backoffice-sidebar {
        position: fixed !important;
        top: 96px !important;
        bottom: auto !important;
        left: 24px !important;
        width: var(--sidebar-width) !important;
        height: calc(100vh - 120px) !important;
        max-height: calc(100vh - 120px) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        padding: 15px 8px 12px 15px !important;
    }
    .backoffice-sidebar .panel-user { flex: 0 0 auto; }
    .backoffice-sidebar .panel-menu {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        padding-right: 7px;
    }
}

.admin-load-warning{display:flex;gap:13px;align-items:flex-start;margin:0 0 18px;padding:15px 17px;border:1px solid #ffd99d;border-radius:10px;background:#fff9ec;color:#6f4b00}
.admin-load-warning>i{font-size:21px;color:#d98600}
.admin-load-warning strong{display:block;margin-bottom:3px}
.admin-load-warning p{margin:0;font-size:12px}
.admin-load-warning a{text-decoration:underline;font-weight:700}
.admin-load-warning details{margin-top:8px}
.admin-load-warning code{display:block;margin-top:5px;white-space:normal;overflow-wrap:anywhere}
.admin-empty-state{display:grid;place-items:center;min-height:190px;padding:28px;text-align:center;color:#697386}
.admin-empty-state>i{font-size:38px;color:#a6afbc}
.admin-empty-state h3{margin:9px 0 3px;color:#344054;font-size:17px}
.admin-empty-state p{max-width:520px;margin:0;font-size:12px}
.admin-operation-card{margin-bottom:0}
.alert-grid a{display:flex;align-items:center;gap:12px}
.alert-grid a>i{font-size:21px;color:var(--orange)}

/* === Admin dashboard redesign aligned to the provided reference === */
body.backoffice-body{
    background:#f5f7fb;
    color:#162033;
}
body.backoffice-body .backoffice-top{
    position:fixed!important;
    top:0;
    right:0;
    left:316px;
    z-index:90;
    height:92px;
    padding:0 26px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(8px);
    border-bottom:1px solid #e7ecf4;
    box-shadow:none;
}
body.backoffice-body .backoffice-main{padding-top:92px;min-height:100vh}
body.backoffice-body .backoffice-shell{display:block;padding:22px 22px 34px 338px;min-height:calc(100vh - 92px)}
body.backoffice-body .backoffice-sidebar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    width:294px!important;
    height:100vh!important;
    max-height:none!important;
    padding:20px 18px 20px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border-radius:0!important;
    border:0!important;
    box-shadow:none!important;
    background:linear-gradient(180deg,#08264d 0%,#041c37 100%)!important;
    color:#fff;
}
body.backoffice-body .backoffice-sidebar-brand{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:22px;
    padding:6px 4px 0;
    color:#fff;
}
body.backoffice-body .backoffice-sidebar-brand .brand-square{
    width:44px;
    height:44px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:#ff6b00;
    color:#fff;
    font-size:20px;
    box-shadow:0 14px 30px rgba(255,107,0,.28);
}
body.backoffice-body .backoffice-sidebar-brand b,
body.backoffice-body .backoffice-sidebar-brand small{display:block}
body.backoffice-body .backoffice-sidebar-brand b{font-size:15px;font-weight:700;letter-spacing:-.02em}
body.backoffice-body .backoffice-sidebar-brand small{margin-top:2px;color:rgba(255,255,255,.82);font-size:12px}
body.backoffice-body .panel-user{
    margin:0 2px 18px;
    padding:16px 14px 14px;
    border-radius:16px;
    background:linear-gradient(180deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.03) 100%);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
}
body.backoffice-body .panel-user-main{display:flex;align-items:center;gap:12px}
body.backoffice-body .panel-user>i,
body.backoffice-body .panel-user-main>i{
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    color:#e5edf7;
    font-size:26px;
}
body.backoffice-body .panel-user span{min-width:0}
body.backoffice-body .panel-user b,
body.backoffice-body .panel-user small{display:block}
body.backoffice-body .panel-user b{font-size:15px}
body.backoffice-body .panel-user small{margin-top:3px;font-size:12px;color:#ff933f;font-weight:700}
body.backoffice-body .panel-user-chevron{position:absolute;top:22px;right:16px;width:auto!important;height:auto!important;background:none!important;font-size:15px;color:#d8e2ef}
body.backoffice-body .panel-user{position:relative}
body.backoffice-body .panel-user-status{display:flex;align-items:center;gap:7px;margin-top:12px;color:#d8e7f8;font-size:12px}
body.backoffice-body .status-dot{width:8px;height:8px;border-radius:50%;background:#18c57a;box-shadow:0 0 0 4px rgba(24,197,122,.16)}
body.backoffice-body .panel-menu{
    flex:1 1 auto!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:3px;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 2px 6px 0;
    scrollbar-width:none;
    -ms-overflow-style:none;
}
body.backoffice-body .panel-menu::-webkit-scrollbar{width:0;height:0;display:none}
body.backoffice-body .panel-menu a{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:48px;
    padding:0 14px;
    border-radius:12px;
    color:#edf4ff;
    font-size:15px;
    font-weight:600;
    box-shadow:none!important;
}
body.backoffice-body .panel-menu a .bi{width:22px;flex:0 0 22px;font-size:19px;color:#edf4ff}
body.backoffice-body .panel-menu a:hover{
    background:rgba(255,255,255,.08);
    color:#fff;
    transform:translateX(2px);
}
body.backoffice-body .panel-menu a.active{
    background:linear-gradient(90deg,#f47718 0%,#b84d17 100%);
    color:#fff;
    box-shadow:0 18px 26px rgba(255,107,0,.2)!important;
}
body.backoffice-body .panel-menu a.active .bi,
body.backoffice-body .panel-menu a:hover .bi,
body.backoffice-body .panel-menu a.menu-upgrade .bi{color:inherit}
body.backoffice-body .panel-divider{height:1px;margin:12px 8px;background:rgba(255,255,255,.12)}
body.backoffice-body .panel-menu a.menu-upgrade{color:#ff9a49}
body.backoffice-body .sidebar-premium-card{
    margin-top:16px;
    padding:16px 14px;
    border-radius:16px;
    background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.03) 100%);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
}
body.backoffice-body .sidebar-premium-icon{
    width:36px;height:36px;border-radius:10px;display:grid;place-items:center;
    background:rgba(255,107,0,.14);color:#ff9a49;font-size:18px;margin-bottom:10px;
}
body.backoffice-body .sidebar-premium-card b{display:block;font-size:14px;margin-bottom:6px}
body.backoffice-body .sidebar-premium-card p{margin:0 0 14px;color:#c9d8eb;font-size:12px;line-height:1.55}
body.backoffice-body .sidebar-premium-card a{
    display:inline-flex;align-items:center;justify-content:center;min-width:118px;height:38px;padding:0 16px;
    border-radius:10px;border:1px solid rgba(255,107,0,.55);color:#ff9a49;font-size:13px;font-weight:700;
}
body.backoffice-body .sidebar-premium-card a:hover{background:#ff6b00;color:#fff;border-color:#ff6b00}
body.backoffice-body .backoffice-top-left,
body.backoffice-body .backoffice-top-right{display:flex;align-items:center;gap:16px}
body.backoffice-body .topbar-icon{
    width:42px;height:42px;border:1px solid #e6ecf5;border-radius:12px;background:#fff;color:#657087;
    display:grid;place-items:center;font-size:22px;cursor:pointer;
}
body.backoffice-body .topbar-icon:hover{border-color:#d5ddeb;color:#1d2939}
body.backoffice-body .backoffice-top-copy h1{margin:0;color:#121a2a;font-size:18px;line-height:1.1}
body.backoffice-body .backoffice-top-copy small{display:block;margin-top:6px;color:#6c7a90;font-size:13px}
body.backoffice-body .topbar-notification{position:relative}
body.backoffice-body .topbar-notification span{
    position:absolute;top:-5px;right:-4px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
    background:#ff6b00;color:#fff;font-size:11px;font-weight:700;border:3px solid #fff;
}
body.backoffice-body .backoffice-profile-chip{
    display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:14px;background:#fff;border:1px solid #e6ecf5;color:#1a2333;
}
body.backoffice-body .backoffice-profile-chip>i{font-size:34px;color:#a1adbc}
body.backoffice-body .backoffice-profile-chip b,
body.backoffice-body .backoffice-profile-chip small{display:block}
body.backoffice-body .backoffice-profile-chip b{font-size:16px}
body.backoffice-body .backoffice-profile-chip small{margin-top:2px;color:#495467;font-size:12px;font-weight:700}
body.backoffice-body .topbar-logout{
    display:inline-flex;align-items:center;gap:9px;height:46px;padding:0 18px;border:0;border-radius:12px;
    background:#ff6b00;color:#fff;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 16px 28px rgba(255,107,0,.18);
}
body.backoffice-body .topbar-logout:hover{background:#ed6200;transform:translateY(-1px)}
body.backoffice-body .panel-content{min-width:0}
body.backoffice-body .dashboard-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:14px 0 22px}
body.backoffice-body .dashboard-eyebrow{display:block;margin-bottom:8px;color:#ff6b00;font-size:14px;font-weight:800;letter-spacing:.04em}
body.backoffice-body .dashboard-hero h2{margin:0;color:#122033;font-size:30px;line-height:1.1}
body.backoffice-body .dashboard-hero p{margin:8px 0 0;color:#6e7a8c;font-size:14px}
body.backoffice-body .dashboard-date{
    display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 18px;border:1px solid #e6ecf5;border-radius:14px;background:#fff;color:#1f2937;font-weight:600;
}
body.backoffice-body .dashboard-date .bi:first-child{color:#66758c}
body.backoffice-body .dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}
body.backoffice-body .dashboard-card,
body.backoffice-body .table-card,
body.backoffice-body .form-card,
body.backoffice-body .info-card,
body.backoffice-body .summary{
    border:1px solid #e7ecf4;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 30px rgba(15,23,42,.04);
}
body.backoffice-body .dashboard-card{padding:22px}
body.backoffice-body .stat-card{padding:20px 22px 16px}
body.backoffice-body .stat-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid #eef2f7}
body.backoffice-body .stat-label{display:block;color:#3f4b5f;font-size:14px;font-weight:500}
body.backoffice-body .stat-card strong{display:block;margin:8px 0 6px;color:#111b2b;font-size:26px;line-height:1.1}
body.backoffice-body .stat-card small{display:block;color:#768397;font-size:13px}
body.backoffice-body .stat-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:24px}
body.backoffice-body .stat-icon.orange{background:#fff2e9;color:#f17716}
body.backoffice-body .stat-icon.blue{background:#edf4ff;color:#6a94ff}
body.backoffice-body .stat-icon.green{background:#ebfff2;color:#18a957}
body.backoffice-body .stat-icon.purple{background:#f4ebff;color:#a55bff}
body.backoffice-body .stat-card-foot{display:flex;align-items:center;gap:8px;padding-top:14px;color:#66758c;font-size:13px;font-weight:600}
body.backoffice-body .stat-dot{width:8px;height:8px;border-radius:50%;background:currentColor}
body.backoffice-body .stat-card-foot.orange{color:#ff7a1a}
body.backoffice-body .stat-card-foot.blue{color:#3b82f6}
body.backoffice-body .stat-card-foot.green{color:#16a34a}
body.backoffice-body .stat-card-foot.purple{color:#8b5cf6}
body.backoffice-body .dashboard-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
body.backoffice-body .moderation-card{
    display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;
    border:1px solid #f4d5c0;border-radius:18px;background:linear-gradient(180deg,#fffaf6 0%,#fff5ee 100%);
}
body.backoffice-body .moderation-copy{display:flex;align-items:center;gap:15px}
body.backoffice-body .moderation-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:#fff1e8;color:#ff6b00;font-size:25px}
body.backoffice-body .moderation-card h3{margin:0;color:#243244;font-size:15px;font-weight:600}
body.backoffice-body .moderation-card h3 b{font-size:22px;color:#ff6b00}
body.backoffice-body .moderation-card p{margin:6px 0 0;color:#6d7a8d;font-size:13px}
body.backoffice-body .button.secondary,
body.backoffice-body .moderation-button,
body.backoffice-body .small-button{
    display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border-radius:12px;border:1px solid #ffc69d;background:#fff;color:#ff6b00;font-size:13px;font-weight:700;
}
body.backoffice-body .moderation-button:hover,
body.backoffice-body .small-button:hover,
body.backoffice-body .button.secondary:hover{background:#fff2e8}
body.backoffice-body .dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1.08fr) minmax(280px,.92fr);gap:18px;align-items:start}
body.backoffice-body .dashboard-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
body.backoffice-body .dashboard-card-head h3{margin:0;color:#121c2c;font-size:15px}
body.backoffice-body .ghost-select{
    height:36px;padding:0 12px;border:1px solid #e6ecf5;border-radius:10px;background:#fff;color:#556375;font-size:13px;font-weight:600;
}
body.backoffice-body .chart-legend{display:flex;gap:24px;margin-bottom:14px;color:#6d7b90;font-size:13px}
body.backoffice-body .chart-legend span{display:flex;align-items:center;gap:8px}
body.backoffice-body .legend-line{display:inline-block;width:24px;height:0;border-top:3px solid #ff6b00;border-radius:99px}
body.backoffice-body .legend-line.dashed{border-top-style:dashed;border-color:#ffb276}
body.backoffice-body .chart-area{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:stretch}
body.backoffice-body .chart-y-axis{display:flex;flex-direction:column;justify-content:space-between;padding:8px 0 22px;color:#7e8a9d;font-size:12px}
body.backoffice-body .chart-canvas-wrap{min-width:0}
body.backoffice-body .sales-chart{display:block;width:100%;height:220px}
body.backoffice-body .sales-chart line{stroke:#e9eef5;stroke-width:1}
body.backoffice-body .sales-chart .vertical-grid{stroke-dasharray:2 5}
body.backoffice-body .sales-chart .chart-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body.backoffice-body .sales-chart .chart-line.revenue{stroke:#ff6b00}
body.backoffice-body .sales-chart .chart-line.orders{stroke:#ffb173;stroke-dasharray:8 8}
body.backoffice-body .sales-chart .chart-point{fill:#ff6b00;stroke:#fff;stroke-width:3}
body.backoffice-body .chart-x-axis{display:flex;justify-content:space-between;gap:8px;margin-top:4px;color:#68768b;font-size:12px}
body.backoffice-body .sales-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #edf1f6}
body.backoffice-body .sales-kpis>div{display:grid;grid-template-columns:34px 1fr;gap:2px 10px;align-items:center}
body.backoffice-body .sales-kpi-icon{grid-row:1/3;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#fff1e8;color:#ff6b00;font-size:17px}
body.backoffice-body .sales-kpis strong{display:block;color:#101827;font-size:16px}
body.backoffice-body .sales-kpis small{display:block;color:#6e7b8d;font-size:12px}
body.backoffice-body .recent-orders-card{min-height:490px}
body.backoffice-body .empty-dashboard-state{display:grid;place-items:center;min-height:365px;text-align:center;color:#6d7a8d}
body.backoffice-body .empty-box{width:86px;height:86px;border-radius:22px;display:grid;place-items:center;background:#f6f8fb;color:#d6dce6;font-size:42px;margin-bottom:14px}
body.backoffice-body .empty-dashboard-state h4{margin:0 0 8px;color:#1d2939;font-size:16px}
body.backoffice-body .empty-dashboard-state p{max-width:250px;margin:0;font-size:13px;line-height:1.6}
body.backoffice-body .dashboard-side-stack{display:grid;gap:18px}
body.backoffice-body .compact-list{display:grid;gap:10px}
body.backoffice-body .compact-item{display:flex;align-items:center;gap:12px;padding:2px 0}
body.backoffice-body .compact-item+.compact-item{padding-top:10px;border-top:1px solid #f0f3f8}
body.backoffice-body .compact-item-icon{width:30px;height:30px;flex:0 0 30px;border-radius:10px;display:grid;place-items:center;background:#f7f7fb;color:#76819a;font-size:14px}
body.backoffice-body .compact-item-icon.success{background:#ebfff2;color:#18a957}
body.backoffice-body .compact-item-copy{display:flex;flex-direction:column;min-width:0}
body.backoffice-body .compact-item-copy b{font-size:14px;font-weight:600;color:#213042}
body.backoffice-body .compact-item-copy small{margin-top:2px;color:#7b8798;font-size:12px}
body.backoffice-body .transaction-item strong{margin-left:auto;color:#111b2b;font-size:14px}
body.backoffice-body .table-card,
body.backoffice-body .form-card,
body.backoffice-body .info-card,
body.backoffice-body .summary{padding:22px}
body.backoffice-body .panel-heading{margin-bottom:18px}
body.backoffice-body .panel-heading h1,
body.backoffice-body .panel-heading h2{margin:0;color:#112033}
body.backoffice-body .panel-heading small{color:#ff6b00;font-weight:800;letter-spacing:.04em}
body.backoffice-body .table-wrap{overflow:auto}
body.backoffice-body table{width:100%;border-collapse:collapse;min-width:640px}
body.backoffice-body th,
body.backoffice-body td{padding:14px 12px;border-bottom:1px solid #edf1f6;font-size:13px}
body.backoffice-body th{background:#fafbfd;color:#66748b;text-transform:none;font-weight:700}
body.backoffice-body .status{background:#fff4ec;color:#c75b11;border-radius:999px;padding:6px 10px;font-size:10px;letter-spacing:.04em}
body.backoffice-body .admin-load-warning{margin-bottom:18px;border:1px solid #ffe2b7;background:#fff9ef;border-radius:16px}
body.backoffice-body .link-button{color:#ff6b00}

@media (max-width: 1400px){
    body.backoffice-body .dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);}
    body.backoffice-body .dashboard-side-stack{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width: 1100px){
    body.backoffice-body .backoffice-top{left:0;height:auto;min-height:76px;padding:14px 16px;flex-wrap:wrap}
    body.backoffice-body .backoffice-main{padding-top:88px}
    body.backoffice-body .backoffice-shell{padding:18px}
    body.backoffice-body .backoffice-sidebar{
        position:sticky!important;top:88px!important;left:auto!important;right:auto!important;width:auto!important;height:auto!important;min-height:auto!important;
        margin-bottom:18px;border-radius:22px!important;
    }
    body.backoffice-body .panel-menu{flex-direction:row!important;overflow:auto!important;padding-bottom:2px;scrollbar-width:none;-ms-overflow-style:none}
    body.backoffice-body .panel-menu a{white-space:nowrap;flex:0 0 auto}
    body.backoffice-body .panel-menu::-webkit-scrollbar{display:none}
    body.backoffice-body .panel-divider{display:none}
    body.backoffice-body .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.backoffice-body .dashboard-alerts,
    body.backoffice-body .dashboard-grid,
    body.backoffice-body .dashboard-side-stack{grid-template-columns:1fr}
}

@media (max-width: 700px){
    body.backoffice-body .backoffice-top-right{width:100%;justify-content:space-between;flex-wrap:wrap}
    body.backoffice-body .topbar-logout{width:100%;justify-content:center}
    body.backoffice-body .backoffice-profile-chip{flex:1 1 auto}
    body.backoffice-body .dashboard-hero{flex-direction:column}
    body.backoffice-body .dashboard-date{width:100%;justify-content:center}
    body.backoffice-body .dashboard-stats{grid-template-columns:1fr}
    body.backoffice-body .moderation-card{flex-direction:column;align-items:stretch}
    body.backoffice-body .chart-area{grid-template-columns:1fr}
    body.backoffice-body .chart-y-axis{display:none}
    body.backoffice-body .sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 520px){
    body.backoffice-body .backoffice-top-copy h1{font-size:16px}
    body.backoffice-body .backoffice-profile-chip span small{font-size:11px}
    body.backoffice-body .dashboard-card,
    body.backoffice-body .table-card,
    body.backoffice-body .form-card,
    body.backoffice-body .info-card,
    body.backoffice-body .summary{padding:18px}
    body.backoffice-body .sales-kpis{grid-template-columns:1fr}
}

/* === Header compact + profile dropdown improvements === */
body.backoffice-body .backoffice-top{
    left:316px;
    height:74px;
    padding:0 20px;
}
body.backoffice-body .backoffice-main{padding-top:74px}
body.backoffice-body .backoffice-shell{min-height:calc(100vh - 74px)}
body.backoffice-body .backoffice-top-left,
body.backoffice-body .backoffice-top-right{gap:12px}
body.backoffice-body .topbar-icon,
body.backoffice-body .topbar-link{
    width:40px;
    height:40px;
    border-radius:14px;
    font-size:19px;
}
body.backoffice-body .backoffice-top-copy h1{font-size:16px}
body.backoffice-body .backoffice-top-copy small{margin-top:4px;font-size:12px}
body.backoffice-body .topbar-notification span{width:20px;height:20px;top:-4px;right:-4px;font-size:10px}
body.backoffice-body .backoffice-profile-dropdown{position:relative}
body.backoffice-body .backoffice-profile-trigger{
    display:flex;
    align-items:center;
    gap:10px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
}
body.backoffice-body .backoffice-profile-chip{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:52px;
    padding:8px 12px;
    border-radius:16px;
}
body.backoffice-body .backoffice-profile-chip>i{font-size:31px}
body.backoffice-body .backoffice-profile-chip b{font-size:15px}
body.backoffice-body .backoffice-profile-chip small{font-size:11px}
body.backoffice-body .profile-caret{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    color:#7b8798;
    font-size:14px;
    transition:transform .18s ease;
}
body.backoffice-body .backoffice-profile-dropdown.is-open .profile-caret{transform:rotate(180deg)}
body.backoffice-body .backoffice-profile-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    min-width:220px;
    padding:8px;
    border:1px solid #e6ecf5;
    border-radius:16px;
    background:#fff;
    box-shadow:0 18px 42px rgba(15,23,42,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index:30;
}
body.backoffice-body .backoffice-profile-dropdown.is-open .backoffice-profile-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
body.backoffice-body .backoffice-profile-menu a,
body.backoffice-body .backoffice-profile-menu button{
    width:100%;
    display:flex;
    align-items:center;
    gap:10px;
    min-height:42px;
    padding:0 12px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#253246;
    font:600 14px var(--font-sans);
    text-align:left;
    cursor:pointer;
}
body.backoffice-body .backoffice-profile-menu a:hover,
body.backoffice-body .backoffice-profile-menu button:hover{background:#fff4ec;color:#ff6b00}
body.backoffice-body .backoffice-profile-menu a .bi,
body.backoffice-body .backoffice-profile-menu button .bi{font-size:16px;color:#8a96a8}
body.backoffice-body .backoffice-profile-menu a:hover .bi,
body.backoffice-body .backoffice-profile-menu button:hover .bi{color:#ff6b00}
body.backoffice-body .topbar-link{text-decoration:none}

@media (max-width: 1100px){
    body.backoffice-body .backoffice-top{left:0;height:auto;min-height:70px;padding:10px 14px}
    body.backoffice-body .backoffice-main{padding-top:82px}
}

@media (max-width: 700px){
    body.backoffice-body .backoffice-top-right{gap:10px}
    body.backoffice-body .topbar-link:nth-of-type(2){display:none}
    body.backoffice-body .backoffice-profile-chip span small{display:none}
    body.backoffice-body .backoffice-profile-menu{right:auto;left:0;min-width:200px}
}

.diagnostic-path{display:block;padding:14px;border-radius:10px;background:#101828;color:#fff;overflow-wrap:anywhere}
.diagnostic-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.diagnostic-check{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e7ecf4;border-radius:12px;background:#fff}
.diagnostic-check>i{font-size:22px}
.diagnostic-check.ok>i{color:#16a34a}.diagnostic-check.bad>i{color:#dc2626}
.diagnostic-check b,.diagnostic-check small{display:block}.diagnostic-check small{margin-top:3px;color:#6b7280}
@media(max-width:850px){.diagnostic-check-grid{grid-template-columns:1fr}}

/* === Top bar v1.3.2: visual da referência, preservando todas as ações existentes === */
body.backoffice-body{
    --admin-sidebar-width:294px;
    --admin-topbar-height:88px;
}
body.backoffice-body .backoffice-top{
    left:var(--admin-sidebar-width)!important;
    height:var(--admin-topbar-height)!important;
    min-height:var(--admin-topbar-height)!important;
    padding:0 28px!important;
    gap:24px!important;
    background:#fff!important;
    border-bottom:1px solid #e6ebf2!important;
    box-shadow:0 2px 12px rgba(15,23,42,.025)!important;
    backdrop-filter:none!important;
}
body.backoffice-body .backoffice-main{padding-top:var(--admin-topbar-height)!important}
body.backoffice-body .backoffice-shell{min-height:calc(100vh - var(--admin-topbar-height))!important}
body.backoffice-body .backoffice-top-left{gap:20px!important;min-width:0}
body.backoffice-body .backoffice-top-right{gap:14px!important;min-width:0;margin-left:auto}
body.backoffice-body .backoffice-top-utilities{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body.backoffice-body .topbar-menu-button{
    width:28px!important;
    height:42px!important;
    padding:0!important;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#607087!important;
    font-size:23px!important;
    box-shadow:none!important;
}
body.backoffice-body .topbar-menu-button:hover{background:#f4f7fb!important;color:#1f2a3b!important}
body.backoffice-body .backoffice-top-copy h1{
    color:#111827!important;
    font-size:18px!important;
    font-weight:700!important;
    letter-spacing:-.02em;
}
body.backoffice-body .backoffice-top-copy small{
    margin-top:5px!important;
    color:#728096!important;
    font-size:12px!important;
}
body.backoffice-body .backoffice-top-utilities .topbar-icon{
    width:40px!important;
    height:40px!important;
    border:1px solid transparent!important;
    border-radius:10px!important;
    background:transparent!important;
    color:#66758a!important;
    font-size:19px!important;
    box-shadow:none!important;
}
body.backoffice-body .backoffice-top-utilities .topbar-icon:hover{
    border-color:#e6ebf2!important;
    background:#f8fafc!important;
    color:#1f2937!important;
}
body.backoffice-body .topbar-notification span{
    top:-3px!important;
    right:-2px!important;
    width:19px!important;
    height:19px!important;
    border:2px solid #fff!important;
    background:#f97316!important;
    font-size:10px!important;
}
body.backoffice-body .backoffice-profile-trigger{gap:5px!important}
body.backoffice-body .backoffice-profile-chip{
    min-height:52px!important;
    padding:4px 6px!important;
    gap:11px!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    box-shadow:none!important;
}
body.backoffice-body .backoffice-profile-chip>i{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#eef1f5;
    color:#a5afbc!important;
    font-size:34px!important;
}
body.backoffice-body .backoffice-profile-chip b{color:#101827;font-size:15px!important;line-height:1.15}
body.backoffice-body .backoffice-profile-chip small{margin-top:4px!important;color:#354155!important;font-size:11px!important;font-weight:700!important}
body.backoffice-body .profile-caret{width:24px!important;height:24px!important;color:#7d8999!important}
body.backoffice-body .topbar-logout-form{margin:0;flex:0 0 auto}
body.backoffice-body .topbar-logout{
    min-width:154px;
    height:44px!important;
    padding:0 18px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    border:0!important;
    border-radius:9px!important;
    background:#ff6508!important;
    color:#fff!important;
    font:700 13px var(--font-sans)!important;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(255,101,8,.18)!important;
    transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.backoffice-body .topbar-logout:hover{
    background:#ec5b00!important;
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(255,101,8,.24)!important;
}
body.backoffice-body .topbar-logout:focus-visible,
body.backoffice-body .topbar-menu-button:focus-visible,
body.backoffice-body .backoffice-top-utilities .topbar-icon:focus-visible,
body.backoffice-body .backoffice-profile-trigger:focus-visible{
    outline:3px solid rgba(249,115,22,.22)!important;
    outline-offset:2px!important;
}

@media (max-width:1100px){
    body.backoffice-body .backoffice-top{
        left:0!important;
        min-height:var(--admin-topbar-height)!important;
        padding:0 18px!important;
        flex-wrap:nowrap!important;
    }
    body.backoffice-body .backoffice-main{padding-top:var(--admin-topbar-height)!important}
    body.backoffice-body .backoffice-top-right{
        flex-wrap:nowrap!important;
        overflow-x:auto;
        overflow-y:visible;
        padding:4px 2px;
        scrollbar-width:none;
    }
    body.backoffice-body .backoffice-top-right::-webkit-scrollbar{display:none}
}
@media (max-width:760px){
    body.backoffice-body{--admin-topbar-height:80px}
    body.backoffice-body .backoffice-top{padding:0 12px!important;gap:10px!important}
    body.backoffice-body .backoffice-top-left{gap:10px!important;flex:0 1 auto}
    body.backoffice-body .backoffice-top-copy{min-width:112px}
    body.backoffice-body .backoffice-top-copy h1{font-size:15px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    body.backoffice-body .backoffice-top-copy small{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    body.backoffice-body .backoffice-top-right{gap:8px!important}
    body.backoffice-body .backoffice-top-utilities{gap:3px}
    body.backoffice-body .topbar-link:nth-of-type(2){display:grid!important}
    body.backoffice-body .backoffice-profile-chip{padding:3px!important}
    body.backoffice-body .backoffice-profile-chip span small{display:block!important}
    body.backoffice-body .backoffice-profile-chip>i{width:38px;height:38px;font-size:30px!important}
    body.backoffice-body .profile-caret{display:grid!important}
    body.backoffice-body .topbar-logout{min-width:138px;height:40px!important;padding:0 13px!important;font-size:12px!important}
}
@media (max-width:520px){
    body.backoffice-body .backoffice-top{align-items:center!important}
    body.backoffice-body .backoffice-top-left{min-width:145px}
    body.backoffice-body .backoffice-top-right{max-width:calc(100vw - 165px)}
    body.backoffice-body .backoffice-profile-chip span{display:block!important}
    body.backoffice-body .backoffice-profile-chip span small{display:block!important}
    body.backoffice-body .backoffice-profile-menu{right:0!important;left:auto!important}
}


/* === Lojistas + top bar refinada v1.3.4 === */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

body.backoffice-body{
    --admin-topbar-height:88px;
    --admin-sidebar-width:294px;
}
body.backoffice-body .backoffice-top{
    height:var(--admin-topbar-height)!important;
    min-height:var(--admin-topbar-height)!important;
    left:var(--admin-sidebar-width)!important;
    padding:0 28px!important;
    background:rgba(255,255,255,.985)!important;
    border-bottom:1px solid #e8edf4!important;
    box-shadow:0 5px 18px rgba(15,23,42,.025)!important;
}
body.backoffice-body .backoffice-main{padding-top:var(--admin-topbar-height)!important}
body.backoffice-body .backoffice-shell{min-height:calc(100vh - var(--admin-topbar-height))!important}
body.backoffice-body .backoffice-top-left{gap:24px!important}
body.backoffice-body .topbar-menu-button{
    width:50px!important;
    height:50px!important;
    flex:0 0 50px;
    border:1px solid #e3e9f1!important;
    border-radius:11px!important;
    background:#fff!important;
    color:#5e6e84!important;
    font-size:22px!important;
    box-shadow:0 6px 16px rgba(15,23,42,.045)!important;
}
body.backoffice-body .topbar-menu-button:hover{border-color:#d6dde8!important;background:#f9fbfd!important}
body.backoffice-body .backoffice-top-copy h1{font-size:17px!important;font-weight:700!important;color:#111c2d!important}
body.backoffice-body .backoffice-top-copy small{margin-top:6px!important;font-size:12px!important;color:#758297!important}
body.backoffice-body .backoffice-top-right{gap:0!important;height:100%}
body.backoffice-body .backoffice-top-utilities{height:100%;gap:0!important}
body.backoffice-body .backoffice-top-utilities .topbar-icon{
    width:64px!important;
    height:100%!important;
    border:0!important;
    border-left:1px solid #edf1f6!important;
    border-radius:0!important;
    background:transparent!important;
    color:#68778c!important;
    font-size:20px!important;
}
body.backoffice-body .backoffice-top-utilities .topbar-icon:last-child{border-right:1px solid #edf1f6!important}
body.backoffice-body .backoffice-top-utilities .topbar-icon:hover{background:#fafbfd!important;color:#162033!important}
body.backoffice-body .topbar-notification span{top:17px!important;right:12px!important;width:19px!important;height:19px!important;border:2px solid #fff!important}
body.backoffice-body .backoffice-profile-dropdown{height:100%;display:flex;align-items:center;padding:0 18px 0 20px;border-left:1px solid #edf1f6}
body.backoffice-body .backoffice-profile-trigger{gap:12px!important}
body.backoffice-body .backoffice-profile-chip{min-height:54px!important;padding:0 6px!important;gap:12px!important}
body.backoffice-body .backoffice-profile-chip>i{width:40px!important;height:40px!important;font-size:32px!important;background:#eef2f6!important}
body.backoffice-body .backoffice-profile-chip b{font-size:15px!important;color:#111827!important}
body.backoffice-body .backoffice-profile-chip small{font-size:10px!important;color:#485568!important;letter-spacing:.01em}
body.backoffice-body .profile-caret{margin-left:10px!important;color:#63738a!important}

body.backoffice-body .vendor-page{padding:6px 0 28px}
body.backoffice-body .vendor-page-heading{margin:8px 0 30px}
body.backoffice-body .vendor-page-heading small{display:block;margin-bottom:10px;color:#f2630a;font-size:12px;font-weight:800;letter-spacing:.035em}
body.backoffice-body .vendor-page-heading h1{margin:0;color:#10203a;font-size:38px;line-height:1.08;letter-spacing:-.035em}
body.backoffice-body .vendor-page-heading p{margin:10px 0 0;color:#69778d;font-size:14px}

body.backoffice-body .vendor-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:26px}
body.backoffice-body .vendor-stat-card{
    min-height:122px;
    padding:22px 24px;
    display:flex;
    align-items:center;
    gap:20px;
    border:1px solid #e5eaf1;
    border-radius:17px;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.035);
}
body.backoffice-body .vendor-stat-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:50%;font-size:28px}
body.backoffice-body .vendor-stat-card>div{min-width:0}
body.backoffice-body .vendor-stat-card small{display:block;color:#5f6d82;font-size:13px}
body.backoffice-body .vendor-stat-card strong{display:block;margin:5px 0 7px;color:#0f1d31;font-size:24px;line-height:1}
body.backoffice-body .vendor-stat-card span:not(.vendor-stat-icon){display:flex;align-items:center;gap:7px;color:#7a8799;font-size:12px}
body.backoffice-body .vendor-stat-card span:not(.vendor-stat-icon) i{width:7px;height:7px;border-radius:50%;background:currentColor}
body.backoffice-body .vendor-stat-card.is-total .vendor-stat-icon{background:#fff0e7;color:#ff6508}
body.backoffice-body .vendor-stat-card.is-total span:not(.vendor-stat-icon){color:#718096}
body.backoffice-body .vendor-stat-card.is-approved .vendor-stat-icon{background:#eaf9ef;color:#16a34a}
body.backoffice-body .vendor-stat-card.is-approved span:not(.vendor-stat-icon){color:#16a34a}
body.backoffice-body .vendor-stat-card.is-pending .vendor-stat-icon{background:#fff5e5;color:#f59e0b}
body.backoffice-body .vendor-stat-card.is-pending span:not(.vendor-stat-icon){color:#f59e0b}
body.backoffice-body .vendor-stat-card.is-suspended .vendor-stat-icon{background:#fff0f0;color:#ef4444}
body.backoffice-body .vendor-stat-card.is-suspended span:not(.vendor-stat-icon){color:#ef4444}

body.backoffice-body .vendor-filter-bar{
    display:grid;
    grid-template-columns:minmax(300px,1.45fr) minmax(190px,.8fr) minmax(190px,.8fr) auto;
    gap:18px;
    align-items:center;
    margin-bottom:26px;
    padding:24px;
    border:1px solid #e6eaf1;
    border-radius:17px;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.032);
}
body.backoffice-body .vendor-search-field,
body.backoffice-body .vendor-select-field{height:50px;display:flex;align-items:center;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#6d7d93;transition:border-color .18s ease,box-shadow .18s ease}
body.backoffice-body .vendor-search-field:focus-within,
body.backoffice-body .vendor-select-field:focus-within{border-color:#f6a16b;box-shadow:0 0 0 3px rgba(255,101,8,.09)}
body.backoffice-body .vendor-search-field>i{margin:0 14px;font-size:17px}
body.backoffice-body .vendor-search-field input{width:100%;height:100%;padding:0 14px 0 0;border:0;outline:0;background:transparent;color:#172033;font:500 13px var(--font-sans)}
body.backoffice-body .vendor-search-field input::placeholder{color:#8c98a9}
body.backoffice-body .vendor-select-field select{width:100%;height:100%;padding:0 38px 0 16px;border:0;outline:0;background:transparent;color:#263449;font:600 13px var(--font-sans);cursor:pointer}
body.backoffice-body .vendor-sort-field>i{margin-left:16px;font-size:17px;color:#53637a}
body.backoffice-body .vendor-sort-field select{padding-left:12px}
body.backoffice-body .vendor-invite-button{height:50px;min-width:184px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:#ff6508;color:#fff;font:700 13px var(--font-sans);cursor:pointer;box-shadow:0 10px 22px rgba(255,101,8,.16);transition:transform .18s ease,background .18s ease}
body.backoffice-body .vendor-invite-button:hover{background:#ec5b00;transform:translateY(-1px)}

body.backoffice-body .vendor-table-card{border:1px solid #e5eaf1;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.035);overflow:visible}
body.backoffice-body .vendor-table-scroll{overflow-x:auto;padding:14px 14px 0}
body.backoffice-body .vendor-table{min-width:1190px;border-collapse:collapse}
body.backoffice-body .vendor-table th{padding:16px 18px;border-bottom:1px solid #e8edf3;background:#fbfcfd;color:#627087;font-size:12px;font-weight:700;text-transform:none}
body.backoffice-body .vendor-table td{padding:22px 18px;border-bottom:1px solid #edf1f5;color:#334155;font-size:12px;vertical-align:middle}
body.backoffice-body .vendor-table tbody tr:hover{background:#fcfdff}
body.backoffice-body .vendor-company-cell{display:flex;align-items:center;gap:14px;min-width:290px}
body.backoffice-body .vendor-logo{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;overflow:hidden;border-radius:11px;background:linear-gradient(145deg,#092e5a,#041a35);color:#ff741d;font-size:20px;font-weight:800;letter-spacing:-.04em}
body.backoffice-body .vendor-logo img{width:100%;height:100%;object-fit:cover}
body.backoffice-body .vendor-company-cell b,.vendor-company-cell small{display:block}
body.backoffice-body .vendor-company-cell b{max-width:250px;color:#172033;font-size:12px;font-weight:700;line-height:1.4}
body.backoffice-body .vendor-company-cell small{margin-top:5px;color:#8490a2;font-size:10px;white-space:nowrap}
body.backoffice-body .vendor-contact-cell b{display:block;color:#415066;font-size:12px;font-weight:500}
body.backoffice-body .vendor-contact-cell span{display:flex;align-items:center;gap:5px;margin-top:5px;color:#7b8799;font-size:10px}
body.backoffice-body .vendor-contact-cell button{padding:0;border:0;background:transparent;color:#65758a;cursor:pointer}
body.backoffice-body .vendor-store-name{color:#45536a;font-weight:500;white-space:nowrap}
body.backoffice-body .vendor-commission{color:#4a586d;font-weight:600;white-space:nowrap}
body.backoffice-body .vendor-status{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:8px;font-size:10px;font-weight:800;text-transform:uppercase;white-space:nowrap}
body.backoffice-body .vendor-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
body.backoffice-body .vendor-status.is-approved{background:#e9f9ed;color:#16a34a}
body.backoffice-body .vendor-status.is-pending,body.backoffice-body .vendor-status.is-review{background:#fff6e5;color:#e89200}
body.backoffice-body .vendor-status.is-suspended{background:#fff0f0;color:#e54848}
body.backoffice-body .vendor-status.is-rejected{background:#f5f0ff;color:#8b5cf6}
body.backoffice-body .vendor-actions{display:flex;align-items:center;gap:9px;min-width:430px;position:relative}
body.backoffice-body .vendor-status-form{margin:0}
body.backoffice-body .vendor-action-select{height:36px;min-width:124px;padding:0 7px 0 12px;display:flex;align-items:center;gap:7px;border:1px solid #dfe5ec;border-radius:8px;background:#fff}
body.backoffice-body .vendor-action-select>i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#22c55e}
body.backoffice-body .vendor-action-select.is-pending>i,body.backoffice-body .vendor-action-select.is-review>i{background:#f59e0b}
body.backoffice-body .vendor-action-select.is-suspended>i{background:#ef4444}
body.backoffice-body .vendor-action-select.is-rejected>i{background:#8b5cf6}
body.backoffice-body .vendor-action-select select{height:100%;min-width:0;padding:0 20px 0 0;border:0;outline:0;background:transparent;color:#48566b;font:500 11px var(--font-sans);cursor:pointer}
body.backoffice-body .vendor-action-button{height:36px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#425066;font:600 11px var(--font-sans);white-space:nowrap;cursor:pointer}
body.backoffice-body .vendor-action-button:hover{border-color:#cfd7e2;background:#f9fafc}
body.backoffice-body .vendor-edit-button{border-color:#ff6508;background:#ff6508;color:#fff}
body.backoffice-body .vendor-edit-button:hover{border-color:#ec5b00;background:#ec5b00}
body.backoffice-body .vendor-more-menu{position:relative}
body.backoffice-body .vendor-more-menu summary{width:30px;height:36px;display:grid;place-items:center;border-radius:8px;color:#66758a;cursor:pointer;list-style:none}
body.backoffice-body .vendor-more-menu summary::-webkit-details-marker{display:none}
body.backoffice-body .vendor-more-menu[open] summary{background:#f3f6fa}
body.backoffice-body .vendor-more-menu>div{position:absolute;right:0;top:42px;z-index:15;min-width:170px;padding:7px;border:1px solid #e4e9f0;border-radius:11px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.13)}
body.backoffice-body .vendor-more-menu a,body.backoffice-body .vendor-more-menu button{width:100%;min-height:36px;padding:0 10px;display:flex;align-items:center;gap:9px;border:0;border-radius:8px;background:transparent;color:#3d4a60;font:600 11px var(--font-sans);cursor:pointer;text-align:left}
body.backoffice-body .vendor-more-menu a:hover,body.backoffice-body .vendor-more-menu button:hover{background:#fff2e9;color:#f15f08}

body.backoffice-body .vendor-table-footer{min-height:78px;padding:16px 22px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
body.backoffice-body .vendor-table-footer p{margin:0;color:#66758a;font-size:12px}
body.backoffice-body .vendor-pagination{display:flex;align-items:center;gap:8px}
body.backoffice-body .vendor-pagination a{width:36px;height:36px;display:grid;place-items:center;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#607087;font-size:12px;font-weight:700}
body.backoffice-body .vendor-pagination a:hover{border-color:#ff9b61;color:#f15e07}
body.backoffice-body .vendor-pagination a.active{border-color:#ff6508;background:#fff6ef;color:#f15e07}
body.backoffice-body .vendor-pagination a.is-disabled{pointer-events:none;opacity:.45}
body.backoffice-body .vendor-page-size{justify-self:end}
body.backoffice-body .vendor-page-size select{height:40px;min-width:142px;padding:0 34px 0 14px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#344257;font:600 11px var(--font-sans)}
body.backoffice-body .vendor-empty-state{min-height:300px;padding:45px;display:grid;place-items:center;text-align:center}
body.backoffice-body .vendor-empty-state>span{width:68px;height:68px;display:grid;place-items:center;border-radius:20px;background:#fff1e8;color:#ff6508;font-size:29px}
body.backoffice-body .vendor-empty-state h2{margin:16px 0 7px;color:#182338;font-size:19px}
body.backoffice-body .vendor-empty-state p{margin:0;color:#758297;font-size:13px}
body.backoffice-body .vendor-empty-state a{margin-top:16px;color:#f15e07;font-weight:700;font-size:12px}

body.backoffice-body .admin-dialog{width:min(640px,calc(100vw - 28px));padding:0;border:0;border-radius:18px;background:transparent;overflow:visible}
body.backoffice-body .admin-dialog::backdrop{background:rgba(8,20,39,.56);backdrop-filter:blur(3px)}
body.backoffice-body .admin-dialog-card{padding:0;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(3,15,31,.28);overflow:hidden}
body.backoffice-body .admin-dialog-card>header{padding:22px 24px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #edf1f5}
body.backoffice-body .admin-dialog-card>header small{display:block;margin-bottom:5px;color:#f2640a;font-size:10px;font-weight:800;letter-spacing:.05em}
body.backoffice-body .admin-dialog-card>header h2{margin:0;color:#172033;font-size:21px}
body.backoffice-body .admin-dialog-card>header p{margin:7px 0 0;color:#788598;font-size:12px}
body.backoffice-body .admin-dialog-card>header button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;background:#f3f5f8;color:#59687e;cursor:pointer}
body.backoffice-body .admin-dialog-card>label,body.backoffice-body .vendor-edit-grid{margin:22px 24px}
body.backoffice-body .admin-dialog-card label{display:grid;gap:7px;color:#3d4b61;font-size:12px;font-weight:700}
body.backoffice-body .admin-dialog-card input,body.backoffice-body .admin-dialog-card select{width:100%;height:44px;padding:0 12px;border:1px solid #dfe5ec;border-radius:9px;background:#fff;color:#263449;font:500 12px var(--font-sans);outline:0}
body.backoffice-body .admin-dialog-card input:focus,body.backoffice-body .admin-dialog-card select:focus{border-color:#f49b65;box-shadow:0 0 0 3px rgba(255,101,8,.08)}
body.backoffice-body .vendor-copy-field{display:grid;grid-template-columns:1fr auto;gap:9px}
body.backoffice-body .vendor-copy-field button{padding:0 16px;border:0;border-radius:9px;background:#12223a;color:#fff;font:700 11px var(--font-sans);cursor:pointer}
body.backoffice-body .vendor-detail-grid{margin:22px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.backoffice-body .vendor-detail-grid>div{padding:14px;border:1px solid #e8edf3;border-radius:11px;background:#fbfcfd}
body.backoffice-body .vendor-detail-grid small,body.backoffice-body .vendor-detail-grid b{display:block}
body.backoffice-body .vendor-detail-grid small{color:#7a879a;font-size:10px}
body.backoffice-body .vendor-detail-grid b{margin-top:6px;color:#28364a;font-size:12px;overflow-wrap:anywhere}
body.backoffice-body .vendor-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.backoffice-body .admin-dialog-card>footer{padding:17px 24px;display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #edf1f5;background:#fbfcfd}
body.backoffice-body .vendor-dialog-secondary,body.backoffice-body .vendor-dialog-primary{height:42px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;font:700 11px var(--font-sans);cursor:pointer}
body.backoffice-body .vendor-dialog-secondary{border:1px solid #dfe5ec;background:#fff;color:#48566b}
body.backoffice-body .vendor-dialog-primary{border:1px solid #ff6508;background:#ff6508;color:#fff}

@media(max-width:1450px){
    body.backoffice-body .vendor-filter-bar{grid-template-columns:minmax(260px,1.2fr) minmax(170px,.7fr) minmax(170px,.7fr) auto}
    body.backoffice-body .vendor-stat-card{padding:19px;gap:14px}
    body.backoffice-body .vendor-stat-icon{width:56px;height:56px;flex-basis:56px}
}
@media(max-width:1180px){
    body.backoffice-body .backoffice-top{left:0!important;padding:0 18px!important}
    body.backoffice-body .vendor-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.backoffice-body .vendor-filter-bar{grid-template-columns:1fr 1fr}
    body.backoffice-body .vendor-search-field{grid-column:1/-1}
    body.backoffice-body .vendor-invite-button{width:100%}
    body.backoffice-body .backoffice-top-utilities .topbar-icon{width:52px!important}
}
@media(max-width:820px){
    body.backoffice-body{--admin-topbar-height:80px}
    body.backoffice-body .backoffice-top{gap:10px!important;padding:0 12px!important}
    body.backoffice-body .topbar-menu-button{width:42px!important;height:42px!important;flex-basis:42px}
    body.backoffice-body .backoffice-top-left{gap:10px!important;min-width:0}
    body.backoffice-body .backoffice-top-copy{min-width:0}
    body.backoffice-body .backoffice-top-copy h1,body.backoffice-body .backoffice-top-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    body.backoffice-body .backoffice-top-utilities .topbar-icon{width:42px!important}
    body.backoffice-body .backoffice-profile-dropdown{padding:0 8px}
    body.backoffice-body .backoffice-profile-chip span{display:none!important}
    body.backoffice-body .profile-caret{display:none!important}
    body.backoffice-body .vendor-page-heading h1{font-size:32px}
    body.backoffice-body .vendor-filter-bar{grid-template-columns:1fr;padding:18px}
    body.backoffice-body .vendor-search-field{grid-column:auto}
    body.backoffice-body .vendor-table-footer{grid-template-columns:1fr;justify-items:center;text-align:center}
    body.backoffice-body .vendor-page-size{justify-self:center}
}
@media(max-width:560px){
    body.backoffice-body .backoffice-top-copy small{display:none}
    body.backoffice-body .backoffice-top-utilities .topbar-link{display:none!important}
    body.backoffice-body .vendor-stat-grid{grid-template-columns:1fr;gap:12px}
    body.backoffice-body .vendor-stat-card{min-height:105px}
    body.backoffice-body .vendor-page-heading{margin-bottom:22px}
    body.backoffice-body .vendor-page-heading h1{font-size:29px}
    body.backoffice-body .vendor-detail-grid,body.backoffice-body .vendor-edit-grid{grid-template-columns:1fr}
    body.backoffice-body .vendor-copy-field{grid-template-columns:1fr}
    body.backoffice-body .vendor-copy-field button{height:42px}
    body.backoffice-body .admin-dialog-card>footer{flex-direction:column-reverse;align-items:stretch}
}


/* === Perfil top bar sem botão de terminar sessão v1.3.5 === */
body.backoffice-body .topbar-logout-form{display:none!important}
body.backoffice-body .backoffice-profile-dropdown{margin-left:0!important}
body.backoffice-body .backoffice-profile-menu{min-width:220px!important}
body.backoffice-body .backoffice-profile-menu a .bi,
body.backoffice-body .backoffice-profile-menu button .bi{width:18px;text-align:center}
@media (max-width:760px){
    body.backoffice-body .backoffice-profile-dropdown{padding:0 10px 0 12px!important}
}


/* === Correção funcional do menu de perfil v1.3.6 === */
body.backoffice-body .backoffice-top,
body.backoffice-body .backoffice-top-right,
body.backoffice-body .backoffice-top-utilities{overflow:visible!important}
body.backoffice-body details.backoffice-profile-dropdown{position:relative!important;overflow:visible!important}
body.backoffice-body details.backoffice-profile-dropdown>summary{list-style:none!important}
body.backoffice-body details.backoffice-profile-dropdown>summary::-webkit-details-marker{display:none!important}
body.backoffice-body details.backoffice-profile-dropdown .backoffice-profile-menu{
    top:calc(100% + 8px)!important;
    right:0!important;
    left:auto!important;
    z-index:9999!important;
    display:block!important;
    pointer-events:none;
}
body.backoffice-body details.backoffice-profile-dropdown[open] .backoffice-profile-menu,
body.backoffice-body details.backoffice-profile-dropdown.is-open .backoffice-profile-menu{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(0)!important;
    pointer-events:auto!important;
}
body.backoffice-body details.backoffice-profile-dropdown[open] .profile-caret{transform:rotate(180deg)!important}
@media (max-width:1100px){
    body.backoffice-body .backoffice-top-right{overflow:visible!important;padding-top:0!important;padding-bottom:0!important}
}
@media (max-width:520px){
    body.backoffice-body details.backoffice-profile-dropdown .backoffice-profile-menu{position:fixed!important;top:72px!important;right:10px!important;left:auto!important;width:min(230px,calc(100vw - 20px))!important}
}

/* === Gestão de utilizadores v1.3.7 === */
body.backoffice-body .user-page{padding:6px 0 30px}
body.backoffice-body .user-page-heading{margin:8px 0 30px}
body.backoffice-body .user-page-heading small{display:block;margin-bottom:10px;color:#f2630a;font-size:12px;font-weight:800;letter-spacing:.035em}
body.backoffice-body .user-page-heading h1{margin:0;color:#10203a;font-size:38px;line-height:1.08;letter-spacing:-.035em}
body.backoffice-body .user-page-heading p{margin:10px 0 0;color:#69778d;font-size:14px}
body.backoffice-body .user-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:26px}
body.backoffice-body .user-stat-card{min-height:122px;padding:22px 24px;display:flex;align-items:center;gap:20px;border:1px solid #e5eaf1;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.035)}
body.backoffice-body .user-stat-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:50%;font-size:28px}
body.backoffice-body .user-stat-card>div{min-width:0}
body.backoffice-body .user-stat-card>div>span{display:block;color:#607089;font-size:13px;white-space:nowrap}
body.backoffice-body .user-stat-card strong{display:block;margin:6px 0 8px;color:#0f1d31;font-size:24px;line-height:1}
body.backoffice-body .user-stat-card small{display:flex;align-items:center;gap:7px;color:#617087;font-size:11px}
body.backoffice-body .user-stat-card small i{width:7px;height:7px;border-radius:50%;background:currentColor}
body.backoffice-body .user-stat-card.is-total .user-stat-icon{background:#fff0e7;color:#ff6508}
body.backoffice-body .user-stat-card.is-total small{color:#ff6508}
body.backoffice-body .user-stat-card.is-admin .user-stat-icon{background:#e9f9ed;color:#16a34a}
body.backoffice-body .user-stat-card.is-admin small{color:#16a34a}
body.backoffice-body .user-stat-card.is-seller .user-stat-icon{background:#e9f2ff;color:#1877e8}
body.backoffice-body .user-stat-card.is-seller small{color:#1877e8}
body.backoffice-body .user-stat-card.is-customer .user-stat-icon{background:#f4ebff;color:#7c3aed}
body.backoffice-body .user-stat-card.is-customer small{color:#7c3aed}

body.backoffice-body .user-filter-bar{display:grid;grid-template-columns:minmax(300px,1.35fr) minmax(175px,.72fr) minmax(175px,.72fr) minmax(175px,.72fr) auto;gap:18px;align-items:center;margin-bottom:26px;padding:24px;border:1px solid #e6eaf1;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.032)}
body.backoffice-body .user-search-field,body.backoffice-body .user-filter-select{height:50px;display:flex;align-items:center;position:relative;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#6d7d93;transition:border-color .18s ease,box-shadow .18s ease}
body.backoffice-body .user-search-field:focus-within,body.backoffice-body .user-filter-select:focus-within{border-color:#f6a16b;box-shadow:0 0 0 3px rgba(255,101,8,.09)}
body.backoffice-body .user-search-field>i{margin:0 14px;font-size:17px}
body.backoffice-body .user-search-field input{width:100%;height:100%;padding:0 14px 0 0;border:0;outline:0;background:transparent;color:#172033;font:500 13px var(--font-sans)}
body.backoffice-body .user-search-field input::placeholder{color:#8c98a9}
body.backoffice-body .user-filter-select select{width:100%;height:100%;padding:0 38px 0 16px;border:0;outline:0;appearance:none;background:transparent;color:#263449;font:600 12px var(--font-sans);cursor:pointer}
body.backoffice-body .user-filter-select>i{position:absolute;right:14px;pointer-events:none;font-size:12px;color:#63748a}
body.backoffice-body .user-invite-button{height:50px;min-width:196px;padding:0 23px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:#ff6508;color:#fff;font:700 13px var(--font-sans);cursor:pointer;box-shadow:0 10px 22px rgba(255,101,8,.16);transition:transform .18s ease,background .18s ease}
body.backoffice-body .user-invite-button:hover{background:#ec5b00;transform:translateY(-1px)}

body.backoffice-body .user-table-card{border:1px solid #e5eaf1;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.035);overflow:visible}
body.backoffice-body .user-table-wrap{overflow-x:auto;padding:14px 14px 80px;margin-bottom:-80px}
body.backoffice-body .user-table{width:100%;min-width:1120px;border-collapse:collapse}
body.backoffice-body .user-table th{padding:16px 16px;border-bottom:1px solid #e8edf3;background:#fbfcfd;color:#627087;font-size:11px;font-weight:700;text-align:left}
body.backoffice-body .user-table td{padding:17px 16px;border-bottom:1px solid #edf1f5;color:#334155;font-size:12px;vertical-align:middle}
body.backoffice-body .user-table tbody tr:hover{background:#fcfdff}
body.backoffice-body .user-identity{display:flex;align-items:center;gap:14px;min-width:250px}
body.backoffice-body .user-avatar{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#eef1f5;color:#75839a;font-size:14px;font-weight:800}
body.backoffice-body .user-avatar img{width:100%;height:100%;object-fit:cover}
body.backoffice-body .user-avatar.is-admin{background:#edf0f4;color:#66758a}
body.backoffice-body .user-avatar.is-seller{background:#e8f2ff;color:#1877e8}
body.backoffice-body .user-avatar.is-customer{background:#f4ebff;color:#7c3aed}
body.backoffice-body .user-avatar.is-staff{background:#ecfdf3;color:#16a34a}
body.backoffice-body .user-identity strong,body.backoffice-body .user-identity small{display:block}
body.backoffice-body .user-identity strong{color:#172033;font-size:12px;font-weight:700}
body.backoffice-body .user-identity small{margin-top:4px;color:#7f8b9d;font-size:10px;white-space:nowrap}
body.backoffice-body .user-email{color:#526178;font-size:11px;white-space:nowrap}
body.backoffice-body .user-email:hover{color:#f15e07}
body.backoffice-body .user-role{display:inline-flex;padding:7px 11px;border-radius:8px;font-size:10px;font-weight:700;white-space:nowrap}
body.backoffice-body .user-role.is-admin{background:#fff0e5;color:#e66109}
body.backoffice-body .user-role.is-seller{background:#e8f2ff;color:#1474db}
body.backoffice-body .user-role.is-customer{background:#f4ebff;color:#7c3aed}
body.backoffice-body .user-role.is-staff{background:#e9f9ed;color:#168342}
body.backoffice-body .user-status{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:8px;font-size:10px;font-weight:800;text-transform:uppercase;white-space:nowrap}
body.backoffice-body .user-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
body.backoffice-body .user-status.is-active{background:#e9f9ed;color:#16a34a}
body.backoffice-body .user-status.is-pending{background:#fff6e5;color:#e89200}
body.backoffice-body .user-status.is-suspended{background:#fff0f0;color:#e54848}
body.backoffice-body .user-status.is-blocked{background:#f1f3f6;color:#64748b}
body.backoffice-body .user-last-access{color:#536178;font-size:11px;white-space:nowrap}
body.backoffice-body .user-actions{display:flex;align-items:center;gap:9px;min-width:295px;position:relative}
body.backoffice-body .user-action-button{height:36px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#425066;font:600 11px var(--font-sans);white-space:nowrap;cursor:pointer}
body.backoffice-body .user-action-button:hover{border-color:#cfd7e2;background:#f9fafc}
body.backoffice-body .user-edit-button{border-color:#ff6508;background:#ff6508;color:#fff}
body.backoffice-body .user-edit-button:hover{border-color:#ec5b00;background:#ec5b00}
body.backoffice-body .user-more-menu{position:relative}
body.backoffice-body .user-more-menu summary{width:38px;height:38px;display:grid;place-items:center;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#66758a;cursor:pointer;list-style:none}
body.backoffice-body .user-more-menu summary::-webkit-details-marker{display:none}
body.backoffice-body .user-more-menu[open] summary{background:#f3f6fa}
body.backoffice-body .user-more-menu>div{position:absolute;right:0;top:44px;z-index:30;min-width:185px;padding:7px;border:1px solid #e4e9f0;border-radius:11px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.13)}
body.backoffice-body .user-more-menu form{margin:0}
body.backoffice-body .user-more-menu button{width:100%;min-height:36px;padding:0 10px;display:flex;align-items:center;gap:9px;border:0;border-radius:8px;background:transparent;color:#3d4a60;font:600 11px var(--font-sans);cursor:pointer;text-align:left}
body.backoffice-body .user-more-menu button:hover{background:#fff2e9;color:#f15f08}

body.backoffice-body .user-table-footer{min-height:78px;padding:16px 22px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;position:relative;z-index:2;background:#fff;border-radius:0 0 17px 17px}
body.backoffice-body .user-table-footer p{margin:0;color:#66758a;font-size:12px}
body.backoffice-body .user-pagination{display:flex;align-items:center;gap:8px}
body.backoffice-body .user-pagination a{width:36px;height:36px;display:grid;place-items:center;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#607087;font-size:12px;font-weight:700}
body.backoffice-body .user-pagination a:hover{border-color:#ff9b61;color:#f15e07}
body.backoffice-body .user-pagination a.active{border-color:#ff6508;background:#ff6508;color:#fff}
body.backoffice-body .user-pagination a.is-disabled{pointer-events:none;opacity:.45}
body.backoffice-body .user-page-size{justify-self:end}
body.backoffice-body .user-page-size select{height:40px;min-width:142px;padding:0 34px 0 14px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:#344257;font:600 11px var(--font-sans)}
body.backoffice-body .user-detail-grid{margin:22px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.backoffice-body .user-detail-grid>div{padding:14px;border:1px solid #e8edf3;border-radius:11px;background:#fbfcfd}
body.backoffice-body .user-detail-grid small,body.backoffice-body .user-detail-grid b{display:block}
body.backoffice-body .user-detail-grid small{color:#7a879a;font-size:10px}
body.backoffice-body .user-detail-grid b{margin-top:6px;color:#28364a;font-size:12px;overflow-wrap:anywhere}
body.backoffice-body .user-edit-grid{margin:22px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.backoffice-body .user-edit-grid label small{font-weight:500;color:#8793a5}
body.backoffice-body .user-password-field{grid-column:1/-1}
body.backoffice-body .user-invite-dialog{width:min(700px,calc(100vw - 28px))}
body.backoffice-body .admin-dialog-card input:disabled{background:#f4f6f8;color:#798597;cursor:not-allowed}

@media(max-width:1450px){
    body.backoffice-body .user-filter-bar{grid-template-columns:minmax(250px,1.2fr) minmax(155px,.7fr) minmax(155px,.7fr) minmax(155px,.7fr) auto;gap:12px}
    body.backoffice-body .user-stat-card{padding:19px;gap:14px}
    body.backoffice-body .user-stat-icon{width:56px;height:56px;flex-basis:56px}
}
@media(max-width:1240px){
    body.backoffice-body .user-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.backoffice-body .user-filter-bar{grid-template-columns:1fr 1fr 1fr}
    body.backoffice-body .user-search-field{grid-column:span 2}
    body.backoffice-body .user-invite-button{width:100%}
}
@media(max-width:900px){
    body.backoffice-body .user-filter-bar{grid-template-columns:1fr 1fr;padding:18px}
    body.backoffice-body .user-search-field{grid-column:1/-1}
    body.backoffice-body .user-invite-button{grid-column:1/-1}
    body.backoffice-body .user-table-footer{grid-template-columns:1fr;justify-items:center;text-align:center}
    body.backoffice-body .user-page-size{justify-self:center}
}
@media(max-width:620px){
    body.backoffice-body .user-stat-grid{grid-template-columns:1fr;gap:12px}
    body.backoffice-body .user-stat-card{min-height:105px}
    body.backoffice-body .user-filter-bar{grid-template-columns:1fr}
    body.backoffice-body .user-search-field,body.backoffice-body .user-invite-button{grid-column:auto}
    body.backoffice-body .user-page-heading{margin-bottom:22px}
    body.backoffice-body .user-page-heading h1{font-size:29px}
    body.backoffice-body .user-detail-grid,body.backoffice-body .user-edit-grid{grid-template-columns:1fr}
    body.backoffice-body .user-password-field{grid-column:auto}
}

/* === Gestão de categorias e ícones v1.3.8 === */
.search button{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}
.search button .bi{display:block;line-height:1!important;margin:0!important}
.category-menu a{grid-template-columns:30px minmax(0,1fr) 16px!important;gap:4px}
.category-menu .store-category-icon{width:26px;height:26px;display:grid;place-items:center;color:#172033;font-size:15px}
.category-menu .store-category-name{min-width:0}
.category-menu a:hover .store-category-icon{color:var(--orange)}

body.backoffice-body .category-admin-page{padding:6px 0 28px}
body.backoffice-body .category-page-heading{margin:8px 0 28px}
body.backoffice-body .category-page-heading small{display:block;margin-bottom:8px;color:#f2630a;font-size:12px;font-weight:800;letter-spacing:.04em}
body.backoffice-body .category-page-heading h1{margin:0;color:#10203a;font-size:38px;line-height:1.08;letter-spacing:-.035em}
body.backoffice-body .category-page-heading p{margin:10px 0 0;color:#69778d;font-size:14px}
body.backoffice-body .category-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:20px}
body.backoffice-body .category-stats article{min-height:104px;padding:18px 22px;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e5eaf1;border-radius:15px;box-shadow:0 8px 24px rgba(15,23,42,.035)}
body.backoffice-body .cat-stat-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;font-size:24px;flex:0 0 auto}
body.backoffice-body .cat-stat-icon.orange{color:#ff6508;background:#fff0e6}.cat-stat-icon.green{color:#16a34a;background:#e9f9ee}.cat-stat-icon.blue{color:#1877f2;background:#eaf3ff}.cat-stat-icon.purple{color:#7c3aed;background:#f1eaff}
body.backoffice-body .category-stats small,body.backoffice-body .category-stats strong{display:block}.category-stats small{color:#607089;font-size:13px}.category-stats strong{margin-top:5px;color:#10203a;font-size:23px}.category-stats .cat-top-name{font-size:17px}
body.backoffice-body .category-filterbar{display:grid;grid-template-columns:1.25fr .9fr 1.05fr auto;gap:16px;align-items:center;padding:16px 18px;margin-bottom:12px;background:#fff;border:1px solid #e5eaf1;border-radius:15px}
body.backoffice-body .category-filterbar input,body.backoffice-body .category-filterbar select{width:100%;height:44px;border:1px solid #dfe5ed;border-radius:8px;background:#fff;padding:0 14px;color:#344258;outline:0}
body.backoffice-body .category-search{position:relative}.category-search .bi{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#718096}.category-search input{padding-left:42px!important}
body.backoffice-body .category-new-btn{height:44px;white-space:nowrap;border-radius:8px;padding:0 24px}
body.backoffice-body .category-table-card{background:#fff;border:1px solid #e5eaf1;border-radius:15px;overflow:visible;box-shadow:0 8px 24px rgba(15,23,42,.035)}
body.backoffice-body .category-table-wrap{overflow-x:auto}.category-table{min-width:900px}.category-table th{height:48px;padding:0 28px;background:#fbfcfe;color:#617087;font-size:11px;text-transform:uppercase}.category-table td{padding:10px 28px;color:#273449}.category-name-cell{display:flex;align-items:center;gap:14px}.category-name-cell b,.category-name-cell small{display:block}.category-name-cell small{color:#738097}.category-row-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;background:#fff0e8;color:#ff6508;font-size:18px}
body.backoffice-body .category-status{display:inline-flex;padding:5px 10px;border-radius:6px;font-size:10px;font-weight:800}.category-status.active{color:#15913c;background:#e8f8ec;border:1px solid #c8efd2}.category-status.inactive{color:#9a3412;background:#fff1eb;border:1px solid #fed7c5}
body.backoffice-body .category-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.category-actions .button,.category-actions .btn{white-space:nowrap}.category-more{position:relative}.category-more summary{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dfe5ed;border-radius:7px;cursor:pointer;list-style:none}.category-more summary::-webkit-details-marker{display:none}.category-more form{position:absolute;right:0;top:40px;z-index:20;padding:6px;background:#fff;border:1px solid #e5eaf1;border-radius:8px;box-shadow:0 10px 25px rgba(15,23,42,.12)}.category-more button{border:0;background:#fff;color:#c62828;padding:9px 12px;white-space:nowrap;cursor:pointer}.category-table-card>footer{padding:16px 28px;color:#66758b;font-size:12px}
body.backoffice-body .category-editor{width:min(760px,calc(100vw - 30px))}.category-edit-grid{display:grid;grid-template-columns:1fr 1fr 140px;gap:16px;padding:20px 24px 0}.category-edit-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#344258}.category-edit-grid input,.category-edit-grid textarea{width:100%;border:1px solid #dfe5ed;border-radius:8px;padding:11px 12px}.category-edit-grid .field-wide{grid-column:1/-1}.category-icon-picker{margin:20px 24px 0;padding:16px;border:1px solid #e5eaf1;border-radius:12px}.category-icon-picker legend{padding:0 6px;font-weight:800}.category-icon-picker>p{margin:0 0 12px;color:#738097;font-size:12px}.category-icon-picker>div{display:grid;grid-template-columns:repeat(8,1fr);gap:9px}.category-icon-picker label input{position:absolute;opacity:0}.category-icon-picker label span{height:44px;display:grid;place-items:center;border:1px solid #dfe5ed;border-radius:8px;font-size:19px;cursor:pointer}.category-icon-picker label input:checked+span{border-color:#ff6508;background:#fff0e8;color:#ff6508;box-shadow:0 0 0 2px rgba(255,101,8,.13)}.category-checks{display:flex;gap:24px;padding:18px 24px}.category-checks label{display:flex;align-items:center;gap:8px}.category-detail{padding:22px 24px}.category-detail-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:14px;background:#fff0e8;color:#ff6508;font-size:30px;margin-bottom:16px}
@media(max-width:1050px){body.backoffice-body .category-stats{grid-template-columns:repeat(2,1fr)}body.backoffice-body .category-filterbar{grid-template-columns:1fr 1fr}.category-new-btn{grid-column:2}}
@media(max-width:650px){body.backoffice-body .category-stats{grid-template-columns:1fr}.category-filterbar{grid-template-columns:1fr!important}.category-new-btn{grid-column:auto}.category-edit-grid{grid-template-columns:1fr}.category-icon-picker>div{grid-template-columns:repeat(5,1fr)}}

/* === Gestão de categorias e ícones v1.3.8 === */
.search button{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}.search button .bi{display:block;line-height:1!important;margin:0!important}
.category-menu a{grid-template-columns:30px minmax(0,1fr) 16px!important;gap:4px}.category-menu .store-category-icon{width:26px;height:26px;display:grid;place-items:center;color:#172033;font-size:15px}.category-menu .store-category-name{min-width:0}.category-menu a:hover .store-category-icon{color:var(--orange)}
body.backoffice-body .category-admin-page{padding:6px 0 28px}body.backoffice-body .category-page-heading{margin:8px 0 28px}body.backoffice-body .category-page-heading small{display:block;margin-bottom:8px;color:#f2630a;font-size:12px;font-weight:800}body.backoffice-body .category-page-heading h1{margin:0;color:#10203a;font-size:38px}body.backoffice-body .category-page-heading p{margin:10px 0 0;color:#69778d}
body.backoffice-body .category-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:20px}body.backoffice-body .category-stats article{min-height:104px;padding:18px 22px;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e5eaf1;border-radius:15px}body.backoffice-body .cat-stat-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;font-size:24px}.cat-stat-icon.orange{color:#ff6508;background:#fff0e6}.cat-stat-icon.green{color:#16a34a;background:#e9f9ee}.cat-stat-icon.blue{color:#1877f2;background:#eaf3ff}.cat-stat-icon.purple{color:#7c3aed;background:#f1eaff}.category-stats small,.category-stats strong{display:block}.category-stats strong{margin-top:5px;font-size:23px}.category-stats .cat-top-name{font-size:17px}
body.backoffice-body .category-filterbar{display:grid;grid-template-columns:1.25fr .9fr 1.05fr auto;gap:16px;align-items:center;padding:16px 18px;margin-bottom:12px;background:#fff;border:1px solid #e5eaf1;border-radius:15px}.category-filterbar input,.category-filterbar select{width:100%;height:44px;border:1px solid #dfe5ed;border-radius:8px;background:#fff;padding:0 14px}.category-search{position:relative}.category-search .bi{position:absolute;left:14px;top:50%;transform:translateY(-50%)}.category-search input{padding-left:42px!important}.category-new-btn{height:44px;white-space:nowrap}
body.backoffice-body .category-table-card{background:#fff;border:1px solid #e5eaf1;border-radius:15px;overflow:visible}.category-table-wrap{overflow-x:auto}.category-table{min-width:900px}.category-table th{height:48px;padding:0 28px;background:#fbfcfe;font-size:11px;text-transform:uppercase}.category-table td{padding:10px 28px}.category-name-cell{display:flex;align-items:center;gap:14px}.category-name-cell b,.category-name-cell small{display:block}.category-name-cell small{color:#738097}.category-row-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;background:#fff0e8;color:#ff6508;font-size:18px}.category-status{display:inline-flex;padding:5px 10px;border-radius:6px;font-size:10px;font-weight:800}.category-status.active{color:#15913c;background:#e8f8ec}.category-status.inactive{color:#9a3412;background:#fff1eb}.category-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.category-more{position:relative}.category-more summary{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dfe5ed;border-radius:7px;cursor:pointer;list-style:none}.category-more form{position:absolute;right:0;top:40px;z-index:20;padding:6px;background:#fff;border:1px solid #e5eaf1;border-radius:8px}.category-more button{border:0;background:#fff;color:#c62828;padding:9px 12px}.category-table-card>footer{padding:16px 28px}
.category-editor{width:min(760px,calc(100vw - 30px))}.category-edit-grid{display:grid;grid-template-columns:1fr 1fr 140px;gap:16px;padding:20px 24px 0}.category-edit-grid label{display:flex;flex-direction:column;gap:7px}.category-edit-grid input,.category-edit-grid textarea{width:100%;border:1px solid #dfe5ed;border-radius:8px;padding:11px}.category-edit-grid .field-wide{grid-column:1/-1}.category-icon-picker{margin:20px 24px 0;padding:16px;border:1px solid #e5eaf1;border-radius:12px}.category-icon-picker>div{display:grid;grid-template-columns:repeat(8,1fr);gap:9px}.category-icon-picker label input{position:absolute;opacity:0}.category-icon-picker label span{height:44px;display:grid;place-items:center;border:1px solid #dfe5ed;border-radius:8px;font-size:19px;cursor:pointer}.category-icon-picker label input:checked+span{border-color:#ff6508;background:#fff0e8;color:#ff6508}.category-checks{display:flex;gap:24px;padding:18px 24px}.category-detail{padding:22px 24px}.category-detail-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:14px;background:#fff0e8;color:#ff6508;font-size:30px}
@media(max-width:1050px){body.backoffice-body .category-stats{grid-template-columns:repeat(2,1fr)}body.backoffice-body .category-filterbar{grid-template-columns:1fr 1fr}.category-new-btn{grid-column:2}}@media(max-width:650px){body.backoffice-body .category-stats{grid-template-columns:1fr}body.backoffice-body .category-filterbar{grid-template-columns:1fr}.category-new-btn{grid-column:auto}.category-edit-grid{grid-template-columns:1fr}.category-icon-picker>div{grid-template-columns:repeat(5,1fr)}}


/* === Categorias em páginas, sem popups v1.3.9 === */
body.backoffice-body .category-new-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
body.backoffice-body .category-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
body.backoffice-body .category-form-page,
body.backoffice-body .category-details-page{padding:6px 0 32px}
body.backoffice-body .category-form-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:8px 0 28px}
body.backoffice-body .category-form-heading small{display:block;margin-bottom:8px;color:#f2630a;font-size:12px;font-weight:800;letter-spacing:.035em}
body.backoffice-body .category-form-heading h1{margin:0;color:#10203a;font-size:38px;line-height:1.08;letter-spacing:-.035em}
body.backoffice-body .category-form-heading p{margin:10px 0 0;color:#69778d;font-size:14px}
body.backoffice-body .category-page-form{margin:0}
body.backoffice-body .category-form-card,
body.backoffice-body .category-details-card{overflow:hidden;border:1px solid #e5eaf1;border-radius:17px;background:#fff;box-shadow:0 8px 25px rgba(15,23,42,.035)}
body.backoffice-body .category-form-card>header{display:flex;align-items:center;gap:16px;padding:22px 26px;border-bottom:1px solid #edf1f5}
body.backoffice-body .category-form-card>header h2{margin:0;color:#172033;font-size:20px}
body.backoffice-body .category-form-card>header p{margin:5px 0 0;color:#738097;font-size:13px}
body.backoffice-body .category-form-main-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#fff0e8;color:#ff6508;font-size:22px}
body.backoffice-body .category-form-card .category-edit-grid{padding:26px 26px 0}
body.backoffice-body .category-form-card .category-icon-picker{margin:24px 26px 0;padding:20px}
body.backoffice-body .category-form-card .category-checks{padding:22px 26px 6px;gap:34px}
body.backoffice-body .category-form-card .category-checks label{font-weight:700;color:#344258}
body.backoffice-body .category-form-card .category-checks input{width:18px;height:18px;accent-color:#ff6508}
body.backoffice-body .category-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;padding:20px 26px;border-top:1px solid #edf1f5;background:#fafbfd}
body.backoffice-body .category-form-actions a{text-decoration:none}
body.backoffice-body .category-heading-actions{display:flex;gap:10px}
body.backoffice-body .category-heading-actions a{text-decoration:none}
body.backoffice-body .category-details-hero{display:flex;align-items:center;gap:18px;padding:28px;border-bottom:1px solid #edf1f5}
body.backoffice-body .category-details-hero>span{width:68px;height:68px;display:grid;place-items:center;border-radius:16px;background:#fff0e8;color:#ff6508;font-size:31px}
body.backoffice-body .category-details-hero>div{flex:1}
body.backoffice-body .category-details-hero small{color:#f2630a;font-weight:800;font-size:11px}
body.backoffice-body .category-details-hero h2{margin:4px 0;color:#172033;font-size:25px}
body.backoffice-body .category-details-hero p{margin:0;color:#768399}
body.backoffice-body .category-details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:24px 28px}
body.backoffice-body .category-details-grid article{padding:18px;border:1px solid #e6ebf2;border-radius:12px;background:#fbfcfe}
body.backoffice-body .category-details-grid small{display:block;color:#738097;font-size:12px}
body.backoffice-body .category-details-grid strong{display:block;margin-top:6px;color:#172033;font-size:22px}
body.backoffice-body .category-description-block{margin:0 28px 28px;padding:22px;border:1px solid #e6ebf2;border-radius:12px}
body.backoffice-body .category-description-block h3{margin:0 0 9px;color:#172033;font-size:16px}
body.backoffice-body .category-description-block p{margin:0;color:#647287;line-height:1.7;white-space:pre-wrap}
@media(max-width:850px){
 body.backoffice-body .category-form-heading{align-items:flex-start;flex-direction:column}
 body.backoffice-body .category-details-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
 body.backoffice-body .category-form-heading h1{font-size:30px}
 body.backoffice-body .category-form-heading>a,body.backoffice-body .category-heading-actions{width:100%}
 body.backoffice-body .category-heading-actions a{flex:1}
 body.backoffice-body .category-form-card .category-edit-grid{padding:20px 18px 0}
 body.backoffice-body .category-form-card .category-icon-picker{margin:20px 18px 0;padding:15px}
 body.backoffice-body .category-form-card .category-checks{padding:18px;flex-direction:column;gap:14px}
 body.backoffice-body .category-form-actions{padding:17px 18px;flex-direction:column-reverse}
 body.backoffice-body .category-form-actions>*{width:100%;justify-content:center}
 body.backoffice-body .category-details-hero{align-items:flex-start;flex-wrap:wrap;padding:22px 18px}
 body.backoffice-body .category-details-grid{grid-template-columns:1fr;padding:18px}
 body.backoffice-body .category-description-block{margin:0 18px 18px}
}


/* === Ajustes de card e tipografia das categorias v1.3.10 === */
body.backoffice-body .category-form-heading{
    margin:8px 0 22px!important;
    padding:24px 28px!important;
    align-items:center!important;
    border:1px solid #e5eaf1!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
}
body.backoffice-body .category-form-heading>div:first-child{min-width:0;flex:1 1 auto}
body.backoffice-body .category-form-heading small{
    margin-bottom:7px!important;
    font-weight:600!important;
    letter-spacing:.025em!important;
}
body.backoffice-body .category-form-heading h1{
    font-size:34px!important;
    font-weight:600!important;
    line-height:1.16!important;
    letter-spacing:-.025em!important;
}
body.backoffice-body .category-form-heading p{
    margin-top:8px!important;
    font-weight:400!important;
    line-height:1.55!important;
}
body.backoffice-body .category-form-heading>.button,
body.backoffice-body .category-form-heading>.category-heading-actions{
    flex:0 0 auto;
}
body.backoffice-body .category-form-heading>.button{
    min-height:44px;
    padding:0 20px;
    border-radius:10px;
    font-weight:500!important;
}
body.backoffice-body .category-form-card>header h2,
body.backoffice-body .category-details-hero h2,
body.backoffice-body .category-page-heading h1{
    font-weight:600!important;
}
body.backoffice-body .category-form-card>header p,
body.backoffice-body .category-details-hero p,
body.backoffice-body .category-page-heading p{
    font-weight:400!important;
}
body.backoffice-body .panel-menu a{
    font-weight:500!important;
    letter-spacing:-.005em!important;
}
body.backoffice-body .panel-menu a.active{
    font-weight:600!important;
}
@media(max-width:850px){
    body.backoffice-body .category-form-heading{
        padding:20px!important;
        align-items:flex-start!important;
    }
    body.backoffice-body .category-form-heading>.button,
    body.backoffice-body .category-form-heading>.category-heading-actions{width:100%}
}
@media(max-width:600px){
    body.backoffice-body .category-form-heading{padding:18px!important;border-radius:14px!important}
    body.backoffice-body .category-form-heading h1{font-size:28px!important}
}

/* === Poppins Regular global v1.3.11 === */
:root{--font-sans:"Poppins",sans-serif!important}
html,body,body *{
    font-family:"Poppins",sans-serif!important;
    font-weight:400!important;
}
button,input,select,textarea,option,optgroup,table,th,td{
    font-family:"Poppins",sans-serif!important;
    font-weight:400!important;
}
strong,b,h1,h2,h3,h4,h5,h6,.btn,[class*="title"],[class*="heading"],.panel-menu a,.nav-row>a{
    font-weight:400!important;
}


/* === Títulos principais Poppins Medium v1.3.12 === */
body.backoffice-body .dashboard-hero h2,
body.backoffice-body .panel-content h1,
body.backoffice-body .backoffice-top-copy h1{
    font-family:"Poppins",sans-serif!important;
    font-weight:500!important;
}

/* === Configurações gerais v1.3.14 === */
body.backoffice-body .settings-page{padding:4px 0 34px;color:#17233a}
body.backoffice-body .settings-page-heading{margin:8px 0 20px}
body.backoffice-body .settings-page-heading small{display:block;margin-bottom:6px;color:#ff6508;font-size:11px;font-weight:500!important;letter-spacing:.055em}
body.backoffice-body .settings-page-heading h1{margin:0;color:#12203a;font-size:34px;line-height:1.16;font-weight:500!important;letter-spacing:-.025em}
body.backoffice-body .settings-page-heading p{margin:8px 0 0;color:#728096;font-size:13px;font-weight:400!important}
body.backoffice-body .settings-shell{overflow:hidden;border:1px solid #e3e9f1;border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(15,23,42,.045)}
body.backoffice-body .settings-tabs{display:flex;align-items:stretch;gap:6px;overflow-x:auto;padding:0 14px;border-bottom:1px solid #e7ebf1;scrollbar-width:none}
body.backoffice-body .settings-tabs::-webkit-scrollbar{display:none}
body.backoffice-body .settings-tab{position:relative;min-width:max-content;height:62px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;background:transparent;color:#617088;font-size:13px;font-weight:400!important;cursor:pointer}
body.backoffice-body .settings-tab i{font-size:17px}
body.backoffice-body .settings-tab:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:3px 3px 0 0;background:transparent}
body.backoffice-body .settings-tab:hover{color:#26354c;background:#fafbfd}
body.backoffice-body .settings-tab.is-active{color:#ff6508;font-weight:500!important}
body.backoffice-body .settings-tab.is-active:after{background:#ff6508}
body.backoffice-body .settings-panels{padding:18px}
body.backoffice-body .settings-panel{display:none}
body.backoffice-body .settings-panel.is-active{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px;animation:settingsPanelIn .18s ease}
@keyframes settingsPanelIn{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
body.backoffice-body .settings-company-column,body.backoffice-body .settings-branding-column{display:grid;align-content:start;gap:16px;min-width:0}
body.backoffice-body .settings-section-card{padding:18px;border:1px solid #e4e9f0;border-radius:14px;background:#fff;min-width:0}
body.backoffice-body .settings-section-card>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}
body.backoffice-body .settings-section-card>header>div{min-width:0}
body.backoffice-body .settings-section-card>header h2{margin:0;color:#18243a;font-size:15px;line-height:1.3;font-weight:500!important}
body.backoffice-body .settings-section-card>header p{margin:3px 0 0;color:#7a879b;font-size:11px;line-height:1.5;font-weight:400!important}
body.backoffice-body .settings-section-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;color:#ff6508;font-size:16px}
body.backoffice-body .settings-section-card label{display:grid;gap:6px;margin-bottom:12px;color:#26344b;font-size:11px;font-weight:500!important}
body.backoffice-body .settings-section-card label:last-child{margin-bottom:0}
body.backoffice-body .settings-section-card input:not([type=checkbox]):not([type=color]):not([type=file]),body.backoffice-body .settings-section-card select,body.backoffice-body .settings-section-card textarea{width:100%;min-height:38px;padding:9px 11px;border:1px solid #dce3ec;border-radius:8px;background:#fff;color:#26344b;font-size:12px;font-weight:400!important;outline:0;transition:border-color .16s ease,box-shadow .16s ease}
body.backoffice-body .settings-section-card textarea{min-height:78px;resize:vertical;line-height:1.55}
body.backoffice-body .settings-section-card input:focus,body.backoffice-body .settings-section-card select:focus,body.backoffice-body .settings-section-card textarea:focus{border-color:#ff8b49;box-shadow:0 0 0 3px rgba(255,101,8,.1)}
body.backoffice-body .settings-section-card label>small{color:#8793a5;font-size:10px;font-weight:400!important}
body.backoffice-body .settings-field-grid{display:grid;gap:12px}
body.backoffice-body .settings-field-grid-three{grid-template-columns:1.15fr 1fr .85fr}
body.backoffice-body .settings-field-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
body.backoffice-body .settings-input-suffix{position:relative;display:block}
body.backoffice-body .settings-input-suffix input{padding-right:34px!important}
body.backoffice-body .settings-input-suffix b{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#79869a;font-size:12px;font-weight:400!important}
body.backoffice-body .settings-toggle-row,body.backoffice-body .settings-option-row{display:flex!important;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px!important;padding:0!important}
body.backoffice-body .settings-toggle-row>div,body.backoffice-body .settings-option-row>span:first-child{display:grid;gap:3px}
body.backoffice-body .settings-toggle-row b,body.backoffice-body .settings-option-row b{color:#26344b;font-size:11px;font-weight:500!important}
body.backoffice-body .settings-toggle-row small,body.backoffice-body .settings-option-row small{color:#8490a2;font-size:10px;font-weight:400!important}
body.backoffice-body .settings-switch{display:inline-flex!important;flex:0 0 auto!important;margin:0!important;cursor:pointer}
body.backoffice-body .settings-switch>input{position:absolute;opacity:0;pointer-events:none}
body.backoffice-body .settings-switch>span{position:relative;width:40px;height:22px;border-radius:99px;background:#cbd2dc;transition:.18s ease}
body.backoffice-body .settings-switch>span:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.18);transition:.18s ease}
body.backoffice-body .settings-switch>input:checked+span{background:#ff6508}
body.backoffice-body .settings-switch>input:checked+span:after{transform:translateX(18px)}
body.backoffice-body .settings-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.backoffice-body .settings-upload-item{display:grid;align-content:start;gap:8px;min-width:0}
body.backoffice-body .settings-upload-item>div:first-child{display:grid;gap:3px}
body.backoffice-body .settings-upload-item b{color:#26344b;font-size:11px;font-weight:500!important}
body.backoffice-body .settings-upload-item small{color:#8793a6;font-size:9px;line-height:1.45;font-weight:400!important}
body.backoffice-body .settings-upload-preview{height:96px;padding:12px;display:grid;place-items:center;overflow:hidden;border:1px dashed #cbd5e1;border-radius:10px;background:#fff}
body.backoffice-body .settings-upload-preview img{display:block;max-width:100%;max-height:72px;object-fit:contain}
body.backoffice-body .settings-upload-preview.is-favicon img{max-width:54px;max-height:54px}
body.backoffice-body .settings-default-logo{display:flex;align-items:center;justify-content:center;gap:8px;color:#16213a;text-align:left}
body.backoffice-body .settings-default-logo i{color:#ff6508;font-size:34px}
body.backoffice-body .settings-default-logo strong{max-width:100px;font-size:14px;line-height:1.18;font-weight:500!important}
body.backoffice-body .settings-default-logo.is-small i{font-size:27px}
body.backoffice-body .settings-default-logo.is-small strong{font-size:12px}
body.backoffice-body .settings-favicon-placeholder{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#ff6508;color:#fff;font-size:23px;box-shadow:0 8px 18px rgba(255,101,8,.18)}
body.backoffice-body .settings-upload-button{min-height:34px!important;margin:0!important;display:flex!important;align-items:center;justify-content:center;border:1px solid #dce3ec;border-radius:7px;background:#fff;color:#526078!important;font-size:10px!important;font-weight:400!important;cursor:pointer;transition:.16s ease}
body.backoffice-body .settings-upload-button:hover{border-color:#ff9b61;color:#ff6508!important;background:#fff8f4}
body.backoffice-body .settings-upload-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
body.backoffice-body .settings-preview-card{padding-bottom:14px}
body.backoffice-body .settings-admin-preview{height:214px;display:grid;grid-template-columns:132px 1fr;overflow:hidden;border:1px solid #dde4ed;border-radius:10px;background:#f5f7fb}
body.backoffice-body .settings-admin-preview>aside{padding:12px 9px;background:var(--preview-secondary,#082a4d);color:#fff}
body.backoffice-body .settings-mini-brand{display:flex;align-items:center;gap:7px;margin-bottom:14px}
body.backoffice-body .settings-mini-brand>i{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:var(--preview-primary,#ff6508);font-size:14px}
body.backoffice-body .settings-mini-brand>img{width:32px;height:32px;border-radius:7px;object-fit:contain;background:#fff}
body.backoffice-body .settings-mini-brand span{display:grid;min-width:0}
body.backoffice-body .settings-mini-brand b{overflow:hidden;color:#fff;font-size:8px;white-space:nowrap;text-overflow:ellipsis;font-weight:500!important}
body.backoffice-body .settings-mini-brand small{color:rgba(255,255,255,.7);font-size:6px}
body.backoffice-body .settings-admin-preview aside>a{margin:3px 0;padding:6px 7px;display:flex;align-items:center;gap:6px;border-radius:5px;color:rgba(255,255,255,.78);font-size:7px}
body.backoffice-body .settings-admin-preview aside>a.active{background:rgba(255,255,255,.12);color:#fff;border-left:2px solid var(--preview-primary,#ff6508)}
body.backoffice-body .settings-mini-content{min-width:0;background:#f7f9fc}
body.backoffice-body .settings-mini-top{height:38px;padding:0 10px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e6eaf0;background:#fff;color:#6c788a;font-size:9px}
body.backoffice-body .settings-mini-top span{height:17px;flex:1;border:1px solid #e4e8ef;border-radius:99px}
body.backoffice-body .settings-mini-body{padding:15px}
body.backoffice-body .settings-mini-body h3{margin:0;color:#18243a;font-size:11px;font-weight:500!important}
body.backoffice-body .settings-mini-body p{margin:3px 0 13px;color:#7f8a9b;font-size:6px}
body.backoffice-body .settings-mini-body>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.backoffice-body .settings-mini-body>div>span{min-width:0;padding:8px 6px;border:1px solid #e8ecf2;border-radius:7px;background:#fff}
body.backoffice-body .settings-mini-body small{display:block;overflow:hidden;color:#8a95a5;font-size:5px;white-space:nowrap;text-overflow:ellipsis}
body.backoffice-body .settings-mini-body b{display:block;margin-top:4px;color:#172238;font-size:7px;font-weight:500!important}
body.backoffice-body .settings-wide-card{grid-column:1/-1;padding:22px;max-width:920px;width:100%;margin:0 auto}
body.backoffice-body .settings-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.backoffice-body .settings-color-control{display:grid;grid-template-columns:46px 1fr;gap:8px}
body.backoffice-body .settings-color-control input[type=color]{width:46px;height:38px;padding:3px;border:1px solid #dce3ec;border-radius:8px;background:#fff;cursor:pointer}
body.backoffice-body .settings-brand-swatch{margin-top:8px;padding:16px;display:grid;grid-template-columns:68px 1fr auto;align-items:center;gap:14px;border:1px solid #e4e9f0;border-radius:12px;background:#fafbfd}
body.backoffice-body .settings-brand-swatch>span{height:48px;border-radius:9px;background:linear-gradient(135deg,var(--swatch-secondary) 0 52%,var(--swatch-primary) 52% 100%)}
body.backoffice-body .settings-brand-swatch>div{display:grid;gap:3px}
body.backoffice-body .settings-brand-swatch b{font-size:12px;font-weight:500!important}
body.backoffice-body .settings-brand-swatch small{color:#8490a2;font-size:10px}
body.backoffice-body .settings-brand-swatch button{min-height:36px;padding:0 14px;border:0;border-radius:8px;background:var(--swatch-primary);color:#fff;font-size:10px;cursor:default}
body.backoffice-body .settings-option-row{padding:14px!important;border:1px solid #e5eaf0;border-radius:10px;background:#fafbfd}
body.backoffice-body .settings-methods{margin:0 0 16px;padding:14px;border:1px solid #e4e9f0;border-radius:10px}
body.backoffice-body .settings-methods legend{padding:0 7px;color:#26344b;font-size:11px;font-weight:500!important}
body.backoffice-body .settings-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.backoffice-body .settings-methods label{min-height:48px!important;margin:0!important;padding:10px!important;display:flex!important;align-items:center;gap:9px;border:1px solid #e1e6ed;border-radius:8px;background:#fff;cursor:pointer}
body.backoffice-body .settings-methods label:has(input:checked){border-color:#ff9b61;background:#fff8f4;color:#ff6508}
body.backoffice-body .settings-methods input{accent-color:#ff6508}
body.backoffice-body .settings-methods i{font-size:16px}
body.backoffice-body .settings-actions{padding:0 18px 18px;display:flex;align-items:center;gap:10px}
body.backoffice-body .settings-save-button,body.backoffice-body .settings-cancel-button{min-height:40px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-size:11px;font-weight:400!important;text-decoration:none}
body.backoffice-body .settings-save-button{border:0;background:#ff6508;color:#fff;box-shadow:0 7px 18px rgba(255,101,8,.18);cursor:pointer}
body.backoffice-body .settings-save-button:hover{background:#eb5c00}
body.backoffice-body .settings-cancel-button{border:1px solid #dce3ec;background:#fff;color:#59667a}
body.backoffice-body .settings-cancel-button:hover{background:#f8fafc}
body.backoffice-body .backoffice-brand-image{max-width:226px;max-height:54px;object-fit:contain;object-position:left center}
body.backoffice-body .settings-shell.is-saving{opacity:.72;pointer-events:none}
@media(max-width:1180px){
 body.backoffice-body .settings-panel.is-active{grid-template-columns:1fr}
 body.backoffice-body .settings-upload-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:780px){
 body.backoffice-body .settings-page-heading h1{font-size:29px}
 body.backoffice-body .settings-panels{padding:12px}
 body.backoffice-body .settings-section-card{padding:15px}
 body.backoffice-body .settings-field-grid-three,body.backoffice-body .settings-field-grid-two,body.backoffice-body .settings-color-grid{grid-template-columns:1fr}
 body.backoffice-body .settings-upload-grid{grid-template-columns:1fr}
 body.backoffice-body .settings-upload-item{grid-template-columns:1fr 1fr;align-items:center}
 body.backoffice-body .settings-upload-item>div:first-child{grid-column:1/-1}
 body.backoffice-body .settings-upload-preview{grid-row:2/5;height:112px}
 body.backoffice-body .settings-methods{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
 body.backoffice-body .settings-tabs{padding:0 6px}
 body.backoffice-body .settings-tab{height:54px;padding:0 11px;font-size:11px}
 body.backoffice-body .settings-section-card>header{margin-bottom:13px}
 body.backoffice-body .settings-admin-preview{height:190px;grid-template-columns:94px 1fr}
 body.backoffice-body .settings-mini-brand span{display:none}
 body.backoffice-body .settings-mini-body>div{grid-template-columns:repeat(2,1fr)}
 body.backoffice-body .settings-methods{grid-template-columns:1fr}
 body.backoffice-body .settings-brand-swatch{grid-template-columns:54px 1fr}
 body.backoffice-body .settings-brand-swatch button{grid-column:1/-1}
 body.backoffice-body .settings-actions{flex-direction:column}
 body.backoffice-body .settings-actions>*{width:100%}
}

/* Identidade visual configurável v1.3.14 */
.configured-site-logo{display:block;max-width:220px;max-height:58px;object-fit:contain;object-position:left center}
.storefront-body .header-row>.logo .configured-site-logo{max-width:210px;max-height:54px}
.storefront-body footer .configured-site-logo{max-width:190px;max-height:52px;filter:none}
body.backoffice-body .panel-menu a.active{background:var(--marketplace-primary,#ff6508)!important}
body.backoffice-body .backoffice-sidebar{background:var(--marketplace-secondary,#082a4d)!important}
@media(max-width:600px){.configured-site-logo{max-width:150px;max-height:46px}}

/* === Construtor completo da página inicial v1.3.15 === */
body.backoffice-body .homepage-builder{display:grid;gap:14px;padding:2px 0 34px;color:#17243a}
body.backoffice-body .homepage-builder *{box-sizing:border-box}
body.backoffice-body .homepage-builder-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:5px 0 10px}
body.backoffice-body .homepage-builder-heading>div:first-child{min-width:260px}
body.backoffice-body .homepage-builder-heading small{display:block;margin-bottom:7px;color:#f2630a;font-size:11px;font-weight:500;letter-spacing:.035em}
body.backoffice-body .homepage-builder-heading h1{margin:0;color:#10203a;font-size:30px;line-height:1.16;font-weight:500;letter-spacing:-.025em}
body.backoffice-body .homepage-builder-heading p{margin:7px 0 0;color:#718096;font-size:12px}
body.backoffice-body .homepage-builder-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.backoffice-body .homepage-toolbar-select{height:43px;padding:0 12px;display:flex;align-items:center;gap:7px;border:1px solid #e1e7ef;border-radius:9px;background:#fff;color:#5b6980;font-size:11px}
body.backoffice-body .homepage-toolbar-select span{color:#728096}
body.backoffice-body .homepage-toolbar-select i{font-size:15px}
body.backoffice-body .homepage-toolbar-select select{min-width:78px;height:35px;padding:0 22px 0 2px;border:0;background:transparent;color:#24324a;font:400 11px Poppins,sans-serif;outline:0}
body.backoffice-body .homepage-builder-actions form{margin:0}
body.backoffice-body .homepage-action{height:43px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;color:#34425a;font:400 11px Poppins,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap;transition:.18s ease}
body.backoffice-body .homepage-action:hover{border-color:#ff9a5a;color:#f15e00;transform:translateY(-1px)}
body.backoffice-body .homepage-action.primary{border-color:#ff6508;background:#ff6508;color:#fff;box-shadow:0 7px 17px rgba(255,101,8,.16)}
body.backoffice-body .homepage-action.primary:hover{background:#ec5b00;color:#fff}
body.backoffice-body .homepage-builder-tabs{min-height:72px;padding:0 13px;display:flex;align-items:stretch;gap:4px;overflow-x:auto;border:1px solid #e3e9f1;border-radius:14px;background:#fff;box-shadow:0 5px 20px rgba(15,23,42,.035)}
body.backoffice-body .homepage-builder-tabs a{min-width:124px;padding:0 11px;display:flex;align-items:center;justify-content:center;gap:10px;position:relative;color:#53627a;font-size:11px;text-decoration:none;white-space:nowrap}
body.backoffice-body .homepage-builder-tabs a i{font-size:17px}
body.backoffice-body .homepage-builder-tabs a::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:2px;background:transparent}
body.backoffice-body .homepage-builder-tabs a:hover,body.backoffice-body .homepage-builder-tabs a.is-active{color:#f26108}
body.backoffice-body .homepage-builder-tabs a.is-active::after{background:#ff6508}
body.backoffice-body .homepage-builder-grid{display:grid;grid-template-columns:minmax(320px,385px) minmax(0,1fr);gap:16px;align-items:start}
body.backoffice-body .homepage-sections-card,body.backoffice-body .homepage-section-editor,body.backoffice-body .homepage-full-preview,body.backoffice-body .homepage-empty-editor{border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(15,23,42,.035);overflow:visible}
body.backoffice-body .homepage-card-head{min-height:78px;padding:16px 16px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ebeff5}
body.backoffice-body .homepage-card-head h2,body.backoffice-body .homepage-editor-head h2,body.backoffice-body .homepage-full-preview h2{margin:0;color:#172238;font-size:14px;font-weight:500}
body.backoffice-body .homepage-card-head p,body.backoffice-body .homepage-full-preview>div:first-child p{margin:4px 0 0;color:#7a8799;font-size:10px}
body.backoffice-body .homepage-new-section{position:relative}
body.backoffice-body .homepage-new-section summary{height:37px;padding:0 12px;display:flex;align-items:center;gap:7px;border-radius:8px;background:#ff6508;color:#fff;font-size:10px;cursor:pointer;list-style:none;white-space:nowrap}
body.backoffice-body .homepage-new-section summary::-webkit-details-marker{display:none}
body.backoffice-body .homepage-new-section>form{width:260px;padding:14px;display:grid;gap:10px;position:absolute;right:0;top:44px;z-index:30;border:1px solid #dfe6ef;border-radius:11px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.18)}
body.backoffice-body .homepage-new-section label{display:grid;gap:5px;color:#526078;font-size:10px}
body.backoffice-body .homepage-new-section input,body.backoffice-body .homepage-new-section select{width:100%;height:38px;padding:0 10px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;font:400 11px Poppins,sans-serif}
body.backoffice-body .homepage-new-section button{height:38px;border:0;border-radius:7px;background:#ff6508;color:#fff;font:400 11px Poppins,sans-serif;cursor:pointer}
body.backoffice-body .homepage-section-list{display:grid;min-height:280px}
body.backoffice-body .homepage-section-row{min-height:61px;padding:8px 11px;display:grid;grid-template-columns:20px 37px 30px minmax(0,1fr) auto 28px 24px;align-items:center;gap:7px;border-bottom:1px solid #edf1f5;background:#fff;transition:.16s ease}
body.backoffice-body .homepage-section-row:last-child{border-bottom:0}
body.backoffice-body .homepage-section-row:hover,body.backoffice-body .homepage-section-row.is-selected{background:#fffaf6}
body.backoffice-body .homepage-section-row.is-selected{box-shadow:inset 3px 0 #ff6508}
body.backoffice-body .homepage-section-row.is-dragging{opacity:.45;background:#fff3eb}
body.backoffice-body .homepage-drag{width:20px;height:28px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:#8794a6;cursor:grab}
body.backoffice-body .homepage-drag:active{cursor:grabbing}
body.backoffice-body .homepage-section-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:9px;background:#fff0e5;color:#f26108;font-size:15px}
body.backoffice-body .homepage-section-order{width:28px;height:31px;display:grid;place-items:center;border:1px solid #dfe5ed;border-radius:7px;color:#56657a;font-size:10px}
body.backoffice-body .homepage-section-name{min-width:0;display:grid;gap:2px;color:#27364e;text-decoration:none;font-size:10px}
body.backoffice-body .homepage-section-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
body.backoffice-body .homepage-section-name small{color:#8793a4;font-size:8px}
body.backoffice-body .homepage-status-switch{display:flex;align-items:center;cursor:pointer}
body.backoffice-body .homepage-status-switch input{position:absolute;opacity:0;pointer-events:none}
body.backoffice-body .homepage-status-switch span{min-width:43px;height:25px;padding:0 8px;display:grid;place-items:center;border-radius:999px;background:#eef1f5;color:#7b8798;font-size:8px}
body.backoffice-body .homepage-status-switch input:checked+span{background:#e3f7e8;color:#13913e}
body.backoffice-body .homepage-row-action{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#607086;text-decoration:none}
body.backoffice-body .homepage-row-action:hover{background:#fff0e5;color:#ff6508}
body.backoffice-body .homepage-row-menu{position:relative}
body.backoffice-body .homepage-row-menu summary{width:24px;height:28px;display:grid;place-items:center;border-radius:7px;color:#607086;cursor:pointer;list-style:none}
body.backoffice-body .homepage-row-menu summary::-webkit-details-marker{display:none}
body.backoffice-body .homepage-row-menu>div{width:150px;padding:6px;display:grid;position:absolute;right:0;top:31px;z-index:25;border:1px solid #e0e6ee;border-radius:9px;background:#fff;box-shadow:0 14px 35px rgba(15,23,42,.16)}
body.backoffice-body .homepage-row-menu a,body.backoffice-body .homepage-row-menu button{width:100%;min-height:34px;padding:0 9px;display:flex;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;color:#47566e;font:400 10px Poppins,sans-serif;text-decoration:none;cursor:pointer}
body.backoffice-body .homepage-row-menu a:hover,body.backoffice-body .homepage-row-menu button:hover{background:#fff3eb;color:#f15f00}
body.backoffice-body .homepage-sections-note{min-height:45px;padding:0 15px;display:flex;align-items:center;gap:8px;border-top:1px solid #edf1f5;color:#7a8798;font-size:9px}
body.backoffice-body .homepage-editor-column{display:grid;gap:14px;min-width:0}
body.backoffice-body .homepage-section-editor{overflow:hidden}
body.backoffice-body .homepage-editor-head{min-height:68px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e9edf3}
body.backoffice-body .homepage-editor-head>div{display:flex;align-items:center;gap:10px;min-width:0}
body.backoffice-body .homepage-editor-head>div>i{color:#ff6508;font-size:18px}
body.backoffice-body .homepage-editor-head h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.backoffice-body .homepage-editor-active{display:flex;align-items:center;cursor:pointer}
body.backoffice-body .homepage-editor-active input{position:absolute;opacity:0}
body.backoffice-body .homepage-editor-active span{height:26px;padding:0 11px;display:flex;align-items:center;gap:6px;border-radius:999px;background:#edf1f5;color:#7d8998;font-size:9px}
body.backoffice-body .homepage-editor-active span::before{content:"";width:7px;height:7px;border-radius:50%;background:#aeb8c5}
body.backoffice-body .homepage-editor-active input:checked+span{background:#e5f7e9;color:#13913e}
body.backoffice-body .homepage-editor-active input:checked+span::before{background:#18aa4b}
body.backoffice-body .homepage-editor-body{padding:17px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:18px}
body.backoffice-body .homepage-fields{display:grid;gap:12px;align-content:start}
body.backoffice-body .homepage-fields label{display:grid;gap:6px;color:#35445b;font-size:10px}
body.backoffice-body .homepage-fields label>small{color:#8793a4;font-size:8px;line-height:1.5}
body.backoffice-body .homepage-fields input:not([type=checkbox]):not([type=color]):not([type=file]),body.backoffice-body .homepage-fields select,body.backoffice-body .homepage-fields textarea{width:100%;min-height:38px;padding:9px 11px;border:1px solid #dfe5ed;border-radius:7px;background:#fff;color:#26354c;font:400 10px Poppins,sans-serif;outline:0;transition:.15s ease}
body.backoffice-body .homepage-fields textarea{resize:vertical;line-height:1.55}
body.backoffice-body .homepage-fields select[multiple]{min-height:145px;padding:5px}
body.backoffice-body .homepage-fields select[multiple] option{padding:7px;border-radius:4px}
body.backoffice-body .homepage-fields input:focus,body.backoffice-body .homepage-fields select:focus,body.backoffice-body .homepage-fields textarea:focus{border-color:#ff9d61;box-shadow:0 0 0 3px rgba(255,101,8,.08)}
body.backoffice-body .homepage-field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.backoffice-body .homepage-color-field{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px}
body.backoffice-body .homepage-color-field input[type=color]{width:42px;height:38px;padding:3px;border:1px solid #dfe5ed;border-radius:7px;background:#fff}
body.backoffice-body .homepage-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.backoffice-body .homepage-check{min-height:62px;padding:10px 11px!important;display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px!important;border:1px solid #e2e7ee;border-radius:8px;background:#fbfcfd}
body.backoffice-body .homepage-check input{width:16px;height:16px;margin-top:2px;accent-color:#ff6508}
body.backoffice-body .homepage-check span{display:grid;gap:3px}
body.backoffice-body .homepage-check b{font-weight:500;color:#27364c}
body.backoffice-body .homepage-check small{color:#8490a1;font-size:8px;line-height:1.45}
body.backoffice-body .homepage-image-upload{min-height:158px;padding:9px;display:grid;gap:8px;border:1px dashed #ccd5e0;border-radius:9px;background:#fbfcfd;overflow:hidden}
body.backoffice-body .homepage-image-upload.compact{min-height:112px}
body.backoffice-body .homepage-image-upload img{width:100%;height:125px;object-fit:cover;border-radius:7px;background:#eef2f6}
body.backoffice-body .homepage-image-upload.compact img{height:82px}
body.backoffice-body .homepage-image-upload>span{height:34px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:7px;justify-self:center;position:relative;border:1px solid #dfe5ed;border-radius:7px;background:#fff;color:#4c5b72;font-size:9px;cursor:pointer}
body.backoffice-body .homepage-image-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
body.backoffice-body .homepage-upload-empty{height:75px;display:flex;align-items:center;justify-content:center;gap:8px;color:#8995a5;font-size:9px}
body.backoffice-body .homepage-live-card{min-width:0;padding:13px;border:1px solid #e3e8ef;border-radius:10px;background:#fbfcfd;align-self:start}
body.backoffice-body .homepage-live-card h3{margin:0 0 10px;color:#26354c;font-size:11px;font-weight:500}
body.backoffice-body .homepage-hero-mini{min-height:220px;padding:28px;display:flex;align-items:center;border-radius:9px;background-position:center;background-size:cover;overflow:hidden}
body.backoffice-body .homepage-hero-mini>div{max-width:62%}
body.backoffice-body .homepage-hero-mini h4{margin:0;color:#101b2e;font-size:21px;font-weight:500;line-height:1.2}
body.backoffice-body .homepage-hero-mini p{margin:8px 0 14px;color:#56647a;font-size:9px;line-height:1.5}
body.backoffice-body .homepage-hero-mini span{height:29px;padding:0 11px;display:inline-flex;align-items:center;border-radius:6px;background:var(--home-accent,#ff6508);color:#fff;font-size:8px}
body.backoffice-body .homepage-categories-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.backoffice-body .homepage-categories-mini span{min-height:75px;padding:8px;display:grid;place-items:center;gap:5px;border:1px solid #e2e8ef;border-radius:8px;background:#fff;color:#536178;text-align:center}
body.backoffice-body .homepage-categories-mini i{font-size:20px;color:#ff6508}
body.backoffice-body .homepage-categories-mini small{font-size:8px}
body.backoffice-body .homepage-products-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.backoffice-body .homepage-products-mini span{min-height:78px;padding:10px;display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;gap:2px 8px;align-content:center;border:1px solid #e2e8ef;border-radius:8px;background:#fff}
body.backoffice-body .homepage-products-mini i{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#fff0e5;color:#ff6508}
body.backoffice-body .homepage-products-mini b{font-size:8px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.backoffice-body .homepage-products-mini small{color:#8a96a6;font-size:7px}
body.backoffice-body .homepage-testimonials-mini{display:grid;gap:8px}
body.backoffice-body .homepage-testimonials-mini blockquote{margin:0;padding:12px;border:1px solid #e2e8ef;border-radius:8px;background:#fff;color:#526078;font-size:8px;line-height:1.5}
body.backoffice-body .homepage-testimonials-mini b{display:block;margin-top:5px;color:#233149;font-weight:500}
body.backoffice-body .homepage-testimonial-editor{display:grid;gap:11px}
body.backoffice-body .homepage-testimonial-editor fieldset{padding:12px;display:grid;gap:10px;border:1px solid #e1e7ee;border-radius:9px}
body.backoffice-body .homepage-testimonial-editor legend{padding:0 7px;color:#ff6508;font-size:9px}
body.backoffice-body .homepage-editor-footer{min-height:58px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e9edf3;background:#fbfcfd}
body.backoffice-body .homepage-editor-footer span{display:flex;align-items:center;gap:7px;color:#7a8798;font-size:9px}
body.backoffice-body .homepage-editor-footer button{height:38px;padding:0 14px;display:flex;align-items:center;gap:8px;border:0;border-radius:8px;background:#ff6508;color:#fff;font:400 10px Poppins,sans-serif;cursor:pointer}
body.backoffice-body .homepage-full-preview{padding:16px;overflow:hidden}
body.backoffice-body .homepage-browser-preview{margin-top:13px;border:1px solid #dfe6ee;border-radius:10px;background:#fff;overflow:hidden}
body.backoffice-body .homepage-browser-preview>header{height:42px;padding:0 12px;display:grid;grid-template-columns:155px minmax(180px,1fr) 24px 24px 24px;align-items:center;gap:8px;border-bottom:1px solid #e8edf3;color:#647289;font-size:8px}
body.backoffice-body .preview-logo{display:flex;align-items:center;gap:6px;color:#17253b}
body.backoffice-body .preview-logo i{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:#ff6508;color:#fff}
body.backoffice-body .preview-logo b{font-size:8px;font-weight:500}.preview-logo em{color:#ff6508;font-style:normal}
body.backoffice-body .preview-search{height:27px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e1e7ef;border-radius:6px;color:#929cab}
body.backoffice-body .preview-search i{width:26px;height:27px;margin-right:-9px;display:grid;place-items:center;border-radius:0 6px 6px 0;background:#ff6508;color:#fff}
body.backoffice-body .homepage-browser-preview>main{padding:12px;background:#fbfcfd}
body.backoffice-body .preview-main-hero{min-height:125px;padding:24px;display:flex;flex-direction:column;justify-content:center;border-radius:8px;background-position:center;background-size:cover}
body.backoffice-body .preview-main-hero h3{margin:0;color:#172238;font-size:16px;font-weight:500;line-height:1.2}
body.backoffice-body .preview-main-hero p{margin:5px 0 8px;color:#6d798b;font-size:7px}.preview-main-hero span{width:max-content;padding:5px 9px;border-radius:5px;background:#ff6508;color:#fff;font-size:7px}
body.backoffice-body .homepage-browser-preview h4{margin:10px 0 6px;color:#25344a;font-size:8px;font-weight:500}
body.backoffice-body .preview-category-dots{display:flex;gap:8px;overflow:hidden}
body.backoffice-body .preview-category-dots span{min-width:54px;display:grid;place-items:center;gap:3px;text-align:center}.preview-category-dots i{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eef2f6;color:#66758a}.preview-category-dots small{font-size:6px;color:#5f6e82}
body.backoffice-body .preview-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-bottom-grid section>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.preview-bottom-grid span{min-height:48px;padding:5px;display:grid;place-items:center;border:1px solid #e4e9ef;border-radius:6px;background:#fff;text-align:center}.preview-bottom-grid i{color:#ff6508}.preview-bottom-grid small{font-size:5px;color:#637186;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
body.backoffice-body .homepage-last-published{margin-top:9px;display:flex;align-items:center;gap:6px;color:#6f7d90;font-size:8px}
body.backoffice-body .homepage-empty-editor{min-height:320px;padding:50px;display:grid;place-items:center;align-content:center;text-align:center;color:#7d8999}.homepage-empty-editor i{font-size:42px;color:#ff9b5d}.homepage-empty-editor h2{margin:12px 0 5px;font-size:17px;font-weight:500}.homepage-empty-editor p{font-size:10px}

/* Página inicial pública controlada pelo construtor */
.homepage-draft-ribbon{padding:9px 16px;position:sticky;top:0;z-index:80;background:#fff3cd;color:#715700;border-bottom:1px solid #ffe69c;text-align:center;font-size:12px}
.storefront-builder-home{padding:24px 0 2px;background:#fff}
.builder-store-hero{display:grid;grid-template-columns:1fr;gap:15px;margin-bottom:25px}.builder-store-hero.has-category-menu{grid-template-columns:250px minmax(0,1fr)}
.builder-category-menu{padding:10px 0;border:1px solid #e3e7ed;border-radius:12px;background:#fff;box-shadow:0 7px 24px rgba(15,23,42,.04)}
.builder-category-menu a{min-height:43px;padding:0 14px;display:grid;grid-template-columns:25px minmax(0,1fr) 12px;align-items:center;gap:8px;color:#24334a;text-decoration:none;font-size:12px}.builder-category-menu a:hover{background:#fff6ef;color:#ff6508}.builder-category-menu i{width:25px;text-align:center;font-size:15px}.builder-category-menu b{color:#aab3bf;font-size:18px;font-weight:400}
.builder-hero-banner{min-height:430px;padding:55px;display:flex;align-items:center;border-radius:16px;background-position:center;background-size:cover;overflow:hidden}.builder-hero-copy{max-width:540px}.builder-hero-copy h1{margin:0;color:#10203a;font-size:47px;font-weight:500;line-height:1.12;letter-spacing:-.03em}.builder-hero-copy p{margin:17px 0;color:#5e6d83;font-size:15px;line-height:1.7}.builder-hero-copy>.btn{background:var(--home-accent,#ff6508);border-color:var(--home-accent,#ff6508)}
.builder-hero-search{height:52px;margin:20px 0;display:flex;border:1px solid #dfe5ed;border-radius:9px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06);overflow:hidden}.builder-hero-search input{min-width:0;flex:1;padding:0 16px;border:0;outline:0;font:400 13px Poppins,sans-serif}.builder-hero-search button{width:55px;border:0;background:var(--home-accent,#ff6508);color:#fff;font-size:18px}
.builder-home-section .section-head>div p{margin:5px 0 0;color:#718096;font-size:12px}.builder-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}.builder-category-grid a{min-height:115px;padding:13px 8px;display:grid;place-items:center;align-content:center;gap:10px;border:1px solid #e4e8ee;border-radius:13px;background:#fff;color:#27364c;text-align:center;text-decoration:none;transition:.18s ease}.builder-category-grid a:hover{border-color:#ffb27f;transform:translateY(-3px);box-shadow:0 10px 25px rgba(255,101,8,.09)}.builder-category-grid span{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#fff1e7;color:#ff6508;font-size:22px}.builder-category-grid b{font-size:11px;font-weight:500}
.builder-promotion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.builder-promotion-grid a{min-height:105px;padding:18px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #e3e8ee;border-radius:12px;background:linear-gradient(135deg,#fff,#fff7f1);color:#29374e;text-decoration:none}.builder-promotion-grid i{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#ff6508;color:#fff;font-size:20px}.builder-promotion-grid b{display:block;font-size:12px;font-weight:500}.builder-promotion-grid small{display:block;margin-top:4px;color:#7b8797;font-size:9px}.builder-promotion-grid strong{color:#ff6508;font-size:13px;font-weight:500}
.builder-delivery-banner{min-height:135px;margin-top:28px;margin-bottom:28px;padding:28px 34px;display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:22px;border-radius:15px;background-color:var(--home-accent,#ff6508);background-position:center;background-size:cover;color:#fff}.builder-delivery-banner>i{width:70px;height:70px;display:grid;place-items:center;border-radius:16px;background:rgba(255,255,255,.18);font-size:34px}.builder-delivery-banner h2{margin:0;font-size:23px;font-weight:500}.builder-delivery-banner p{margin:7px 0 0;color:rgba(255,255,255,.88);font-size:12px}.builder-delivery-banner .btn{border-color:#fff;background:#fff;color:var(--home-accent,#ff6508)}
@media(max-width:1280px){body.backoffice-body .homepage-builder-heading{display:grid}body.backoffice-body .homepage-builder-actions{justify-content:flex-start}body.backoffice-body .homepage-builder-grid{grid-template-columns:330px minmax(0,1fr)}body.backoffice-body .homepage-editor-body{grid-template-columns:1fr}.builder-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.builder-promotion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){body.backoffice-body .homepage-builder-grid{grid-template-columns:1fr}body.backoffice-body .homepage-section-list{max-height:420px;overflow:auto}body.backoffice-body .homepage-builder-actions{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:4px}body.backoffice-body .homepage-toolbar-select,body.backoffice-body .homepage-action{flex:0 0 auto}.builder-store-hero.has-category-menu{grid-template-columns:1fr}.builder-category-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.builder-hero-banner{min-height:360px;padding:38px}.builder-hero-copy h1{font-size:38px}}
@media(max-width:680px){body.backoffice-body .homepage-builder-heading h1{font-size:25px}body.backoffice-body .homepage-builder-tabs a{min-width:100px}body.backoffice-body .homepage-section-row{grid-template-columns:18px 34px 27px minmax(0,1fr) auto 25px}.homepage-row-menu{display:none}.homepage-field-pair,.homepage-check-grid{grid-template-columns:1fr!important}.homepage-editor-body{padding:12px!important}.homepage-editor-footer{align-items:flex-start!important;flex-direction:column}.homepage-browser-preview>header{grid-template-columns:90px 1fr 18px 18px}.homepage-browser-preview>header>i:last-child{display:none}.preview-logo b{display:none}.preview-bottom-grid{grid-template-columns:1fr!important}.builder-category-menu{grid-template-columns:1fr}.builder-hero-banner{min-height:315px;padding:25px}.builder-hero-copy{max-width:90%}.builder-hero-copy h1{font-size:30px}.builder-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-promotion-grid{grid-template-columns:1fr}.builder-delivery-banner{grid-template-columns:55px 1fr;padding:22px}.builder-delivery-banner>i{width:55px;height:55px}.builder-delivery-banner .btn{grid-column:1/-1;justify-self:start}}


/* === Frontend clássico restaurado v1.3.19 === */
.storefront-body .classic-storefront-home{align-items:start}
.storefront-body .classic-category-menu .store-category-icon{width:22px;height:22px;display:grid;place-items:center;color:#253140;font-size:15px}
.storefront-body .classic-category-menu .store-category-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.storefront-body .classic-hero{isolation:isolate}
.storefront-body .classic-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease}
.storefront-body .classic-hero-slide.is-active{opacity:1;visibility:visible}
.storefront-body .classic-hero-slide img{width:100%;height:100%;object-fit:cover}
.storefront-body .classic-hero-slide .hero-copy{position:absolute;inset:0 auto 0 0;display:flex;flex-direction:column;justify-content:center}
.storefront-body .classic-hero-arrow{position:absolute;z-index:5;top:50%;width:42px;height:42px;display:grid;place-items:center;transform:translateY(-50%);border:0;border-radius:50%;background:rgba(5,22,44,.72);color:#fff;font-size:19px;cursor:pointer}
.storefront-body .classic-hero-arrow.is-prev{left:18px}.storefront-body .classic-hero-arrow.is-next{right:18px}
.storefront-body .classic-hero-dots{position:absolute;z-index:6;left:50%;bottom:20px;display:flex;gap:8px;transform:translateX(-50%)}
.storefront-body .classic-hero-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#fff;opacity:.95;cursor:pointer}
.storefront-body .classic-hero-dots button.is-active{background:var(--orange)}
.storefront-body .classic-weekly{display:block;min-height:0;padding:0;background:none;overflow:hidden}
.storefront-body .classic-weekly:after{display:none}
.storefront-body .classic-weekly img{width:100%;height:auto;min-height:180px;object-fit:cover;border-radius:10px}
.storefront-body .benefit-list p>i{grid-row:1/3;color:var(--orange);font-size:20px;align-self:center}
.storefront-body .delivery>span{color:var(--orange)}
@media(max-width:850px){.storefront-body .classic-hero-slide .hero-copy{width:65%}}
@media(max-width:560px){.storefront-body .classic-hero-slide .hero-copy{width:100%;background:linear-gradient(90deg,rgba(0,27,55,.92),rgba(0,40,79,.7),transparent)}.storefront-body .classic-hero-arrow{width:36px;height:36px}.storefront-body .classic-hero-arrow.is-prev{left:10px}.storefront-body .classic-hero-arrow.is-next{right:10px}}


/* === Frontend sem cartão de conta v1.3.21 === */
.classic-storefront-home .home-side-without-account-card{align-content:start}
.classic-storefront-home .home-side-without-account-card .classic-weekly{margin-top:0}


/* === Apenas cabeçalho principal fixo v1.3.23 === */
.storefront-body > header.storefront-main-header{
    position:sticky!important;
    top:0;
    z-index:120;
    background:#fff;
    box-shadow:0 8px 24px rgba(0,40,79,.08);
}
@media(max-width:560px){
    .storefront-body > header.storefront-main-header{box-shadow:0 5px 16px rgba(0,40,79,.08)}
}

/* === Página de relatórios v1.3.24 === */
body.backoffice-body .reports-page{padding:7px 0 34px;color:#132039}
body.backoffice-body .reports-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:4px 0 24px}
body.backoffice-body .reports-heading-copy{min-width:260px}
body.backoffice-body .reports-heading-copy small{display:block;margin-bottom:7px;color:#f2630a;font-size:11px;font-weight:800;letter-spacing:.045em}
body.backoffice-body .reports-heading-copy h1{margin:0;color:#12213a;font-size:34px;line-height:1.05;letter-spacing:-.035em}
body.backoffice-body .reports-heading-copy p{margin:8px 0 0;color:#68778d;font-size:13px}
body.backoffice-body .reports-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin:0}
body.backoffice-body .reports-filter{height:45px;min-width:192px;padding:0 13px;display:flex;align-items:center;gap:10px;border:1px solid #dfe5ed;border-radius:9px;background:#fff;color:#5b6c83;box-shadow:0 4px 12px rgba(15,23,42,.018)}
body.backoffice-body .reports-store-filter{min-width:200px}
body.backoffice-body .reports-filter>i:first-child{font-size:16px;color:#63738a}
body.backoffice-body .reports-filter>i:last-child{font-size:12px;color:#718096}
body.backoffice-body .reports-filter select{min-width:0;flex:1;height:100%;padding:0;border:0;outline:0;appearance:none;background:transparent;color:#25334a;font:600 12px var(--font-sans);cursor:pointer}
body.backoffice-body .reports-action{height:45px;min-width:142px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #dfe5ed;border-radius:9px;background:#fff;color:#26364e;font:700 12px var(--font-sans);cursor:pointer;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
body.backoffice-body .reports-action:hover{transform:translateY(-1px);border-color:#ccd5e2;box-shadow:0 8px 18px rgba(15,23,42,.06)}
body.backoffice-body .reports-print{border-color:#ff6508;background:#ff6508;color:#fff;box-shadow:0 9px 20px rgba(255,101,8,.18)}
body.backoffice-body .reports-print:hover{border-color:#ec5b00;background:#ec5b00;color:#fff}
body.backoffice-body .reports-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}
body.backoffice-body .reports-kpi-card{position:relative;min-height:108px;padding:20px 22px;display:flex;align-items:center;gap:18px;border:1px solid #e5eaf1;border-radius:15px;background:#fff;box-shadow:0 9px 25px rgba(15,23,42,.035)}
body.backoffice-body .reports-kpi-icon{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;border-radius:50%;font-size:25px}
body.backoffice-body .reports-kpi-card.is-orange .reports-kpi-icon{background:#fff0e7;color:#ff6508}
body.backoffice-body .reports-kpi-card.is-blue .reports-kpi-icon{background:#eaf3ff;color:#2f80ed}
body.backoffice-body .reports-kpi-card.is-purple .reports-kpi-icon{background:#f2eafe;color:#9b6bdc}
body.backoffice-body .reports-kpi-card.is-green .reports-kpi-icon{background:#eaf8ee;color:#28ad62}
body.backoffice-body .reports-kpi-copy{min-width:0;display:flex;flex-direction:column}
body.backoffice-body .reports-kpi-copy>span{color:#4f5e74;font-size:12px;font-weight:500}
body.backoffice-body .reports-kpi-copy>strong{margin:4px 0 7px;color:#111c31;font-size:21px;line-height:1.1;white-space:nowrap}
body.backoffice-body .reports-kpi-trend{display:flex;align-items:center;gap:8px;font-size:10px;font-style:normal;white-space:nowrap}
body.backoffice-body .reports-kpi-trend b{display:flex;align-items:center;gap:3px;color:#1ca45a;font-weight:700}
body.backoffice-body .reports-kpi-trend.is-negative b{color:#e14e4e}
body.backoffice-body .reports-kpi-trend em{color:#7a8799;font-style:normal}
body.backoffice-body .reports-kpi-info{position:absolute;top:17px;right:17px;color:#7c899b;font-size:13px}
body.backoffice-body .reports-card{border:1px solid #e5eaf1;border-radius:15px;background:#fff;box-shadow:0 9px 25px rgba(15,23,42,.032);overflow:hidden}
body.backoffice-body .reports-card-header{min-height:54px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}
body.backoffice-body .reports-card-header h2{margin:0;color:#101d33;font-size:14px;letter-spacing:-.01em}
body.backoffice-body .reports-card-header>a{color:#2385df;font-size:11px;font-weight:700;text-decoration:none}
body.backoffice-body .reports-card-tools{display:flex;align-items:center;gap:10px}
body.backoffice-body .reports-card-tools select{height:33px;padding:0 32px 0 12px;border:1px solid #dde4ed;border-radius:8px;background:#fff;color:#53637a;font:600 11px var(--font-sans)}
body.backoffice-body .reports-card-tools button{width:30px;height:30px;padding:0;border:0;background:transparent;color:#54657b;font-size:17px;cursor:pointer}
body.backoffice-body .reports-main-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(390px,.82fr);gap:18px;margin-bottom:18px}
body.backoffice-body .reports-sales-card{min-height:330px;padding-bottom:15px}
body.backoffice-body .reports-chart-legend{display:flex;align-items:center;gap:22px;padding:0 20px 6px;color:#56657b;font-size:10px}
body.backoffice-body .reports-chart-legend span{display:flex;align-items:center;gap:7px}
body.backoffice-body .reports-chart-legend i{width:15px;height:3px;border-radius:99px;background:#ff6508}
body.backoffice-body .reports-chart-legend i.is-orders{background:#2f80ed}
body.backoffice-body .reports-chart-layout{display:grid;grid-template-columns:58px minmax(0,1fr) 34px;gap:8px;padding:0 15px}
body.backoffice-body .reports-y-axis{height:220px;display:flex;flex-direction:column;justify-content:space-between;padding:8px 0 9px;color:#65758a;font-size:9px;white-space:nowrap}
body.backoffice-body .reports-y-axis.is-right{text-align:right}
body.backoffice-body .reports-chart-stage{min-width:0}
body.backoffice-body .reports-sales-chart{display:block;width:100%;height:220px;overflow:visible}
body.backoffice-body .reports-grid-line{stroke:#e7ebf1;stroke-width:1}
body.backoffice-body .reports-revenue-area{fill:url(#reportsRevenueArea)}
body.backoffice-body .reports-line{fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
body.backoffice-body .reports-line.is-revenue{stroke:#ff6508}
body.backoffice-body .reports-line.is-orders{stroke:#2f80ed}
body.backoffice-body .reports-point{stroke:#fff;stroke-width:1.8;vector-effect:non-scaling-stroke}
body.backoffice-body .reports-point.is-revenue{fill:#ff6508}
body.backoffice-body .reports-point.is-orders{fill:#2f80ed}
body.backoffice-body .reports-x-axis{min-height:17px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#67768b;font-size:9px}
body.backoffice-body .reports-category-card{min-height:330px}
body.backoffice-body .reports-category-content{min-height:268px;padding:12px 24px 25px;display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:25px}
body.backoffice-body .reports-donut{width:170px;height:170px;display:grid;place-items:center;border-radius:50%;background:var(--reports-donut);position:relative;margin:auto}
body.backoffice-body .reports-donut:after{content:"";position:absolute;inset:36px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(229,234,241,.45)}
body.backoffice-body .reports-donut>div{position:relative;z-index:1;text-align:center}
body.backoffice-body .reports-donut span{display:block;color:#66758a;font-size:10px}
body.backoffice-body .reports-donut strong{display:block;margin-top:4px;color:#26364f;font-size:14px}
body.backoffice-body .reports-category-legend{display:grid;gap:14px}
body.backoffice-body .reports-category-row{display:grid;grid-template-columns:minmax(130px,1fr) 42px 84px;align-items:center;gap:10px;color:#405067;font-size:10px}
body.backoffice-body .reports-category-name{min-width:0;display:flex;align-items:center;gap:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.backoffice-body .reports-category-name i{width:8px;height:8px;flex:0 0 8px;border-radius:50%}
body.backoffice-body .reports-category-row b{text-align:right;color:#304159;font-size:10px}
body.backoffice-body .reports-category-row em{text-align:right;color:#46566d;font-style:normal;white-space:nowrap}
body.backoffice-body .reports-empty-inline{display:flex;align-items:center;gap:10px;color:#7b8798;font-size:11px}
body.backoffice-body .reports-empty-inline i{font-size:20px;color:#b2bcc9}
body.backoffice-body .reports-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px}
body.backoffice-body .reports-table-card{min-width:0}
body.backoffice-body .reports-table-scroll{overflow-x:auto;padding:0 18px}
body.backoffice-body .reports-table{width:100%;min-width:680px;border-collapse:collapse}
body.backoffice-body .reports-table th{padding:10px 9px;border-top:1px solid #edf1f5;border-bottom:1px solid #e8edf3;background:#fbfcfd;color:#637189;font-size:9px;font-weight:700;text-align:left;text-transform:none}
body.backoffice-body .reports-table td{height:42px;padding:7px 9px;border-bottom:1px solid #edf1f5;color:#3e4d64;font-size:9.5px;vertical-align:middle}
body.backoffice-body .reports-table tbody tr:last-child td{border-bottom:0}
body.backoffice-body .reports-table tbody tr:hover{background:#fcfdff}
body.backoffice-body .reports-products-table{min-width:690px}
body.backoffice-body .reports-product-cell{min-width:188px;display:flex;align-items:center;gap:9px}
body.backoffice-body .reports-product-cell>b{max-width:170px;color:#34445b;font-size:9.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.backoffice-body .reports-product-image{width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;overflow:hidden;border-radius:3px;background:#f1f4f7;color:#7b8798}
body.backoffice-body .reports-product-image img{width:100%;height:100%;object-fit:contain}
body.backoffice-body .reports-store-badge{display:inline-flex;padding:3px 6px;border-radius:5px;background:#eaf4ff;color:#2981d4;font-size:8px;white-space:nowrap}
body.backoffice-body .reports-sparkline{width:72px;height:24px;display:block}
body.backoffice-body .reports-sparkline polyline{fill:none;stroke:#28b469;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.backoffice-body .reports-sparkline.is-down polyline{stroke:#ef4f4f}
body.backoffice-body .reports-card-footer-link{height:38px;margin:8px 18px 15px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #dfe5ed;border-radius:7px;color:#3d4d65;font-size:10px;font-weight:600;text-decoration:none}
body.backoffice-body .reports-card-footer-link:hover{border-color:#cbd4e0;background:#fafbfd}
body.backoffice-body .reports-transactions-table{min-width:720px}
body.backoffice-body .reports-transactions-table td:first-child b{color:#35455d;font-size:9.5px}
body.backoffice-body .reports-status{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:5px 9px;border-radius:999px;font-size:8px;font-weight:700;white-space:nowrap}
body.backoffice-body .reports-status.is-success{background:#eaf8ee;color:#21a35b}
body.backoffice-body .reports-status.is-processing{background:#fff0e5;color:#f16b13}
body.backoffice-body .reports-status.is-pending{background:#fff8df;color:#d99500}
body.backoffice-body .reports-status.is-danger{background:#fff0f0;color:#df4949}
body.backoffice-body .reports-empty-table{min-height:104px;display:flex;align-items:center;justify-content:center;gap:10px;color:#7b8798;font-size:10px}
body.backoffice-body .reports-empty-table i{font-size:19px;color:#b5bfcb}

@media (max-width:1500px){
    body.backoffice-body .reports-heading{align-items:flex-start;flex-direction:column}
    body.backoffice-body .reports-toolbar{width:100%;justify-content:flex-start}
    body.backoffice-body .reports-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.backoffice-body .reports-main-grid{grid-template-columns:minmax(0,1.35fr) minmax(350px,.9fr)}
    body.backoffice-body .reports-category-content{grid-template-columns:160px minmax(0,1fr);gap:18px;padding-left:18px;padding-right:18px}
    body.backoffice-body .reports-donut{width:150px;height:150px}
}
@media (max-width:1180px){
    body.backoffice-body .reports-main-grid,body.backoffice-body .reports-bottom-grid{grid-template-columns:1fr}
    body.backoffice-body .reports-category-content{grid-template-columns:200px minmax(0,1fr)}
}
@media (max-width:760px){
    body.backoffice-body .reports-heading-copy h1{font-size:29px}
    body.backoffice-body .reports-toolbar{display:grid;grid-template-columns:1fr 1fr}
    body.backoffice-body .reports-filter,body.backoffice-body .reports-store-filter,body.backoffice-body .reports-action{width:100%;min-width:0}
    body.backoffice-body .reports-kpi-grid{grid-template-columns:1fr}
    body.backoffice-body .reports-chart-layout{grid-template-columns:1fr;padding:0 12px}
    body.backoffice-body .reports-y-axis{display:none}
    body.backoffice-body .reports-category-content{grid-template-columns:1fr;padding-top:0}
    body.backoffice-body .reports-category-legend{width:min(100%,420px);margin:0 auto}
}
@media (max-width:480px){
    body.backoffice-body .reports-toolbar{grid-template-columns:1fr}
    body.backoffice-body .reports-kpi-card{padding:17px}
    body.backoffice-body .reports-kpi-trend{align-items:flex-start;flex-direction:column;gap:2px;white-space:normal}
    body.backoffice-body .reports-category-row{grid-template-columns:minmax(100px,1fr) 36px 78px}
}
@media print{
    body.backoffice-body{background:#fff!important}
    body.backoffice-body .backoffice-top,body.backoffice-body .backoffice-sidebar,body.backoffice-body .reports-toolbar,body.backoffice-body .reports-card-tools,body.backoffice-body .reports-card-header>a,body.backoffice-body .reports-card-footer-link{display:none!important}
    body.backoffice-body .backoffice-main{padding:0!important}
    body.backoffice-body .backoffice-shell{padding:0!important;min-height:0!important}
    body.backoffice-body .reports-page{padding:0!important}
    body.backoffice-body .reports-heading{margin-bottom:15px!important}
    body.backoffice-body .reports-kpi-grid{grid-template-columns:repeat(4,1fr)!important;gap:8px!important}
    body.backoffice-body .reports-kpi-card,body.backoffice-body .reports-card{box-shadow:none!important;break-inside:avoid}
    body.backoffice-body .reports-main-grid,body.backoffice-body .reports-bottom-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
}
