@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#171310;--ink2:#2b221c;--gold:#ffc21a;--red:#e8341f;--paper:#fbfaf6;--soft:#f1eee6;--line:#e2ddd0;--muted:#6f655c;--green:#12805c;--display:'Bricolage Grotesque','DM Sans',system-ui,sans-serif;--body:'DM Sans',system-ui,sans-serif;--shadow:0 14px 34px #17131018}
*,*::before,*::after{box-sizing:border-box}html{background:var(--ink)}body{margin:0;font-family:var(--body)!important;background:var(--paper)!important;color:var(--ink)!important}h1,h2,h3,h4{font-family:var(--display),sans-serif!important;letter-spacing:-.04em!important}a{transition:color .2s,background .2s,border-color .2s,transform .2s}button,.button,.primary,.submit{font-family:var(--body)!important;font-weight:700!important;border-radius:12px!important}input,select,textarea{border-radius:12px!important;border:1.5px solid var(--line)!important;background:#fff!important;color:var(--ink)!important}input:focus,select:focus,textarea:focus{border-color:var(--red)!important;box-shadow:4px 4px 0 #ffc21a70!important;outline:0!important}.card,.panel,.box,.admin-card{border:1.5px solid var(--line)!important;border-radius:20px!important;box-shadow:var(--shadow)!important}
/* loja pública */
.hero{background:var(--gold)!important;color:var(--ink)!important}.hero h1 em{background:var(--ink)!important;color:var(--gold)!important}.eyebrow{background:var(--ink)!important;color:var(--gold)!important}.story-strip,.catalog-featured,.site-footer{background:var(--ink)!important}.strip-icon{background:var(--gold)!important;color:var(--ink)!important}.header{background:#fbfaf6ee!important;border-color:var(--line)!important}.header-cart{background:var(--ink)!important;color:var(--gold)!important}.header-cart:hover{background:var(--red)!important}.product-card{border-color:var(--ink)!important;box-shadow:4px 4px 0 #17131018!important}.product-card:hover{box-shadow:7px 7px 0 var(--ink)!important}.category.active{background:var(--ink)!important;color:var(--gold)!important}.category{border-color:var(--ink)!important}.product-image{border-color:var(--ink)!important}.floating-card{border-color:var(--ink)!important;box-shadow:5px 5px 0 var(--ink)!important}
/* cabeçalho compartilhado do admin */
body:has(#bar),body.editor-page{background:#f7f4ee!important;color:var(--ink)!important;overflow-x:hidden!important}#bar{position:sticky!important;top:0!important;z-index:50!important;display:block!important;width:100%!important;min-height:0!important;padding:0!important;background:var(--ink)!important;border:0!important;border-bottom:3px solid var(--gold)!important;box-shadow:0 8px 24px #17131026!important;color:#fff!important}#bar .brand-line{display:flex!important;align-items:center!important;width:min(1180px,100%)!important;height:58px!important;margin:0 auto!important;padding:0 20px!important;border:0!important}#bar .brand-line>b{display:flex!important;align-items:center!important;gap:10px!important;color:#fff!important;font:800 20px/1 var(--display)!important;letter-spacing:-.04em!important}#bar .brand-icon{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;padding:3px!important;overflow:hidden!important;border:2px solid var(--gold)!important;border-radius:10px!important;background:#080706!important;font-size:0!important;line-height:0!important;box-shadow:none!important}#bar .brand-icon img{display:block!important;width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;object-fit:contain!important}#bar .bar-bottom{display:flex!important;align-items:center!important;gap:14px!important;width:min(1180px,100%)!important;min-height:62px!important;margin:0 auto!important;padding:10px 20px!important;border-top:1px solid #ffffff18!important}#bar .user-profile{display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 180px!important;min-width:0!important;max-width:180px!important;padding:5px 10px 5px 5px!important;border:1px solid #ffffff22!important;border-radius:12px!important;background:#ffffff0a!important}#bar .user-avatar{display:grid!important;place-items:center!important;flex:none!important;width:32px!important;height:32px!important;border:0!important;border-radius:9px!important;background:var(--gold)!important;color:var(--ink)!important;font:800 14px/1 var(--body)!important}#bar .user-copy{display:flex!important;flex-direction:column!important;min-width:0!important;gap:2px!important}#bar .user-copy strong{overflow:hidden!important;color:#fff!important;font:700 12px/1.1 var(--body)!important;text-overflow:ellipsis!important;white-space:nowrap!important}#bar .user-copy small{color:#d7c9bd!important;font:700 9px/1 var(--body)!important;letter-spacing:.08em!important;text-transform:uppercase!important}#bar .bar-bottom>.sp{display:block!important;flex:1 1 auto!important}#bar .bar-actions{display:grid!important;grid-template-columns:repeat(6,minmax(88px,1fr))!important;gap:6px!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important}#bar .bar-actions>a,#bar .bar-actions>a.active{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;height:38px!important;min-height:38px!important;min-width:0!important;padding:8px 7px!important;overflow:hidden!important;border:1px solid #ffffff20!important;border-radius:9px!important;background:#ffffff08!important;color:#eee7df!important;font:700 10px/1 var(--body)!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important}#bar .bar-actions>a:hover{background:var(--ink2)!important;border-color:var(--gold)!important;color:var(--gold)!important}#bar .bar-actions>a.active{background:var(--gold)!important;border-color:var(--gold)!important;color:var(--ink)!important;box-shadow:inset 0 -3px 0 var(--red)!important}#bar .bar-actions>a:last-child{background:#41201a!important;color:#fff!important}.nav-icon{display:inline-grid!important;place-items:center!important;flex:none!important;width:14px!important;height:14px!important;font-size:12px!important;line-height:1!important}body:has(#bar)>.wrap{width:min(1220px,100%)!important;padding:34px max(18px,calc((100% - 1160px)/2)) 70px!important}body:has(#bar) h2{font-size:clamp(24px,3vw,32px)!important}body:has(#bar) table{border-collapse:separate!important;border-spacing:0!important;border-radius:14px!important;overflow:hidden!important}body:has(#bar) th{background:var(--ink)!important;color:var(--gold)!important}body:has(#bar) td,body:has(#bar) th{padding:13px 14px!important;border-color:var(--line)!important}body:has(#bar) tr:hover td{background:#fff7d8!important}
/* dashboard */
.admin-hero{background:var(--gold)!important;color:var(--ink)!important;border:2px solid var(--ink)!important;border-radius:26px!important;box-shadow:7px 7px 0 var(--ink)!important}.admin-hero h1,.admin-hero p{color:var(--ink)!important}.admin-eyebrow{display:inline-block!important;padding:0!important;border-radius:0!important;background:transparent!important;color:var(--ink)!important;font-weight:900!important}.admin-quick-actions{gap:14px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}.admin-quick-actions a{border:2px solid var(--ink)!important;background:#fff!important;color:var(--ink)!important;border-radius:17px!important;box-shadow:4px 4px 0 var(--ink)!important}.admin-quick-actions a:hover{background:var(--red)!important;color:#fff!important;transform:translate(-3px,-3px)!important}.admin-quick-actions a>span{background:var(--ink)!important;color:var(--gold)!important}.admin-quick-actions small{color:var(--muted)!important}.primary,.submit,.button-red,.add,.save,.btn-primary{background:var(--red)!important;border-color:var(--ink)!important;color:#fff!important;box-shadow:3px 3px 0 var(--ink)!important}.primary:hover,.submit:hover,.button-red:hover,.add:hover,.save:hover,.btn-primary:hover{background:#c92c1b!important;transform:translate(-2px,-2px)!important}.danger{background:#fff0ed!important;border-color:var(--red)!important;color:var(--red)!important}
/* login com contraste explícito */
.auth-shell{min-height:100vh!important;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr)!important;background:#f7f4ee!important;color:var(--ink)!important}.auth-art{background:linear-gradient(140deg,#171310,#281912 58%,#4a2018)!important;color:#fff!important}.auth-art .brand,.auth-art .brand b,.auth-art .brand small,.auth-art h1,.auth-art p,.auth-art .quote{color:#fff!important}.auth-art .brand small,.auth-art p{color:#d5c7bc!important}.auth-art .eyebrow,.auth-art h1 em{color:var(--gold)!important}.auth-panel{display:flex!important;align-items:center!important;justify-content:center!important;background:#f7f4ee!important;color:var(--ink)!important}.auth-card{width:min(100%,430px)!important;margin:auto!important;padding:38px!important;background:#fff!important;color:var(--ink)!important;border:1px solid #e4dbd0!important;border-top:5px solid var(--red)!important;border-radius:22px!important;box-shadow:8px 8px 0 var(--ink)!important}.auth-card h2{color:var(--ink)!important}.auth-card .lead{color:var(--muted)!important}.auth-card label{color:#40372f!important}.auth-card input{color:var(--ink)!important;background:#fff!important}.auth-card input::placeholder{color:#96897e!important}.auth-card .submit,.auth-card .submit *{color:#fff!important}.auth-card .error{color:#c42d20!important}.auth-card .roles,.auth-card .roles small,.auth-card .roles span{color:var(--muted)!important}.auth-card .roles span{background:var(--soft)!important}.auth-card .roles b{color:var(--ink)!important}.auth-shell .eyebrow{background:transparent!important;padding:0!important;box-shadow:none!important}.auth-shell .auth-panel .eyebrow{color:var(--red)!important}.mobile-brand b{color:var(--ink)!important}.store-button,.store-button *{color:#fff!important}.auth-shell .brand .mark,.auth-shell .mobile-brand .mark{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;padding:4px!important;overflow:hidden!important}.auth-shell .brand .mark img,.auth-shell .mobile-brand .mark img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
/* editor e mini prévia */
.editor-wrap{width:min(1420px,100%)!important;padding:28px clamp(16px,3vw,36px) 70px!important}.editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,460px);align-items:start;gap:24px}.editor-form-column{min-width:0}.editor-preview-panel{position:sticky;top:145px;overflow:hidden;border:1px solid #ded5c9;border-radius:20px;background:var(--ink);box-shadow:0 15px 35px #1713101c}.editor-preview-panel header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:14px 16px;background:var(--ink);color:#fff}.editor-preview-panel header strong{color:#fff!important;font:800 15px var(--display)}.editor-preview-panel header span{color:var(--gold)!important;font-size:11px;font-weight:700}.editor-preview-frame{display:block;width:100%;height:720px;min-height:560px;border:0;background:#f7f4ee}.editor-preview-note{margin:0;padding:10px 14px;background:#fff;color:var(--muted);font-size:11px}.editor-hero{background:linear-gradient(135deg,var(--gold),#ffdb58)!important}.editor-section{background:#fff!important}.editor-section-icon{width:40px!important;height:40px!important;min-width:40px!important;font-size:16px!important;line-height:1!important}.editor-image img{max-width:100%!important;max-height:140px!important}.editor-save{background:#fff!important}.editor-field-help{display:block;margin-top:-2px;color:#8a7a6c;font-size:11px;font-weight:500;line-height:1.35}.editor-field{gap:5px!important}.editor-field label{margin-bottom:0!important}
/* cards do catálogo */
.product-admin-card{background:linear-gradient(145deg,#fffdf9,#fff7ed)!important;border:1px solid #e6d7c7!important;border-radius:20px!important;box-shadow:0 10px 26px #3a1d1012!important}.product-admin-card:hover{border-color:#d7ad64!important;box-shadow:0 16px 34px #3a1d1020!important}.admin-thumb{background:radial-gradient(circle at 50% 35%,#fff9 0,transparent 38%),linear-gradient(145deg,#faead6,#e5bd7f)!important}.thumb-status{background:#fffdf9!important;border:1px solid #eadbc9!important;box-shadow:0 3px 8px #3a1d1012!important}.thumb-status.published{color:var(--green)!important}.thumb-status.draft{color:#806f62!important}.product-editor.compact{background:#fffdf9!important}.product-editor.compact .title-line h3{color:#211915!important}.product-editor.compact .id-label,.product-editor.compact label{color:#806f62!important}.product-editor.compact input,.product-editor.compact select,.product-editor.compact textarea{background:#fff!important;border-color:#e2d5c7!important;color:#211915!important}.product-editor.compact input:focus,.product-editor.compact select:focus,.product-editor.compact textarea:focus{border-color:var(--red)!important;box-shadow:0 0 0 3px #e8341f18!important}.mini-preview{background:linear-gradient(145deg,#faead6,#e5bd7f)!important;border:1px solid #ead8c4!important}.edit-media{border-color:#eaded2!important}.file-button{background:#fffaf3!important;color:#806f62!important;border-color:#d9c6b1!important}.button.save{background:var(--ink)!important;color:var(--gold)!important;border-color:var(--ink)!important}.button.ghost{background:#fff!important;color:#40372f!important;border-color:#ddcec0!important}.button.danger{background:#fff2ef!important;color:#c42d20!important;border-color:#e7b9b1!important}
@media(max-width:1100px){#bar .bar-actions{grid-template-columns:repeat(3,minmax(90px,1fr))!important}#bar .bar-bottom{flex-wrap:wrap!important}#bar .bar-bottom>.sp{display:none!important}#bar .user-profile{flex:1 1 220px!important;max-width:none!important}.bar-actions{flex:1 1 100%!important}.editor-workspace{grid-template-columns:minmax(0,1fr) minmax(300px,380px)}}@media(max-width:780px){#bar{position:relative!important}#bar .brand-line{height:54px!important;padding:0 14px!important}#bar .brand-line>b{font-size:17px!important}#bar .bar-bottom{padding:9px 14px 12px!important}.auth-shell{display:block!important}.auth-art{min-height:340px!important;padding:28px 24px!important}.auth-panel{min-height:calc(100vh - 340px)!important;padding:26px 16px 40px!important}.auth-card{padding:26px 20px!important;box-shadow:5px 5px 0 var(--ink)!important}.editor-workspace{display:block!important}.editor-preview-panel{position:relative!important;top:auto!important;margin-top:24px!important}.editor-preview-frame{height:620px!important}.editor-wrap{padding-top:20px!important}}@media(max-width:440px){#bar .bar-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}#bar .bar-actions>a{font-size:10px!important}.auth-art{min-height:300px!important}.auth-panel{min-height:calc(100vh - 300px)!important}.auth-art h1{font-size:42px!important}}

/* product cards premium refinement */
.product-card{position:relative!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:linear-gradient(150deg,#fffdf9 0%,#fff8ee 100%)!important;border:1px solid #eadfd3!important;border-radius:22px!important;box-shadow:0 8px 20px #2c17100d!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}.product-card:hover{transform:translateY(-5px)!important;border-color:#d9ae58!important;box-shadow:0 17px 34px #2c17101c!important}.product-card--featured{border:2px solid #e8b82d!important;background:linear-gradient(150deg,#fffdf9 0%,#fff3ce 100%)!important}.product-image{position:relative!important;isolation:isolate!important;min-height:235px!important;aspect-ratio:1.15/1!important;overflow:hidden!important;background:radial-gradient(circle at 50% 42%,#fff9 0,transparent 35%),linear-gradient(145deg,#f7e8d5,#e7c28a)!important;border:0!important;border-bottom:1px solid #ead7be!important}.product-image:after{content:'';position:absolute;z-index:-1;left:12%;right:12%;bottom:-38px;height:90px;border-radius:50%;background:#fff8;filter:blur(8px)}.product-image>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .35s ease!important}.product-card:hover .product-image>img{transform:scale(1.045)!important}.product-image .food-image{width:150px!important;height:150px!important;margin:42px auto 0!important;object-fit:contain!important;border-radius:50%!important;background:#050505!important;padding:7px!important;box-shadow:0 0 0 5px #ffc21a50,0 15px 25px #2c171035!important}.product-image .view-product-image{position:absolute!important;right:12px!important;bottom:12px!important;z-index:4!important;padding:7px 10px!important;border:1px solid #fff9!important;border-radius:99px!important;background:#171310d9!important;color:#fff!important;font-size:10px!important;font-weight:700!important;opacity:0!important;transform:translateY(5px)!important;transition:opacity .2s,transform .2s!important}.product-card:hover .product-image .view-product-image{opacity:1!important;transform:none!important}.product-tag,.product-badge,.featured-mark{z-index:5!important;border-radius:99px!important;box-shadow:0 4px 10px #2c17101c!important}.product-tag{background:#171310!important;color:#ffc21a!important}.product-badge{background:#e8341f!important;color:#fff!important}.featured-mark{background:#ffc21a!important;color:#171310!important}.product-body{display:flex!important;flex:1!important;flex-direction:column!important;padding:18px 18px 17px!important}.product-kicker{color:#a06f2a!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important}.product-body h3{margin:7px 0 5px!important;color:#211915!important;font-size:22px!important;line-height:1.05!important}.product-body p{display:-webkit-box!important;overflow:hidden!important;margin:0!important;color:#76695f!important;font-size:12px!important;line-height:1.5!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important}.product-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:auto!important;padding-top:16px!important}.product-foot strong{color:#171310!important;font:800 22px/1 var(--display)!important;letter-spacing:-.03em!important}.add-button{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border:2px solid #171310!important;border-radius:13px!important;background:#ffc21a!important;color:#171310!important;font-size:24px!important;font-weight:800!important;box-shadow:3px 3px 0 #171310!important;transition:transform .18s,background .18s!important}.add-button:hover{background:#e8341f!important;color:#fff!important;transform:translate(-2px,-2px)!important}.product-card--featured .add-button{background:#e8341f!important;color:#fff!important}
.product-admin-card{grid-template-columns:220px minmax(0,1fr)!important;background:linear-gradient(145deg,#fffdf9,#fff7ed)!important;border:1px solid #dfd0c1!important;border-radius:22px!important;box-shadow:0 9px 24px #3a1d1012!important}.product-admin-card:hover{transform:translateY(-4px)!important;border-color:#d6ac5d!important;box-shadow:0 17px 36px #3a1d1020!important}.admin-thumb{min-height:300px!important;background:radial-gradient(circle at 50% 32%,#fff9 0,transparent 38%),linear-gradient(145deg,#f7e6d0,#e2b873)!important}.product-editor.compact{padding:22px 24px!important}.product-editor.compact .title-line{padding-bottom:10px!important;border-bottom:1px solid #eee3d8!important}.product-editor.compact .title-line h3{font-size:28px!important}.product-editor.compact .form-grid{gap:11px!important}.product-editor.compact .checks{padding-top:6px!important}.edit-media{padding-left:20px!important}.mini-preview{height:116px!important;border-radius:14px!important;background:linear-gradient(145deg,#f9ead8,#e8c58e)!important}.button.save{border-radius:10px!important;box-shadow:3px 3px 0 #171310!important}.button.ghost,.button.danger{border-radius:10px!important}@media(max-width:850px){.product-admin-card{grid-template-columns:170px minmax(0,1fr)!important}.admin-thumb{min-height:245px!important}.product-editor.compact{padding:18px!important}}@media(max-width:620px){.product-card{border-radius:18px!important}.product-image{min-height:205px!important}.product-body{padding:15px!important}.product-body h3{font-size:20px!important}.product-foot strong{font-size:20px!important}.add-button{width:38px!important;height:38px!important}.product-admin-card{display:block!important}.admin-thumb{min-height:210px!important}.product-editor.compact{padding:16px!important}}

/* loja.html — nova paleta dos cards: chocolate, caramelo, creme e dourado */
.product-card{background:linear-gradient(155deg,#3b2119 0%,#241510 100%)!important;border:1px solid #74452b!important;border-radius:22px!important;box-shadow:0 12px 26px #160b0870,0 2px 0 #ffc21a22 inset!important;color:#fff7e8!important}.product-card:hover{border-color:#ffc21a!important;box-shadow:0 19px 38px #160b08a0,0 0 0 3px #ffc21a20!important}.product-card--featured{background:linear-gradient(155deg,#54251c 0%,#2b1712 100%)!important;border:2px solid #ffc21a!important}.product-image{background:radial-gradient(circle at 50% 35%,#fff7d850 0,transparent 35%),linear-gradient(145deg,#dca95f 0%,#a65c32 100%)!important;border-bottom:1px solid #ffc21a66!important}.product-image:after{background:#2a140d70!important}.product-image .food-image{background:#17100d!important;box-shadow:0 0 0 5px #ffc21a70,0 15px 25px #1b0b0766!important}.product-image .view-product-image{background:#17100de8!important;border-color:#ffc21a99!important;color:#fff7e8!important}.product-tag{background:#17100d!important;color:#ffc21a!important;border:1px solid #ffc21a55!important}.product-badge{background:#e8341f!important;color:#fff!important;border:1px solid #ff927d!important}.featured-mark{background:#ffc21a!important;color:#241510!important}.product-body{background:linear-gradient(180deg,#3b2119,#2b1813)!important;color:#fff7e8!important}.product-kicker{color:#ffc21a!important}.product-body h3{color:#fff7e8!important}.product-body p{color:#d9bfa8!important}.product-foot{border-top:1px solid #ffffff18!important}.product-foot strong{color:#ffc21a!important}.add-button{border:2px solid #ffc21a!important;background:#ffc21a!important;color:#241510!important;box-shadow:3px 3px 0 #160b08!important}.add-button:hover{background:#e8341f!important;border-color:#ff9d82!important;color:#fff!important}.product-card--featured .add-button{background:#e8341f!important;border-color:#ff9d82!important;color:#fff!important}.catalog-group:not(.catalog-featured) .product-card{background:linear-gradient(155deg,#332019,#21130f)!important}

/* seleção anterior restaurada + acabamento extra dos cards públicos */
.product-card{cursor:pointer!important}.product-card:before{content:'';position:absolute;z-index:6;top:0;left:18px;right:18px;height:3px;border-radius:0 0 99px 99px;background:linear-gradient(90deg,transparent,#ffc21a,transparent);opacity:.65;pointer-events:none}.product-card:hover{transform:translate(-4px,-4px)!important;box-shadow:7px 7px 0 #171310!important}.catalog-featured .product-card:hover,.product-card--featured:hover{box-shadow:7px 7px 0 var(--gold)!important}.product-card:active{transform:translate(-1px,-1px) scale(.985)!important;box-shadow:3px 3px 0 #171310!important}.product-card:focus-within{border-color:#ffc21a!important;box-shadow:0 0 0 4px #ffc21a35,7px 7px 0 #171310!important}.product-card.is-selected{border-color:#ffc21a!important;box-shadow:0 0 0 4px #ffc21a40,7px 7px 0 #171310!important}.product-card.is-selected:after{content:'Adicionado ao carrinho';position:absolute;z-index:7;right:12px;bottom:12px;padding:7px 10px;border-radius:99px;background:#12805c;color:#fff;font-size:10px;font-weight:800;letter-spacing:.02em;box-shadow:0 5px 12px #17131040;pointer-events:none}.product-card--featured.is-selected:after{background:#ffc21a;color:#241510}.product-card .product-body:after{content:'';display:block;width:42px;height:3px;margin-top:14px;border-radius:99px;background:#ffc21a;opacity:.8}.product-card .product-foot{position:relative}.product-card .product-foot strong{letter-spacing:-.04em}.product-card .add-button:focus-visible{outline:3px solid #fff7e8;outline-offset:3px}.product-card .view-product-image:focus-visible{opacity:1;transform:none;outline:2px solid #ffc21a;outline-offset:2px}

/* PIX: erro sempre visível e painel de pagamento com prioridade visual */
.checkout-error{display:block!important;min-height:22px!important;padding:0 4px!important;color:#d92f21!important;font-size:13px!important;font-weight:800!important;text-align:center!important}.checkout-error.payment-error-visible{padding:12px 14px!important;border:1px solid #e5a69e!important;border-radius:12px!important;background:#fff0ed!important;animation:pix-error-in .22s ease both!important}.static-pix{position:relative!important;z-index:4!important;color:#241510!important}.static-pix.hidden{display:none!important}.static-pix [data-static-qr]{min-height:225px!important;display:grid!important;place-items:center!important;background:#fff!important}.static-pix [data-static-qr] canvas,.static-pix [data-static-qr] img{display:block!important;width:195px!important;height:195px!important;max-width:195px!important}.pix-inline-error{margin:0!important;padding:14px!important;border:1px solid #e5a69e!important;border-radius:12px!important;background:#fff0ed!important;color:#c42d20!important;font-weight:800!important}@keyframes pix-error-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* checkout: validação própria para não bloquear PIX por campos condicionais */
#static-checkout-form .checkout-invalid{border-color:#d92f21!important;box-shadow:0 0 0 3px #d92f2126!important;background:#fff5f3!important}#static-checkout-form input.checkout-invalid[type=radio]+span{outline:2px solid #d92f21;outline-offset:3px}#static-checkout-form .checkout-error.payment-error-visible{scroll-margin-top:20px}


/* Painel de operação e equipe: composição compacta */
body:has(#tbl-users)>.wrap{width:min(1240px,100%)!important;padding:24px clamp(16px,3vw,34px) 48px!important}
body:has(#tbl-users) .admin-hero-compact{grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr)!important;align-items:center!important;gap:24px!important;min-height:0!important;margin:0 0 23px!important;padding:24px 28px!important;border-radius:20px!important}
body:has(#tbl-users) .admin-hero-compact h1{margin:8px 0!important;font-size:clamp(31px,3.5vw,43px)!important;line-height:1!important}
body:has(#tbl-users) .admin-hero-compact p{max-width:440px!important;font-size:12px!important;line-height:1.5!important}
body:has(#tbl-users) .admin-hero-compact .admin-eyebrow{font-size:9px!important;letter-spacing:1.6px!important}
body:has(#tbl-users) .admin-hero-compact .admin-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body:has(#tbl-users) .admin-hero-compact .admin-quick-actions a{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:10px!important;min-height:58px!important;padding:9px 11px!important;border-width:1.5px!important;border-radius:12px!important;box-shadow:2px 2px 0 var(--ink)!important}
body:has(#tbl-users) .admin-hero-compact .admin-quick-actions a>span{grid-column:1!important;grid-row:1 / span 2!important;width:32px!important;height:32px!important;margin:0!important;border-radius:9px!important;font-size:15px!important}
body:has(#tbl-users) .admin-hero-compact .admin-quick-actions b{align-self:end!important;font-size:11px!important;line-height:1.2!important}
body:has(#tbl-users) .admin-hero-compact .admin-quick-actions small{align-self:start!important;font-size:9px!important;line-height:1.2!important}
body:has(#tbl-users) .user-admin-section{margin:0 0 20px!important}
body:has(#tbl-users) .section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 11px!important}
body:has(#tbl-users) .section-heading h2{margin:3px 0 2px!important;font-size:clamp(24px,2.7vw,30px)!important;line-height:1.05!important}
body:has(#tbl-users) .section-heading .hint{margin:0!important;font-size:11px!important}
body:has(#tbl-users) .section-kicker{color:var(--red)!important;font-size:9px!important;font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important}
body:has(#tbl-users) .user-count{flex:none!important;padding:7px 11px!important;border:1px solid #e9dfd1!important;border-radius:99px!important;background:#fff!important;color:var(--muted)!important;font-size:10px!important;font-weight:800!important}
body:has(#tbl-users) .role-guide{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 10px!important}
body:has(#tbl-users) .role-guide>div{display:grid!important;grid-template-columns:10px auto!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:7px!important;min-width:0!important;padding:8px 11px!important;border:1px solid #e8e0d5!important;border-radius:11px!important;background:#fff!important}
body:has(#tbl-users) .role-guide b{font-size:10px!important;line-height:1.2!important}
body:has(#tbl-users) .role-guide small{grid-column:2!important;color:var(--muted)!important;font-size:9px!important;line-height:1.25!important}
body:has(#tbl-users) .role-dot{grid-column:1!important;grid-row:1 / span 2!important;width:8px!important;height:8px!important;border-radius:50%!important;background:var(--red)!important}
body:has(#tbl-users) .manager-dot{background:#5b8b35!important}
body:has(#tbl-users) .cashier-dot{background:#39779a!important}
body:has(#tbl-users) .user-table-card{margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #e5ddd2!important;border-radius:14px!important;box-shadow:0 5px 16px #1713100b!important}
body:has(#tbl-users) .table-scroll{width:100%!important;overflow-x:auto!important}
body:has(#tbl-users) #tbl-users{width:100%!important;min-width:850px!important;table-layout:fixed!important;font-size:11px!important}
body:has(#tbl-users) #tbl-users th{padding:9px 10px!important;background:#f3efe7!important;color:#71675d!important;font-size:9px!important;letter-spacing:.07em!important}
body:has(#tbl-users) #tbl-users td{padding:8px 10px!important;border-bottom:1px solid #eee9e1!important;line-height:1.25!important}
body:has(#tbl-users) #tbl-users th:nth-child(1){width:15%}body:has(#tbl-users) #tbl-users th:nth-child(2){width:12%}body:has(#tbl-users) #tbl-users th:nth-child(3){width:10%}body:has(#tbl-users) #tbl-users th:nth-child(4){width:15%}body:has(#tbl-users) #tbl-users th:nth-child(5){width:48%}
body:has(#tbl-users) #tbl-users .user-name{font-weight:800!important}
body:has(#tbl-users) #tbl-users .role-sel{min-width:0!important;width:100%!important;padding:7px 9px!important;border-radius:8px!important;font-size:10px!important;text-transform:capitalize!important}
body:has(#tbl-users) #tbl-users .badge{padding:3px 7px!important;font-size:9px!important}
body:has(#tbl-users) #tbl-users .last-login{color:#71675d!important;font-size:10px!important;white-space:nowrap!important}
body:has(#tbl-users) #tbl-users .user-actions{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important}
body:has(#tbl-users) #tbl-users .user-actions button{min-height:30px!important;padding:6px 8px!important;border-radius:8px!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important}
body:has(#tbl-users) #tbl-users .password-action{display:flex!important;align-items:center!important;gap:4px!important}
body:has(#tbl-users) #tbl-users .password-action .pw{width:100px!important;max-width:100px!important;min-height:30px!important;padding:6px 8px!important;border-radius:8px!important;font-size:9px!important}
body:has(#tbl-users) #tbl-users .password-action .set-pw{padding-inline:7px!important}
body:has(#tbl-users) #users-msg{margin:0!important;padding:0 12px!important;font-size:10px!important}
body:has(#tbl-users) .new-user-panel{display:grid!important;grid-template-columns:minmax(160px,.55fr) minmax(0,1.45fr)!important;align-items:center!important;gap:14px!important;margin:12px 0 0!important;padding:12px 14px!important;border:1px solid #eadfd2!important;border-radius:14px!important;background:#fff9f0!important}
body:has(#tbl-users) .new-user-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body:has(#tbl-users) .new-user-heading h3{margin:0!important;font-size:17px!important;line-height:1.1!important}
body:has(#tbl-users) .new-user-heading p{margin:4px 0 0!important;color:var(--muted)!important;font-size:10px!important}
body:has(#tbl-users) .add-user-icon{display:grid!important;place-items:center!important;flex:none!important;width:30px!important;height:30px!important;border-radius:9px!important;background:var(--ink)!important;color:var(--gold)!important;font-size:20px!important}
body:has(#tbl-users) .new-user-card{display:grid!important;grid-template-columns:1.1fr 1fr .75fr auto!important;align-items:center!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body:has(#tbl-users) .new-user-card input,body:has(#tbl-users) .new-user-card select{width:100%!important;min-width:0!important;min-height:36px!important;padding:8px 10px!important;border-radius:9px!important;font-size:10px!important}
body:has(#tbl-users) .new-user-card #add-user{min-height:36px!important;padding:8px 12px!important;border-radius:9px!important;font-size:10px!important;white-space:nowrap!important}
body:has(#tbl-users) #add-msg{grid-column:1/-1!important;margin:0!important;font-size:10px!important}
body:has(#tbl-users) .admin-audit{margin:9px 0!important;overflow:hidden!important;border:1px solid #e5ddd2!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 13px #17131008!important}
body:has(#tbl-users) .admin-audit>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 15px!important;cursor:pointer!important;list-style:none!important}
body:has(#tbl-users) .admin-audit>summary::-webkit-details-marker{display:none!important}
body:has(#tbl-users) .admin-audit>summary>span:first-child{display:flex!important;align-items:center!important;gap:10px!important}
body:has(#tbl-users) .admin-audit>summary b{font-size:11px!important}
body:has(#tbl-users) .admin-audit>summary small{color:var(--muted)!important;font-size:9px!important}
body:has(#tbl-users) .audit-chevron{display:grid!important;place-items:center!important;width:24px!important;height:24px!important;border-radius:8px!important;background:#f3efe7!important;color:var(--ink)!important;font-size:15px!important;transition:transform .18s!important}
body:has(#tbl-users) .admin-audit[open] .audit-chevron{transform:rotate(45deg)!important}
body:has(#tbl-users) .audit-card{margin:0!important;padding:0 12px 10px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body:has(#tbl-users) .audit-card table{min-width:620px!important;font-size:10px!important}
body:has(#tbl-users) .audit-card th,body:has(#tbl-users) .audit-card td{padding:8px 9px!important;font-size:10px!important}
@media(max-width:1000px){body:has(#tbl-users) .admin-hero-compact{grid-template-columns:1fr!important;gap:15px!important}body:has(#tbl-users) .admin-hero-compact .admin-quick-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}body:has(#tbl-users) .admin-hero-compact .admin-quick-actions a{grid-template-columns:28px minmax(0,1fr)!important;column-gap:7px!important;padding:8px!important}body:has(#tbl-users) .admin-hero-compact .admin-quick-actions a>span{width:27px!important;height:27px!important;font-size:13px!important}body:has(#tbl-users) .new-user-panel{grid-template-columns:1fr!important;gap:9px!important}}
@media(max-width:760px){body:has(#tbl-users)>.wrap{padding:18px 13px 34px!important}body:has(#tbl-users) .admin-hero-compact{margin-bottom:17px!important;padding:20px!important;border-radius:17px!important}body:has(#tbl-users) .admin-hero-compact h1{font-size:34px!important}body:has(#tbl-users) .admin-hero-compact .admin-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}body:has(#tbl-users) .section-heading{margin-bottom:9px!important}body:has(#tbl-users) .role-guide{gap:5px!important}body:has(#tbl-users) .role-guide>div{padding:7px 6px!important;column-gap:5px!important}body:has(#tbl-users) .role-guide small{font-size:8px!important}body:has(#tbl-users) .user-table-card{padding:8px!important;overflow:visible!important}body:has(#tbl-users) #tbl-users{display:block!important;min-width:0!important;table-layout:auto!important}body:has(#tbl-users) #tbl-users tbody{display:grid!important;gap:8px!important}body:has(#tbl-users) #tbl-users tr:first-child{display:none!important}body:has(#tbl-users) #tbl-users tr[data-id]{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px 10px!important;padding:10px!important;border:1px solid #eee6db!important;border-radius:11px!important;background:#fff!important}body:has(#tbl-users) #tbl-users tr[data-id]>td{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:10px!important}body:has(#tbl-users) #tbl-users tr[data-id]>td:before{content:attr(data-label)!important;color:#8a7e73!important;font-size:8px!important;font-weight:800!important;letter-spacing:.07em!important;text-transform:uppercase!important}body:has(#tbl-users) #tbl-users tr[data-id]>td[data-label="Ações"]{grid-column:1/-1!important;padding-top:7px!important;border-top:1px solid #eee8df!important}body:has(#tbl-users) #tbl-users .role-sel{max-width:150px!important}body:has(#tbl-users) #tbl-users .user-actions{width:100%!important;gap:5px!important}body:has(#tbl-users) #tbl-users .user-actions button{min-height:32px!important}body:has(#tbl-users) #tbl-users .password-action{flex:1 1 100%!important}body:has(#tbl-users) #tbl-users .password-action .pw{flex:1 1 auto!important;width:auto!important;max-width:none!important}body:has(#tbl-users) #tbl-users .password-action .set-pw{flex:none!important}body:has(#tbl-users) .new-user-panel{padding:12px!important}body:has(#tbl-users) .new-user-card{grid-template-columns:1fr 1fr!important}body:has(#tbl-users) .new-user-card #nr{grid-column:1!important}body:has(#tbl-users) .new-user-card #add-user{grid-column:2!important}body:has(#tbl-users) .admin-audit>summary{align-items:flex-start!important;padding:11px 12px!important}body:has(#tbl-users) .admin-audit>summary>span:first-child{align-items:flex-start!important;flex-direction:column!important;gap:2px!important}}
@media(max-width:420px){body:has(#tbl-users) .section-heading h2{font-size:23px!important}body:has(#tbl-users) .user-count{padding:6px 8px!important;font-size:9px!important}body:has(#tbl-users) .admin-hero-compact .admin-quick-actions a{grid-template-columns:25px minmax(0,1fr)!important;column-gap:6px!important}body:has(#tbl-users) .admin-hero-compact .admin-quick-actions b{font-size:10px!important}body:has(#tbl-users) .admin-hero-compact .admin-quick-actions small{font-size:8px!important}body:has(#tbl-users) #tbl-users .user-actions button{font-size:8px!important;padding-inline:6px!important}}


/* Navegação administrativa: estado selecionado inequívoco em todas as páginas */
body:not(:has(#fr)) #bar .bar-actions>a.active,body:not(:has(#fr)) #bar .bar-actions>a[aria-current="page"]{position:relative!important;z-index:2!important;transform:none!important;border-color:var(--gold)!important;background:var(--gold)!important;color:var(--ink)!important;box-shadow:0 5px 16px #ffc21a35,inset 0 -3px 0 var(--red)!important}
body:not(:has(#fr)) #bar .bar-actions>a.active .nav-icon,body:not(:has(#fr)) #bar .bar-actions>a[aria-current="page"] .nav-icon{filter:none!important}
body:not(:has(#fr)) #bar .bar-actions>a:focus-visible{outline:2px solid #fff!important;outline-offset:3px!important}
@media(max-width:900px){body:not(:has(#fr)) #bar .bar-actions{width:100%!important;max-width:100%!important;justify-content:stretch!important;gap:6px!important}body:not(:has(#fr)) #bar .bar-actions>a{flex:1 1 110px!important}}
@media(max-width:520px){body:not(:has(#fr)) #bar .bar-actions>a{flex:1 1 28%!important;min-height:36px!important;height:auto!important;padding:8px 5px!important;font-size:10px!important}}

/* Acabamento compartilhado do catálogo e cupons */
body:has(.catalog-shell) .catalog-shell{width:min(1280px,100%)!important;max-width:1280px!important;padding:32px clamp(15px,3vw,34px) 56px!important}
body:has(.catalog-shell) .page-intro{align-items:center!important;margin-bottom:20px!important;padding:0 0 17px!important;border-bottom:1px solid #e8dfd4!important}
body:has(.catalog-shell) .page-intro h1{margin:6px 0!important;color:var(--ink)!important;font:800 clamp(36px,4.5vw,48px)/1 var(--display)!important;letter-spacing:-.055em!important}
body:has(.catalog-shell) .page-intro p{max-width:650px!important;color:#746b62!important;font-size:13px!important}
body:has(.catalog-shell) .eyebrow{font-size:9px!important;letter-spacing:.14em!important}
body:has(.catalog-shell) .page-intro>.button{flex:none!important;min-height:42px!important;padding:11px 16px!important;border:1px solid var(--red)!important;border-radius:11px!important;font-size:11px!important}
body:has(.catalog-shell) .metrics{gap:10px!important;margin-bottom:18px!important}
body:has(.catalog-shell) .metrics>div{position:relative!important;overflow:hidden!important;padding:13px 16px!important;border:1px solid #e7ded3!important;border-radius:13px!important;background:#fff!important;box-shadow:0 5px 14px #17131008!important}
body:has(.catalog-shell) .metrics>div:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--gold)!important}
body:has(.catalog-shell) .metrics small{font-size:9px!important;font-weight:700!important;letter-spacing:.05em!important;text-transform:uppercase!important}
body:has(.catalog-shell) .metrics b{margin:3px 0!important;color:var(--ink)!important;font:800 27px/1.1 var(--display)!important}
body:has(.catalog-shell) .metrics span{font-size:9px!important}
body:has(.catalog-shell) .editor-card{margin-bottom:26px!important;padding:21px!important;border:1px solid #332720!important;border-radius:17px!important;background:linear-gradient(145deg,#241b17,#171310)!important;box-shadow:0 11px 26px #17131018!important}
body:has(.catalog-shell) .editor-card .card-heading{margin-bottom:14px!important}
body:has(.catalog-shell) .editor-card .card-heading h2{margin:3px 0!important;color:#fff!important;font:800 25px/1.1 var(--display)!important;letter-spacing:-.04em!important}
body:has(.catalog-shell) .editor-card .status-dot{padding:6px 9px!important;border:1px solid #8be1b433!important;border-radius:999px!important;background:#8be1b410!important;font-size:9px!important}
body:has(.catalog-shell) .editor-card .product-editor{gap:16px!important}
body:has(.catalog-shell) .editor-card .product-editor label{margin-bottom:9px!important;font-size:10px!important}
body:has(.catalog-shell) .editor-card .product-editor input,body:has(.catalog-shell) .editor-card .product-editor select,body:has(.catalog-shell) .editor-card .product-editor textarea{min-height:38px!important;margin-top:4px!important;padding:9px 10px!important;border-radius:9px!important;font-size:11px!important}
body:has(.catalog-shell) .editor-card .product-editor textarea{min-height:68px!important}
body:has(.catalog-shell) .editor-card .upload-box{gap:9px!important;padding:12px!important;border-color:#ffffff29!important;border-radius:13px!important;background:#ffffff08!important}
body:has(.catalog-shell) .editor-card .upload-preview{height:115px!important;margin-bottom:2px!important;border:1px solid #ffffff16!important;border-radius:10px!important}
body:has(.catalog-shell) .editor-card .upload-label{margin:0!important;color:#fff!important}
body:has(.catalog-shell) .editor-card .upload-label small{font-size:9px!important}
body:has(.catalog-shell) .editor-card .upload-box .button{min-height:38px!important;padding:9px 11px!important;border-radius:9px!important;font-size:10px!important}
body:has(.catalog-shell) .catalog-toolbar{align-items:center!important;margin:26px 0 12px!important;padding-bottom:11px!important;border-bottom:1px solid #e8dfd4!important}
body:has(.catalog-shell) .catalog-toolbar h2{margin:4px 0 0!important;color:var(--ink)!important;font:800 25px/1.1 var(--display)!important;letter-spacing:-.04em!important}
body:has(.catalog-shell) .toolbar-actions input,body:has(.catalog-shell) .toolbar-actions select{min-height:38px!important;padding:8px 11px!important;border:1px solid #e2d9ce!important;border-radius:10px!important;background:#fff!important;font-size:11px!important}
body:has(.catalog-shell) .product-list,body:has(.catalog-shell) .coupon-list{gap:10px!important}
body:has(.catalog-shell) .product-admin-card{grid-template-columns:175px minmax(0,1fr)!important;border:1px solid #e3d9cd!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 16px #1713100b!important}
body:has(.catalog-shell) .product-admin-card:hover{transform:translateY(-2px)!important;box-shadow:0 10px 22px #17131012!important}
body:has(.catalog-shell) .admin-thumb{min-height:250px!important}
body:has(.catalog-shell) .product-editor.compact{grid-template-columns:minmax(0,1fr) 145px!important;gap:13px!important;padding:14px!important}
body:has(.catalog-shell) .product-editor.compact .title-line{margin-bottom:8px!important}
body:has(.catalog-shell) .product-editor.compact .title-line h3{margin:3px 0!important;color:var(--ink)!important;font:800 19px/1.15 var(--display)!important;letter-spacing:-.03em!important}
body:has(.catalog-shell) .product-editor.compact .id-label{font-size:8px!important}
body:has(.catalog-shell) .product-editor.compact label{margin-bottom:7px!important;font-size:9px!important}
body:has(.catalog-shell) .product-editor.compact input,body:has(.catalog-shell) .product-editor.compact select,body:has(.catalog-shell) .product-editor.compact textarea{min-height:34px!important;margin-top:3px!important;padding:7px 9px!important;border:1px solid #e4ddd3!important;border-radius:8px!important;background:#fff!important;color:var(--ink)!important;font-size:10px!important}
body:has(.catalog-shell) .product-editor.compact textarea{min-height:55px!important}
body:has(.catalog-shell) .product-editor.compact .checks{gap:10px!important;margin-top:5px!important}
body:has(.catalog-shell) .product-editor.compact .checks label{font-size:9px!important}
body:has(.catalog-shell) .product-editor.compact .edit-media{gap:6px!important;padding-left:12px!important}
body:has(.catalog-shell) .product-editor.compact .mini-preview{height:78px!important}
body:has(.catalog-shell) .product-editor.compact .edit-media .button{min-height:32px!important;padding:7px 8px!important;border-radius:8px!important;font-size:9px!important}
body:has(.catalog-shell) .empty{padding:30px!important;border-color:#dfd3c5!important;background:#fff!important;font-size:12px!important}

/* Cupons: seleção de produtos e cartão de desconto mais claros */
body:has(#coupon-form) .page-intro{margin-bottom:19px!important}
body:has(#coupon-form) .editor-card{background:linear-gradient(145deg,#2b1b15,#181310)!important}
body:has(#coupon-form) .coupon-grid{gap:10px!important}
body:has(#coupon-form) .coupon-grid label{margin:0!important;color:#f4e9dd!important;font-size:10px!important}
body:has(#coupon-form) .coupon-grid input,body:has(#coupon-form) .coupon-grid select{min-height:39px!important;padding:9px 10px!important;border:1px solid #ffffff25!important;border-radius:9px!important;background:#fff!important;color:var(--ink)!important;font-size:11px!important}
body:has(#coupon-form) .coupon-products-label{margin:4px 0 6px!important;color:#f4e9dd!important;font-size:10px!important}
body:has(#coupon-form) .coupon-products-label .field-help{margin-top:2px!important;color:#c7b8ad!important;font-size:9px!important}
body:has(#coupon-form) .coupon-products{max-height:155px!important;overflow:auto!important;grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;gap:5px!important;padding:9px!important;border:1px solid #ffffff20!important;border-radius:10px!important;background:#ffffff08!important}
body:has(#coupon-form) .coupon-products label{min-width:0!important;padding:6px 7px!important;border:1px solid #ffffff12!important;border-radius:8px!important;color:#f7eee5!important;font-size:9px!important;line-height:1.35!important}
body:has(#coupon-form) .coupon-products input{accent-color:var(--gold)!important}
body:has(#coupon-form) .coupon-grid + .coupon-products-label{display:block!important}
body:has(#coupon-form) .coupon-row{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;padding:13px 15px!important;border:1px solid #e5ddd2!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 12px #17131008!important}
body:has(#coupon-form) .coupon-row strong{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:5px 10px!important;border:1px dashed #d9bd75!important;border-radius:8px!important;background:#fff9e8!important;color:var(--ink)!important;font:800 16px/1 var(--display)!important;letter-spacing:.04em!important}
body:has(#coupon-form) .coupon-meta{margin-top:6px!important;color:#71675d!important;font-size:10px!important;line-height:1.5!important}
body:has(#coupon-form) .coupon-status{padding:5px 8px!important;border:1px solid #c6e8d4!important;border-radius:999px!important;background:#edfaf2!important;font-size:9px!important;letter-spacing:.04em!important}
body:has(#coupon-form) .coupon-status.off{border-color:#e8dfd5!important;background:#f5f2ee!important}
body:has(#coupon-form) .coupon-actions .button{min-height:32px!important;padding:7px 10px!important;border-radius:8px!important;font-size:9px!important}

/* Acabamento nas demais áreas administrativas */
body:has(.finance-shell) .finance-shell{width:min(1240px,100%)!important;padding:30px clamp(15px,3vw,34px) 55px!important}
body:has(.finance-shell) .finance-hero{margin-bottom:20px!important}
body:has(.finance-shell) .finance-hero h1{font:800 clamp(34px,4.5vw,48px)/1 var(--display)!important;letter-spacing:-.055em!important}
body:has(.finance-shell) .finance-metrics{gap:10px!important;margin-bottom:18px!important}
body:has(.finance-shell) .finance-metrics article,body:has(.finance-shell) .finance-card{border:1px solid #e6ddd2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 16px #17131009!important}
body:has(.finance-shell) .finance-metrics article{padding:16px!important}
body:has(.finance-shell) .finance-metrics strong{font:800 27px/1.1 var(--display)!important}
body:has(.finance-shell) .finance-card{padding:17px!important}
body:has(.finance-shell) .finance-card-heading{margin-bottom:12px!important}
body:has(.finance-shell) .finance-card-heading h2{font:800 24px/1.1 var(--display)!important}
body:has(.finance-shell) .finance-table th{background:#f5f1ea!important;color:#756b61!important}
body.editor-page .editor-wrap{width:min(1280px,100%)!important;padding:24px clamp(15px,3vw,34px) 55px!important}
body.editor-page .editor-hero{padding:26px!important;border-radius:20px!important;box-shadow:5px 5px 0 var(--ink)!important}
body.editor-page .editor-section{margin:12px 0!important;padding:19px!important;border-radius:16px!important;box-shadow:0 5px 16px #17131009!important}
body.editor-page .editor-section h2{font-size:23px!important}
@media(max-width:850px){body:has(.catalog-shell) .product-admin-card{grid-template-columns:145px minmax(0,1fr)!important}body:has(.catalog-shell) .product-editor.compact{display:block!important}body:has(.catalog-shell) .product-editor.compact .edit-media{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center!important;padding:10px 0 0!important;border-top:1px solid #eee6dc!important;border-left:0!important}body:has(.catalog-shell) .product-editor.compact .mini-preview{height:75px!important;grid-row:span 2!important}body:has(.catalog-shell) .product-editor.compact .edit-media .message{grid-column:1/-1!important}}
@media(max-width:620px){body:has(.catalog-shell) .catalog-shell{padding:22px 13px 38px!important}body:has(.catalog-shell) .page-intro{display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:12px!important;padding-bottom:14px!important}body:has(.catalog-shell) .page-intro>.button{width:100%!important;margin:0!important}body:has(.catalog-shell) .metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}body:has(.catalog-shell) .metrics>div{padding:10px 8px!important}body:has(.catalog-shell) .metrics b{font-size:21px!important}body:has(.catalog-shell) .metrics span{font-size:8px!important}body:has(.catalog-shell) .editor-card{padding:15px!important;margin-bottom:20px!important}body:has(.catalog-shell) .editor-card .card-heading h2{font-size:22px!important}body:has(.catalog-shell) .editor-card .card-heading{margin-bottom:11px!important}body:has(.catalog-shell) .editor-card .product-editor{display:block!important}body:has(.catalog-shell) .editor-card .upload-box{margin-top:8px!important}body:has(.catalog-shell) .editor-card .upload-preview{height:90px!important}body:has(.catalog-shell) .catalog-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;margin-top:21px!important}body:has(.catalog-shell) .catalog-toolbar h2{font-size:22px!important}body:has(.catalog-shell) .toolbar-actions{display:grid!important;grid-template-columns:1fr 1fr!important;margin:0!important}body:has(.catalog-shell) .toolbar-actions input{width:100%!important;min-width:0!important}body:has(.catalog-shell) .product-admin-card{display:block!important}body:has(.catalog-shell) .admin-thumb{min-height:175px!important;height:175px!important}body:has(.catalog-shell) .product-editor.compact{padding:12px!important}body:has(.catalog-shell) .product-editor.compact .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:has(.catalog-shell) .product-editor.compact .title-line h3{font-size:17px!important}body:has(.catalog-shell) .coupon-grid{grid-template-columns:1fr 1fr!important}body:has(.coupon-form) .coupon-products{grid-template-columns:1fr 1fr!important;max-height:175px!important}body:has(#coupon-form) .coupon-row{display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:8px!important}body:has(#coupon-form) .coupon-actions{width:100%!important;justify-content:space-between!important;margin:0!important}body:has(.finance-shell) .finance-shell{padding:22px 13px 38px!important}body:has(.finance-shell) .finance-metrics{grid-template-columns:1fr!important}body.editor-page .editor-wrap{padding:19px 13px 38px!important}body.editor-page .editor-hero{padding:19px!important}}
@media(max-width:390px){body:has(.catalog-shell) .coupon-grid,body:has(#coupon-form) .coupon-products{grid-template-columns:1fr!important}body:has(.catalog-shell) .metrics small{font-size:8px!important}body:has(.catalog-shell) .toolbar-actions{grid-template-columns:1fr!important}}

/* Neutraliza antigos destaques fixos por URL e mantém uma única aba realmente ativa. */
body:not(:has(#fr)) #bar .bar-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:6px!important}
body:not(:has(#fr)) #bar .bar-actions>a{width:auto!important;flex:0 1 auto!important}
body:not(:has(#fr)) #bar .bar-actions>a:not(.active):not([aria-current="page"]):not([href*="logout"]){border-color:#ffffff20!important;background:#ffffff0f!important;color:#eee7df!important;box-shadow:none!important}
body:not(:has(#fr)) #bar .bar-actions>a.active,body:not(:has(#fr)) #bar .bar-actions>a[aria-current="page"]{border-color:var(--gold)!important;background:var(--gold)!important;color:var(--ink)!important;box-shadow:0 5px 16px #ffc21a35,inset 0 -3px 0 var(--red)!important}
@media(max-width:900px){body:not(:has(#fr)) #bar .bar-actions>a{flex:1 1 110px!important}}
@media(max-width:520px){body:not(:has(#fr)) #bar .bar-actions>a{flex:1 1 28%!important}}


/* Listas: reduzir apenas a sobra no final do conteúdo rolável. */
body:has(.catalog-shell) .catalog-shell{padding-bottom:16px!important}
body:has(.catalog-shell) .product-list,body:has(.catalog-shell) .coupon-list{margin-bottom:0!important;padding-bottom:0!important}
body:has(#bar)>.wrap{padding-bottom:18px!important}
body:has(.finance-shell) .finance-shell{padding-bottom:18px!important}
body.editor-page .editor-wrap{padding-bottom:18px!important}
@media(max-width:620px){body:has(.catalog-shell) .catalog-shell{padding-bottom:10px!important}body:has(#bar)>.wrap{padding-bottom:12px!important}body:has(.finance-shell) .finance-shell{padding-bottom:12px!important}body.editor-page .editor-wrap{padding-bottom:12px!important}}


/* Cabeçalho administrativo: centralizar ícones de navegação em todas as telas. */
body:not(:has(#fr)) #bar .bar-actions>a{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
body:not(:has(#fr)) #bar .bar-actions>a .nav-icon{box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;line-height:1!important;text-align:center!important;vertical-align:middle!important}


/* Cabeçalho administrativo único — padrão anterior do Editar loja em todas as telas. */
body:not(:has(#fr)) #bar{position:sticky!important;top:0!important;z-index:50!important;display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-bottom:3px solid var(--gold)!important;border-radius:0!important;background:var(--ink)!important;box-shadow:0 8px 24px #17131026!important;color:#fff!important}
body:not(:has(#fr)) #bar .brand-line{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;width:min(1180px,100%)!important;height:58px!important;margin:0 auto!important;padding:0 20px!important;border:0!important}
body:not(:has(#fr)) #bar .brand-line>b{display:flex!important;align-items:center!important;gap:10px!important;color:#fff!important;font:800 20px/1 var(--display)!important;letter-spacing:-.04em!important}
body:not(:has(#fr)) #bar .brand-icon{display:grid!important;place-items:center!important;flex:none!important;width:32px!important;height:32px!important;min-width:32px!important;padding:3px!important;overflow:hidden!important;border:2px solid var(--gold)!important;border-radius:10px!important;background:#080706!important;color:transparent!important;font-size:0!important;line-height:0!important;box-shadow:none!important}
body:not(:has(#fr)) #bar .brand-icon img{display:block!important;width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;margin:auto!important;object-fit:contain!important;object-position:center!important}
body:not(:has(#fr)) #bar .bar-bottom{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;gap:14px!important;width:min(1180px,100%)!important;min-width:0!important;min-height:62px!important;margin:0 auto!important;padding:10px 20px!important;border-top:1px solid #ffffff18!important}
body:not(:has(#fr)) #bar .user-profile{display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 180px!important;min-width:0!important;max-width:180px!important;padding:5px 10px 5px 5px!important;border:1px solid #ffffff22!important;border-radius:12px!important;background:#ffffff0a!important;box-shadow:none!important}
body:not(:has(#fr)) #bar .user-avatar{display:grid!important;place-items:center!important;flex:none!important;width:32px!important;height:32px!important;border:0!important;border-radius:9px!important;background:var(--gold)!important;color:var(--ink)!important;font:800 14px/1 var(--body)!important}
body:not(:has(#fr)) #bar .user-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
body:not(:has(#fr)) #bar .user-copy strong{overflow:hidden!important;max-width:145px!important;color:#fff!important;font:700 12px/1.1 var(--body)!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body:not(:has(#fr)) #bar .user-copy small{display:inline-flex!important;align-items:center!important;align-self:flex-start!important;padding:3px 7px!important;border:1px solid #f6c74a4d!important;border-radius:100px!important;background:#f6c74a17!important;color:#f6c74a!important;font:800 9px/1 var(--body)!important;letter-spacing:.8px!important;text-transform:uppercase!important}
body:not(:has(#fr)) #bar .bar-bottom>.sp{display:block!important;flex:1 1 auto!important}
body:not(:has(#fr)) #bar .bar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:1 1 auto!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important;max-width:100%!important}
body:not(:has(#fr)) #bar .bar-actions>a{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 92px!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;min-height:38px!important;height:38px!important;margin:0!important;padding:9px 8px!important;gap:6px!important;overflow:hidden!important;border:1px solid #ffffff20!important;border-radius:9px!important;background:#ffffff08!important;color:#eee7df!important;font:700 11px/1 var(--body)!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important;transition:transform .18s,background .18s,border-color .18s,box-shadow .18s!important}
body:not(:has(#fr)) #bar .bar-actions>a:not(.active):not([aria-current="page"]):not([href*="logout"]){border-color:#ffffff20!important;background:#ffffff08!important;color:#eee7df!important;box-shadow:none!important}
body:not(:has(#fr)) #bar .bar-actions>a:hover{transform:translateY(-2px)!important;border-color:var(--gold)!important;background:var(--ink2)!important;color:var(--gold)!important;box-shadow:0 8px 18px #0004!important}
body:not(:has(#fr)) #bar .bar-actions>a.active,body:not(:has(#fr)) #bar .bar-actions>a[aria-current="page"]{position:relative!important;z-index:2!important;transform:none!important;border-color:var(--gold)!important;background:var(--gold)!important;color:var(--ink)!important;box-shadow:inset 0 -3px 0 var(--red)!important}
body:not(:has(#fr)) #bar .bar-actions>a[href*="logout"]{border-color:#ef817566!important;background:linear-gradient(135deg,#d52c2e,#a91d20)!important;color:#fff!important}
body:not(:has(#fr)) #bar .bar-actions>a:before{content:none!important;display:none!important}
body:not(:has(#fr)) #bar .bar-actions>a .nav-icon{box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1!important;text-align:center!important;vertical-align:middle!important}
@media(max-width:900px){body:not(:has(#fr)) #bar{position:relative!important}body:not(:has(#fr)) #bar .bar-bottom{flex-wrap:wrap!important}body:not(:has(#fr)) #bar .bar-bottom>.sp{display:none!important}body:not(:has(#fr)) #bar .user-profile{flex:1 1 180px!important;min-width:0!important;max-width:none!important}body:not(:has(#fr)) #bar .bar-actions{flex:1 1 100%!important;justify-content:stretch!important}body:not(:has(#fr)) #bar .bar-actions>a{flex:1 1 0!important}}
@media(max-width:700px){body:not(:has(#fr)) #bar{padding:0!important}body:not(:has(#fr)) #bar .brand-line{height:54px!important;padding:0 14px!important}body:not(:has(#fr)) #bar .brand-line>b{font-size:17px!important}body:not(:has(#fr)) #bar .bar-bottom{gap:8px!important;padding:9px 14px 12px!important}body:not(:has(#fr)) #bar .user-profile{order:0!important;flex:1 1 100%!important;min-width:0!important}body:not(:has(#fr)) #bar .bar-bottom>.sp{display:none!important}body:not(:has(#fr)) #bar .bar-actions{order:2!important;width:100%!important;display:flex!important;gap:5px!important}body:not(:has(#fr)) #bar .bar-actions>a{padding:8px 6px!important;font-size:10px!important}}
@media(max-width:520px){body:not(:has(#fr)) #bar .bar-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(:has(#fr)) #bar .bar-actions>a{min-height:36px!important;height:36px!important;padding:8px 6px!important;font-size:10px!important}body:not(:has(#fr)) #bar .bar-actions>a .nav-icon{flex-basis:18px!important;width:18px!important;height:18px!important;font-size:13px!important}}


/* Tabs do cabeçalho: recuperar o desenho anterior, compartilhado entre todas as telas. */
body:not(:has(#fr)) #bar .bar-actions{display:flex!important;align-items:center!important;flex:1 1 auto!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:6px!important;min-width:0!important;max-width:100%!important}
body:not(:has(#fr)) #bar .bar-actions>a{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;min-height:38px!important;height:38px!important;margin:0!important;padding:9px 12px!important;gap:6px!important;overflow:hidden!important;border:1px solid #ffffff2d!important;border-radius:10px!important;background:#ffffff0f!important;color:#f8f2eb!important;font:700 11px/1 var(--body)!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important;transition:transform .18s,background .18s,border-color .18s,box-shadow .18s!important}
body:not(:has(#fr)) #bar .bar-actions>a:not(.active):not([aria-current="page"]):not([href*="logout"]){border-color:#ffffff20!important;background:#ffffff0f!important;color:#eee7df!important;box-shadow:none!important}
body:not(:has(#fr)) #bar .bar-actions>a:hover{transform:translateY(-2px)!important;border-color:#f6c74a99!important;background:#f6c74a1c!important;color:#fff!important;box-shadow:0 9px 20px #0004!important}
body:not(:has(#fr)) #bar .bar-actions>a.active,body:not(:has(#fr)) #bar .bar-actions>a[aria-current="page"]{transform:none!important;border-color:var(--gold)!important;background:var(--gold)!important;color:var(--ink)!important;box-shadow:inset 0 -3px 0 var(--red)!important}
body:not(:has(#fr)) #bar .bar-actions>a[href*="logout"]{border-color:#ef817566!important;background:linear-gradient(135deg,#d52c2e,#a91d20)!important;color:#fff!important}
body:not(:has(#fr)) #bar .bar-actions>a:before{content:none!important;display:none!important}
body:not(:has(#fr)) #bar .bar-actions>a .nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1!important;text-align:center!important}
@media(max-width:900px){body:not(:has(#fr)) #bar .bar-actions{width:100%!important;max-width:100%!important;justify-content:stretch!important;gap:6px!important}body:not(:has(#fr)) #bar .bar-actions>a{flex:1 1 110px!important}}
@media(max-width:520px){body:not(:has(#fr)) #bar .bar-actions{display:flex!important;gap:5px!important}body:not(:has(#fr)) #bar .bar-actions>a{flex:1 1 28%!important;min-height:36px!important;height:auto!important;padding:8px 5px!important;font-size:10px!important}}


/* Marca circular e aro decorativo: mesmo cabeçalho em todas as páginas administrativas. */
body:not(:has(#fr)) #bar{overflow:visible!important}
body:not(:has(#fr)) #bar:after{content:''!important;position:absolute!important;right:7%!important;top:-138px!important;width:300px!important;height:300px!important;border:1px solid #f6c74a45!important;border-radius:50%!important;box-shadow:0 0 0 34px #f6c74a08,0 0 0 68px #f6c74a04!important;pointer-events:none!important;z-index:0!important}
body:not(:has(#fr)) #bar .brand-icon{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;padding:4px!important;overflow:hidden!important;border:1px solid #f6c74a99!important;border-radius:50%!important;background:#050505!important;font-size:0!important;line-height:0!important;box-shadow:0 0 0 3px #f6c74a22,0 6px 14px #0005!important}
body:not(:has(#fr)) #bar .brand-icon img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:auto!important;object-fit:contain!important;object-position:center!important}

/* Produtos e cupons: cards, formulário e catálogo com hierarquia mais clara. */
body:not(:has(#fr)):has(.catalog-shell){overflow-x:clip!important}
body:not(:has(#fr)) .catalog-shell{width:min(1240px,100%)!important;margin:0 auto!important;padding:38px clamp(14px,3vw,32px) 62px!important}
body:not(:has(#fr)) .page-intro{align-items:center!important;margin-bottom:24px!important}
body:not(:has(#fr)) .page-intro h1{font-size:clamp(42px,5vw,58px)!important;letter-spacing:-.035em!important}
body:not(:has(#fr)) .page-intro p{max-width:590px!important;line-height:1.65!important}
body:not(:has(#fr)) .metrics>div{position:relative!important;min-width:0!important;overflow:hidden!important;border-radius:17px!important;background:linear-gradient(145deg,#fffdfa,#fff8f1)!important;box-shadow:0 10px 28px #3a1d1010!important;transition:transform .2s,border-color .2s,box-shadow .2s!important}
body:not(:has(#fr)) .metrics>div:before{content:''!important;position:absolute!important;inset:0 auto 0 0!important;width:4px!important;background:linear-gradient(180deg,#f3c54c,#d52c2e)!important}
body:not(:has(#fr)) .metrics>div:hover{transform:translateY(-3px)!important;border-color:#d8b575!important;box-shadow:0 15px 32px #3a1d1018!important}
body:not(:has(#fr)) .metrics small{font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important}
body:not(:has(#fr)) .editor-card{position:relative!important;overflow:hidden!important;border:1px solid #56392c!important;border-radius:22px!important;background:radial-gradient(circle at 94% 0,#59271d 0,transparent 32%),linear-gradient(135deg,#1b1613,#302019)!important;box-shadow:0 20px 48px #2b160b25!important}
body:not(:has(#fr)) .editor-card:after{content:''!important;position:absolute!important;right:-50px!important;top:-90px!important;width:220px!important;height:220px!important;border:1px solid #f6c74a28!important;border-radius:50%!important;box-shadow:0 0 0 28px #f6c74a06,0 0 0 56px #f6c74a03!important;pointer-events:none!important}
body:not(:has(#fr)) .editor-card>*{position:relative!important;z-index:1!important}
body:not(:has(#fr)) .card-heading h2{font-size:34px!important;letter-spacing:-.02em!important}
body:not(:has(#fr)) .catalog-toolbar{align-items:center!important;margin:0 0 18px!important}
body:not(:has(#fr)) .catalog-toolbar h2{font-size:38px!important;letter-spacing:-.025em!important}
body:not(:has(#fr)) .toolbar-actions input,body:not(:has(#fr)) .toolbar-actions select{min-height:42px!important;border-color:#e3d7cc!important;border-radius:11px!important;box-shadow:0 3px 10px #3a1d1008!important}
body:not(:has(#fr)) .product-list,body:not(:has(#fr)) .coupon-list{min-width:0!important;max-width:100%!important;gap:14px!important}
body:not(:has(#fr)) .coupon-metrics>div:nth-child(1):before{background:linear-gradient(180deg,#f3c54c,#d52c2e)!important}
body:not(:has(#fr)) .coupon-metrics>div:nth-child(2):before{background:linear-gradient(180deg,#62c48d,#21805f)!important}
body:not(:has(#fr)) .coupon-metrics>div:nth-child(3):before{background:linear-gradient(180deg,#8bb9e7,#4974a5)!important}
body:not(:has(#fr)) .coupon-products{max-height:250px!important;overflow:auto!important;overscroll-behavior:contain!important;border:1px solid #eadfd4!important;border-radius:14px!important;background:linear-gradient(145deg,#fffdfa,#fff8f1)!important}
body:not(:has(#fr)) .coupon-products label{min-width:0!important;padding:8px 9px!important;border:1px solid transparent!important;border-radius:9px!important;transition:background .16s,border-color .16s!important}
body:not(:has(#fr)) .coupon-products label:hover{border-color:#ead7bd!important;background:#fff!important}
body:not(:has(#fr)) .coupon-row{position:relative!important;min-width:0!important;overflow:hidden!important;grid-template-columns:minmax(0,1fr) auto!important;padding:17px 20px!important;border-radius:16px!important;border-color:#eadfd4!important;background:linear-gradient(135deg,#fffdfa,#fff8f1)!important;box-shadow:0 8px 24px #3a1d100b!important;transition:transform .2s,border-color .2s,box-shadow .2s!important}
body:not(:has(#fr)) .coupon-row:before{content:''!important;position:absolute!important;inset:0 auto 0 0!important;width:4px!important;background:linear-gradient(180deg,#f3c54c,#d52c2e)!important}
body:not(:has(#fr)) .coupon-row:hover{transform:translateY(-2px)!important;border-color:#d8b575!important;box-shadow:0 14px 30px #3a1d1018!important}
body:not(:has(#fr)) .coupon-row strong{display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:6px 11px!important;border:1px dashed #dfcbb9!important;border-radius:9px!important;background:#fff7ee!important;color:#a52125!important;font-size:21px!important;letter-spacing:.055em!important}
body:not(:has(#fr)) .coupon-meta{margin-top:8px!important;font-size:12px!important;line-height:1.55!important}
body:not(:has(#fr)) .coupon-status{padding:7px 10px!important;letter-spacing:.06em!important}
body:not(:has(#fr)) .coupon-actions .button{min-height:36px!important}

/* Financeiro: resumo em destaque e tabela rolável sem sobra lateral. */
body:not(:has(#fr)):has(.finance-shell){overflow-x:clip!important}
body:not(:has(#fr)) .finance-shell{width:min(1180px,100%)!important;padding:36px clamp(14px,3vw,32px) 62px!important}
body:not(:has(#fr)) .finance-hero{position:relative!important;isolation:isolate!important;overflow:hidden!important;align-items:center!important;min-height:205px!important;margin-bottom:24px!important;padding:30px clamp(20px,4vw,38px)!important;border:1px solid #ffffff16!important;border-radius:23px!important;background:radial-gradient(circle at 90% 10%,#65271d 0,#3d2118 30%,transparent 58%),linear-gradient(135deg,#191512,#302018)!important;box-shadow:0 18px 42px #32170b20!important;color:#fff!important}
body:not(:has(#fr)) .finance-hero:after{content:''!important;position:absolute!important;z-index:-1!important;right:-75px!important;bottom:-200px!important;width:340px!important;height:340px!important;border:1px solid #f6c74a3d!important;border-radius:50%!important;box-shadow:0 0 0 42px #f6c74a08,0 0 0 84px #f6c74a04!important;pointer-events:none!important}
body:not(:has(#fr)) .finance-hero .eyebrow{color:#f6c74a!important}
body:not(:has(#fr)) .finance-hero h1{color:#fff!important;font-size:clamp(38px,5vw,56px)!important;letter-spacing:-.025em!important}
body:not(:has(#fr)) .finance-hero p{color:#d9cbc0!important;line-height:1.65!important}
body:not(:has(#fr)) .finance-metrics{gap:12px!important;margin-bottom:22px!important}
body:not(:has(#fr)) .finance-metrics article{overflow:hidden!important;border-radius:17px!important;background:linear-gradient(145deg,#fffdfa,#fff8f1)!important;box-shadow:0 10px 28px #3a1d1010!important;transition:transform .2s,border-color .2s,box-shadow .2s!important}
body:not(:has(#fr)) .finance-metrics article:hover{transform:translateY(-3px)!important;border-color:#d8b575!important;box-shadow:0 16px 32px #3a1d1018!important}
body:not(:has(#fr)) .finance-metrics strong{font-size:clamp(26px,3vw,34px)!important;font-variant-numeric:tabular-nums!important}
body:not(:has(#fr)) .finance-card{min-width:0!important;padding:clamp(15px,2vw,23px)!important;border-radius:20px!important}
body:not(:has(#fr)) .finance-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;scroll-padding-inline:0!important;padding:0 0 4px!important;border-radius:12px!important}
body:not(:has(#fr)) .finance-table{width:max-content!important;min-width:100%!important;max-width:none!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important}
body:not(:has(#fr)) .finance-table th,body:not(:has(#fr)) .finance-table td{white-space:nowrap!important}
body:not(:has(#fr)) .finance-table td:nth-child(2){max-width:190px!important;overflow:hidden!important;text-overflow:ellipsis!important}
body:not(:has(#fr)) .finance-table th:last-child,body:not(:has(#fr)) .finance-table td:last-child{padding-right:12px!important}
body:not(:has(#fr)) .payment-actions{min-width:126px!important}
@media(max-width:700px){body:not(:has(#fr)) .catalog-shell{padding:26px 14px 48px!important}body:not(:has(#fr)) .page-intro h1{font-size:44px!important}body:not(:has(#fr)) .metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}body:not(:has(#fr)) .finance-shell{padding:24px 14px 48px!important}body:not(:has(#fr)) .finance-hero{display:block!important;min-height:0!important;padding:24px 20px!important;border-radius:19px!important}body:not(:has(#fr)) .finance-hero h1{font-size:42px!important}body:not(:has(#fr)) .finance-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}body:not(:has(#fr)) .finance-metrics article{padding:13px!important}body:not(:has(#fr)) .metric-icon{top:10px!important;right:10px!important;width:29px!important;height:29px!important}}
@media(max-width:520px){body:not(:has(#fr)) .metrics{grid-template-columns:1fr!important}body:not(:has(#fr)) .catalog-toolbar{align-items:stretch!important}body:not(:has(#fr)) .toolbar-actions{flex-wrap:wrap!important}body:not(:has(#fr)) .toolbar-actions input,body:not(:has(#fr)) .toolbar-actions select{width:100%!important}body:not(:has(#fr)) .coupon-row{display:block!important;padding:15px 15px 15px 18px!important}body:not(:has(#fr)) .coupon-actions{justify-content:space-between!important;margin-top:12px!important}body:not(:has(#fr)) .finance-hero h1{font-size:38px!important}body:not(:has(#fr)) .finance-metrics{grid-template-columns:1fr!important}body:not(:has(#fr)) .finance-metrics article{padding:16px!important}body:not(:has(#fr)) .finance-table-wrap{margin-right:-2px!important}}


/* Admin: a rolagem fica nas tabelas, não cria uma faixa branca no fim da página. */
body:has(#tbl-users){overflow-x:clip!important}
body:has(#tbl-users)>.wrap{width:min(1180px,100%)!important;max-width:100%!important;min-width:0!important;overflow-x:clip!important}
body:has(#tbl-users) .table-scroll{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;scroll-padding-inline:0!important;scrollbar-gutter:auto!important}
body:has(#tbl-users) .table-scroll>table{display:table!important;width:max-content!important;min-width:100%!important;max-width:none!important;margin:0!important;table-layout:auto!important;overflow:visible!important;white-space:nowrap!important}
body:has(#tbl-users) .audit-card .table-scroll>table{width:max-content!important;min-width:620px!important;max-width:none!important}
@media(max-width:760px){body:has(#tbl-users) .user-table-card .table-scroll{overflow:visible!important}body:has(#tbl-users) .user-table-card #tbl-users{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important}body:has(#tbl-users) .audit-card .table-scroll{overflow-x:auto!important;overflow-y:hidden!important}}


/* Visão geral: mesmo cabeçalho compartilhado, mantendo a estrutura do iframe do PDV. */
body:has(#fr) #bar{position:relative!important;inset:auto!important;z-index:100!important;display:block!important;flex:0 0 auto!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-bottom:3px solid var(--gold)!important;border-radius:0!important;background:var(--ink)!important;box-shadow:0 8px 24px #17131026!important;color:#fff!important}
body:has(#fr) #bar:after{content:''!important;position:absolute!important;right:7%!important;top:-138px!important;width:300px!important;height:300px!important;border:1px solid #f6c74a45!important;border-radius:50%!important;box-shadow:0 0 0 34px #f6c74a08,0 0 0 68px #f6c74a04!important;pointer-events:none!important;z-index:0!important}
body:has(#fr) #bar .brand-line{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;width:min(1180px,100%)!important;height:58px!important;min-height:58px!important;margin:0 auto!important;padding:0 20px!important;border:0!important}
body:has(#fr) #bar .brand-line>b{display:flex!important;align-items:center!important;gap:10px!important;color:#fff!important;font:800 20px/1 var(--display,'DM Sans',sans-serif)!important;letter-spacing:-.04em!important}
body:has(#fr) #bar .brand-icon{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;padding:4px!important;overflow:hidden!important;border:1px solid #f6c74a99!important;border-radius:50%!important;background:#050505!important;box-shadow:0 0 0 3px #f6c74a22,0 6px 14px #0005!important}
body:has(#fr) #bar .brand-icon img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:auto!important;object-fit:contain!important;object-position:center!important}
body:has(#fr) #bar .bar-bottom{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;gap:14px!important;width:min(1180px,100%)!important;min-width:0!important;min-height:62px!important;height:auto!important;margin:0 auto!important;padding:10px 20px!important;border-top:1px solid #ffffff18!important;visibility:visible!important;overflow:visible!important}
body:has(#fr) #bar .user-profile{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 180px!important;min-width:0!important;max-width:180px!important;padding:5px 10px 5px 5px!important;border:1px solid #ffffff22!important;border-radius:12px!important;background:#ffffff0a!important;box-shadow:none!important;transform:none!important}
body:has(#fr) #bar .user-avatar{display:grid!important;place-items:center!important;flex:none!important;width:32px!important;height:32px!important;border:0!important;border-radius:9px!important;background:var(--gold)!important;color:var(--ink)!important;font:800 14px/1 var(--body)!important;box-shadow:none!important}
body:has(#fr) #bar .user-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
body:has(#fr) #bar .user-copy strong{overflow:hidden!important;max-width:145px!important;color:#fff!important;font:700 12px/1.1 var(--body)!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body:has(#fr) #bar .user-copy small{display:inline-flex!important;align-items:center!important;align-self:flex-start!important;padding:3px 7px!important;border:1px solid #f6c74a4d!important;border-radius:100px!important;background:#f6c74a17!important;color:#f6c74a!important;font:800 9px/1 var(--body)!important;letter-spacing:.8px!important;text-transform:uppercase!important}
body:has(#fr) #bar .bar-bottom>.sp{display:block!important;flex:1 1 auto!important;width:auto!important}
body:has(#fr) #bar .bar-actions{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:1 1 auto!important;flex-wrap:wrap!important;gap:6px!important;width:auto!important;min-width:0!important;max-width:100%!important;visibility:visible!important;opacity:1!important}
body:has(#fr) #bar .bar-actions>a{position:relative!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;min-height:38px!important;height:38px!important;margin:0!important;padding:9px 12px!important;gap:6px!important;overflow:hidden!important;border:1px solid #ffffff2d!important;border-radius:10px!important;background:#ffffff0f!important;color:#f8f2eb!important;font:700 11px/1 var(--body)!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important;transition:transform .18s,background .18s,border-color .18s,box-shadow .18s!important;visibility:visible!important;opacity:1!important}
body:has(#fr) #bar .bar-actions>a:not(.active):not([aria-current="page"]):not([href*="logout"]){border-color:#ffffff20!important;background:#ffffff0f!important;color:#eee7df!important;box-shadow:none!important}
body:has(#fr) #bar .bar-actions>a:hover{transform:translateY(-2px)!important;border-color:#f6c74a99!important;background:#f6c74a1c!important;color:#fff!important;box-shadow:0 9px 20px #0004!important}
body:has(#fr) #bar .bar-actions>a.active,body:has(#fr) #bar .bar-actions>a[aria-current="page"]{transform:none!important;border-color:var(--gold)!important;background:var(--gold)!important;color:var(--ink)!important;box-shadow:inset 0 -3px 0 var(--red)!important}
body:has(#fr) #bar .bar-actions>a[href*="logout"]{border-color:#ef817566!important;background:linear-gradient(135deg,#d52c2e,#a91d20)!important;color:#fff!important}
body:has(#fr) #bar .bar-actions>a:before{content:none!important;display:none!important}
body:has(#fr) #bar .bar-actions>a .nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1!important;text-align:center!important}
@media(max-width:900px){body:has(#fr) #bar{position:relative!important}body:has(#fr) #bar .bar-bottom{flex-wrap:wrap!important}body:has(#fr) #bar .bar-bottom>.sp{display:none!important}body:has(#fr) #bar .user-profile{flex:1 1 180px!important;min-width:0!important;max-width:none!important}body:has(#fr) #bar .bar-actions{flex:1 1 100%!important;justify-content:stretch!important;width:100%!important}body:has(#fr) #bar .bar-actions>a{flex:1 1 110px!important}}
@media(max-width:700px){body:has(#fr) #bar .brand-line{height:54px!important;min-height:54px!important;padding:0 14px!important}body:has(#fr) #bar .brand-line>b{font-size:17px!important}body:has(#fr) #bar .bar-bottom{gap:8px!important;padding:9px 14px 12px!important}body:has(#fr) #bar .user-profile{order:0!important;flex:1 1 100%!important;min-width:0!important}body:has(#fr) #bar .bar-actions{order:2!important;width:100%!important;display:flex!important;gap:5px!important}body:has(#fr) #bar .bar-actions>a{padding:8px 6px!important;font-size:10px!important}body:has(#fr) #fr{min-height:0!important}}
@media(max-width:520px){body:has(#fr) #bar .bar-actions>a{flex:1 1 28%!important;min-height:36px!important;height:auto!important;padding:8px 5px!important;font-size:10px!important}body:has(#fr) #bar .bar-actions>a .nav-icon{flex-basis:18px!important;width:18px!important;height:18px!important;font-size:13px!important}}

/* QR Pix: QRCode.js cria canvas + imagem auxiliar; exibir somente um deles. */
.static-pix [data-static-qr] img:not(.pix-qr-fallback){display:none!important}
.static-pix [data-static-qr] canvas{display:block!important}
.static-pix [data-static-qr] img.pix-qr-fallback{display:block!important}
