/* Loja do Hades Bot. A casca é a do painel roxo; o verde marca só o que é da Loja: dinheiro recebido, item entregue e ação principal.
   Âmbar marca o que espera alguém (Pix, entrega manual, estoque baixo). Rosa marca o que acabou (cancelado, expirado, esgotado). */
#shop-content{--sh-green:#34D399;--sh-green-ink:#04291B;--sh-green-soft:rgba(52,211,153,.12);--sh-green-line:rgba(52,211,153,.32);--sh-amber:#F5B544;--sh-amber-soft:rgba(245,181,68,.12);--sh-rose:#F3607A;--sh-rose-soft:rgba(243,96,122,.12);--sh-violet:#B9A3FA;--sh-panel:#120E19;--sh-panel-2:#17121F;--sh-line:#2A2140;--sh-line-2:#362a52;--sh-text:#ECE6F5;--sh-muted:#A79DB8;--sh-faint:#857a98;--sh-display:'Archivo',var(--font,'DM Sans'),system-ui,sans-serif;color:var(--sh-text)}
#shop-content[hidden]{display:none!important}
#shop-content .sh-page{max-width:1180px;margin:0 auto;padding:4px 0 48px;display:grid;gap:18px}
#shop-content h1,#shop-content h2{font-family:var(--sh-display);font-stretch:112%;letter-spacing:-.01em;color:var(--sh-text);margin:0}
#shop-content h1{font-size:clamp(24px,2.4vw,30px);font-weight:760;line-height:1.15}
#shop-content h2{font-size:15px;font-weight:700;line-height:1.3;margin-bottom:12px}
#shop-content p{margin:0;line-height:1.55}
#shop-content .sh-num{font-family:var(--sh-display);font-stretch:108%;font-variant-numeric:tabular-nums;font-weight:700}
#shop-content .sh-muted{color:var(--sh-muted);font-size:14px}
#shop-content .sh-pad{padding:18px 4px}
#shop-content .sh-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;padding-bottom:4px}
#shop-content .sh-head p{color:var(--sh-muted);font-size:14.5px;margin-top:6px;max-width:68ch}
#shop-content .sh-head-actions{display:flex;gap:8px;flex-wrap:wrap}
#shop-content .sh-panel{background:var(--sh-panel);border:1px solid var(--sh-line);border-radius:14px;padding:18px 18px 20px;min-width:0}
#shop-content .sh-split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px}
#shop-content .sh-split-stock{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start}

/* Botões: o principal da Loja é verde. */
#shop-content .btn.primary{background:var(--sh-green);border-color:var(--sh-green);color:var(--sh-green-ink);box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 8px 22px -14px var(--sh-green)}
#shop-content .btn.primary:hover{filter:brightness(1.06)}
#shop-content .btn.danger{color:#ffb1bf;border-color:rgba(243,96,122,.4);background:rgba(243,96,122,.08)}
#shop-content .btn.sm{min-height:32px;padding:0 11px;font-size:13px;border-radius:8px;gap:6px}
#shop-content .btn.icon{width:32px;padding:0}
#shop-content .btn:disabled{opacity:.5;cursor:not-allowed}
#shop-content .btn:focus-visible,#shop-content button:focus-visible,#shop-content a:focus-visible,#shop-content input:focus-visible,#shop-content select:focus-visible,#shop-content textarea:focus-visible{outline:2px solid var(--sh-green);outline-offset:2px}

/* Primeiros passos: é uma sequência de verdade, então leva número. */
#shop-content .sh-setup{border:1px solid var(--sh-green-line);background:linear-gradient(180deg,rgba(52,211,153,.07),transparent 70%),var(--sh-panel);border-radius:14px;padding:18px}
#shop-content .sh-setup ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;counter-reset:step}
#shop-content .sh-setup li{counter-increment:step}
#shop-content .sh-setup a{display:flex;gap:11px;height:100%;padding:12px;border-radius:11px;border:1px solid var(--sh-line);background:var(--sh-panel-2);color:var(--sh-text);text-decoration:none}
#shop-content .sh-setup a:hover{border-color:var(--sh-green-line)}
#shop-content .sh-step-mark{flex:0 0 26px;height:26px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--sh-line-2);font:700 12px var(--sh-display);color:var(--sh-muted)}
#shop-content .sh-setup li:not(.done) .sh-step-mark::before{content:counter(step)}
#shop-content .sh-setup li.done .sh-step-mark{background:var(--sh-green);border-color:var(--sh-green);color:var(--sh-green-ink)}
#shop-content .sh-setup strong{display:block;font-size:14px}
#shop-content .sh-setup small{display:block;color:var(--sh-muted);font-size:12.5px;line-height:1.45;margin-top:3px}
#shop-content .sh-setup li.done strong{color:var(--sh-muted);text-decoration:line-through;text-decoration-color:rgba(52,211,153,.6)}

