/* MAGIA ARCÂNICA V7 — refinamento integrado, sem gradientes artificiais */
:root{--v7-navy:#082955;--v7-gold:#ffb600;--v7-cream:#fcf5e8;--v7-line:#e2e8f2}
/* Coleções: cartões de referência, sem cortes de títulos e sem barra lateral acidental */
html body.store-v2 .magic-collections{padding-top:46px!important;padding-bottom:62px!important;overflow:visible}
html body.store-v2 .magic-collections:before{left:-1.5%!important;right:-1.5%!important;bottom:40px!important;height:125px!important;border-radius:55% 46% 47% 48%/47% 62% 32% 56%!important}
html body.store-v2 .magic-collection-track{gap:12px!important;padding:12px 8px 26px!important;align-items:stretch!important;scroll-padding:8px!important}
html body.store-v2 .magic-collection-card.magic-collection-v6{height:376px!important;flex-basis:clamp(174px,calc((100% - 72px)/7),245px)!important;border:2px solid #fff!important;border-radius:28px!important;box-shadow:0 8px 22px #05214726!important;overflow:hidden!important}
html body.store-v2 .magic-collection-v6 .magic-collection-image{height:248px!important;min-height:248px!important;border-radius:0 0 50% 28%/0 0 13% 7%!important}
html body.store-v2 .magic-collection-v6:nth-child(even) .magic-collection-image{border-radius:0 0 45% 20%/0 0 12% 5%!important}
html body.store-v2 .magic-collection-v6 .magic-collection-caption{position:relative;grid-template-columns:minmax(0,1fr) 46px!important;grid-template-rows:42px minmax(45px,1fr)!important;padding:6px 13px 14px!important;align-items:center!important;gap:0 7px!important}
html body.store-v2 .magic-collection-v6 .magic-collection-caption strong{font-family:Georgia,'Times New Roman',serif!important;font-weight:700!important;font-size:clamp(18px,1.4vw,25px)!important;line-height:1.02!important;white-space:normal!important;overflow-wrap:break-word!important;align-self:center!important;max-height:none!important;min-width:0!important;letter-spacing:-.025em}
html body.store-v2 .magic-collection-v6 .magic-collection-caption>i{width:43px!important;height:43px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--magic-accent,#ffb600)!important;color:var(--v7-navy)!important;justify-self:end!important;align-self:center!important;flex:none!important}
html body.store-v2 .magic-collection-v6 .magic-collection-caption>i svg{width:23px!important;height:23px!important}
html body.store-v2 .magic-collection-v6 .magic-caption-icon{align-self:center!important;height:35px!important}
html body.store-v2 .magic-collection-v6 .magic-caption-icon svg{width:31px!important;height:31px!important}
html body.store-v2 .magic-collection-v6:hover{transform:translateY(-6px)!important;box-shadow:0 17px 33px #092b5533!important}
/* Banner: placeholder vetorial quando nenhum banner estiver ativo */
.magic-empty-banner-slide{background:var(--magic-header-bg,#082954)!important;position:relative;min-height:385px;overflow:hidden}
.magic-empty-banner-slide .hero-content{position:relative;z-index:2}.magic-empty-banner-slide h1{max-width:690px}
.magic-empty-banner-art{position:absolute;right:11%;top:17%;width:180px;height:180px;border:1px solid #e4b45a7d;border-radius:50%;display:grid;place-items:center;color:#eeb94b}
.magic-empty-banner-art svg:first-child{width:90px;height:90px;stroke-width:1}.magic-empty-banner-art svg:last-child{width:22px;height:22px;position:absolute;right:-20px;top:-15px}
/* Checkout com duas etapas. O pagamento inicia após clicar na etapa Endereço */
html body.store-v2 .magic-checkout .checkout-progress{justify-content:center!important;gap:20px!important;flex-wrap:nowrap!important}
html body.store-v2 .magic-checkout .checkout-progress>span:not(.progress-line){min-width:146px!important}
html body.store-v2 .magic-checkout .checkout-progress .progress-line{width:70px!important}
html body.store-v2 .magic-checkout .magic-stage-actions{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}
html body.store-v2 .magic-checkout #checkout-address-next{margin-left:auto!important}
html body.store-v2 .magic-checkout #checkout-previous{order:0!important;margin-right:auto!important}
html body.store-v2 .magic-checkout #checkout-address-next{order:1!important}
html body.store-v2 .magic-checkout .checkout-mobile-submit{display:none!important}
/* os estilos da V6 aplicam fundos sólidos; mantemos tipografia e bordas */
.magic-confirm-dialog{border:0;padding:0;border-radius:20px;max-width:min(425px,calc(100vw - 36px));width:100%;box-shadow:0 30px 80px #001b3e50;color:#082954}
.magic-confirm-dialog::backdrop{background:#051a37a8;backdrop-filter:blur(3px)}
.magic-confirm-content{padding:31px;text-align:center}.magic-confirm-ico{display:grid;place-items:center;margin:0 auto 18px;background:#fff1d5;border:1px solid #f9d18b;border-radius:18px;font-weight:900;width:55px;height:55px;font-size:25px;color:#bd8110}
.magic-confirm-dialog h3{font-size:22px;margin:0 0 10px}.magic-confirm-dialog p{line-height:1.6;color:#506484}.magic-confirm-actions{display:flex;gap:10px;margin-top:26px}.magic-confirm-actions button{flex:1;justify-content:center}
/* Planos comerciais */
.magic-members-page{padding-top:55px;padding-bottom:90px}.magic-members-hero{text-align:center;padding:30px 15px 40px}.magic-members-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(36px,5vw,66px);color:#082954;line-height:1.07;margin:12px auto;max-width:840px}.magic-members-hero p{font-size:17px;color:#5d6f88;max-width:580px;margin:auto;line-height:1.6}
.magic-members-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:20px;align-items:stretch;max-width:1180px;margin:auto}.magic-members-plan{background:#fff;border:1px solid #dfE5ef;border-radius:23px;padding:30px;box-shadow:0 12px 35px #092b5512;display:flex;flex-direction:column}.magic-plan-icon{display:grid;place-items:center;width:53px;height:53px;border-radius:18px;background:#fff4d6;color:#a67404}.magic-members-plan h2{font-family:Georgia,'Times New Roman',serif;font-size:29px;color:#082954;margin:20px 0 4px}.magic-members-plan p{line-height:1.6;color:#536783;min-height:60px}.magic-members-plan>strong{font-size:35px;color:#082954;margin:8px 0}.magic-members-plan>small{color:#6f8096;line-height:1.5}.magic-members-plan ul{list-style:none;padding:0;margin:25px 0 auto;display:grid;gap:11px}.magic-members-plan li{display:flex;align-items:center;gap:8px;color:#223f66;font-size:13px}.magic-members-plan li svg{width:18px;color:#107b52}.magic-members-plan form,.magic-members-plan>a{margin-top:25px}.magic-empty-illustration{text-align:center;margin:0 auto 60px;max-width:600px;padding:48px;background:#f7f9fc;border:1px dashed #9db0c9;border-radius:24px}.magic-empty-illustration>svg{width:55px;height:55px;color:#b38a30}.magic-empty-illustration h2{color:#082954}
.magic-member-result{text-align:center;padding:45px}.magic-member-result .magic-plan-icon{margin:0 auto 20px}.magic-member-result h1{font-size:27px;color:#082954}.magic-member-result p{color:#65758a;line-height:1.65}.magic-member-result a{margin-top:15px}
/* Admin: sidebar de navegação em estilo aplicativo, como a referência. */
html body.admin-body{background:#f8fafc!important;color:#082954}
html body.admin-body .admin-layout{display:flex!important;align-items:stretch!important;min-height:100vh!important;background:#f8fafc}
html body.admin-body .sidebar{position:sticky!important;top:0!important;align-self:flex-start!important;height:100vh!important;max-height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important;width:252px!important;min-width:252px!important;background:#051f40!important;color:#dbe8fb!important;padding:20px 12px 14px!important;box-shadow:none!important;z-index:8}
html body.admin-body .sidebar::-webkit-scrollbar{width:4px}html body.admin-body .sidebar::-webkit-scrollbar-thumb{background:#315476;border-radius:5px}
html body.admin-body .sidebar-heading{display:flex!important;align-items:center!important;flex-direction:row!important;gap:9px;padding:0 4px 16px!important;flex-shrink:0}
html body.admin-body .sidebar .admin-logo{padding:6px 2px 8px!important;min-width:0!important;flex:1!important;gap:8px!important;font-size:14px!important;line-height:1.1!important;text-decoration:none!important}
html body.admin-body .sidebar .admin-logo img{max-width:48px;max-height:48px;object-fit:contain}
html body.admin-body .sidebar .admin-logo span{font-size:15px!important;font-family:Georgia,serif;font-weight:600;color:#f8d18a!important;white-space:normal}
html body.admin-body .sidebar .admin-logo span small{font-family:Inter,sans-serif;letter-spacing:1.5px;color:#fff!important;font-size:9px;margin-top:5px}
html body.admin-body .sidebar #sidebar-toggle{border:1px solid #57708d77;background:#16395c;color:#fff;width:35px;height:35px;min-width:35px;border-radius:10px;display:grid;place-items:center;padding:0;cursor:pointer}
html body.admin-body .sidebar #sidebar-toggle:hover{background:#244c73}
html body.admin-body .sidebar #sidebar-toggle svg{width:19px;height:19px}
html body.admin-body .sidebar .nav-label{font-size:10px;color:#8ba8c9;margin:13px 12px 7px!important}
html body.admin-body .sidebar>a:not(.admin-logo),html body.admin-body .sidebar-bottom>a,html body.admin-body .sidebar-bottom button{display:flex!important;align-items:center!important;gap:12px!important;min-height:42px!important;padding:10px 13px!important;border-radius:11px!important;margin-bottom:4px!important;font-size:12px!important;color:#d2e0f3!important;background:transparent!important;font-weight:500!important;transition:background .16s,color .16s!important}
html body.admin-body .sidebar>a:not(.admin-logo) svg,html body.admin-body .sidebar-bottom svg{width:19px;height:19px;min-width:19px;color:#f2f6fa!important}
html body.admin-body .sidebar>a.selected,html body.admin-body .sidebar>a:hover,html body.admin-body .sidebar-bottom>a:hover{background:#1f354a!important;color:#ffbd31!important}
html body.admin-body .sidebar>a.selected svg{color:#ffbf34!important}
html body.admin-body .sidebar-bottom{padding-top:12px!important;border-top:1px solid #294361!important}
html body.admin-body .admin-main{flex:1!important;min-width:0!important;max-width:none!important;width:calc(100% - 252px)!important;padding:24px clamp(18px,2.4vw,36px) 65px!important}
html body.admin-body .admin-top{min-height:74px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eaf3;margin:-24px calc(-1 * clamp(18px,2.4vw,36px)) 26px!important;padding:13px 30px;background:#fff;gap:12px}
html body.admin-body .admin-top h1{font-size:28px!important;font-weight:750!important;letter-spacing:-.04em!important}
html body.admin-body .admin-top .gold-label{font-size:10px;letter-spacing:1.7px}
html body.admin-body .admin-main>.panel,html body.admin-body .admin-main>.stats .stat{background:#fff;border:1px solid #e1e8f1;border-radius:15px;box-shadow:0 3px 15px #092b5508}
html body.admin-body .admin-main .btn.primary{background:#061f42;color:#fff;border-radius:9px!important}
html body.admin-body .admin-main .table-wrap table{border-collapse:collapse;width:100%}
html body.admin-body .admin-main .table-wrap th{background:#f6f9fd;text-align:left;color:#5c6f88;font-size:11px;border-bottom:1px solid #e9edf4}
html body.admin-body .admin-main .table-wrap td{border-bottom:1px solid #eef2f7;padding:13px 10px}
html body.admin-body .admin-main .table-wrap tr:hover td{background:#f9fbff}
html body.admin-body .admin-main .action-icon{background:#f6f9fd;border:1px solid #dbe4ef;color:#0a2d58;border-radius:8px}
html body.admin-body .admin-main .action-icon.danger{color:#aa3241;border-color:#ecd6dd;background:#fff7f9}
html body.admin-body .admin-layout.sidebar-collapsed .sidebar{width:72px!important;min-width:72px!important;padding-inline:8px!important}
html body.admin-body .admin-layout.sidebar-collapsed .admin-main{width:calc(100% - 72px)!important}
html body.admin-body .admin-layout.sidebar-collapsed .sidebar-heading{flex-direction:column!important}
html body.admin-body .admin-layout.sidebar-collapsed .sidebar>a:not(.admin-logo),html body.admin-body .admin-layout.sidebar-collapsed .sidebar-bottom>a,html body.admin-body .admin-layout.sidebar-collapsed .sidebar-bottom button{padding:11px!important;justify-content:center!important}
html body.admin-body .admin-layout.sidebar-collapsed #sidebar-toggle{width:36px;min-width:36px}
html body.admin-body .admin-layout.sidebar-collapsed .sidebar a[title]:hover::after{content:attr(title);position:absolute;left:73px;padding:8px 12px;background:#0c294e;color:#fff;border-radius:8px;white-space:nowrap;z-index:30}
.magic-admin-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(315px,1fr));gap:16px}.magic-admin-plan-card{border:1px solid #e0e7f1;padding:19px;background:#fcfdff;border-radius:14px;display:grid;gap:12px;min-width:0}.magic-admin-plan-card h3{color:#092b55;margin:0;font-size:19px}.magic-admin-plan-card label{display:grid;gap:5px;font-weight:600;font-size:12px;color:#223c5f}.magic-admin-plan-card input:not([type=checkbox]),.magic-admin-plan-card textarea{width:100%;box-sizing:border-box;min-width:0;max-width:100%;padding:10px 12px;border:1px solid #d7e0ec;border-radius:9px;font:inherit}.magic-admin-plan-card fieldset{border:1px solid #e3e8f0;border-radius:10px}.magic-admin-plan-card .magic-plan-course{display:flex;gap:9px;align-items:center;margin:9px 0}.magic-admin-plan-card .magic-plan-course input{accent-color:#0c366c}
@media(max-width:1200px){html body.store-v2 .magic-collection-card.magic-collection-v6{flex-basis:205px!important}html body.admin-body .sidebar{width:214px!important;min-width:214px!important}}
@media(max-width:760px){html body.store-v2 .magic-collection-card.magic-collection-v6{flex-basis:182px!important;height:345px!important}html body.store-v2 .magic-collection-v6 .magic-collection-image{height:215px!important;min-height:215px!important}html body.store-v2 .magic-collections:before{left:0!important;right:0!important}html body.admin-body .admin-main{padding:14px!important}html body.admin-body .sidebar{position:static!important;width:70px!important;min-width:70px!important}html body.admin-body .sidebar-link-label,html body.admin-body .sidebar .nav-label,html body.admin-body .sidebar .admin-logo span{display:none!important}html body.store-v2 .magic-checkout .checkout-progress>span:not(.progress-line){min-width:105px!important}html body.store-v2 .magic-checkout .checkout-progress .progress-line{width:25px!important}}
@media(prefers-reduced-motion:reduce){html body.store-v2 .magic-collection-v6:hover{transform:none!important}html body.store-v2 .magic-collection-v6 .magic-collection-image img{transition:none!important}}
/* Gestão de pedidos: tabela, filtros e painel lateral de detalhes */
.magic-orders-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(355px,38%);gap:16px;align-items:start}
.magic-orders-list,.magic-order-inspector{min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:15px;padding:18px;box-shadow:0 5px 20px #08295408}
.magic-orders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.magic-orders-toolbar h2{font-size:25px;color:#092b55;margin:0 0 4px}.magic-orders-toolbar p{font-size:13px;color:#7185a0;margin:0}.magic-orders-pills{display:flex;gap:8px;overflow:auto;white-space:nowrap;border-bottom:1px solid #e6eaf1;margin:22px 0 14px}.magic-orders-pills>a{color:#4a6486;text-decoration:none;font-size:12px;font-weight:650;padding:11px 13px}.magic-orders-pills>a:hover{color:#092b55;border-bottom:2px solid #e6a716}.magic-orders-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.magic-orders-filters>label{flex:1 1 170px;border:1px solid #dce6f1;border-radius:8px;display:flex;align-items:center;padding:4px 10px}.magic-orders-filters>label svg{width:18px;color:#244d80}.magic-orders-filters input{border:0!important;outline:0!important;min-width:70px;width:100%;padding:7px;background:transparent}.magic-orders-filters select{max-width:130px;border:1px solid #dce6f1;padding:9px;background:#fff;border-radius:8px;font-size:12px}.magic-orders-filters>.btn{font-size:12px;padding:10px}.magic-orders-table-wrap{width:100%;overflow:auto;border:1px solid #e4eaf2;border-radius:11px}.magic-orders-table{width:100%;border-collapse:collapse;font-size:12px;min-width:680px}.magic-orders-table th{text-align:left;padding:13px 11px;background:#f6f8fc;color:#587092}.magic-orders-table td{padding:12px 11px;border-top:1px solid #e9eef4;color:#294464}.magic-orders-table tr:hover td,.magic-orders-table tr.selected td{background:#f8fbff}.magic-orders-table td a{text-decoration:none;color:#0a2d58}.magic-order-status{display:inline-block;padding:6px 9px;border-radius:7px;background:#f2f4f9;color:#61738b;font-size:11px;font-weight:650;white-space:nowrap}.magic-order-status.pay-paid,.magic-order-status.status-completed{background:#e6faef;color:#087f48}.magic-order-status.pay-pending,.magic-order-status.status-pending{background:#fff4dd;color:#ab6a0c}.magic-order-status.status-shipped{background:#e7f1ff;color:#235caa}.magic-order-status.status-cancelled,.magic-order-status.pay-refunded{background:#ffeaec;color:#ae3543}.magic-order-status.status-processing{background:#f0ecff;color:#7047bc}.magic-order-eye{display:inline-flex;align-items:center;padding:6px;border:1px solid #dce5f0;border-radius:7px}.magic-order-eye svg{width:17px;height:17px}.magic-order-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 3px;color:#687e98;font-size:12px}.magic-order-pagination>div{display:flex;align-items:center;gap:11px}.magic-order-pagination a{display:grid;place-items:center;width:30px;height:30px;border:1px solid #dce5f0;border-radius:7px;color:#092b55}
.magic-order-inspector{position:sticky;top:15px;max-height:calc(100vh - 30px);overflow:auto}.magic-inspector-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.magic-inspector-header h2{font-size:19px;line-height:1.25;margin:0;color:#092b55;word-break:break-all}.magic-inspector-tabs{display:flex;gap:2px;overflow:auto;border-bottom:1px solid #e6edf5;margin:16px -18px}.magic-inspector-tabs button{padding:12px 10px;border:0;background:none;color:#60799a;cursor:pointer;font-size:12px}.magic-inspector-tabs button.active{border-bottom:2px solid #ffb600;color:#0a2d58;font-weight:800}.magic-inspector-pane:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.magic-inspector-pane section{border:1px solid #e2e9f1;border-radius:11px;padding:14px;min-width:0}.magic-inspector-pane section.magic-full{grid-column:1/-1}.magic-inspector-pane h3{font-size:13px;color:#092b55;margin:0 0 13px}.magic-inspector-pane p{font-size:12px;line-height:1.6;color:#586f91;margin:8px 0;overflow-wrap:anywhere}.magic-inspector-pane p svg{width:14px;height:14px;vertical-align:middle}.magic-inspector-price{font-size:23px;color:#092b55}.magic-inspector-item{padding:10px 0;border-top:1px solid #ebeff5;display:flex;justify-content:space-between;gap:10px;font-size:12px}.magic-order-actions{margin-top:14px;display:flex;gap:10px}.magic-order-actions .btn{font-size:11px}.magic-empty-orders{padding:18px;color:#647894}
@media(max-width:1460px){.magic-orders-workspace{grid-template-columns:minmax(0,1fr) 365px}}
@media(max-width:1100px){.magic-orders-workspace{display:block}.magic-order-inspector{margin-top:15px;position:relative;max-height:none}}
@media print{html body.admin-body .sidebar,html body.admin-body .admin-top,.magic-orders-list,.magic-order-actions{display:none!important}.magic-orders-workspace{display:block}.magic-order-inspector{position:static;max-height:none;border:0;box-shadow:none}}
/* Ícones fornecidos, reamostrados e com canal alfa (sem fundo branco). */
.magic-pix-box .magic-pix-symbol img{width:34px!important;height:34px!important;object-fit:contain!important;display:block}
.magic-purchase-title img.magic-shipping-icon-v7{width:37px;height:37px;object-fit:contain;flex:none;background:#fff;border-radius:11px;padding:6px;box-sizing:content-box}
