:root{--bg:#060b15;--panel:#0e1625;--panel2:#111e31;--border:#223148;--text:#edf4ff;--muted:#9bb0ca;--accent:#3c89ff;--green:#26d89e;--red:#fb7185;--yellow:#ffbf69}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.16;letter-spacing:-.032em}h1{font-size:clamp(34px,4.4vw,65px)}h2{font-size:clamp(24px,2.2vw,34px)}h3{font-size:19px}p{color:var(--muted)}.container{max-width:1310px;width:min(calc(100% - 48px),1310px);margin:auto}.topbar{height:78px;display:flex;align-items:center;gap:30px;border-bottom:1px solid var(--border);padding:0 max(24px,calc((100vw - 1310px)/2));position:sticky;top:0;background:rgba(6,11,21,.93);z-index:40;backdrop-filter:blur(15px)}.brand{display:flex;align-items:center;gap:12px;font-size:19px;letter-spacing:.06em;white-space:nowrap}.brand img{width:48px;height:48px;object-fit:contain}.brand b{color:var(--accent)}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:.12em}.toplinks{display:flex;gap:25px;margin-left:auto}.toplinks a{color:#bbd0e9;font-size:13px}.toplinks a:hover{color:white}.chip{background:#102c2b;border:1px solid #1b5650;color:#6af5cb;border-radius:999px;padding:8px 13px;font-weight:700;font-size:11px;white-space:nowrap}.btn{border:1px solid var(--border);background:#131d30;color:var(--text);border-radius:11px;padding:12px 18px;font-weight:700;display:inline-flex;gap:10px;align-items:center;justify-content:center;transition:transform .22s,background .22s,border-color .22s,box-shadow .22s;font-size:13px;min-height:43px}.btn:hover{transform:translateY(-2px);border-color:var(--accent);background:#1a3155}.btn.primary{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 10px 29px rgba(60,137,255,.16)}.btn.primary:hover{background:#2869da}.btn.red{color:#ff9aad}.btn.small{padding:8px 11px;min-height:34px;font-size:12px}.btn.block{width:100%}.btn.ghost{background:transparent}.hero{margin-top:46px;min-height:365px;padding:70px clamp(30px,6vw,85px);display:flex;align-items:center;position:relative;overflow:hidden;border:1px solid #254065;border-radius:27px;background:linear-gradient(95deg,rgba(7,16,34,.98) 36%,rgba(18,53,105,.75) 100%),radial-gradient(circle at 82% 50%,#3d8aff 0,transparent 46%)}.hero:before,.hero:after{content:"";position:absolute;right:8%;top:50%;width:270px;height:270px;border-radius:50%;border:1px solid #3978cf;box-shadow:0 0 0 37px #21529a26,0 0 0 76px #21529a14;transform:translateY(-50%);animation:float 7s ease-in-out infinite}.hero:after{width:130px;height:130px;right:12%;background:radial-gradient(circle,#2e7de559,#07365c33);border:1px solid #63b9ff65;animation:float 5s ease-in-out infinite reverse}.hero>div{position:relative;z-index:1;max-width:650px}.eyebrow{font-size:11px;letter-spacing:.16em;color:#67adff;font-weight:800}.hero h1{margin:20px 0;max-width:700px}.hero h1 em{font-style:normal;color:#72b4ff}.hero p{max-width:560px;font-size:17px;line-height:1.7}.hero .btn{margin-top:10px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0 75px}.benefits>div{border:1px solid var(--border);background:var(--panel);padding:19px 21px;border-radius:14px;color:#c8d8ed;font-size:13px}.benefits b{color:var(--green);font-size:17px;margin-right:10px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:22px}.section-head p{margin:8px 0 0}.section-head h2{margin:7px 0 0}.search-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.input,input,select,textarea{color:var(--text);background:#070e1b;border:1px solid #2a3951;border-radius:9px;padding:12px 13px;outline:none;width:100%;min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2d81f329}textarea{resize:vertical;min-height:108px}.search-row input{max-width:280px}.pillbar{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 25px}.pill{border:1px solid var(--border);background:#101a2b;color:#c0d4ef;border-radius:999px;padding:9px 17px;font-size:12px;font-weight:700}.pill.selected,.pill:hover{background:#123365;color:#fff;border-color:#357cdb}.grid-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.product{border:1px solid var(--border);border-radius:17px;background:linear-gradient(180deg,#111b2b,#0d1421);overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s;animation:rise .35s both}.product:hover{transform:translateY(-5px);border-color:#3979c7;box-shadow:0 20px 42px #0006}.product-pic{height:192px;background:radial-gradient(ellipse at 65% 30%,#24518b,#142236 48%,#0c1626);display:flex;align-items:center;justify-content:center;position:relative}.product-pic img{width:100%;height:100%;object-fit:cover}.product-pic .placeholder{font-size:58px;font-weight:900;color:#8fc8ff;letter-spacing:-.08em;filter:drop-shadow(0 0 25px #3488e9aa)}.ribbon{position:absolute;top:13px;left:13px;background:#122e42;border:1px solid #1a7377;color:#69f4c8;padding:6px 10px;border-radius:7px;font-size:10px;font-weight:800}.product-body{padding:20px}.product-body h3{font-size:17px;min-height:41px;margin:8px 0 11px}.product-body p{font-size:12px;min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.category-label{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#83a4d8;font-weight:800}.price{font-size:23px;font-weight:850;letter-spacing:-.035em}.compare{font-size:12px;color:#8394ad;text-decoration:line-through;margin-left:7px}.product-actions{display:flex;gap:8px;margin-top:17px}.product-actions .btn{flex:1;padding:9px}.feature-panel{margin:80px 0;border:1px solid #28466b;background:radial-gradient(ellipse at 5% 20%,#1b4c7133,transparent 60%),#0f1929;padding:35px;border-radius:21px;display:flex;justify-content:space-between;align-items:center;gap:30px}.footer{border-top:1px solid var(--border);margin-top:75px;padding:36px 0;color:#8ba4c3}.footer>div{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.muted,.help{color:var(--muted)}.help{font-size:12px}.page{padding:54px 0 80px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:25px}.panel{border:1px solid var(--border);border-radius:15px;background:var(--panel);padding:24px}.panel+.panel{margin-top:18px}.stack{display:grid;gap:15px}.field{display:grid;gap:7px}.field label{font-size:12px;color:#bed0e8;font-weight:750}.field .hint{font-size:11px;color:#8ba4c3}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.fields.three{grid-template-columns:repeat(3,1fr)}.row{display:flex;align-items:center;justify-content:space-between;gap:15px}.row.wrap{flex-wrap:wrap}.checkbox-label{display:flex;gap:9px;align-items:center;font-size:13px;color:#cce0f6}.checkbox-label input{width:18px;height:18px}.summary{border-top:1px solid var(--border);padding-top:17px;margin-top:17px}.summary p{display:flex;justify-content:space-between;gap:12px;margin:10px 0}.summary strong{font-size:21px;color:white}.category-cover{height:132px;border-radius:14px;overflow:hidden;background:linear-gradient(125deg,#17345e,#0c1524);display:grid;place-items:center}.category-cover img{width:100%;height:100%;object-fit:cover}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 55px}.category-tile{background:var(--panel);border:1px solid var(--border);border-radius:15px;overflow:hidden;transition:transform .25s}.category-tile:hover{transform:translateY(-3px)}.category-tile b{display:block;padding:13px 15px}.article{max-width:850px;margin:auto}.article-body{line-height:1.86;color:#c7d6e9;white-space:pre-wrap}.article-body h2{margin-top:27px}.cart-button{background:#183765;border:1px solid #376bac;color:white;border-radius:10px;padding:10px 14px;font-weight:800}.mobile-menu{display:none}.drawer-shade{position:fixed;inset:0;background:#030711cc;z-index:80;backdrop-filter:blur(5px)}.drawer{position:fixed;z-index:81;top:0;right:0;bottom:0;background:#0d1625;border-left:1px solid var(--border);width:min(440px,100vw);padding:27px;display:flex;flex-direction:column;box-shadow:-20px 0 70px #0008;animation:fromRight .25s both}.drawer>.content{overflow:auto;flex:1}.cart-line{padding:19px 0;border-bottom:1px solid var(--border);display:flex;gap:12px;align-items:center;justify-content:space-between}.overlay{position:fixed;inset:0;z-index:90;background:#000b;backdrop-filter:blur(7px);display:grid;place-items:center;padding:15px}.modal{max-height:94vh;overflow:auto;width:min(680px,100%);background:#0d1829;border:1px solid #2e4463;padding:26px;border-radius:19px;box-shadow:0 30px 80px #000b}.modal.large{width:min(880px,100%)}.modal h2{margin:0}.notice{padding:14px 16px;border-radius:10px;background:#1c3a4a;border:1px solid #2b6f82;color:#bef8eb;font-size:13px}.notice.warn{background:#47371b;border-color:#8c6933;color:#fce4b1}.notice.danger{background:#42202b;border-color:#a84b65;color:#ffbccb}.qr-image{background:white;padding:14px;border-radius:15px;width:min(270px,100%);margin:18px auto;display:block}.qr-code{font-family:monospace;word-break:break-all;padding:15px;border:1px dashed #35577a;color:#aac7e9;background:#061020;border-radius:10px;font-size:12px}.timer{font-variant-numeric:tabular-nums;font-weight:800;color:#68d8ff}.success-icon{font-size:65px;color:var(--green)}.admin-shell{display:grid;grid-template-columns:247px minmax(0,1fr);min-height:100vh}.admin-sidebar{background:#0c1320;border-right:1px solid var(--border);padding:22px 12px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto}.admin-sidebar .brand{margin:0 10px 23px;font-size:15px}.admin-sidebar .brand img{width:41px;height:41px}.nav-group{font-size:11px;color:#7e97b7;margin:24px 10px 10px;text-transform:uppercase;letter-spacing:.12em}.nav-item{border:0;border-radius:9px;padding:11px 13px;color:#c3d2e9;background:none;text-align:left;display:flex;gap:13px;align-items:center;margin:2px 0;font-size:13px;font-weight:700;width:100%;transition:background .2s}.nav-item:hover{background:#18243b}.nav-item.active{background:#092d2c;color:#44e4aa;outline:1px solid #17443f}.sidebar-bottom{margin-top:auto;padding-top:20px}.admin-main{min-width:0}.admin-top{height:74px;border-bottom:1px solid var(--border);padding:0 32px;display:flex;align-items:center;justify-content:space-between;background:#0b121e}.admin-area{padding:35px;max-width:1450px;margin:auto}.admin-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:29px}.admin-title h1{font-size:28px;margin-bottom:8px}.admin-title p{font-size:13px;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card{border:1px solid var(--border);border-radius:13px;padding:20px;background:var(--panel);min-height:123px}.stat-card .kpi-icon{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:9px;background:#132d40;color:#7cbbff;font-size:17px;margin-bottom:9px}.stat-card p{font-size:12px;margin:0 0 4px}.stat-card strong{font-size:26px;letter-spacing:-.025em}.admin-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-top:17px}.bar-chart{height:175px;display:flex;align-items:end;gap:9px;padding-top:25px;border-bottom:1px solid #32506c}.bar-chart>div{flex:1;min-width:0;background:linear-gradient(#3d96ff,#21436e);border-radius:6px 6px 0 0;position:relative;min-height:3px;animation:grow 1s both}.bar-chart>div span{position:absolute;bottom:-24px;font-size:9px;color:var(--muted);left:50%;transform:translateX(-50%)}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:630px;font-size:13px}.data-table th{text-align:left;font-size:11px;color:#8fa8c9;text-transform:uppercase;font-weight:700;padding:14px 12px;background:#0a1220;border-bottom:1px solid var(--border)}.data-table td{padding:14px 12px;border-bottom:1px solid #243249;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table td strong{display:block;font-size:13px}.data-table small{color:var(--muted);font-size:11px}.status{display:inline-block;padding:5px 10px;border-radius:999px;background:#1c3046;color:#aed0ef;font-size:11px;font-weight:800}.status.paid{background:#12392f;color:#59edbc}.status.pending,.status.processing,.status.action_required{background:#3b2d18;color:#ffce77}.status.refunded,.status.charged_back,.status.canceled,.status.failed{background:#3b2131;color:#ff9ab0}.editor-header{display:flex;gap:17px;align-items:center;margin-bottom:22px}.form-shell{max-width:1150px}.form-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);gap:18px}.form-grid .panel{margin:0}.full{grid-column:1/-1}.table-actions{display:flex;gap:7px;align-items:center}.upload-box{border:1px dashed #406183;border-radius:12px;padding:22px;background:#0a1525;text-align:center}.upload-box input{width:100%;font-size:12px}.error-msg{color:#ff9fad}.empty{border:1px dashed #34465f;border-radius:14px;padding:50px;text-align:center;color:#adbed4}.empty strong{display:block;color:white;margin-bottom:10px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at top,#17447555,transparent 55%),#060c16}.login-card{width:min(450px,100%);padding:34px}.login-card .brand{margin-bottom:30px}.login-card h1{font-size:30px}.tab-highlight{color:#7db8ff}.mini-tag{border-radius:6px;padding:5px 8px;font-size:10px;font-weight:800;background:#18304a;color:#89b5e8}.row .mini-tag{white-space:nowrap}#toast{position:fixed;z-index:110;bottom:25px;right:24px;pointer-events:none;max-width:400px}#toast div{border-radius:11px;padding:15px 19px;margin-top:10px;border:1px solid #285c7b;background:#0e2b3e;color:#d9f3ff;box-shadow:0 10px 32px #000a;animation:rise .22s both}#toast .err{border-color:#9c3a57;background:#3b1c2d;color:#ffe3ed}@keyframes float{50%{transform:translateY(calc(-50% - 20px)) rotate(7deg)}}@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fromRight{from{transform:translateX(35px);opacity:.5}to{transform:translateX(0);opacity:1}}@keyframes grow{from{height:3px}to{height:var(--h)}}@media(max-width:1100px){.grid-products,.category-grid{grid-template-columns:repeat(3,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.toplinks{gap:15px}}@media(max-width:790px){.toplinks{display:none}.topbar{padding:0 20px;gap:10px}.topbar .chip{display:none}.topbar .cart-button{margin-left:auto}.container{width:min(calc(100% - 30px),1310px)}.hero{margin-top:20px;padding:40px 27px;min-height:345px}.hero:before,.hero:after{opacity:.23}.hero h1{font-size:39px}.benefits{grid-template-columns:1fr;gap:9px;margin-bottom:52px}.grid-products,.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-cols,.form-grid{grid-template-columns:1fr}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto;display:block;padding:14px}.admin-sidebar nav{display:flex;gap:5px;overflow-x:auto}.admin-sidebar .brand,.admin-sidebar .nav-group,.sidebar-bottom{display:none}.admin-sidebar .nav-item{min-width:max-content;font-size:12px;padding:9px}.admin-top{height:60px;padding:0 18px}.admin-area{padding:22px 15px}.admin-title{align-items:flex-start}.fields.three{grid-template-columns:1fr 1fr}.section-head{align-items:flex-start;flex-direction:column}.feature-panel{display:block}.feature-panel .btn{margin-top:15px}}@media(max-width:540px){.grid-products,.category-grid{grid-template-columns:1fr}.product-pic{height:210px}.hero h1{font-size:33px}.hero p{font-size:14px}.fields,.fields.three{grid-template-columns:1fr}.stats-grid{gap:9px}.stat-card{padding:14px}.stat-card strong{font-size:20px}.modal{padding:20px}.section-head h2{font-size:24px}.brand{font-size:15px}.brand img{width:39px;height:39px}.feature-panel{padding:25px}.admin-title h1{font-size:24px}}

.category-header{min-height:210px;display:flex;align-items:center;border:1px solid var(--border);border-radius:15px;padding:28px;background-size:cover;background-position:center}.category-header p{color:#d0e1f6}

/* Store v4.5: bounded product media, rich editor and checkout */
.data-table{table-layout:auto;width:100%;min-width:720px}
.data-table td{overflow-wrap:anywhere}
.data-table td:first-child{min-width:235px}
.data-table td>.row{justify-content:flex-start;min-width:0;max-width:350px}
.data-table td>.row>div{min-width:0;flex:1}
.data-table td>.row strong,.data-table td>.row small{overflow-wrap:anywhere}
.product-thumbnail{width:50px;height:50px;min-width:50px;max-width:50px;flex:0 0 50px;display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;background:#101d30;overflow:hidden}
.product-thumbnail img{display:block!important;width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important;object-fit:cover!important}
.product-detail{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,0.92fr);gap:24px;align-items:start;margin-top:26px}
.product-art{display:grid;place-items:center;min-height:420px;aspect-ratio:1/1;background:radial-gradient(circle at 60% 30%,#204b8240,#0e1625 70%);overflow:hidden;padding:22px}
.product-art img{display:block;width:100%;max-width:100%;max-height:530px;object-fit:contain;border-radius:11px}
.product-summary{display:flex;flex-direction:column;gap:19px;padding:30px;min-width:0}
.product-summary h1{font-size:clamp(28px,3.1vw,46px);margin:0;overflow-wrap:anywhere;line-height:1.16}
.product-summary .product-price{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap;padding:8px 0}
.product-summary .price{font-size:35px}
.product-summary .rich-content{max-height:none}
.product-summary .help{margin:0}
.rich-content{min-width:0;overflow-wrap:anywhere;color:#c7d6e9;line-height:1.75;white-space:normal}
.rich-content p{margin:0 0 14px;color:inherit}.rich-content h2{font-size:23px;margin:17px 0 10px}.rich-content h3{font-size:19px;margin:16px 0 8px}
.rich-content a{color:#73b7ff;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.rich-content ul,.rich-content ol{margin:12px 0;padding-left:24px}.rich-content li{padding:3px 0}
.rich-content blockquote{margin:15px 0;padding:8px 15px;border-left:3px solid var(--accent);background:#172338}
.rich-content strong{color:#f1f6ff}
.rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:10px;background:#151f31;border-bottom:1px solid #314662;border-radius:10px 10px 0 0}
.rich-toolbar button{color:#dce9fb;background:#27364a;border:1px solid #354961;border-radius:5px;min-width:34px;min-height:32px;padding:5px 8px;font-size:12px;font-weight:700}
.rich-toolbar button:hover,.rich-toolbar button:focus-visible{background:#34547e;outline:1px solid #74aafc}
.toolbar-divider{display:inline-block;height:23px;border-left:1px solid #435771;margin:0 3px}
.rich-editor{border:1px solid #2a3951;background:#070e1b;border-radius:11px;overflow:hidden}
.rich-editor:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #2d81f329}
.rich-surface{min-height:190px;max-height:480px;overflow:auto;background:#070e1b;color:#e6effc;padding:17px;outline:0;line-height:1.75;overflow-wrap:anywhere}
.rich-surface:empty::before{content:'Digite aqui a descrição e formate como desejar…';color:#657c99}
.rich-surface a{color:#70b4ff;text-decoration:underline}.rich-surface h2{font-size:22px}.rich-surface h3{font-size:18px}
.rich-surface p{margin-bottom:12px}.rich-surface ul,.rich-surface ol{padding-left:24px}
.rich-surface blockquote{border-left:3px solid var(--accent);padding-left:14px}
.rich-hidden{display:none!important}
.rule{width:100%;border:0;border-top:1px solid var(--border);margin:7px 0}
.order-page{max-width:1000px;padding-top:42px}
.payment-card{padding:32px;margin-top:18px}
.payment-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:26px;flex-wrap:wrap}
.payment-top h1,.completed h1{font-size:clamp(27px,3vw,42px);margin:8px 0 11px}
.payment-top p{margin:0}.payment-state{border:1px solid #3c5877;border-radius:999px;padding:8px 13px;color:#9fc6ef;font-size:12px;font-weight:700}
.payment-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:28px}
.payment-qr{text-align:center;background:#0a1220;border-radius:15px;padding:20px;border:1px solid var(--border)}
.qr-frame{width:min(280px,100%);aspect-ratio:1;margin:auto;border-radius:14px;background:white;display:grid;place-items:center;padding:14px}
.qr-frame img{width:100%;height:100%;display:block;object-fit:contain;image-rendering:auto}
.payment-instructions{min-width:0}.payment-instructions h2{font-size:22px}.payment-instructions ol{padding-left:22px;color:#b6cbe4;line-height:1.9}
.payment-instructions .qr-code{max-height:105px;overflow:auto;margin-bottom:11px;user-select:all}
.payment-instructions .btn{margin:0 0 10px}.payment-instructions .help{display:block;margin-top:12px}
.pix-expiry{border:1px solid #2d6483;border-radius:9px;background:#102b3f;padding:12px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#a6d6ff}
.pix-expiry strong{font-variant-numeric:tabular-nums;font-size:20px;color:#6ceaff}
.pix-expiry.expired{border-color:#93495e;background:#3d1f2c}.pix-expiry.expired strong{color:#ff9eaf}
.payment-card.completed{text-align:center;max-width:820px;margin:20px auto;padding:40px}.payment-card.completed .notice{margin:25px 0}
.payment-steps{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:25px 0}.payment-steps>div{background:#102c2b;color:#7cebc6;border:1px solid #245247;border-radius:10px;padding:10px 12px;font-size:12px}
.payment-card.completed .pix-expiry{max-width:390px;margin:18px auto 24px}.eyebrow.green{color:#60f3bd}
@media(max-width:900px){.product-detail{grid-template-columns:1fr}.product-art{min-height:280px;aspect-ratio:1.25/1}.product-art img{max-height:440px}.payment-layout{grid-template-columns:1fr}.payment-card{padding:20px}.payment-qr{max-width:480px;width:100%;margin:auto}.admin-area{padding:20px}.admin-top{padding:0 14px}}
@media(max-width:540px){.payment-top h1{font-size:28px}.product-summary{padding:21px}.product-art{min-height:230px}.rich-toolbar{gap:4px}.rich-toolbar button{font-size:11px;min-width:31px}.payment-card{padding:15px}.payment-card.completed{padding:26px 17px}.payment-instructions{padding:0 2px}}

/* Pisol Store 4.6 — interface administrativa, catálogo e editor responsivos */
:root{--border:#28354b;--panel:#101927;--panel2:#151f30;--muted:#9dafc7}
body{background:radial-gradient(ellipse 55% 30% at 82% 0%,#14254130,transparent 70%),#060b15}
.icon{display:inline-block;vertical-align:middle;flex:0 0 auto;stroke:currentColor}
.btn .icon,.chip .icon,.eyebrow .icon{margin-right:2px}
.btn{box-shadow:none}
.btn:focus-visible,.nav-item:focus-visible,.pill:focus-visible,.category-tile:focus-visible{outline:2px solid #7db8ff;outline-offset:3px}
button,.btn{touch-action:manipulation}

/* Barra e navegação do painel */
.nav-item{display:flex;align-items:center;gap:10px}
.nav-icon{width:22px;height:22px;display:grid;place-items:center;color:#a5b8d5}
.nav-item.active .nav-icon{color:#38d3a9}
.admin-area{max-width:1500px;padding:28px clamp(18px,3vw,42px)}
.admin-main,.admin-shell,.admin-area,.form-shell,.form-grid,.form-main,.form-side{min-width:0}
.form-shell{max-width:1370px;width:100%}
.editor-header{margin-bottom:18px}
.editor-header h1{margin:0;font-size:clamp(21px,2vw,29px)!important}
.editor-header .eyebrow{font-size:10px}
.form-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(278px,.85fr);gap:17px;align-items:start;width:100%}
.form-main,.form-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.form-grid>.full{grid-column:1/-1}
.form-grid .panel{padding:21px;border-radius:13px;min-width:0}
.form-grid .panel.stack{gap:15px}
.form-grid .panel h3{font-size:15px;margin:0;letter-spacing:-.01em}
.form-grid .field{min-width:0}
.form-grid .field>label{font-size:12px;letter-spacing:0}
.form-grid .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.form-grid input,.form-grid select,.form-grid textarea{font-size:13px;max-width:100%;width:100%;padding:10px 12px;border-radius:8px}
.form-grid input[type=file]{font-size:12px}
.form-grid textarea{min-height:84px}
.form-grid .hint,.form-grid .help{font-size:11px;line-height:1.55}
.form-grid .notice{font-size:12px;line-height:1.6}
.panel-head-small{display:flex;gap:10px;align-items:center;color:#85b7ff;margin-bottom:2px}
.panel-head-small h3{color:#eef5ff}
.form-grid .checkbox-label{display:flex;align-items:center;gap:10px;line-height:1.5;font-size:13px}
.form-grid .checkbox-label input{width:17px;height:17px;min-width:17px;accent-color:#39bb9b}
.publish-options{display:flex;flex-direction:column;gap:12px;background:#0b1423;border:1px solid #24324a;border-radius:10px;padding:14px}
.form-grid>.full{position:sticky;bottom:0;padding:14px 0 0;z-index:6;background:linear-gradient(transparent,#060b15 20%)}
.form-grid>.full .btn{min-width:116px}

/* Edição de imagens compacta: nenhuma imagem pode forçar a largura ou altura */
.media-field{display:flex;flex-direction:column;gap:11px;min-width:0}
.media-field+.media-field{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
.media-label{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.media-label .help{white-space:normal}
.media-preview{height:clamp(160px,19vw,238px);min-height:0;max-height:238px;aspect-ratio:16/11;width:100%;max-width:100%;border:1px dashed #39506e;border-radius:12px;background:repeating-linear-gradient(45deg,#0c1524,#0c1524 8px,#101a2b 8px,#101a2b 16px);display:grid;place-items:center;padding:12px;overflow:hidden;transition:border-color .18s,background .18s}
.media-preview.has-media{border-style:solid;background:radial-gradient(ellipse at 50% 35%,#172d4a,#090f1c 70%)}
.media-preview.dragging{border:2px solid #5aa7ff;background:#172e4c}
.media-preview-img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:8px!important;box-shadow:none!important}
.media-empty{display:flex;flex-direction:column;align-items:center;gap:12px;color:#7897bf;font-size:12px}
.media-upload{display:flex;gap:9px;align-items:center;justify-content:center;background:#1c3152;color:#e5f1ff;border:1px solid #355986;border-radius:9px;padding:11px 14px;font-weight:700;font-size:12px;position:relative;cursor:pointer;transition:background .2s,border-color .2s}
.media-upload:hover,.media-upload:focus-within{background:#284774;border-color:#74b4ff}
.media-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:1;font-size:0}
.media-actions{display:flex;align-items:center;gap:9px;justify-content:space-between;flex-wrap:wrap}
.media-actions [data-media-name]{overflow-wrap:anywhere;min-width:0;flex:1}
.media-actions .btn{min-height:30px}
.form-side .panel{overflow:hidden}

/* Prévia SEO usa altura de conteúdo, não a altura da coluna inteira */
.seo-card{display:flex;flex-direction:column;gap:12px;min-height:0!important;height:auto!important;align-self:start}
.seo-card h3{font-size:15px}
.seo-result{padding:15px;background:#080f1d;border:1px solid #2b3952;border-radius:10px;display:flex;flex-direction:column;gap:7px;overflow:hidden}
.seo-domain{color:#8dc8a5;font-size:11px;overflow-wrap:anywhere}
.seo-result strong{font-size:15px;color:#80adff;line-height:1.35;overflow-wrap:anywhere}
.seo-result small{font-size:10px;color:#8bafde;overflow-wrap:anywhere}
.seo-result p{font-size:11px;line-height:1.55;margin:0;color:#becfe4;overflow-wrap:anywhere}

/* Editor visual: ferramentas com largura controlada, alinhamento total e mídia */
.rich-field{width:100%}
.rich-editor{min-width:0;border-radius:10px;background:#080e19}
.rich-toolbar{gap:4px 5px;display:flex;flex-wrap:wrap;align-items:center;padding:9px;background:#172234}
.rich-toolbar button.rich-tool{font-size:12px;min-width:29px;height:31px;min-height:31px;padding:4px 7px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;border:1px solid #35475d;flex:none}
.rich-toolbar button.rich-tool[title="Alinhar à direita"]{transform:none}
.align-justifyLeft{text-align:left}.align-justifyCenter{text-align:center}.align-justifyRight{text-align:right}.align-justifyFull{text-align:justify}
.toolbar-divider{height:21px;margin:0 2px}
.rich-color-label{font-size:11px;color:#b8cae2;display:inline-flex;align-items:center;gap:5px;padding:0 5px;cursor:pointer}
.rich-color-label input{width:28px!important;height:24px!important;min-width:28px!important;background:none!important;border:0!important;padding:0!important;cursor:pointer}
.rich-surface{width:100%;min-height:220px;max-height:340px;padding:16px 17px;line-height:1.65;overflow-x:hidden;overflow-y:auto;overflow-wrap:anywhere;white-space:normal}
.rich-surface img,.rich-content img{display:block;max-width:100%;height:auto;max-height:460px;object-fit:contain;border-radius:8px;margin:10px auto}
.rich-surface [style*="text-align"],.rich-content [style*="text-align"]{width:100%}
.rich-surface p,.rich-content p{margin:0 0 12px}
.rich-surface h2,.rich-content h2{font-size:21px;margin:14px 0}
.rich-surface h3,.rich-content h3{font-size:17px;margin:12px 0}
.rich-surface blockquote,.rich-content blockquote{margin:12px 0;background:#152034;border-left:3px solid #4b94ed;padding:10px 15px}
.rich-content{line-height:1.7;word-break:normal;overflow-wrap:anywhere}
.rich-content a{text-decoration:underline;text-underline-offset:3px}

/* Categorias públicas com imagens preenchendo todo o card como na referência */
.category-section{margin:30px 0 68px}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:21px 0 0}
.category-tile{position:relative;display:block;min-height:250px;aspect-ratio:4/5;isolation:isolate;overflow:hidden;border-radius:15px;border:1px solid #2a3b56;background:#0e192a;transition:transform .22s,border-color .22s,box-shadow .22s}
.category-cover{height:100%;width:100%;border-radius:0;overflow:hidden;background:radial-gradient(circle at 35% 25%,#233c64,#08101f 70%)}
.category-cover img{height:100%;width:100%;display:block;object-fit:cover;transition:transform .4s}
.category-tile:hover{transform:translateY(-5px);border-color:#568cdd;box-shadow:0 13px 35px #0006}
.category-tile:hover .category-cover img{transform:scale(1.055)}
.category-symbol{width:100%;height:100%;display:grid;place-items:center;color:#78b6ff}
.category-tile .category-overlay{position:absolute;inset:auto 0 0;padding:52px 17px 18px;background:linear-gradient(0deg,#040a14 10%,#040a14e8 45%,transparent);display:flex;flex-direction:column;gap:5px;color:white}
.category-overlay span{color:#a5c2e3;font-size:10px;letter-spacing:.06em;display:flex;gap:5px;align-items:center}
.category-overlay strong{font-size:19px;line-height:1.2;overflow-wrap:anywhere}
.category-overlay small{font-size:11px;color:#85bbff;display:flex;align-items:center;gap:6px}
.category-landing{border:1px solid #2c4464;border-radius:18px;padding:38px;background:#111e31;min-height:180px;margin:22px 0 25px;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:center}
.category-landing h1{font-size:35px;margin:9px 0}
.category-landing p{margin:0;max-width:650px}
.category-landing .eyebrow{font-size:11px}
.crumb,.breadcrumbs{font-size:12px;color:#92b0d3}.crumb-arrow{margin:0 8px;color:#657a98}

/* Cards de categorias no administrador */
.admin-category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:17px;max-width:1320px}
.admin-category-card{min-width:0;border:1px solid #29384e;border-radius:13px;overflow:hidden;background:#101927;transition:border-color .2s,transform .2s}
.admin-category-card:hover{border-color:#407bb4;transform:translateY(-3px)}
.admin-category-picture{width:100%;height:152px;overflow:hidden;background:#0a1728;display:grid;place-items:center;color:#87adcf}
.admin-category-picture img{width:100%;height:100%;object-fit:cover;display:block}
.admin-category-content{padding:17px;display:flex;flex-direction:column;gap:7px}
.admin-category-content .eyebrow{font-size:9px}
.admin-category-content h3{margin:0;font-size:18px;overflow-wrap:anywhere}
.admin-category-content>small{font-size:11px;color:#9cafc9}
.category-card-footer{border-top:1px solid #29384e;margin-top:12px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}

/* Produto público — capa, preço, benefícios e descrição em regiões específicas */
.product-view{max-width:1430px;padding-top:32px}
.breadcrumbs{display:flex;align-items:center;gap:10px;margin-bottom:24px;color:#829bb9;font-size:12px;flex-wrap:wrap}
.breadcrumbs a{color:#aac5e5}.breadcrumbs a:hover{color:#fff}
.product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(255px,285px);gap:20px;align-items:start}
.product-main-col{min-width:0;display:flex;flex-direction:column;gap:18px}
.product-spotlight{padding:17px!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.93fr);gap:20px;align-items:stretch;min-width:0}
.product-spotlight .product-art{aspect-ratio:auto;width:100%;height:100%;min-height:300px;padding:10px;background:radial-gradient(circle at 52% 48%,#183858,#080f1f 72%);overflow:hidden;border-radius:12px;display:grid;place-items:center}
.product-spotlight .product-art img{max-height:345px;width:100%;height:100%;object-fit:contain;border-radius:10px}
.product-spotlight .product-summary{border:0;box-shadow:none;padding:14px 5px 8px 0;min-width:0;gap:12px;justify-content:center}
.product-spotlight .product-summary h1{font-size:clamp(22px,2.2vw,31px);line-height:1.18;overflow-wrap:anywhere;margin:0}
.product-spotlight .product-summary .eyebrow{font-size:10px}
.detail-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.tag-ok{display:inline-flex;align-items:center;gap:4px;background:#143d32;color:#67e2b4;border-radius:6px;padding:5px 7px;font-weight:700;font-size:10px}
.tag-ok.tag-blue{background:#173052;color:#8bb9ff}
.price-block{border-top:1px solid #253247;margin-top:7px;padding-top:15px;display:flex;align-items:flex-start;flex-direction:column;gap:4px}
.price-block .old-price{display:flex;align-items:center;gap:9px}
.old-price>span{font-size:13px;color:#9cabc2;text-decoration:line-through}
.old-price>strong,.discount-tag{font-size:10px;color:#8dc4ff;border:1px solid #335d9d;background:#102b4b;border-radius:6px;padding:3px 6px}
.price-block>.price{font-size:32px;line-height:1.15}
.buy-actions{display:flex;flex-direction:column;gap:9px;margin-top:7px}
.buy-actions .btn{min-height:44px}
.btn.outline{background:#0b1423;border:1px solid #354563}
.btn.outline:hover{background:#172b49}
.description-card{padding:22px 25px!important}
.description-heading{display:flex;align-items:center;gap:9px;border-bottom:1px solid #2b3b50;padding-bottom:16px;margin-bottom:19px;color:#7eb8ff}
.description-heading h2{font-size:19px;margin:0;color:#f0f5ff}
.public-description{min-height:75px;color:#c8d6eb}
.product-assurances{display:flex;flex-direction:column;gap:12px;min-width:0}
.assurance-card{padding:18px;border:1px solid #27384e;border-radius:13px;background:#101927;display:flex;align-items:flex-start;gap:12px;color:#73a8ff;min-width:0}
.assurance-card h3{font-size:14px;line-height:1.3;color:#eaf2ff;margin:2px 0 7px}
.assurance-card p{font-size:12px;line-height:1.55;margin:0;color:#a3b6cf}
.assurance-card>div{min-width:0}
.assurance-card.payment-methods{flex-direction:column;gap:10px}
.pix-method{display:flex;align-items:center;gap:8px;color:#47dab9;font-size:14px;font-weight:800}
.pix-method span{color:#9db1cc;font-weight:500;font-size:11px;margin-left:auto}
.product .product-pic{height:190px}
.product-pic img{object-fit:cover}
.product .product-body{padding:17px}
.product .product-body h3{font-size:16px;min-height:auto}
.product-body .price-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:12px}
.price-line .price{width:100%;font-size:23px}
.price-line .compare{margin-left:0}
.card-assurance{font-size:10px;color:#83d9b8;display:flex;align-items:center;gap:5px;margin-top:8px}
.product-actions .btn{font-size:12px;padding:9px 7px}

/* Informações financeiras e tabela sem imagens fora de escala */
.product-thumbnail,.product-thumbnail img{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;object-fit:cover!important}
.data-table td:first-child{min-width:210px}
.table-scroll{max-width:100%;overflow:auto}
.data-table td{vertical-align:middle}
.data-table .row{gap:10px}

/* Responsividade explicitamente independente das preferências do Windows */
@media(max-width:1230px){
 .product-layout{grid-template-columns:1fr}
 .product-assurances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .product-assurances .payment-methods{grid-column:1/-1}
 .form-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,.85fr)}
 .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 .product-spotlight{grid-template-columns:repeat(2,minmax(0,1fr))}
 .form-grid{grid-template-columns:1fr}
 .form-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
 .form-side>.seo-card{grid-column:1/-1}
 .form-grid>.full{grid-column:1}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .category-tile{min-height:230px;aspect-ratio:4/4}
 .admin-area{padding:21px}
}
@media(max-width:650px){
 .topbar{gap:12px;padding:0 14px;height:67px}
 .brand{font-size:15px;gap:7px}
 .brand img{width:38px;height:38px}
 .toplinks{gap:9px}
 .toplinks a{font-size:11px}
 .toplinks a:nth-child(2),.toplinks a:nth-child(3){display:none}
 .container{width:min(calc(100% - 28px),1310px)}
 .form-side{grid-template-columns:1fr}
 .form-grid .fields{grid-template-columns:1fr}
 .product-spotlight{grid-template-columns:1fr;gap:15px}
 .product-spotlight .product-art{height:260px;min-height:260px}
 .product-spotlight .product-summary{padding:4px 5px 8px}
 .product-assurances{grid-template-columns:1fr}
 .product-assurances .payment-methods{grid-column:auto}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .category-tile{min-height:185px;aspect-ratio:3/4}
 .category-overlay strong{font-size:15px}
 .category-tile .category-overlay{padding:39px 11px 13px}
 .category-overlay span{font-size:9px}
 .grid-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-actions{flex-wrap:wrap}
 .product-actions .btn{min-width:85px}
 .rich-surface{min-height:200px;max-height:325px}
 .form-grid .panel{padding:16px}
 .admin-category-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
 .admin-area{padding:16px}
 .description-card{padding:18px!important}
}
@media(max-width:420px){
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .category-tile{min-height:165px}
 .grid-products{grid-template-columns:1fr}
 .category-overlay small{font-size:10px}
 .hero{min-height:290px}
 .media-preview{height:190px}
}

.rich-content h1,.rich-surface h1{font-size:26px;line-height:1.2;margin:15px 0}

.media-preview.portrait-preview{aspect-ratio:190/255;width:min(205px,100%);height:238px;max-height:238px;margin:0 auto}
.media-preview.banner-preview{aspect-ratio:1216/260;height:115px;max-height:115px}
@media(max-width:650px){.media-preview.portrait-preview{height:220px;max-height:220px}.media-preview.banner-preview{height:100px;max-height:100px}}

/* Pisol Store 4.7 — Checkout PIX, relatório de pedidos e termos */
:root{--accent:#3c89ff;--panel:#101926;--border:#2b3850}
.checkout-modal{width:min(1120px,calc(100vw - 26px))!important;padding:25px!important;max-height:min(95vh,950px);background:#080e18!important}
.checkout-modal #modal-heading{font-size:clamp(22px,2.4vw,31px);letter-spacing:-.04em}
.checkout-intro{margin:0 0 20px}.checkout-intro p{margin:7px 0 0;font-size:13px;line-height:1.6}
.checkout-layout{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1fr);gap:24px;align-items:start}
.checkout-details,.checkout-summary{min-width:0;display:grid;gap:16px}
.checkout-panel{border:1px solid #293443;border-radius:13px;background:linear-gradient(155deg,#121821,#10141c);overflow:hidden;min-width:0}
.checkout-panel-head{display:flex;align-items:center;gap:11px;padding:16px 18px;border-bottom:1px solid #283242;min-height:61px;color:#dce7fa}
.checkout-panel-head h3{font-size:16px;letter-spacing:-.015em;margin:0}
.checkout-panel-head>.mini-tag{margin-left:auto}
.checkout-panel-head .icon{color:#7db8ff}
.checkout-panel-body{padding:17px}
.checkout-payment-method{display:flex;align-items:center;gap:14px;border:1px solid #3f79d8;border-radius:11px;padding:12px 15px;background:#0b182c;box-shadow:0 0 0 1px #2359af3b}
.checkout-payment-method strong,.checkout-payment-method small{display:block}.checkout-payment-method small{font-size:12px;color:#9cafc7;margin-top:4px}
.checkout-payment-method .pix-mark{display:grid;place-items:center;background:#032824;color:#30e2bc;border-radius:9px;width:46px;height:44px;font-size:26px}
.checkout-method-selected{margin-left:auto;color:#44e8b6}
.checkout-panel .help{display:block;margin-top:12px}
.checkout-panel input{background:#080d15;border:1px solid #2a3340;min-height:44px}
.checkout-consent{padding:3px 6px 0;display:grid;gap:8px}.checkout-consent .checkbox-label{align-items:flex-start;line-height:1.7}
.checkout-consent a,.legal-page a{color:#79b7ff;text-decoration:underline;text-underline-offset:3px}.checkout-consent a:hover,.legal-page a:hover{color:#b5dcff}
.checkout-consent input{margin-top:3px;accent-color:#38acfa}
.checkout-pay{padding:16px;font-size:16px;min-height:52px;box-shadow:0 6px 22px #205ad744!important}
.checkout-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #293444;min-width:0}
.checkout-item:first-child{padding-top:0}.checkout-item-img{width:57px;height:58px;border-radius:10px;overflow:hidden;background:#142747;flex:0 0 57px;display:grid;place-items:center;color:#8dbfff}
.checkout-item-img img{width:100%;height:100%;object-fit:cover}.checkout-item-info{min-width:0;flex:1}
.checkout-item-info strong{font-size:13px;display:block;line-height:1.4;overflow-wrap:anywhere}.checkout-item-info small{font-size:11px;color:#90a3bd;display:block;margin-top:3px}
.checkout-item>span:last-child{font-size:13px;font-weight:800;white-space:nowrap}
.coupon-field{margin-top:18px}.coupon-entry{display:flex;gap:9px}.coupon-entry input{flex:1;min-width:0}.coupon-entry .btn{flex:none}
.checkout-totals{margin-top:18px;padding-top:14px;border-top:1px solid #293444;display:grid;gap:12px}
.checkout-totals>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;color:#b3c3da}
.checkout-totals strong{color:#eff5ff}.checkout-totals .discount-value{color:#6ee7b7}
.checkout-totals .checkout-total{border-radius:10px;background:#0b1119;padding:16px 12px;margin-top:2px;border:1px solid #2b3a4b}
.checkout-total strong{font-size:20px;color:#fff}.checkout-total span{font-weight:750;color:#f1f6ff}
.checkout-trust{display:flex;gap:11px;color:#a7e0d0;line-height:1.6;font-size:12px;border:1px solid #225247;background:#0c2827;padding:15px;border-radius:11px}
.checkout-trust .icon{flex:0 0 auto;color:#45dba6}
.order-modal{width:min(980px,calc(100vw - 24px))!important;max-height:94vh}
.order-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.order-detail-section{min-width:0;border:1px solid #2a3b54;background:#0b1422;border-radius:13px;padding:18px}
.order-detail-section:nth-child(3){grid-column:1/-1}
.order-detail-section>.eyebrow{font-size:10px;letter-spacing:.12em}
.order-detail-status{display:flex;align-items:center;gap:12px;margin-top:13px;flex-wrap:wrap;font-size:12px}
.order-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 14px;margin-top:17px}
.order-meta-grid>div{min-width:0}.order-meta-grid small,.order-product-line small{display:block;color:#8fa6c5;font-size:11px;margin-bottom:5px}
.order-meta-grid strong{font-size:12px;font-weight:680;line-height:1.5;display:block}
.order-meta-grid .mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}
.break{overflow-wrap:anywhere;word-break:break-word}
.order-product-line{display:flex;align-items:center;gap:12px;margin-top:14px;border-bottom:1px solid #243750;padding-bottom:13px}
.order-product-line>div{flex:1}.order-product-line>div strong{font-size:13px}.order-product-line>strong{font-size:13px;white-space:nowrap}
.order-product-icon{height:40px;width:40px;flex:0 0 40px;border-radius:9px;background:#122b50;color:#8ec0ff;display:grid;place-items:center}
.order-totals{margin-top:8px}.order-event{display:flex;align-items:center;gap:12px;margin-top:15px}
.order-event-dot{width:11px;height:11px;border-radius:50%;flex:0 0 11px;background:#ffb759;box-shadow:0 0 0 4px #523b214a}
.order-event-dot.sent{background:#34d399;box-shadow:0 0 0 4px #27664d50}
.order-event strong{display:block;font-size:13px}.order-event small{display:block;color:#9db5d1;font-size:11px;margin-top:4px;overflow-wrap:anywhere}
.order-terms{margin-top:16px}.order-terms summary{color:#81beff;font-weight:720;cursor:pointer;font-size:12px}
.terms-snapshot{margin-top:11px;background:#09121f;max-height:230px;overflow-y:auto;white-space:pre-wrap;padding:13px;border:1px solid #2b3c55;border-radius:9px;color:#bacce2;line-height:1.75;font-size:12px}
.visits-chart{display:flex;align-items:end;gap:8px;min-height:160px;border-bottom:1px solid #3a4d67;margin:22px 0 22px}
.visit-bar{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:142px;gap:6px;font-size:10px;position:relative}
.visit-bar i{display:block;width:100%;max-width:42px;min-height:4px;height:var(--h);border-radius:7px 7px 0 0;background:linear-gradient(0deg,#204e8d,#409efb);box-shadow:0 0 20px #2d7cd327;animation:grow .8s both}
.visit-bar b{font-size:10px;color:#bdcbe2}.visit-bar span{position:absolute;top:100%;margin-top:7px;font-size:9px;color:#8ca8ca;white-space:nowrap}
.legal-page{max-width:900px}.legal-page>.panel{padding:clamp(20px,4vw,45px);border-radius:20px}.legal-page h1{font-size:clamp(28px,4vw,44px);margin:12px 0}
.legal-content{white-space:pre-wrap;overflow-wrap:anywhere;margin:22px 0;padding:25px;border:1px solid #2f4360;border-radius:13px;background:#0b1523;line-height:1.95}
/* Visual feedback without requiring OS animation settings */
.btn,.cart-button,.checkout-payment-method,.pill,.nav-item,.product,.category-tile{transition:transform .2s ease,box-shadow .25s ease,background-color .2s ease,border-color .25s ease}
.btn:active,.cart-button:active,.pill:active{transform:scale(.97)!important}
.checkout-payment-method.selected{animation:checkoutMethodAppear .36s ease both}
@keyframes checkoutMethodAppear{from{transform:translateY(7px);opacity:.3}to{transform:translateY(0);opacity:1}}
.checkout-panel,.order-detail-section{animation:rise .22s both}
@media(max-width:860px){.checkout-layout{grid-template-columns:1fr}.checkout-summary{grid-row:1}.checkout-modal{padding:17px!important}.order-detail-grid{grid-template-columns:1fr}.order-detail-section:nth-child(3){grid-column:auto}}
@media(max-width:540px){.checkout-panel-head{padding:13px}.checkout-panel-body{padding:13px}.coupon-entry{flex-wrap:wrap}.coupon-entry .btn{flex:1}.order-meta-grid{grid-template-columns:1fr 1fr;gap:12px}.order-detail-section{padding:14px}.order-modal{padding:15px!important}.checkout-modal{width:calc(100vw - 12px)!important}.checkout-item{gap:8px}.checkout-item-img{width:48px;height:48px;flex-basis:48px}.visit-bar span{font-size:8px}}

/* v4.8 — tipografia e alinhamento realmente persistidos, ícones gráficos e layout consistente */
:root { --surface-alt:#0b1525; --hairline:#27374f; --space-section:38px; }
body { font-synthesis:none; text-rendering:optimizeLegibility; }
.icon.icon-asset { display:inline-block;flex:none;vertical-align:middle;width:auto;max-width:none;object-fit:contain;user-select:none;pointer-events:none; }
.nav-icon .icon-asset {width:18px;height:18px;}
.rich-toolbar {gap:6px; padding:10px 11px; border-radius:10px 10px 0 0; background:#182437;}
.rich-toolbar button.rich-tool {display:flex;align-items:center;justify-content:center;min-width:33px;min-height:33px;border-radius:7px;border-color:#3a4b63;transition:background .16s,border-color .16s,transform .16s;}
.rich-toolbar button.rich-tool:hover {background:#334d73;border-color:#669adf;transform:translateY(-1px)}
.rich-toolbar button.rich-tool:active {transform:translateY(0);background:#37649e;}
.rich-toolbar button.rich-tool img {width:17px;height:17px;}
.rich-editor {box-shadow:inset 0 1px 0 #ffffff05;border-color:#354966;}
.rich-surface {font-size:14px;line-height:1.64;max-height:380px;min-height:220px;overscroll-behavior:contain;}
.rich-surface :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align"],.rich-content :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align"] {display:block;width:100%;}
.rich-surface :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align:center"],.rich-content :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align:center"] {text-align:center;}
.rich-surface :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align:right"],.rich-content :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align:right"] {text-align:right;}
.rich-surface :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align:justify"],.rich-content :is(p,div,h1,h2,h3,blockquote,li)[style*="text-align:justify"] {text-align:justify;}
.rich-surface>div,.rich-content>div {margin-bottom:11px;}
.rich-surface :is(p,div):empty,.rich-content :is(p,div):empty {display:none;}
.rich-surface :is(p,div):has(>br:only-child),.rich-content :is(p,div):has(>br:only-child) {line-height:.65;margin-bottom:4px;min-height:6px;}
.rich-content {line-height:1.7;font-size:14px;letter-spacing:.004em;}
.rich-content>:first-child {margin-top:0!important}
.rich-content>:last-child {margin-bottom:0!important}
.rich-content :is(h1,h2,h3) {color:#f2f7ff;}
.rich-content p,.rich-surface p {margin-bottom:12px;}
.rich-content a,.rich-surface a {color:#73b5ff;word-break:break-word;text-decoration-thickness:1px;text-underline-offset:3px;}
.rich-content a:hover {color:#a9d1ff;}
.rich-content hr,.rich-surface hr {border:0;border-top:1px solid #39506d;margin:14px 0}
.description-card {padding:24px 27px!important;border-radius:16px;}
.description-heading {margin-bottom:18px;}
.public-description {min-height:0;}
.product-main-col {gap:16px;}
.product-view {padding-bottom:26px;}
.product-view+.footer {margin-top:25px;}
.page {padding-bottom:45px;}
.footer {margin-top:35px;padding:0;border-top:1px solid #25364d;background:linear-gradient(180deg,#0b1321dd,#070c15);}
.footer-grid {display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1fr);gap:clamp(24px,4vw,65px)!important;padding:33px 0 26px;align-items:start;}
.footer-grid h3 {font-size:13px;letter-spacing:.01em;font-weight:800;color:#e4efff;margin:2px 0 13px;}
.footer-logo {display:inline-flex;align-items:center;gap:10px;color:#f5f9ff;font-weight:800;letter-spacing:.08em;font-size:17px;}
.footer-logo img {flex:none;object-fit:contain;}
.footer-logo b {color:#68a8ff;}
.footer-logo small {display:block;font-size:10px;color:#a5bad7;font-weight:500;letter-spacing:0;margin-top:3px;}
.footer-brand p {max-width:330px;font-size:12px;line-height:1.65;margin:12px 0 0;}
.footer-links {display:flex;flex-direction:column;gap:10px;}
.footer-links a {display:flex;align-items:center;gap:9px;color:#bacce5;font-size:12px;transition:color .2s,transform .2s;}
.footer-links a:hover {color:#fff;transform:translateX(3px)}
.footer-links .icon-asset {opacity:.95;}
.footer-pix {display:inline-flex;gap:9px;align-items:center;padding:9px 12px;border-radius:10px;border:1px solid #205c57;background:#0b2c29;color:#a3f5e1;font-size:12px;}
.footer-payment p {font-size:12px;line-height:1.65;margin:12px 0 0;max-width:330px;}
.footer-bottom {display:flex;gap:12px;justify-content:space-between;align-items:center;padding:13px 0 17px;border-top:1px solid #26364b;color:#829ab8;font-size:10px;}
.pix-mark {display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#0b2c29;border-radius:9px;flex:none;}
.pix-mark .icon-asset {width:25px;height:25px;}
.checkout-panel,.panel,.assurance-card {box-shadow:0 2px 14px #00000014;}
.checkout-panel-head,.description-heading {letter-spacing:0;}
.panel, .product, .checkout-panel,.assurance-card {border-color:#2a3950;}
.form-main .panel,.form-side .panel {scroll-margin-top:90px;}
@media(max-width:900px){.footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:23px!important}.footer-payment {grid-column:1/-1}.footer-bottom {gap:20px}}
@media(max-width:600px){.container{width:min(calc(100% - 28px),1310px)}.footer-grid {grid-template-columns:1fr;gap:26px!important;padding:28px 0 20px}.footer-payment {grid-column:auto}.footer-bottom {flex-direction:column;align-items:flex-start}.rich-toolbar {padding:8px;gap:5px}.rich-toolbar button.rich-tool {min-width:31px;min-height:31px}.rich-surface {min-height:220px;padding:14px 12px}.description-card {padding:18px!important}.page {padding-bottom:28px}.footer {margin-top:26px}}
/* Cabeçalho pequeno: impedir quebra de "Carrinho" e sobreposição com a marca */
.cart-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;flex:0 0 auto;}
.cart-button .icon-asset{width:18px;height:18px}
.cart-button #cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:7px;background:#254b80;padding:0 6px;font-variant-numeric:tabular-nums}
.topbar .brand{min-width:0}
@media(max-width:650px){.topbar{justify-content:space-between}.toplinks{display:none}.topbar .brand span{overflow:hidden;max-width:225px;text-overflow:ellipsis}.cart-button{padding:9px 10px;min-height:39px}}
@media(max-width:400px){.topbar .brand small{font-size:8px}.cart-button{gap:5px}.cart-button .cart-text{font-size:12px}}

/* v4.9: bloco de entrega privada */
.r2-file-panel{border:1px solid rgba(81,147,249,.32);background:rgba(31,68,126,.12);border-radius:12px;padding:17px;display:grid;gap:12px;min-width:0}
.r2-file-panel input[type=file]{max-width:100%;background:#0b1427;border:1px dashed #3b618e;padding:14px;border-radius:10px;color:#d9e8ff}
.r2-file-panel .help,.r2-file-panel .notice{overflow-wrap:anywhere}

/* v4.9.1: Marcas de pagamento enviadas pelo proprietário; PIX continua o único método ativo. */
.payment-brand-icon,.payment-processor,.method-provider {display:inline-flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;}
.payment-brand-icon .icon-asset,.payment-processor .icon-asset,.method-provider .icon-asset,.pix-method>.icon-asset {display:block;object-fit:contain;flex:none;}
.payment-brand-divider {display:inline-block;flex:none;width:1px;height:20px;background:#316665;opacity:.8;margin:0 2px;}
.footer-pix {max-width:100%;flex-wrap:wrap;gap:8px 10px;padding:10px 13px;}
.footer-pix .payment-processor {font-weight:650;color:#c0d1e7;font-size:11px;}
.footer-pix .payment-processor .icon-asset {width:27px;height:27px;}
.pix-method {flex-wrap:wrap;gap:8px;}
.pix-method>strong {color:#56e6ca;font-size:14px;}
.pix-method .payment-processor {margin-left:0;color:#a3bbd1;font-weight:650;font-size:12px;}
.pix-method .payment-processor span{margin:0;font-size:12px;color:inherit;}
.pix-method .payment-processor .icon-asset {width:27px;height:27px;}
.checkout-payment-method .method-copy {min-width:0;flex:1;}
.checkout-payment-method .method-provider {font-size:11px;font-weight:700;color:#b9cbe4;margin-left:auto;}
.checkout-payment-method .method-provider .icon-asset {width:27px;height:27px;}
.checkout-method-selected {flex:none;}
.payment-status {display:inline-flex;align-items:center;gap:7px;}
.payment-status .icon-asset{display:block;width:21px;height:21px;}
@media(max-width:650px){
 .checkout-payment-method{flex-wrap:wrap;gap:10px;}
 .checkout-payment-method .method-provider{margin-left:0;order:3;flex-basis:100%;padding-left:60px;}
 .checkout-payment-method .checkout-method-selected{margin-left:auto;}
 .footer-pix{align-items:center;}
}

/* Progresso do upload direto de arquivos grandes R2 (v4.9.2) */
#r2-upload-progress{display:grid;gap:8px;overflow-wrap:anywhere}
#r2-upload-progress strong{font-size:12px;font-weight:600;color:#adcaee}
.r2-progress-bar{width:100%;height:11px;accent-color:#3c89ff;border-radius:10px}

.r2-cors-help{background:#0a1629;border:1px solid rgba(86,151,255,.27);border-radius:10px;padding:14px;font-size:13px}
.r2-cors-help summary{cursor:pointer;color:#b4d8ff;font-weight:700}
.r2-cors-help pre{padding:12px;background:#070f1f;border:1px solid rgba(79,121,172,.4);border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;color:#b2e2ff}

/* v4.9.3: painel visual do progresso de uploads multipart do Cloudflare R2 */
.r2-file-panel{padding:20px;gap:14px;background:linear-gradient(145deg,rgba(27,53,89,.46),rgba(13,28,50,.63));border-color:#294972}
.r2-file-head{display:flex;align-items:flex-start;gap:12px}
.r2-file-head>div{min-width:0}.r2-file-head strong{display:block;font-size:15px;color:#f0f6ff}
.r2-file-head p{margin:5px 0 0;line-height:1.55}
.r2-file-head-icon{display:grid;place-items:center;flex:none;width:39px;height:39px;color:#81b8ff;border:1px solid #2c588c;background:#10294d;border-radius:11px}
.r2-existing{display:flex;align-items:center;gap:10px;border:1px solid rgba(39,151,119,.35);background:rgba(20,112,91,.13);border-radius:10px;padding:11px 13px;color:#b9f6d7;font-size:12px;min-width:0;overflow-wrap:anywhere}
.r2-existing small{display:block;color:#93a8c6;margin-top:3px}
.r2-existing.neutral{border-color:rgba(84,123,174,.32);background:rgba(10,23,43,.65);color:#b3c5e0}
.r2-file-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:13px;border:1px dashed #4d85ca;border-radius:11px;background:rgba(8,20,39,.7);cursor:pointer;color:#d2e8ff;font-size:12px;font-weight:700;transition:border-color .18s,background .18s,box-shadow .18s;min-width:0}
.r2-file-picker:hover,.r2-file-picker:focus-within{border-color:#82baff;background:#0e2b4d;box-shadow:0 0 0 3px rgba(58,137,245,.1)}
.r2-file-picker .icon-asset{width:18px;height:18px;flex:none}
.r2-file-panel input[type=file]{display:block;flex-basis:100%;min-width:0;width:100%;max-width:100%;margin-top:5px;padding:9px;background:#070f1e;border:1px solid #29415f;border-radius:8px;font-size:12px;color:#99afd0}
.r2-file-panel input[type=file]::file-selector-button{color:#fff;background:#295fd2;border:0;border-radius:6px;padding:9px 11px;margin-right:12px;font-weight:700;cursor:pointer}
.r2-file-selected{font-size:12px;color:#a4c8f5;overflow-wrap:anywhere;min-height:1.3em}
.r2-upload-dashboard{border:1px solid #284668;background:#071322;border-radius:13px;padding:17px;display:grid;gap:13px;min-width:0}
.r2-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
.r2-progress-heading>div{display:grid;gap:5px;min-width:0}
.r2-progress-heading strong{font-size:15px;color:#f2f6ff;font-weight:750}
.r2-progress-kicker{font-size:10px;letter-spacing:.14em;font-weight:800;color:#85a9d9}
.r2-status-pill{background:#142b47;border:1px solid #34597e;padding:5px 10px;border-radius:999px;font-size:11px;white-space:nowrap;color:#a8c8ec;font-weight:750}
.r2-progress-meter{width:100%;height:13px;border-radius:99px;background:#1b2d44;border:1px solid #355270;overflow:hidden}
.r2-progress-fill{display:block;width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#136fe7,#4ad0fa);transition:width .16s ease;box-shadow:0 0 15px rgba(45,158,255,.35)}
.r2-progress-row{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#9db5d3;font-variant-numeric:tabular-nums}
.r2-progress-row strong{font-size:15px;color:#ebf7ff;font-variant-numeric:tabular-nums}
.r2-upload-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.r2-upload-stats>div{padding:10px 11px;min-width:0;border:1px solid #243d59;border-radius:9px;background:#0e1d31;display:grid;gap:5px}
.r2-upload-stats span{font-size:10px;color:#91aaca}
.r2-upload-stats strong{font-size:13px;font-weight:750;color:#e1f1ff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.r2-upload-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.r2-upload-stages span{color:#7d96b8;background:#0f2138;border:1px solid #28405c;border-radius:7px;padding:9px 5px;text-align:center;font-size:10px;font-weight:700}
.r2-upload-stages span[data-state=active]{border-color:#4091e7;color:#fff;background:#174b84}
.r2-upload-stages span[data-state=done]{border-color:#258966;color:#b6f9d6;background:#11372d}
.r2-upload-stages span[data-state=error]{border-color:#ae4f6c;color:#ffe1e9;background:#512033}
.r2-progress-message{color:#9ab5d6;font-size:12px;line-height:1.55;margin:0;overflow-wrap:anywhere}
.r2-upload-dashboard[data-state=done] .r2-status-pill{color:#b6f9d6;border-color:#258966;background:#123c31}
.r2-upload-dashboard[data-state=done] .r2-progress-fill{background:linear-gradient(90deg,#12ad75,#34d399)}
.r2-upload-dashboard[data-state=error]{border-color:#ad4e64}
.r2-upload-dashboard[data-state=error] .r2-status-pill{color:#ffd2df;background:#511a30;border-color:#ab4868}
.r2-upload-dashboard[data-state=error] .r2-progress-message{color:#ffb9cc}
@media(max-width:650px){.r2-file-panel{padding:12px}.r2-upload-dashboard{padding:12px}.r2-upload-stats{gap:5px}.r2-upload-stats>div{padding:9px 7px}.r2-upload-stats strong{font-size:11px}.r2-progress-heading strong{font-size:13px}.r2-progress-heading{align-items:flex-start}}
@media(max-width:340px){.r2-upload-stats{grid-template-columns:1fr}.r2-progress-heading{flex-wrap:wrap}}

/* v4.9.3: também evita overflow do cabeçalho administrativo em celulares estreitos. */
@media(max-width:540px){
 .admin-top{gap:8px;min-width:0;padding:0 12px}
 .admin-top>.row{min-width:0;flex:1 1 auto;max-width:60%;justify-content:flex-end}
 .admin-top>.row .help{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
 .admin-top>strong,.admin-top>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Pisol Store v5.1 — central de configurações por módulos */
.settings-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 29px;border-radius:17px;border:1px solid #2b486d;background:radial-gradient(ellipse at 98% 10%,#1d54993b,transparent 50%),linear-gradient(115deg,#14243a,#0c1525);margin-bottom:19px}
.settings-intro h2{font-size:clamp(21px,2.5vw,29px);margin:8px 0 10px;line-height:1.2}
.settings-intro p{max-width:750px;font-size:13px;line-height:1.65;margin:0;color:#acc0dd}
.settings-intro-icon{width:66px;height:66px;border-radius:16px;display:grid;place-items:center;flex:0 0 auto;background:#25538c33;border:1px solid #477eb455}
.config-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}
.config-shortcut{border:1px solid #293a53;background:#101a2b;border-radius:14px;color:#ecf4ff;min-width:0;display:flex;align-items:flex-start;text-align:left;gap:12px;padding:17px 15px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.config-shortcut:hover,.config-shortcut:focus-visible{background:#172a43;border-color:#5186c5;transform:translateY(-2px);box-shadow:0 9px 25px #0003;outline:none}
.config-shortcut-icon,.config-section-icon{display:grid;place-items:center;background:#1d3554;border:1px solid #3c5a7c;color:#85bbff;border-radius:11px;flex:0 0 42px;height:42px}
.config-shortcut-label{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.config-shortcut-label strong{font-size:13px;line-height:1.35;letter-spacing:-.01em}
.config-shortcut-label small{font-size:11px;line-height:1.5;color:#91a8c6;overflow-wrap:anywhere}
.config-shortcut-arrow{color:#86baff;font-size:16px;align-self:center}
.settings-shell{max-width:none;display:grid;gap:11px}
.config-section{border:1px solid #293a53;border-radius:14px;background:#101926;overflow:hidden;scroll-margin-top:22px;transition:border-color .2s,box-shadow .2s}
.config-section[open]{border-color:#416a99;box-shadow:0 12px 35px #0002}
.config-section-summary{display:flex;align-items:center;gap:14px;padding:17px 20px;cursor:pointer;list-style:none;user-select:none;background:linear-gradient(100deg,#172132,#101927);min-width:0}
.config-section-summary::-webkit-details-marker{display:none}
.config-section-summary:hover{background:#1b2b41}
.config-section-summary:focus-visible{outline:2px solid #74aeff;outline-offset:-2px}
.config-section-heading{display:grid;gap:4px;flex:1;min-width:0}
.config-section-heading strong{font-size:15px;line-height:1.35;letter-spacing:-.01em}
.config-section-heading small{font-size:11px;color:#9fb5d1;line-height:1.5}
.config-section-icon{width:42px}
.config-status{border:1px solid #615439;background:#342b1a;color:#f9cd7d;border-radius:99px;padding:6px 10px;font-size:10px;font-weight:800;white-space:nowrap}
.config-status.ready{background:#0f392e;color:#69efc0;border-color:#2d6854}
.config-chevron{font-size:23px;line-height:1;color:#8ba8c9;transition:transform .2s;flex:0 0 auto}
.config-section[open] .config-chevron{transform:rotate(180deg)}
.config-section-body{border-top:1px solid #2b3d57;background:#0c1422;padding:20px;display:grid;gap:16px;min-width:0}
.config-section-body>.panel{margin:0;min-width:0;padding:22px;border-radius:11px;background:#111c2d;border-color:#2d3c54}
.config-section-body .panel .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.config-section-body .panel .field{min-width:0}
.config-section-body .panel input,.config-section-body .panel select,.config-section-body .panel textarea{max-width:100%;width:100%;font-size:13px;border-radius:9px}
.config-section-body .panel h3{font-size:16px;line-height:1.35;margin:0}
.config-section-body .panel h3:not(:first-child){margin-top:6px}
.config-section-body .panel .help{font-size:12px;line-height:1.6}
.config-section-body .panel .notice{font-size:12px;line-height:1.65}
.config-section-footer{padding:14px 4px 0;display:flex;gap:12px;justify-content:flex-end;align-items:center;border-top:1px solid #273950}
.config-section-footer>span{color:#91a7c1;font-size:11px}
.config-section-footer .btn{min-width:172px}
.config-save-all{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 10px;padding:16px 20px;border:1px solid #315078;background:#11223b;border-radius:13px}
.config-save-all span{font-size:12px;color:#b0c6e1}
@media(max-width:1140px){.config-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:730px){.settings-intro{padding:21px 17px}.settings-intro-icon{display:none}.config-section-body{padding:13px}.config-section-body>.panel{padding:16px}.config-section-body .panel .fields{grid-template-columns:1fr}.config-section-summary{padding:15px 13px;gap:10px}.config-status{display:none}.config-section-heading strong{font-size:13px}.config-section-heading small{font-size:10px}.config-section-icon{width:35px;height:35px;flex-basis:35px}}
@media(max-width:510px){.config-shortcuts{grid-template-columns:1fr;gap:9px}.config-shortcut{padding:14px}.config-section-footer,.config-save-all{align-items:stretch;flex-direction:column}.config-section-footer .btn,.config-save-all .btn{width:100%}.settings-intro h2{font-size:22px}}

/* Pisol Store v5.2 — vitrine real de produtos digitais */
.hero.hero-store{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(310px,.85fr);align-items:center;gap:clamp(24px,4vw,64px);padding:clamp(30px,5.5vw,70px);min-height:425px;background:radial-gradient(circle at 88% 22%,rgba(38,105,205,.25),transparent 48%),linear-gradient(118deg,#08142b 8%,#0b2043 72%,#0c2f58 100%)}
.hero.hero-store::before,.hero.hero-store::after{display:none}
.hero.hero-store>.hero-copy{max-width:630px;min-width:0}
.hero.hero-store>.hero-showcase{position:relative;z-index:1;max-width:none;min-width:0;width:100%}
.hero-store .eyebrow{display:inline-flex;align-items:center;gap:8px;color:#93c8ff}
.hero-store h1{font-size:clamp(35px,4.3vw,60px);line-height:1.09;max-width:640px;margin:18px 0 19px}
.hero-store h1 em{color:#74b9ff}
.hero-store p{font-size:clamp(14px,1.3vw,16px);line-height:1.75;max-width:540px;margin-bottom:22px}
.hero-actions{display:flex;flex-wrap:wrap;gap:11px;align-items:center}
.hero-actions .btn{margin:0;min-height:48px;padding:12px 20px}
.hero-microcopy{display:flex;align-items:center;gap:8px;color:#a4c6e9;font-size:12px;margin-top:25px}
.hero-microcopy .icon{flex-shrink:0}
.hero-showcase{padding:18px;background:linear-gradient(150deg,rgba(25,52,94,.9),rgba(11,24,44,.94));border:1px solid rgba(102,167,247,.35);border-radius:20px;box-shadow:0 25px 60px #02061280,0 0 0 7px #518ed10b}
.hero-showcase-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;font-size:10px}
.hero-showcase-badge{font-weight:850;color:#9fcaff;letter-spacing:.1em;display:inline-flex;align-items:center;gap:7px}
.hero-showcase-status{color:#93e5c9;white-space:nowrap}
.hero-product-link{display:grid;grid-template-columns:40% minmax(0,1fr);align-items:center;gap:16px;min-height:185px;background:#071321;border:1px solid #33516f;border-radius:14px;padding:15px;transition:transform .2s,border-color .2s,box-shadow .2s}
.hero-product-link:hover{transform:translateY(-3px);border-color:#65aeff;box-shadow:0 10px 30px #0004}
.hero-product-art{height:165px;width:100%;display:grid;place-items:center;border-radius:11px;overflow:hidden;background:radial-gradient(circle at 50% 35%,#1e5787,#091629 70%);color:#93beed}
.hero-product-art img{width:100%;height:100%;object-fit:cover}
.hero-product-details{min-width:0;display:grid;align-content:center;gap:9px}
.hero-product-details h2{font-size:clamp(17px,1.8vw,24px);overflow-wrap:anywhere;margin:0;line-height:1.25}
.hero-product-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.hero-product-bottom>strong{color:#fff;font-size:23px;font-weight:850;white-space:nowrap}
.hero-product-bottom>span{display:inline-flex;align-items:center;gap:5px;color:#86beff;font-weight:750;font-size:12px}
.hero-showcase-note{display:flex;align-items:center;gap:9px;margin-top:14px;color:#b9d4eb;font-size:11px}
.hero-showcase-empty{text-align:center}.hero-empty-art{display:grid;place-items:center;height:145px;color:#92c0f6}.hero-showcase-empty h2{font-size:20px}.hero-showcase-empty p{font-size:13px;margin:7px auto 12px}
.benefits>div{display:flex;align-items:center;justify-content:center;text-align:center;gap:10px;padding:18px 14px}
.benefits>div .icon{flex:0 0 auto}
.category-section{scroll-margin-top:110px}
/* Rodapé do checkout ocupa as duas colunas e fica centralizado. */
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:24px;row-gap:28px}
.checkout-layout>.checkout-details{grid-column:1;grid-row:1;min-width:0}
.checkout-layout>.checkout-summary{grid-column:2;grid-row:1;min-width:0}
.checkout-layout>.checkout-actions{grid-column:1/-1;grid-row:2;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;gap:17px;padding:23px 15px 8px;border-top:1px solid #283d57}
.checkout-actions>.checkout-consent{width:min(100%,590px);padding:0;margin:0 auto;gap:7px}
.checkout-actions .checkbox-label{justify-content:center;align-items:flex-start;text-align:left;max-width:550px;margin:0 auto;width:100%;gap:12px}
.checkout-actions .checkbox-label span{min-width:0}
.checkout-actions .checkbox-label input{flex:0 0 18px;width:18px;height:18px;margin-top:4px}
.checkout-actions .checkout-consent>.help{text-align:center;margin:0}
.checkout-actions .checkout-pay{width:min(100%,520px);max-width:520px;margin:0 auto;min-height:56px}
.checkout-actions .checkout-pay .icon{flex-shrink:0}
@media(max-width:900px){
 .hero.hero-store{grid-template-columns:1fr;gap:30px;min-height:0;padding:42px clamp(20px,5vw,50px)}
 .hero.hero-store>.hero-showcase{max-width:670px}
 .hero-store h1{max-width:680px}
}
@media(max-width:760px){
 .checkout-layout{grid-template-columns:minmax(0,1fr);row-gap:17px}
 .checkout-layout>.checkout-details{grid-column:1;grid-row:1}
 .checkout-layout>.checkout-summary{grid-column:1;grid-row:2}
 .checkout-layout>.checkout-actions{grid-column:1;grid-row:3;padding:20px 0 4px}
 .checkout-actions .checkbox-label{justify-content:flex-start}
 .checkout-modal{padding:16px!important}
 .benefits{grid-template-columns:1fr}
}
@media(max-width:500px){
 .hero.hero-store{padding:32px 21px;border-radius:19px}
 .hero-store h1{font-size:clamp(30px,9vw,42px)}
 .hero-showcase{padding:12px;border-radius:15px}
 .hero-showcase-status{display:none}
 .hero-product-link{grid-template-columns:105px minmax(0,1fr);gap:12px;padding:10px;min-height:125px}
 .hero-product-art{height:115px}
 .hero-product-details h2{font-size:16px}
 .hero-product-bottom>strong{font-size:19px}
 .hero-product-bottom>span{font-size:11px}
 .checkout-actions>.checkout-consent{font-size:12px}
 .checkout-actions .checkout-pay{font-size:14px;padding:13px 9px;gap:6px}
}

/* v5.3 Performance: reduce GPU overdraw without disabling accessible interactions. */
@media (max-width:790px){.hero::before,.hero::after{animation:none!important}.topbar{backdrop-filter:none;background:#08111f}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* === Pisol Store v5.3 · Dashboard analytics premium, SVG nativo e econômico === */
#dashboard-root{min-width:0;color:#edf5ff}
#dashboard-root .dash-kicker{color:#6aaaff;font-size:10px;letter-spacing:.18em;font-weight:850}
.dash-headline{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:24px}
.dash-headline h1{font-size:clamp(24px,2.4vw,34px);letter-spacing:-.045em;margin:7px 0 6px;font-weight:800}
.dash-headline p{margin:0;color:#95acc8;font-size:13px}
.dash-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.dash-last-update{font-size:11px;color:#9ab2d0;display:inline-flex;gap:9px;align-items:center;margin-right:7px}
.dash-live-dot{display:inline-block;background:#24d9ac;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #22c8a01a;flex-shrink:0}
.dash-kpi-grid{gap:14px;margin-bottom:18px}
.dash-stat{position:relative;overflow:hidden;min-height:144px;padding:20px 21px;border-radius:15px;background:linear-gradient(150deg,#15243a,#101927 75%);border:1px solid #2b3d59}
.dash-stat::before{content:"";position:absolute;inset:0 0 auto 0;height:2px;background:linear-gradient(90deg,#448fff,#25c3e8,transparent);opacity:.7}
.dash-kpi-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#9bb6d8;font-size:12px;font-weight:650;margin:1px 0 10px}
.dash-kpi-badge{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#1d3761;color:#86b8ff;font-weight:850;font-size:15px}
.dash-kpi-badge.dash-green{background:#123e34;color:#66e8bd}
.dash-kpi-badge.dash-amber{background:#483719;color:#ffcf6f}
.dash-kpi-badge.dash-purple{background:#342e56;color:#b5a6ff}
.dash-stat strong{font-size:clamp(23px,2vw,30px);font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1.25;display:block;color:#f0f7ff}
.dash-stat>small{font-size:11px;color:#8ca4c4;display:block;margin-top:8px}
.dash-charts-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:17px;margin-bottom:17px;align-items:stretch}
.dash-charts-grid>.panel+.panel,.dash-bottom-grid>.panel+.panel{margin-top:0}
#dashboard-root .dash-panel{min-width:0;background:linear-gradient(165deg,#101d2e 0%,#0e1726 100%);border:1px solid #273a55;border-radius:16px;padding:23px;overflow:hidden}
.dash-panel-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:22px}
.dash-panel-title h2{font-size:18px;line-height:1.3;letter-spacing:-.03em;margin:6px 0 5px;color:#eff6ff}
.dash-panel-title p{font-size:11px;color:#93accb;margin:0;line-height:1.6}
.dash-control-group{display:inline-flex;border:1px solid #293b55;border-radius:9px;padding:3px;background:#081323;flex-shrink:0;gap:2px}
.dash-control{border:0;background:transparent;color:#8da9c9;font-size:11px;font-weight:700;padding:8px 11px;white-space:nowrap;border-radius:6px;transition:background-color .12s,color .12s}
.dash-control:hover{color:white;background:#213753}
.dash-control.is-active{background:#265bac;color:#fff;box-shadow:0 1px 8px #0003}
.dash-control:focus-visible{outline:2px solid #70c3ff;outline-offset:2px}
.dash-chart-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px}
.dash-chart-caption{color:#7f9ab9;font-size:11px}
.dash-svg-frame{min-height:210px;position:relative}
.dash-svg{display:block;max-width:100%;width:100%;height:auto;overflow:visible}
.dash-grid-line{stroke:#2c3c54;stroke-width:1;stroke-dasharray:4 6}
.dash-axis-label{font-size:11px;fill:#8da5c4;letter-spacing:.01em}
.dash-marker circle{transition:stroke .15s,stroke-width .15s}
.dash-marker:hover circle:nth-of-type(2),.dash-marker:focus circle:nth-of-type(2){stroke:#e5f8ff;stroke-width:4}
.dash-marker:focus-visible{outline:none}
.dash-visit-item .dash-visit-rect{transition:fill .15s}
.dash-visit-item:hover .dash-visit-rect,.dash-visit-item:focus .dash-visit-rect{fill:#77ccff}
.dash-visit-item:focus-visible{outline:none}
.dash-no-data{color:#8eaccb;font-size:11px;text-align:center;margin:-10px auto 14px}
.dash-empty-chart{padding:55px 12px;color:#9bb1ce;text-align:center}
.dash-aside-badge{display:inline-flex;align-items:center;font-size:10px;letter-spacing:.09em;color:#79bbff;font-weight:800;border:1px solid #2e507b;background:#112741;border-radius:8px;padding:7px 10px;white-space:nowrap}
.dash-rank-list{margin:0;padding:0;list-style:none;display:grid;gap:20px}
.dash-rank-item{min-width:0}
.dash-rank-line{display:flex;gap:10px;align-items:center;margin-bottom:9px}
.dash-rank-line strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#e4f0ff}
.dash-rank-line b{font-size:11px;color:#b8d5ff;white-space:nowrap}
.dash-rank-number{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:7px;background:#19324e;color:#85c6ff;font-size:11px;font-weight:850}
.dash-rank-track{height:7px;background:#23364e;border-radius:999px;overflow:hidden;margin:0 0 7px 34px}
.dash-rank-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#2269d9,#45baff)}
.dash-rank-item small{display:block;margin-left:34px;color:#7898bd;font-size:10px}
.dash-zero{text-align:center;display:grid;justify-items:center;gap:10px;padding:45px 10px}
.dash-zero-icon{border:1px solid #284665;background:#132a43;padding:11px 16px;border-radius:14px;font-size:20px;color:#66bfff}
.dash-zero strong{font-size:13px}
.dash-zero p{font-size:11px;max-width:270px;margin:0}
.dash-visits{margin:0 0 17px}
.dash-visits .dash-panel-title{margin-bottom:7px}
.dash-bottom-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:17px;align-items:start}
.dash-panel-link{color:#7ac2ff;font-weight:750;font-size:12px;white-space:nowrap}
.dash-panel-link:hover{color:#bce5ff}
.dash-recent-table{min-width:580px}
.dash-recent-table td,.dash-recent-table th{padding:12px 9px}
.dash-recent-table td:first-child{min-width:100px}
.dash-health-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dash-health-grid>div{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #283b56;border-radius:11px;background:#0a1627;min-width:0}
.dash-health-grid small{font-size:10px;color:#a3bedc}
.dash-health-grid strong{font-size:clamp(17px,1.5vw,23px);color:#f1f8ff;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
.dash-health-grid span{font-size:10px;color:#829ab9}
.dash-health-note{border-top:1px solid #293c53;font-size:11px;margin:18px 0 0;padding-top:14px;line-height:1.55;color:#91a8c3}
@media(max-width:1250px){.dash-charts-grid,.dash-bottom-grid{grid-template-columns:minmax(0,1fr)}.dash-recent-table{min-width:620px}}
@media(max-width:760px){.dash-headline{align-items:flex-start}.dash-head-actions{width:100%}.dash-charts-grid{grid-template-columns:1fr}.dash-panel-title{flex-wrap:wrap}.dash-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard-root .dash-panel{padding:17px}.dash-stat{padding:15px}.dash-last-update{flex:1}.dash-chart-caption{font-size:10px}}
@media(max-width:430px){.dash-health-grid{grid-template-columns:1fr 1fr}.dash-kpi-grid{gap:9px}.dash-stat strong{font-size:21px}.dash-stat>small{font-size:10px}.dash-head-actions .btn{padding:8px 9px;font-size:11px}}

/* SVGs permanecem legíveis em celulares: rolagem somente dentro do gráfico. */
@media(max-width:760px){.dash-svg-frame{overflow-x:auto;overflow-y:hidden;min-height:0;scrollbar-width:thin;scrollbar-color:#426fa0 #13243a}.dash-svg{width:610px;max-width:none;min-width:610px}.dash-visits .dash-svg{width:610px;min-width:610px}.dash-no-data{position:sticky;left:0}}

/* Pisol Store 5.4 — painel de vendas reorganizado (referência administrativa) */
.admin-area{max-width:1700px}
.reference-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"today total month week" "recent recent year year" "recent recent popular discounts";gap:16px;align-items:stretch}
.ref-card{border:1px solid #23334a;background:#0d1523;box-shadow:none;border-radius:13px;min-width:0;padding:19px;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:9px}
.ref-card-title{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#a7b9d1;font-size:13px;line-height:1.35;min-width:0}
.ref-card-title>small{font-size:11px;color:#9aaac3;white-space:nowrap}
.ref-card-title span{color:#889ab2;cursor:help}
.ref-card>strong{font-size:23px;letter-spacing:-.03em;color:#f3f8ff;font-variant-numeric:tabular-nums}
.ref-card>small{font-size:11px;color:#91a5bd}
.ref-today{grid-area:today;min-height:186px}
.ref-total{grid-area:total;min-height:186px}
.ref-month{grid-area:month;min-height:186px}
.ref-week{grid-area:week;min-height:186px}
.ref-recent{grid-area:recent;min-height:410px;padding:19px 0 0}
.ref-recent>.ref-card-title{padding:0 18px 12px}
.ref-year{grid-area:year;min-height:188px}
.ref-popular{grid-area:popular;min-height:210px;justify-content:space-between}
.ref-discounts{grid-area:discounts;min-height:210px;justify-content:space-between}
.ref-foot{border-top:1px solid #273448;padding-top:12px;margin-top:auto;color:#8faeca;font-size:12px}
.reference-spark{display:block;width:calc(100% + 38px);height:90px;margin:0 -19px -19px;flex:1;min-height:80px}
.ref-year .reference-spark{min-height:110px;height:110px}
.ref-month .reference-spark{height:79px;min-height:60px}
.ref-week-inner{display:flex;align-items:end;justify-content:space-between;gap:9px;margin-top:auto}
.ref-week-inner>div:first-child{display:flex;flex-direction:column;gap:4px}
.ref-week-inner strong{font-size:25px}
.ref-week-inner small{font-size:10px;color:#8fa2bb}
.week-mini-bars{height:93px;display:flex!important;align-items:end;gap:6px;max-width:64%;flex:1;justify-content:flex-end}
.week-mini-bar{height:100%;min-width:9px;flex:1;max-width:20px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}
.week-mini-bar>span{display:block;background:linear-gradient(#f14a87,#d92a69);min-height:3px;width:100%;border-radius:3px 3px 0 0}
.week-mini-bar small{font-size:10px}
.ref-payments{min-width:0;flex:1;display:flex;flex-direction:column}
.ref-payment{display:grid;grid-template-columns:minmax(95px,1fr) minmax(115px,1.4fr) minmax(80px,.8fr) minmax(82px,.7fr);gap:10px;align-items:center;padding:10px 17px;border-top:1px solid #233148;font-size:12px;min-height:42px}
.ref-payment>strong,.ref-payment>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ref-payment>.status{justify-self:start;white-space:nowrap}
.ref-payment>b{text-align:right;font-size:12px;color:#17d681;font-variant-numeric:tabular-nums}
.ref-link{background:transparent;border:0;border-top:1px solid #27364b;width:100%;padding:15px 17px;text-align:left;color:#e8f1ff;font-weight:650;font-size:12px;cursor:pointer}
.ref-link:hover{color:#78caff;background:#101e30}
.reference-ring{background:conic-gradient(#386de8 0 var(--portion),#25b99d var(--portion) 100%);width:140px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;margin:12px auto}
.reference-ring>div{border-radius:50%;width:100px;aspect-ratio:1;background:#0d1523;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.reference-ring b{font-size:23px}.reference-ring span{font-size:10px;color:#9bb0ca}
.ref-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:10px}
.ref-legend>span{display:inline-flex;align-items:center;gap:5px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.legend-dot{width:8px;height:8px;border-radius:2px;background:#386de8;flex:none}.legend-dot.second{background:#25b99d}
.reference-empty{display:flex;flex:1;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:8px;padding:15px;color:#e7f2ff}
.reference-empty strong{font-size:13px}.reference-empty small{font-size:11px;color:#91a5bd;line-height:1.45}
.reference-empty-icon{background:#123329;color:#19e0a0;border-radius:50%;display:grid;place-items:center;width:45px;height:45px;font-weight:800;font-size:21px}
.ref-coupon-list>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #24334b;padding:11px 0;gap:7px}
.ref-coupon-list span{font-size:11px;color:#b7c8dd}
.reference-utility{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#8198b5;margin-top:13px}
.reference-order-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.reference-order-stats .stat-card{display:grid;grid-template-columns:48px 1fr;grid-template-rows:1fr 1fr;min-height:94px;align-items:center;gap:0 10px}
.reference-order-stats .kpi-icon{grid-row:1/3;display:grid;place-items:center;margin:0;background:#1b293b;border-radius:10px;width:40px;height:40px}
.reference-order-stats .stat-card p{align-self:end;margin:0;color:#9fb8d4;font-size:12px}
.reference-order-stats .stat-card strong{align-self:start;font-size:23px}
.ref-orders-panel{padding:0;overflow:hidden}
.ref-orders-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:14px 15px;border-bottom:1px solid #283951}
.ref-orders-toolbar input,.ref-orders-toolbar select{background:#08111f;border:1px solid #2a3a52;border-radius:7px;color:#dceaff;padding:10px;min-width:0;font:inherit;font-size:12px}
.ref-orders-toolbar input{flex:1;min-width:140px}.ref-orders-toolbar select{min-width:115px}
.ref-orders-table{margin:0;min-width:740px}.ref-orders-table td:first-child{min-width:160px}.ref-orders-table th{color:#adc0da;background:#0d1623}
.ref-orders-table td{padding:14px 12px;border-bottom:1px solid #24334a}.ref-orders-table td strong{font-size:12px}.ref-orders-table td small{font-size:10px;margin-top:4px;color:#9ab3d2}
.ref-pagination{padding:15px;display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px}.ref-pagination>div{display:flex;gap:8px;align-items:center}
.ref-category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px;align-items:stretch}
.ref-category-card{padding:17px;display:flex;flex-direction:column;gap:20px;min-height:240px;border:1px solid #28374b}
.ref-category-heading{display:flex;gap:11px;align-items:flex-start}.ref-category-heading>div{min-width:0}.ref-category-heading strong{font-size:14px}.ref-category-heading small{display:block;color:#68a9ff;margin-top:4px;font-size:11px;overflow-wrap:anywhere}
.drag-grip{color:#b3c2db;cursor:grab;user-select:none;flex:none;font-size:20px;line-height:1}.drag-grip:active{cursor:grabbing}
.ref-subcategories{display:flex;flex-direction:column;gap:8px;min-height:65px}.ref-subcategory{background:#060c18;border:1px solid #27344b;border-radius:9px;padding:11px;display:flex;align-items:center;gap:10px}.ref-subcategory strong{min-width:0;flex:1;font-size:12px}.ref-subcategory .btn{padding:5px 9px}
.ref-category-actions{margin-top:auto;display:flex;gap:8px}.ref-category-actions .btn{flex:1;white-space:normal;font-size:11px}
.reference-hint{color:#94a9c3;font-size:12px;margin:0 0 15px}
.sortable-category.is-dragging,.ref-product-row.is-dragging{opacity:.35}.drop-target{outline:2px dashed #579ef5;outline-offset:-3px;background:#1c3650!important}
.ref-products-toolbar{display:flex;align-items:center;gap:15px;margin-bottom:15px}.ref-products-toolbar input{min-width:240px;padding:10px;background:#0d1523;border:1px solid #2a3c56;border-radius:8px;color:white}
.ref-product-group{margin-bottom:12px;background:#0a111f;border:1px solid #2a3950;border-radius:10px;overflow:hidden}
.ref-product-group-head{background:#202c3e;min-height:55px;display:flex;align-items:center;gap:12px;padding:12px 17px;font-size:13px}
.ref-product-count{margin-left:auto;font-size:11px;color:#8ca7c6}
.ref-product-row{min-height:58px;display:flex;align-items:center;gap:13px;border-top:1px solid #172336;padding:8px 16px;font-size:12px}
.ref-product-row[hidden]{display:none}.ref-product-row>.product-thumbnail{width:32px;height:32px;min-width:32px;max-width:32px;flex-basis:32px}
.ref-product-row>.product-thumbnail img{width:32px!important;height:32px!important}
.ref-product-row>strong{flex:1;min-width:0;overflow-wrap:anywhere}.ref-product-row>.btn{margin-left:auto}
.ref-product-price{color:#64b5ff;white-space:nowrap}.ref-product-row .mini-tag{white-space:nowrap}
@media(max-width:1200px){.reference-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"today total" "month week" "year year" "recent recent" "popular discounts"}.ref-recent{min-height:auto}.ref-week-inner{margin-top:20px}}
@media(max-width:650px){.reference-dashboard-grid{grid-template-columns:1fr;grid-template-areas:"today" "total" "month" "week" "year" "recent" "popular" "discounts"}.ref-today,.ref-total,.ref-month,.ref-week{min-height:150px}.reference-order-stats{grid-template-columns:1fr 1fr}.reference-order-stats .stat-card{padding:11px}.ref-payment{grid-template-columns:minmax(80px,1fr) minmax(80px,1fr);row-gap:6px}.ref-payment .status{grid-column:1/2}.ref-payment b{grid-column:2/3}.ref-orders-toolbar{align-items:stretch}.ref-orders-toolbar input,.ref-orders-toolbar select{min-width:100%;width:100%}.ref-product-row{flex-wrap:wrap}.ref-product-price{margin-left:auto}.ref-product-row .mini-tag{display:none}.ref-category-grid{grid-template-columns:1fr}.ref-products-toolbar{flex-wrap:wrap}}

/* 5.4.2 — confirmação visível do produto antes de criar o PIX */
.checkout-actions .checkout-product-confirm{max-width:590px;padding:13px 16px;border:1px solid #365777;border-radius:10px;background:#11263d;color:#c7dbf4;line-height:1.55}
.checkout-actions .checkout-product-confirm strong{color:#e7f6ff}
.checkout-actions .checkout-product-confirm input{accent-color:#3cb7f5}

/* Pedidos com QR Pix vencido e controles de arquivamento (v5.4.3) */
.status.expired{background:#493018;color:#ffd59b;border:1px solid #805225}
.ref-orders-table td:last-child{min-width:195px;white-space:nowrap}
.ref-orders-table td:last-child .btn{margin-right:4px}
.ref-orders-toolbar #admin-order-archive{border-color:#397bb7;color:#d9ecff}
.order-detail-section>.btn.red{margin-top:10px}
@media(max-width:650px){.ref-orders-table td:last-child{min-width:190px}}

/* 5.4.4: checkout Cloudflare and admin order controls */
.checkout-turnstile{margin:13px 0;padding:14px;border:1px solid #355175;border-radius:12px;background:#11233a;text-align:center}
.checkout-turnstile-label{font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:9px}
#checkout-turnstile-widget{display:flex;justify-content:center;max-width:100%;overflow:hidden;min-height:24px}
.checkout-turnstile .help{display:block;font-size:12px;margin:9px 0}
.checkout-turnstile-retry[hidden]{display:none!important}
.order-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.order-actions .btn{white-space:nowrap}
.order-admin-management{grid-column:1/-1}
.status.manual_approved{background:#133f5b;color:#9edcff;border:1px solid #225d83}
#config-cloudflare summary{cursor:pointer;padding:15px;font-weight:700}
#config-cloudflare .fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}
#config-cloudflare input[type=text],#config-cloudflare input[type=password],#config-cloudflare .field input{width:100%;margin-top:8px}
@media(max-width:700px){.order-actions{max-width:260px}.order-actions .btn{font-size:11px}}

/* Checkout 5.4.5: campos configuráveis, sem acrescentar passos ao pagamento. */
.checkout-address-fields{border-top:1px solid var(--border);padding-top:17px;display:grid;gap:12px}
.checkout-address-fields h4{font-size:14px;margin:0;color:var(--text)}
.checkout-address-fields .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.checkout-config-card{background:#0b1525;border:1px solid #2b3c55;border-radius:13px;padding:18px;display:grid;gap:10px}
.checkout-config-head{display:flex;justify-content:space-between;align-items:center;gap:18px}
.checkout-config-head strong,.checkout-config-card.fixed strong{font-size:14px;color:#f3f7ff}
.checkout-config-head p,.checkout-config-card.fixed p{font-size:12px;margin:4px 0 0;color:#a7bbd4}
.checkout-switch{display:inline-flex;align-items:center;position:relative;cursor:pointer;flex-shrink:0}
.checkout-switch input{position:absolute;opacity:0;width:1px!important;height:1px!important}
.checkout-switch span{display:block;width:44px;height:26px;background:#263449;border-radius:50px;transition:background .2s;position:relative}
.checkout-switch span:after{content:'';width:20px;height:20px;position:absolute;left:3px;top:3px;background:#f9fbff;border-radius:50%;transition:transform .2s}
.checkout-switch input:checked+span{background:#367edf}
.checkout-switch input:checked+span:after{transform:translateX(18px)}
.checkout-switch input:focus-visible+span{outline:2px solid white;outline-offset:3px}
.checkout-optional{border-top:1px solid #263750;padding-top:12px;display:flex;align-items:center;gap:10px;font-size:12px;color:#d2e0f4;cursor:pointer}
.checkout-optional input{width:17px!important;height:17px!important;flex:none;accent-color:#428fff}
.checkout-config-status{font-size:11px;color:#93abc8}
.checkout-config-card.fixed{background:#0e2430;border-color:#235f60}
.checkout-config-card.fixed .status{width:max-content}
.checkout-mode-field{display:grid;gap:8px}
.checkout-mode-field>span{font-size:12px;color:#bed0e8;font-weight:700}
.checkout-mode-field select{max-width:260px}
.checkout-mode-badge{display:inline-flex;align-items:center;justify-content:center;min-width:110px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.02em;border:1px solid transparent;flex-shrink:0}
.checkout-mode-badge.required{background:#123a2d;border-color:#23684f;color:#7cf0c0}
.checkout-mode-badge.optional{background:#23334b;border-color:#3d5b85;color:#9bc4ff}
.checkout-mode-badge.off{background:#311b22;border-color:#6f3949;color:#ffb6c6}
@media (max-width:720px){.checkout-config-head{flex-direction:column;align-items:flex-start}.checkout-mode-badge{min-width:0}}
.order-address-block{grid-column:1/-1;display:grid;gap:4px}
@media(max-width:580px){.checkout-address-fields .fields{grid-template-columns:1fr}}