/* Precisa de você: a primeira coisa da Visão geral. */
#shop-content .sh-queue{background:var(--sh-panel);border:1px solid var(--sh-line);border-radius:14px;padding:16px 18px}
#shop-content .sh-queue h2{margin-bottom:10px}
#shop-content .sh-queue ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
#shop-content .sh-queue li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 14px;border-radius:10px;background:var(--sh-panel-2);border-left:3px solid var(--sh-line-2);font-size:14px}
#shop-content .sh-queue li.amber{border-left-color:var(--sh-amber)}
#shop-content .sh-queue li.rose{border-left-color:var(--sh-rose)}
#shop-content .sh-calm{display:flex;align-items:center;gap:8px;color:var(--sh-muted);font-size:14px}
#shop-content .sh-calm svg{color:var(--sh-green)}

/* Análise de vendas: o mesmo tipo de gráfico da página inicial da conta (curva, área em degradê, pontos e cursor), no verde da Loja.
   A curva sobe da base ao abrir a Visão geral e ao trocar o período; é o único movimento da Loja que acontece sozinho. */
#shop-content .sh-sales{--gutter:84px;background:var(--sh-panel);border:1px solid var(--sh-line);border-radius:16px;padding:20px 22px 0;display:grid;gap:16px;overflow:hidden}
#shop-content .sh-sales-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin:0 -22px;padding:0 22px 18px;border-bottom:1px solid var(--sh-line)}
#shop-content .sh-sales-sum{display:grid;gap:5px;min-width:0}
#shop-content .sh-sales-sum h2{margin:0;font-size:17px}
#shop-content .sh-sales-sum p{font-size:13.5px;color:var(--sh-muted)}
#shop-content .sh-compare{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--sh-muted)}
#shop-content .sh-compare.up{color:var(--sh-green)}
#shop-content .sh-compare.down{color:#F59FB0}
#shop-content .sh-periods{display:inline-flex;padding:3px;border-radius:11px;background:#0E0B14;border:1px solid var(--sh-line)}
#shop-content .sh-periods button{min-height:34px;padding:0 14px;border:0;border-radius:8px;background:none;color:var(--sh-muted);font:600 13px var(--font,'DM Sans');cursor:pointer;white-space:nowrap}
#shop-content .sh-periods button:hover{color:var(--sh-text)}
#shop-content .sh-periods button[aria-pressed=true]{background:var(--sh-green-soft);color:var(--sh-green);box-shadow:inset 0 0 0 1px var(--sh-green-line)}
#shop-content .sh-plot{position:relative;height:270px;margin-top:6px;border-radius:8px;cursor:crosshair;touch-action:pan-y}
#shop-content .sh-plot:focus-visible{outline-offset:6px}
#shop-content .sh-grid,#shop-content .sh-canvas,#shop-content .sh-plot-empty{position:absolute;top:12px;right:12px;bottom:0;left:var(--gutter)}
#shop-content .sh-grid{pointer-events:none}
#shop-content .sh-grid span{position:absolute;left:0;right:0;border-top:1px solid #241d36}
#shop-content .sh-grid em{position:absolute;left:calc(-1 * var(--gutter));width:calc(var(--gutter) - 12px);top:-8px;text-align:right;font:normal 12px var(--font,'DM Sans');font-variant-numeric:tabular-nums;color:var(--sh-faint);white-space:nowrap}
#shop-content .sh-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#shop-content .sh-rise{transform-origin:0 300px;animation:sh-grow .95s cubic-bezier(.2,.85,.25,1.08) both}
#shop-content .sh-stroke{fill:none;stroke:var(--sh-green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 6px rgba(52,211,153,.5))}
#shop-content .sh-dots{position:absolute;inset:0;pointer-events:none}
#shop-content .sh-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--sh-panel);border:2px solid #A7F3D0;transform:translate(-50%,50%);animation:sh-pop .42s .62s cubic-bezier(.3,1.5,.5,1) both}
#shop-content .sh-dots.many .sh-dot{width:8px;height:8px}
#shop-content .sh-dot.now{background:var(--sh-green);border-color:var(--sh-green)}
#shop-content .sh-cursor{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .14s}
#shop-content .sh-plot.is-hover .sh-cursor{opacity:1}
#shop-content .sh-cursor i{position:absolute;top:0;bottom:0;border-left:1px dashed rgba(110,231,183,.6)}
#shop-content .sh-cursor b{position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--sh-green);transform:translate(-50%,50%);box-shadow:0 0 12px rgba(52,211,153,.75);box-sizing:border-box}
#shop-content .sh-plot-empty{display:grid;place-items:center;color:var(--sh-faint);font-size:14px;pointer-events:none}
#shop-content .sh-tip{position:absolute;z-index:3;transform:translate(-50%,-18px);display:grid;gap:1px;min-width:136px;padding:10px 13px;border-radius:12px;background:#17121f;border:1px solid var(--sh-green-line);box-shadow:0 16px 34px -12px #000,0 0 30px -18px var(--sh-green);pointer-events:none;white-space:nowrap}
#shop-content .sh-tip[hidden]{display:none}
#shop-content .sh-tip[data-side=left]{transform:translate(0,-18px)}
#shop-content .sh-tip[data-side=right]{transform:translate(-100%,-18px)}
#shop-content .sh-tip.below{transform:translate(-50%,calc(100% + 18px))}
#shop-content .sh-tip.below[data-side=left]{transform:translate(0,calc(100% + 18px))}
#shop-content .sh-tip.below[data-side=right]{transform:translate(-100%,calc(100% + 18px))}
#shop-content .sh-tip strong{font-size:12.5px;font-weight:600;color:var(--sh-muted)}
#shop-content .sh-tip .sh-num{font-size:17px;color:var(--sh-text)}
#shop-content .sh-tip small{font-size:12px;color:var(--sh-faint)}
#shop-content .sh-axis{position:relative;height:26px;margin:0 12px 0 var(--gutter)}
#shop-content .sh-axis span{position:absolute;top:8px;transform:translateX(-50%);font-size:12.5px;color:var(--sh-faint);white-space:nowrap}
#shop-content .sh-axis span:last-child{color:var(--sh-green)}
#shop-content .sh-sales-foot{display:flex;justify-content:space-between;align-items:center;gap:8px 18px;flex-wrap:wrap}
#shop-content .sh-sales-sumline{font-size:13.5px;color:var(--sh-muted)}
#shop-content .sh-sales-sumline strong{font-size:15px;color:var(--sh-text)}
#shop-content .sh-sales-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 -22px;border-top:1px solid var(--sh-line)}
#shop-content .sh-sales-facts>div{padding:14px 22px 16px;min-width:0}
#shop-content .sh-sales-facts>div+div{border-left:1px solid var(--sh-line)}
#shop-content .sh-sales-facts dt{font-size:12.5px;color:var(--sh-faint)}
#shop-content .sh-sales-facts dd{margin:3px 0 0;display:grid;gap:1px}
#shop-content .sh-sales-facts .sh-num{font-size:18px}
#shop-content .sh-sales-facts small{font-size:12px;color:var(--sh-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#shop-content .sh-faint{color:var(--sh-faint);font-size:14px}
@keyframes sh-grow{from{transform:scaleY(0);opacity:.15}to{transform:scaleY(1);opacity:1}}
@keyframes sh-pop{from{opacity:0;transform:translate(-50%,50%) scale(0)}}
#shop-content .sh-split-even{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:start}
#shop-content .sh-panel-sub{font-size:13px;color:var(--sh-faint);margin:-8px 0 10px}
#shop-content .sh-rank{margin:0;padding:0;list-style:none;display:grid}
#shop-content .sh-rank li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:2px 12px;padding:10px 2px;border-bottom:1px solid var(--sh-line);font-size:14px}
#shop-content .sh-rank li:last-child{border-bottom:0}
#shop-content .sh-rank li>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#shop-content .sh-rank li .sh-num{font-size:14.5px}
#shop-content .sh-rank li small{grid-column:1;grid-row:2;font-size:12px;color:var(--sh-faint)}
#shop-content .sh-rank li i{grid-column:1/-1;height:4px;margin-top:6px;border-radius:4px;background:linear-gradient(90deg,var(--sh-green) var(--w),#221a33 var(--w))}
#shop-content .sh-mini-orders{list-style:none;margin:0;padding:0}
#shop-content .sh-mini-orders li{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:11px 2px;border-bottom:1px solid var(--sh-line);font-size:14px}
#shop-content .sh-mini-orders li:last-child{border-bottom:0}
#shop-content .sh-mini-orders .sh-track{grid-column:1/-1}
#shop-content .sh-mini-who{display:grid;min-width:0}
#shop-content .sh-mini-who strong,#shop-content .sh-mini-who small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#shop-content .sh-mini-who small{font-size:12.5px;color:var(--sh-muted)}

/* O caminho do pedido: Carrinho, Pix, Pago, Entregue. */
#shop-content .sh-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:0;font-size:11.5px;color:var(--sh-faint)}
#shop-content .sh-track>span{display:grid;gap:5px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shop-content .sh-track i{display:block;height:4px;border-radius:4px;background:#2a2140}
#shop-content .sh-track .done{color:var(--sh-muted)}
#shop-content .sh-track .done i{background:var(--sh-green)}
#shop-content .sh-track .now{color:var(--sh-text);font-weight:600}
#shop-content .sh-track .now i{background:var(--sh-green);box-shadow:0 0 0 3px rgba(52,211,153,.18)}
#shop-content .sh-track .wait{color:var(--sh-amber);font-weight:600}
#shop-content .sh-track .wait i{background:var(--sh-amber);box-shadow:0 0 0 3px rgba(245,181,68,.18)}
#shop-content .sh-track.is-closed{display:block}
#shop-content .sh-track.is-closed b{display:inline-block;font-weight:600;color:var(--sh-rose);padding-top:2px}

/* Pedidos */
#shop-content .sh-tabs{display:flex;gap:6px;flex-wrap:wrap}
#shop-content .sh-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 13px;border-radius:999px;border:1px solid var(--sh-line);background:var(--sh-panel);color:var(--sh-muted);font:500 13.5px var(--font,'DM Sans');cursor:pointer}
#shop-content .sh-tabs button span{font-variant-numeric:tabular-nums;font-size:12px;color:var(--sh-faint)}
#shop-content .sh-tabs button.active{border-color:var(--sh-green-line);background:var(--sh-green-soft);color:var(--sh-text)}
#shop-content .sh-tabs button.active span{color:var(--sh-green)}
#shop-content .sh-search input{width:100%;max-width:440px;min-height:40px;padding:0 13px;border-radius:10px;border:1px solid var(--sh-line);background:var(--sh-panel);color:var(--sh-text);font-size:14px}
#shop-content .sh-orders{list-style:none;margin:0;padding:0;border:1px solid var(--sh-line);border-radius:14px;background:var(--sh-panel);overflow:hidden}
#shop-content .sh-orders>li+li{border-top:1px solid var(--sh-line)}
#shop-content .sh-order-row{display:grid;grid-template-columns:78px minmax(0,1.1fr) minmax(0,1.2fr) 104px 232px 92px;align-items:center;gap:12px;width:100%;padding:13px 16px;border:0;background:none;color:var(--sh-text);font:inherit;font-size:14px;text-align:left;cursor:pointer}
#shop-content .sh-order-row:hover{background:var(--sh-panel-2)}
#shop-content .is-open>.sh-order-row{background:var(--sh-panel-2)}
#shop-content .sh-code{font-family:var(--sh-display);font-stretch:108%;font-weight:700;font-size:13px;color:var(--sh-violet)}
#shop-content .sh-who{display:grid;min-width:0}
#shop-content .sh-who strong,#shop-content .sh-what{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
#shop-content .sh-who small{color:var(--sh-faint);font-size:12px;overflow:hidden;text-overflow:ellipsis}
#shop-content .sh-what{font-weight:500;color:var(--sh-muted)}
#shop-content .sh-when{font-size:12.5px;color:var(--sh-faint);white-space:nowrap}
#shop-content .sh-order-detail{padding:4px 16px 18px 106px;display:grid;gap:14px;background:var(--sh-panel-2)}
#shop-content .sh-order-detail dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px 18px;margin:0}
#shop-content .sh-order-detail dt{font-size:12px;color:var(--sh-faint)}
#shop-content .sh-order-detail dd{margin:2px 0 0;font-size:14px}
#shop-content .sh-deliver{display:grid;gap:8px;max-width:620px;padding:14px;border-radius:12px;border:1px solid rgba(245,181,68,.35);background:var(--sh-amber-soft)}
#shop-content .sh-deliver label{font-size:13.5px;font-weight:600}
#shop-content .sh-deliver textarea{min-height:72px}
#shop-content .sh-deliver .btn{justify-self:start}
#shop-content .sh-row-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
#shop-content .sh-order-detail .sh-row-actions{justify-content:flex-start}
#shop-content .sh-error{color:#ffb1bf;font-size:13.5px;background:var(--sh-rose-soft);border-radius:9px;padding:9px 12px}
#shop-content .sh-note{color:var(--sh-green);font-size:13.5px}

/* Produtos */
#shop-content .sh-products,#shop-content .sh-panels,#shop-content .sh-coupons{list-style:none;margin:0;padding:0;border:1px solid var(--sh-line);border-radius:14px;background:var(--sh-panel);overflow:hidden}
#shop-content .sh-products>li,#shop-content .sh-panels>li{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto auto;align-items:center;gap:14px;padding:12px 16px}
#shop-content .sh-products>li+li,#shop-content .sh-panels>li+li,#shop-content .sh-coupons>li+li{border-top:1px solid var(--sh-line)}
#shop-content .sh-products>li.is-paused .sh-product-main{opacity:.6}
#shop-content .sh-thumb{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;overflow:hidden;background:var(--sh-green-soft);color:var(--sh-green);font-size:22px;flex:0 0 44px}
#shop-content .sh-thumb img{width:100%;height:100%;object-fit:cover}
#shop-content .sh-thumb .sh-emoji{width:24px;height:24px}
#shop-content .sh-product-main{display:grid;min-width:0;gap:2px}
#shop-content .sh-product-main strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#shop-content .sh-product-main small{font-size:13px;color:var(--sh-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#shop-content .sh-price{font-size:16px}
#shop-content .sh-product-tags{display:flex;gap:6px;flex-wrap:wrap}
#shop-content .sh-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600;background:#221a33;color:var(--sh-muted);white-space:nowrap}
#shop-content .sh-chip.green{background:var(--sh-green-soft);color:var(--sh-green)}
#shop-content .sh-chip.amber{background:var(--sh-amber-soft);color:var(--sh-amber)}
#shop-content .sh-chip.rose{background:var(--sh-rose-soft);color:var(--sh-rose)}
#shop-content .sh-chip.violet{background:rgba(185,163,250,.12);color:var(--sh-violet)}
#shop-content button.sh-chip{border:0;font-family:inherit;cursor:pointer}
#shop-content button.sh-chip:hover{box-shadow:inset 0 0 0 1px currentColor}
#shop-content .sh-panel-swatch{width:44px;height:44px;border-radius:11px;background:linear-gradient(90deg,var(--accent) 0 5px,var(--sh-panel-2) 5px);border:1px solid var(--sh-line)}

/* Formulários e editor com prévia */
#shop-content .sh-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:18px;align-items:start}
#shop-content .sh-form{display:grid;gap:16px}
#shop-content .sh-form fieldset{margin:0;padding:18px;border:1px solid var(--sh-line);border-radius:14px;background:var(--sh-panel);display:grid;gap:14px;min-width:0}
#shop-content .sh-form legend{padding:0 6px;margin-left:-6px;font:700 15px var(--sh-display);font-stretch:112%;color:var(--sh-text)}
#shop-content .sh-field{display:grid;gap:6px;min-width:0}
#shop-content .sh-field>label{font-size:13.5px;font-weight:600;color:var(--sh-text)}
#shop-content .sh-field>small,#shop-content .sh-stock-add small{font-size:12.5px;color:var(--sh-faint);line-height:1.45}
#shop-content input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),#shop-content select,#shop-content textarea{width:100%;min-height:40px;padding:9px 12px;border-radius:10px;border:1px solid var(--sh-line-2);background:#0E0B14;color:var(--sh-text);font:14px var(--font,'DM Sans');box-sizing:border-box}
#shop-content textarea{resize:vertical;line-height:1.5}
#shop-content input[type=color]{width:56px;height:40px;padding:3px;border-radius:10px;border:1px solid var(--sh-line-2);background:#0E0B14}
#shop-content .sh-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#shop-content .sh-triple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#shop-content .sh-money-input,#shop-content .sh-unit,#shop-content .sh-inline{display:flex;align-items:center;gap:8px}
#shop-content .sh-money-input span,#shop-content .sh-unit span{color:var(--sh-muted);font-size:14px}
#shop-content .sh-inline select{width:78px;flex:0 0 78px}
#shop-content .sh-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#shop-content .sh-choice label{position:relative;display:grid;gap:4px;padding:13px 14px 13px 40px;border-radius:12px;border:1px solid var(--sh-line-2);background:#0E0B14;cursor:pointer}
#shop-content .sh-choice input{position:absolute;left:14px;top:15px;accent-color:var(--sh-green)}
#shop-content .sh-choice label.active{border-color:var(--sh-green-line);background:var(--sh-green-soft)}
#shop-content .sh-choice strong{font-size:14px}
#shop-content .sh-choice small{font-size:12.5px;color:var(--sh-muted);line-height:1.45}
#shop-content .sh-switch{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;cursor:pointer}
#shop-content .sh-switch input{width:18px;height:18px;accent-color:var(--sh-green)}
#shop-content .sh-switch span{font-size:14px;font-weight:600}
#shop-content .sh-switch small{grid-column:2;font-size:12.5px;color:var(--sh-faint)}
#shop-content .sh-switch-lg span{font-size:16px}
#shop-content .sh-checks{display:flex;flex-wrap:wrap;gap:8px}
#shop-content .sh-checks label{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--sh-line-2);background:#0E0B14;font-size:13.5px;cursor:pointer}
#shop-content .sh-checks input{accent-color:var(--sh-green)}
#shop-content .sh-checks label:has(input:checked){border-color:var(--sh-green-line);background:var(--sh-green-soft)}
#shop-content .sh-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#shop-content .sh-upload img{max-height:84px;max-width:220px;border-radius:10px;border:1px solid var(--sh-line)}
#shop-content .sh-upload input[type=file]{font-size:13px;color:var(--sh-muted)}
#shop-content .sh-form-actions{display:flex;gap:8px;flex-wrap:wrap}
#shop-content .sh-form-actions .btn.danger{margin-left:auto}
#shop-content .sh-pick-products{list-style:none;margin:0;padding:0;display:grid;gap:6px}
#shop-content .sh-pick-products li{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:6px 8px;border-radius:11px;background:#0E0B14;border:1px solid var(--sh-line)}
#shop-content .sh-pick-products li>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
#shop-content .sh-add-products select{max-width:320px}
#shop-content .sh-preview{position:sticky;top:12px;display:grid;gap:10px}
#shop-content .sh-preview h2{margin:0;font-size:13px;color:var(--sh-muted);font-family:var(--font,'DM Sans');font-stretch:100%;font-weight:600}
#shop-content .sh-preview-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
#shop-content .sh-seg{display:inline-flex;padding:2px;border-radius:9px;background:#0E0B14;border:1px solid var(--sh-line)}
#shop-content .sh-seg button{min-height:28px;padding:0 10px;border:0;border-radius:7px;background:none;color:var(--sh-muted);font:600 12.5px var(--font,'DM Sans');cursor:pointer}
#shop-content .sh-seg button[aria-pressed=true]{background:var(--sh-green-soft);color:var(--sh-green)}
#shop-content .sh-preview-note{font-size:12.5px;color:var(--sh-amber);line-height:1.45}
#shop-content .sh-live-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:11px;background:var(--sh-green-soft);border:1px solid var(--sh-green-line);font-size:13.5px}
#shop-content .sh-live-line>svg{color:var(--sh-green);flex:0 0 auto}
#shop-content .sh-live-line>span{flex:1 1 220px}
#shop-content .sh-coupon-form{margin:0}
#shop-content .sh-coupons>li{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,.9fr) minmax(0,.9fr) auto auto;align-items:center;gap:12px;padding:12px 16px;font-size:14px;color:var(--sh-muted)}
#shop-content .sh-coupon-code{font-family:var(--sh-display);font-stretch:112%;font-size:15px;letter-spacing:.02em;color:var(--sh-text)}

/* Estoque: só os produtos criados com entrega automática, cada um com a barra do que resta. */
#shop-content .sh-stock-list{list-style:none;margin:0;padding:0;border:1px solid var(--sh-line);border-radius:14px;background:var(--sh-panel);overflow:hidden}
#shop-content .sh-stock-list>li{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(220px,1.1fr) 112px auto;align-items:center;gap:14px;padding:13px 16px}
#shop-content .sh-stock-list>li+li{border-top:1px solid var(--sh-line)}
#shop-content .sh-stock-list>li.is-paused .sh-product-main{opacity:.6}
#shop-content .sh-stock-list>li>.sh-chip{justify-self:start}
#shop-content .sh-stock-level{display:grid;gap:7px;min-width:0}
#shop-content .sh-stock-level>span{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
#shop-content .sh-stock-level strong{font-size:14.5px}
#shop-content .sh-stock-level small{font-size:12.5px;color:var(--sh-faint)}
#shop-content .sh-meter{display:flex;height:6px;border-radius:6px;background:#221a33;overflow:hidden}
#shop-content .sh-meter i{display:block;height:100%}
#shop-content .sh-meter .a{background:var(--sh-green)}
#shop-content .sh-meter .r{background:var(--sh-amber)}
#shop-content .sh-meter .s{background:#3a2e55}
#shop-content .sh-manual-note{padding:0 4px}
#shop-content .sh-stock-add{display:grid;gap:10px}
#shop-content .sh-stock-add label{font-size:13.5px;font-weight:600}
#shop-content .sh-stock-add .btn{justify-self:start}
#shop-content .sh-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 12px;border:1px solid var(--sh-line);border-radius:11px}
#shop-content .sh-counts div{padding:10px 12px}
#shop-content .sh-counts div+div{border-left:1px solid var(--sh-line)}
#shop-content .sh-counts dt{font-size:12px;color:var(--sh-faint)}
#shop-content .sh-counts dd{margin:2px 0 0;font-size:20px}
#shop-content .sh-counts div:first-child dd{color:var(--sh-green)}
#shop-content .sh-items{list-style:none;margin:0;padding:0;max-height:440px;overflow:auto}
#shop-content .sh-items li{display:grid;grid-template-columns:minmax(0,1fr) auto 96px auto;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid var(--sh-line);font-size:14px}
#shop-content .sh-item-preview{font-variant-numeric:tabular-nums;letter-spacing:.04em;color:var(--sh-muted)}

/* Vitrine: as mensagens no ar aparecem como o cliente vê no canal. */
#shop-content .sh-showcase{display:grid;gap:12px}
#shop-content .sh-section-title{display:flex;align-items:center;gap:8px;margin:0}
#shop-content .sh-section-title span{font:600 12px var(--font,'DM Sans');font-stretch:100%;min-width:22px;height:22px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;background:var(--sh-green-soft);color:var(--sh-green)}
#shop-content .sh-live{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
#shop-content .sh-live-card{display:grid;grid-template-rows:auto 1fr;border:1px solid var(--sh-line);border-radius:14px;background:var(--sh-panel);overflow:hidden;min-width:0}
#shop-content .sh-live-preview{position:relative;max-height:236px;overflow:hidden;padding:14px 14px 0;background:#1E1F22;-webkit-mask-image:linear-gradient(#000 72%,transparent);mask-image:linear-gradient(#000 72%,transparent);pointer-events:none}
#shop-content .sh-live-preview .sh-discord{font-size:13.5px}
#shop-content .sh-live-body{display:grid;gap:6px;align-content:start;padding:12px 16px 16px;border-top:1px solid var(--sh-line)}
#shop-content .sh-live-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#shop-content .sh-live-title strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#shop-content .sh-live-meta{font-size:13px;color:var(--sh-muted)}
#shop-content .sh-live-sales{font-size:13.5px;color:var(--sh-muted)}
#shop-content .sh-live-sales .sh-num{color:var(--sh-green);font-size:15px}
#shop-content .sh-live-sales.is-none{color:var(--sh-faint)}
#shop-content .sh-live-body .sh-row-actions{justify-content:flex-start;margin-top:6px}

/* Logs */
#shop-content .sh-events{list-style:none;margin:0;padding:0}
#shop-content .sh-events li{display:grid;grid-template-columns:96px 150px minmax(0,1fr);gap:12px;padding:9px 2px 9px 10px;border-bottom:1px solid var(--sh-line);border-left:2px solid transparent;font-size:14px}
#shop-content .sh-events li.green{border-left-color:var(--sh-green)}
#shop-content .sh-events li.amber{border-left-color:var(--sh-amber)}
#shop-content .sh-events li.rose{border-left-color:var(--sh-rose)}
#shop-content .sh-events span:last-child{color:var(--sh-muted)}
#shop-content .sh-perms p{color:var(--sh-muted);font-size:14px}

/* Vazio e carregando */
#shop-content .sh-empty{display:grid;justify-items:start;gap:12px;padding:26px;border:1px dashed var(--sh-green-line);border-radius:14px;background:rgba(52,211,153,.03)}
#shop-content .sh-empty p{color:var(--sh-muted);font-size:14.5px;max-width:60ch}
#shop-content .sh-loading{display:grid;gap:12px;padding:8px 0}
#shop-content .sh-loading span{height:64px;border-radius:14px;background:linear-gradient(90deg,var(--sh-panel),var(--sh-panel-2),var(--sh-panel));background-size:200% 100%;animation:sh-shimmer 1.2s linear infinite}
#shop-content .sh-loading span:first-child{height:44px;width:40%}
@keyframes sh-shimmer{to{background-position:-200% 0}}

/* Prévia no estilo do Discord */
#shop-content .sh-discord{background:#313338;border-radius:12px;padding:14px 16px 16px;color:#dbdee1;font:14.5px/1.4 'Noto Sans','DM Sans',system-ui,sans-serif;border:1px solid #232428}
#shop-content .sh-dc-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
#shop-content .sh-dc-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#5b3fa8;color:#fff;font-weight:700}
#shop-content .sh-dc-head strong{color:#f2f3f5;font-weight:600}
#shop-content .sh-dc-app{font-size:10px;font-weight:700;background:#5865f2;color:#fff;border-radius:3px;padding:1px 4px}
#shop-content .sh-dc-head small{color:#949ba4;font-size:12px}
#shop-content .sh-dc-card{margin-left:42px;border-radius:8px;background:#2b2d31;border:1px solid #1e1f22;border-left:4px solid var(--accent,#34d399);padding:12px 14px;display:grid;gap:8px;min-width:0}
#shop-content .sh-dc-card p{margin:0;line-height:1.4}
#shop-content .sh-dc-card hr{border:0;border-top:1px solid #3f4147;margin:2px 0;width:100%}
#shop-content .sh-dc-h2{font-size:19px;font-weight:700;color:#f2f3f5}
#shop-content .sh-dc-h3{font-size:16px;font-weight:700;color:#f2f3f5}
#shop-content .sh-dc-small{font-size:12px;color:#949ba4}
#shop-content .sh-dc-banner{width:100%;max-height:180px;object-fit:cover;border-radius:6px}
#shop-content .sh-dc-section{display:flex;justify-content:space-between;align-items:center;gap:12px}
#shop-content .sh-dc-section>div{display:grid;gap:2px;min-width:0}
#shop-content .sh-dc-thumb{width:64px;height:64px;border-radius:6px;object-fit:cover;flex:0 0 64px}
#shop-content .sh-dc-btn{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;min-height:32px;padding:0 14px;border-radius:6px;background:#4e5058;color:#fff;font-size:14px;font-weight:500;white-space:nowrap}
#shop-content .sh-dc-btn.green{background:#248046}
#shop-content .sh-dc-btn.red{background:#da373c}
#shop-content .sh-dc-buttons{display:flex;gap:8px;flex-wrap:wrap}
#shop-content .sh-dc-select{display:flex;justify-content:space-between;align-items:center;min-height:40px;padding:0 12px;border-radius:6px;background:#1e1f22;color:#949ba4;font-size:14px}
#shop-content .sh-discord code{background:#1e1f22;border-radius:4px;padding:1px 4px;font-size:13px}
#shop-content .sh-emoji{width:20px;height:20px;vertical-align:-4px;object-fit:contain}

/* Telas menores */
@media (max-width:1100px){
 #shop-content .sh-editor{grid-template-columns:minmax(0,1fr)}
 #shop-content .sh-preview{position:static}
 #shop-content .sh-order-row{grid-template-columns:78px minmax(0,1fr) 104px 210px}
 #shop-content .sh-order-row .sh-what,#shop-content .sh-order-row .sh-when{display:none}
 #shop-content .sh-stock-list>li{grid-template-columns:48px minmax(0,1fr) minmax(180px,1fr) auto}
 #shop-content .sh-stock-list>li>.sh-chip,#shop-content .sh-stock-list>li>span:empty{display:none}
}
@media (max-width:860px){
 #shop-content .sh-split,#shop-content .sh-split-stock,#shop-content .sh-split-even{grid-template-columns:minmax(0,1fr)}
 #shop-content .sh-sales-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 #shop-content .sh-sales-facts>div:nth-child(3){border-left:0}
 #shop-content .sh-sales-facts>div:nth-child(n+3){border-top:1px solid var(--sh-line)}
 #shop-content .sh-setup ol{grid-template-columns:repeat(2,minmax(0,1fr))}
 #shop-content .sh-coupons>li{grid-template-columns:minmax(0,1fr) auto;row-gap:4px}
 #shop-content .sh-coupons>li>span:not(.sh-chip){grid-column:1}
 #shop-content .sh-triple{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
 #shop-content .sh-sales{padding:16px 16px 0}
 #shop-content .sh-sales-facts{margin:0 -16px}
 #shop-content .sh-sales-facts>div{padding:12px 16px 14px}
 #shop-content .sh-periods{width:100%}
 #shop-content .sh-periods button{flex:1 1 0;padding:0 6px}
 #shop-content .sh-plot{height:210px}
 #shop-content .sh-sales{--gutter:70px}
 #shop-content .sh-grid em,#shop-content .sh-axis span{font-size:11px}
 #shop-content .sh-dots.many{display:none}
 #shop-content .sh-live{grid-template-columns:minmax(0,1fr)}
 #shop-content .sh-stock-list>li{grid-template-columns:44px minmax(0,1fr) auto;row-gap:10px}
 #shop-content .sh-stock-list .sh-stock-level{grid-column:1/-1;grid-row:2}
 #shop-content .sh-setup ol,#shop-content .sh-pair,#shop-content .sh-choice{grid-template-columns:minmax(0,1fr)}
 #shop-content .sh-order-row{grid-template-columns:minmax(0,1fr) auto;row-gap:8px;padding:12px 14px}
 #shop-content .sh-order-row .sh-code{grid-column:1}
 #shop-content .sh-order-row .sh-who{grid-column:1}
 #shop-content .sh-order-row .sh-num{grid-column:2;grid-row:1}
 #shop-content .sh-order-row .sh-track{grid-column:1/-1}
 #shop-content .sh-order-detail{padding:4px 14px 16px}
 #shop-content .sh-products>li,#shop-content .sh-panels>li{grid-template-columns:44px minmax(0,1fr) auto;row-gap:8px}
 #shop-content .sh-products .sh-product-tags,#shop-content .sh-products .sh-row-actions,#shop-content .sh-panels .sh-row-actions{grid-column:1/-1;justify-content:flex-start}
 #shop-content .sh-events li{grid-template-columns:minmax(0,1fr)}
 #shop-content .sh-items li{grid-template-columns:minmax(0,1fr) auto}
 #shop-content .sh-items li .sh-when{display:none}
}
.motion-off #shop-content .sh-loading span,.motion-off #shop-content .sh-rise,.motion-off #shop-content .sh-dot{animation:none}
#shop-content .sh-id{display:block;font-size:12px;color:var(--sh-faint)}
