*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#111827;background:#f4f7fb}a{color:#2563eb;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:260px;background:linear-gradient(180deg,#0f172a,#111827);color:white;padding:20px 14px;overflow-y:auto;z-index:20}.brand{font-size:20px;font-weight:900;letter-spacing:.4px;padding:8px 10px 22px}.brand span,.login-logo span{display:inline-flex;background:#2563eb;padding:6px 8px;border-radius:9px;margin-right:4px}.user-mini{background:#ffffff10;border:1px solid #ffffff13;border-radius:12px;padding:12px;margin-bottom:14px;font-weight:700}.user-mini small{display:block;color:#94a3b8;margin-top:4px;font-weight:500}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{color:#cbd5e1;padding:11px 12px;border-radius:10px;font-weight:600}.sidebar nav a:hover,.sidebar nav a.active{background:#2563eb;color:#fff}.main{margin-left:260px;width:calc(100% - 260px)}.topbar{height:88px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:10}.topbar h1{font-size:23px;margin:0}.topbar p{margin:4px 0 0;color:#64748b;font-size:13px}.menu-toggle{display:none;border:0;background:#eef2ff;border-radius:9px;padding:9px 11px;margin-right:12px}.content{padding:26px;max-width:1500px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.cards.mini{grid-template-columns:repeat(2,minmax(0,240px))}.stat{background:#fff;border:1px solid #e7ebf1;border-radius:16px;padding:20px;box-shadow:0 7px 24px #0f172a08}.stat span{display:block;color:#64748b;font-size:13px;font-weight:600;margin-bottom:9px}.stat strong{font-size:25px}.panel{background:#fff;border:1px solid #e7ebf1;border-radius:16px;padding:20px;margin-bottom:20px;box-shadow:0 7px 24px #0f172a08}.panel h2,.panel h3{margin-top:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.panel-head h2,.panel-head h3,.panel-head p{margin:0}.panel-head p{color:#64748b;margin-top:4px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d7dee8;background:#fff;color:#111827;padding:10px 14px;border-radius:10px;font-weight:700}.btn:hover{background:#f8fafc}.btn.primary{background:#2563eb;border-color:#2563eb;color:#fff}.btn.whatsapp{background:#16a34a;border-color:#16a34a;color:#fff}.btn.full{width:100%}.btn.small{padding:7px 9px;font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .span-2{grid-column:1/-1}label{display:block;font-size:13px;font-weight:700;color:#334155;margin-bottom:6px}input,select,textarea{width:100%;border:1px solid #d7dee8;border-radius:10px;padding:11px 12px;background:#fff;color:#111827;outline:none}input:focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb18}input[type=checkbox],input[type=radio],input[type=color]{width:auto}.check-grid{display:flex;gap:16px;flex-wrap:wrap}.check-grid label{background:#f8fafc;padding:10px 12px;border-radius:9px;margin:0}.actions{display:flex;gap:10px}.inline{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.inline input,.inline select{width:auto;min-width:160px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:680px}th,td{text-align:left;padding:13px 11px;border-bottom:1px solid #edf1f5;vertical-align:middle}th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b}td{font-size:14px}td small{display:block;color:#64748b;margin-top:4px}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.badge.success{background:#dcfce7;color:#166534}.badge.danger{background:#fee2e2;color:#991b1b}.badge.warning{background:#fef3c7;color:#92400e}.badge.muted{background:#e5e7eb;color:#4b5563}.badge.premium{background:#ede9fe;color:#6d28d9;margin-left:5px}.row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.row-actions form{display:inline-flex;gap:8px}.link-btn{border:0;background:transparent;padding:0;color:#2563eb;font-weight:700}.danger-text{color:#dc2626}.alert{padding:12px 14px;border-radius:11px;margin-bottom:16px;font-weight:600}.alert.success{background:#dcfce7;color:#166534}.alert.danger{background:#fee2e2;color:#991b1b}.alert.warning{background:#fef3c7;color:#92400e}.preview-img{display:block;width:90px;height:90px;object-fit:contain;margin-top:10px;border:1px solid #ddd;border-radius:12px}.preview-cover{display:block;width:100%;max-width:280px;height:90px;object-fit:cover;margin-top:10px;border:1px solid #ddd;border-radius:12px}.shipping-form{margin-bottom:12px}.product-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-product{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;display:grid;grid-template-columns:120px 1fr;background:#fff}.admin-product-img{height:100%;min-height:150px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#94a3b8}.admin-product-img img{width:100%;height:100%;object-fit:cover}.admin-product>div:last-child{padding:13px}.admin-product h3{margin:7px 0}.admin-product p{margin:0 0 8px;color:#64748b;font-size:13px}.media-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.media-list label{border:1px solid #ddd;border-radius:10px;padding:7px}.media-list img,.media-list video{display:block;width:110px;height:90px;object-fit:cover;border-radius:7px}.media-list span{display:block;margin-top:6px}.variant-row{display:grid;grid-template-columns:2fr 70px 1fr 44px;gap:8px;margin-bottom:8px}.variant-row button{border:0;background:#fee2e2;color:#991b1b;border-radius:9px;font-size:20px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tabs a{background:#f1f5f9;padding:8px 12px;border-radius:999px;font-weight:700}.confirm-form{display:flex;gap:6px;align-items:center;min-width:360px}.confirm-form input{width:100px}.premium-panel{border:1px solid #c4b5fd;background:linear-gradient(180deg,#fff,#faf5ff)}.marketing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.marketing-grid article{border:1px solid #e5e7eb;border-radius:13px;padding:14px}.marketing-grid textarea{resize:vertical}.share-card{max-width:720px}.copy-box{display:flex;gap:8px;margin:18px 0}.login-body{display:flex;align-items:center;justify-content:center;padding:22px;background:radial-gradient(circle at top right,#2563eb33,transparent 35%),#0f172a;min-height:100vh}.login-card{width:100%;max-width:430px;background:#fff;border-radius:20px;padding:32px;box-shadow:0 30px 80px #0005}.login-logo{font-weight:900;font-size:22px}.login-card h1{margin-bottom:5px}.login-card p{color:#64748b;margin-top:0}.login-card label{margin-top:13px}.login-card button{margin-top:18px}code{background:#eef2ff;padding:3px 5px;border-radius:5px}
@media(max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.product-admin-grid,.marketing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.sidebar{transform:translateX(-100%);transition:.2s}.menu-open .sidebar{transform:translateX(0)}.main{margin-left:0;width:100%}.menu-toggle{display:inline-flex}.content{padding:16px}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.topbar{padding:0 16px}.product-admin-grid,.marketing-grid{grid-template-columns:1fr}.sidebar:after{content:"";position:fixed;inset:0;left:260px;background:#0007;display:none}.menu-open .sidebar:after{display:block}.admin-product{grid-template-columns:100px 1fr}}
@media(max-width:560px){.cards,.cards.mini{grid-template-columns:1fr}.panel{padding:14px}.panel-head{align-items:flex-start;flex-direction:column}.inline{width:100%}.inline input,.inline select,.inline .btn{width:100%}.actions{flex-direction:column}.copy-box{flex-direction:column}.check-grid{flex-direction:column}.confirm-form{min-width:300px;flex-wrap:wrap}.variant-row{grid-template-columns:1fr 55px 90px 40px}}

/* MB CATÁLOGO 1.1 - cadastro de lojas */
.shop-form{display:block}.form-toolbar{position:sticky;top:88px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #dbe3ee;border-radius:14px;padding:14px 16px;margin-bottom:18px;box-shadow:0 10px 28px #0f172a12}.form-toolbar strong,.bottom-save strong{display:block;font-size:16px}.form-toolbar small,.bottom-save small{display:block;color:#64748b;margin-top:3px}.form-section{padding:24px}.section-title{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #edf1f5;padding-bottom:16px;margin-bottom:18px}.section-title>span{display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:10px;background:#2563eb;color:#fff;font-weight:900}.section-title h2{font-size:18px;margin:0}.section-title p{margin:4px 0 0;color:#64748b;font-size:13px}.input-prefix{display:flex;border:1px solid #d7dee8;border-radius:10px;overflow:hidden;background:#fff}.input-prefix:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb18}.input-prefix>span{display:flex;align-items:center;padding:0 11px;background:#f1f5f9;color:#64748b;font-weight:800;border-right:1px solid #d7dee8;white-space:nowrap}.input-prefix input{border:0;border-radius:0;box-shadow:none!important}.field-help{display:block;margin-top:6px;color:#64748b;font-weight:500}.billing-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:22px;align-items:stretch}.billing-preview{border:1px solid #bfdbfe;background:linear-gradient(160deg,#eff6ff,#fff);border-radius:15px;padding:20px}.billing-preview>span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.billing-preview>strong{display:block;font-size:28px;margin:12px 0 18px}.billing-preview p{margin:9px 0;color:#475569}.success-text{color:#166534!important;background:#dcfce7;padding:9px 10px;border-radius:9px;font-weight:700}.toggle-card{border:1px solid #dce3ec;border-radius:12px;background:#fafcff;padding:13px}.toggle-card label,.toggle-card{margin:0}.toggle-card>label,.toggle-card{font-weight:500}.toggle-card input{margin-top:3px}.toggle-card label,.status-grid .toggle-card{display:flex;align-items:flex-start;gap:10px}.toggle-card span{display:block}.toggle-card b{display:block;color:#1e293b}.toggle-card small{display:block;color:#64748b;margin-top:4px;line-height:1.35}.status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.premium-toggle{background:#faf5ff;border-color:#ddd6fe}.permission-heading{margin:20px 0 12px!important;font-size:15px}.permission-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.permission-card{display:flex;align-items:center;gap:9px;border:1px solid #e2e8f0;border-radius:11px;padding:12px;background:#fff;margin:0}.bottom-save{display:flex;align-items:center;justify-content:space-between;gap:16px;border-color:#bfdbfe;background:#f8fbff}.btn.is-saving{opacity:.75;pointer-events:none}.btn.is-saving:after{content:'…';margin-left:3px}.shop-form input:invalid:not(:placeholder-shown),.shop-form select:invalid{border-color:#ef4444}
@media(max-width:1000px){.billing-grid{grid-template-columns:1fr}.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.form-toolbar{top:0}.status-grid{grid-template-columns:1fr}.bottom-save{align-items:flex-start;flex-direction:column}.bottom-save .actions{width:100%}.bottom-save .btn{flex:1}}
@media(max-width:560px){.form-toolbar{align-items:flex-start;flex-direction:column}.form-toolbar .actions{width:100%}.form-toolbar .actions .btn{flex:1}.permission-grid{grid-template-columns:1fr}.form-section{padding:16px}.billing-preview>strong{font-size:24px}}

/* MB CATÁLOGO 1.2 - produtos, personalização e usabilidade */
.user-mini{overflow-wrap:anywhere}.customize-form,.product-form{display:block}.form-actions{margin-top:18px}.branding-grid{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(360px,1.25fr);gap:18px}.upload-card{border:1px solid #e2e8f0;border-radius:15px;padding:16px;background:#fafcff}.branding-preview{display:flex;align-items:center;justify-content:center;margin-top:12px;border:1px dashed #cbd5e1;border-radius:13px;background:#fff;color:#94a3b8;overflow:hidden}.logo-preview-wrap{height:180px}.cover-preview-wrap{height:180px}.branding-preview img{width:100%;height:100%;object-fit:contain}.cover-preview-wrap img{object-fit:cover}.palette-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:20px}.palette-fields{display:grid;gap:13px}.color-field{border:1px solid #e2e8f0;border-radius:13px;padding:14px;background:#fff}.color-field>div{display:flex;align-items:center;gap:12px}.color-field input[type=color]{width:62px;height:46px;border:0;padding:0;background:transparent}.color-field strong{font-size:18px;letter-spacing:.04em}.palette-toggle{display:flex!important}.palette-action-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:16px;padding:22px;background:linear-gradient(145deg,#0f172a,#1e293b);color:#fff;box-shadow:0 14px 34px #0f172a24}.palette-action-card h3{margin:15px 0 6px}.palette-action-card p{color:#cbd5e1;line-height:1.5;margin:0 0 16px}.palette-action-card .field-help{color:#cbd5e1}.palette-demo{display:flex;width:100%;height:52px;border-radius:12px;overflow:hidden;box-shadow:0 8px 22px #0004}.palette-demo span{flex:1}.shipping-grid{display:grid;grid-template-columns:150px minmax(220px,1fr) 180px auto;gap:10px;align-items:end;margin-bottom:18px}.shipping-submit{display:flex}.shipping-submit .btn{height:43px}.empty-inline{border:1px dashed #cbd5e1;border-radius:11px;padding:14px;color:#64748b;background:#f8fafc}.media-upload-box{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px dashed #94a3b8;border-radius:14px;background:#f8fafc}.media-upload-box input{background:#fff}.subheading{font-size:15px;margin:20px 0 10px!important}.media-list.saved-media,.new-media-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}.media-card{display:flex!important;flex-direction:column;border:1px solid #e2e8f0!important;border-radius:13px!important;padding:8px!important;background:#fff;margin:0!important}.media-card img,.media-card video{width:100%!important;height:125px!important;object-fit:cover!important}.media-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#475569}.preview-only span{padding:7px 3px 2px}.stock-layout{display:grid;grid-template-columns:minmax(230px,.65fr) minmax(420px,1.35fr);gap:18px;align-items:start}.stock-total-card,.variants-card{border:1px solid #e2e8f0;border-radius:14px;padding:17px;background:#fafcff}.stock-total-card input{font-size:22px;font-weight:900;margin-bottom:8px}.stock-total-card small{display:block;color:#64748b;line-height:1.45}.stock-total-card strong{display:block;margin-top:16px;color:#2563eb}.calculated-stock{background:#eef2ff!important;color:#1d4ed8!important}.variants-card .panel-head{align-items:flex-start}.variants-card .panel-head p{font-size:12px}.variant-empty{border:1px dashed #cbd5e1;border-radius:10px;padding:13px;text-align:center;color:#64748b;background:#fff}.variant-empty[hidden]{display:none}.shipping-chip-list{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}.shipping-chip-list span{display:inline-flex;background:#eff6ff;color:#1e3a8a;border:1px solid #bfdbfe;border-radius:999px;padding:8px 11px;font-size:13px}.product-form .bottom-save{position:sticky;bottom:12px;z-index:7;box-shadow:0 13px 35px #0f172a22}.btn:disabled{opacity:.65;cursor:not-allowed}.dynamic-logo-preview,.dynamic-cover-preview{width:100%;height:100%;object-fit:contain}.dynamic-cover-preview{object-fit:cover}
@media(max-width:1050px){.branding-grid,.palette-layout,.stock-layout{grid-template-columns:1fr}.shipping-grid{grid-template-columns:1fr 1fr}.shipping-submit{grid-column:1/-1}.shipping-submit .btn{width:100%}}
@media(max-width:620px){.branding-grid,.shipping-grid{grid-template-columns:1fr}.shipping-submit{grid-column:auto}.palette-action-card{padding:17px}.logo-preview-wrap,.cover-preview-wrap{height:150px}.product-form .bottom-save{position:static}.media-list.saved-media,.new-media-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.variant-row{grid-template-columns:1fr 52px 82px 40px}.stock-total-card,.variants-card{padding:13px}}
.panel p.muted{color:#64748b;font-size:13px;line-height:1.5;margin:0 0 16px}

/* MB CATÁLOGO 1.4 — identidade dinâmica do painel */
:root{--tenant-primary:#2563eb;--tenant-secondary:#7c3aed;--tenant-primary-rgb:37,99,235;--tenant-secondary-rgb:124,58,237;--tenant-on-primary:#fff;--tenant-on-secondary:#fff}
.shop-theme{background:radial-gradient(circle at 92% 4%,rgba(var(--tenant-secondary-rgb),.13),transparent 26%),radial-gradient(circle at 8% 96%,rgba(var(--tenant-primary-rgb),.1),transparent 30%),#f4f7fb}
.tenant-brand{display:flex;align-items:center;gap:10px;min-height:62px;padding:5px 10px 18px!important}
.tenant-brand .brand-mb,.tenant-brand .brand-logo-shell{display:inline-flex!important;align-items:center;justify-content:center;width:45px;height:45px;min-width:45px;padding:0!important;margin:0!important;border-radius:14px;background:linear-gradient(145deg,var(--tenant-primary),var(--tenant-secondary))!important;box-shadow:0 10px 28px rgba(var(--tenant-primary-rgb),.28);overflow:hidden}
.tenant-brand .brand-logo-shell{background:rgba(255,255,255,.95)!important;border:1px solid rgba(255,255,255,.45)}
.tenant-brand .brand-shop-logo{display:block;width:100%;height:100%;object-fit:contain;padding:4px}
.tenant-brand .brand-word{display:inline!important;background:transparent!important;padding:0!important;margin:0!important;font-size:19px;letter-spacing:.4px;color:#fff;white-space:nowrap}
.shop-theme .sidebar{background:linear-gradient(165deg,rgba(2,6,23,.93),rgba(2,6,23,.78)),linear-gradient(145deg,var(--tenant-primary),var(--tenant-secondary));box-shadow:18px 0 55px rgba(2,6,23,.16)}
.shop-theme .sidebar:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 12%,rgba(var(--tenant-primary-rgb),.38),transparent 28%),radial-gradient(circle at 80% 80%,rgba(var(--tenant-secondary-rgb),.28),transparent 34%);pointer-events:none}
.shop-theme .sidebar>*{position:relative;z-index:1}
.shop-theme .user-mini{background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055));border-color:rgba(255,255,255,.15);backdrop-filter:blur(12px)}
.shop-theme .user-mini small{color:rgba(255,255,255,.65)}
.shop-theme .sidebar nav a{position:relative;display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.76);border:1px solid transparent;transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease}
.shop-theme .sidebar nav a .menu-dot{width:7px;height:7px;min-width:7px;border-radius:50%;background:rgba(255,255,255,.25);box-shadow:0 0 0 0 rgba(var(--tenant-secondary-rgb),0);transition:.2s}
.shop-theme .sidebar nav a:hover{transform:translateX(3px);background:rgba(255,255,255,.09);color:#fff;border-color:rgba(255,255,255,.08)}
.shop-theme .sidebar nav a.active{background:linear-gradient(135deg,var(--tenant-primary),var(--tenant-secondary));color:var(--tenant-on-primary);border-color:rgba(255,255,255,.22);box-shadow:0 12px 30px rgba(var(--tenant-primary-rgb),.27)}
.shop-theme .sidebar nav a.active .menu-dot{background:currentColor;box-shadow:0 0 0 5px rgba(255,255,255,.13)}
.shop-theme .sidebar nav .open-catalog-link{margin-top:9px;border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.055)}
.shop-theme .topbar{background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom-color:rgba(var(--tenant-primary-rgb),.1)}
.shop-theme .topbar:after{content:"";position:absolute;left:28px;right:28px;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--tenant-primary),var(--tenant-secondary),transparent);opacity:.65}
.shop-theme a{color:var(--tenant-primary)}
.shop-theme .btn.primary,.shop-theme .section-title>span{background:linear-gradient(135deg,var(--tenant-primary),var(--tenant-secondary));border-color:transparent;color:var(--tenant-on-primary);box-shadow:0 8px 20px rgba(var(--tenant-primary-rgb),.17)}
.shop-theme .btn.primary{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.shop-theme .btn.primary:before{content:"";position:absolute;inset:-50% auto -50% -45%;width:38%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transition:left .42s ease}
.shop-theme .btn.primary:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 14px 30px rgba(var(--tenant-primary-rgb),.25)}
.shop-theme .btn.primary:hover:before{left:115%}
.shop-theme input:focus,.shop-theme select:focus,.shop-theme textarea:focus,.shop-theme .input-prefix:focus-within{border-color:var(--tenant-primary);box-shadow:0 0 0 3px rgba(var(--tenant-primary-rgb),.14)}
.shop-theme .stat,.shop-theme .panel{border-color:rgba(var(--tenant-primary-rgb),.09)}
.shop-theme .stat{position:relative;overflow:hidden}
.shop-theme .stat:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--tenant-primary),var(--tenant-secondary));opacity:.8}
.shop-theme .stat strong{background:linear-gradient(135deg,var(--tenant-primary),var(--tenant-secondary));-webkit-background-clip:text;background-clip:text;color:transparent}
.shop-theme .link-btn{color:var(--tenant-primary)}
.shop-theme .calculated-stock{background:rgba(var(--tenant-primary-rgb),.08)!important;color:var(--tenant-primary)!important}
.shop-theme .stock-total-card strong{color:var(--tenant-primary)}
.shop-theme .billing-preview{border-color:rgba(var(--tenant-primary-rgb),.22);background:linear-gradient(160deg,rgba(var(--tenant-primary-rgb),.09),#fff)}

/* Prévia viva da personalização */
.theme-live-preview{--preview-primary:#2563eb;--preview-secondary:#7c3aed;display:grid;grid-template-columns:105px 1fr;min-height:178px;border:1px solid #dfe6ef;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 14px 36px #0f172a0d}
.theme-preview-sidebar{padding:14px 12px;background:linear-gradient(165deg,rgba(2,6,23,.93),rgba(2,6,23,.78)),linear-gradient(145deg,var(--preview-primary),var(--preview-secondary));display:flex;flex-direction:column;gap:12px}
.theme-preview-logo{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#fff;color:#111827;font-weight:900;overflow:hidden;padding:3px}
.theme-preview-logo img{width:100%;height:100%;object-fit:contain}
.theme-preview-sidebar i{display:block;height:9px;border-radius:999px;background:rgba(255,255,255,.2)}
.theme-preview-sidebar i:nth-of-type(1){background:linear-gradient(90deg,var(--preview-primary),var(--preview-secondary));height:22px}
.theme-preview-sidebar i:nth-of-type(2){width:82%}.theme-preview-sidebar i:nth-of-type(3){width:68%}
.theme-preview-content{padding:21px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:radial-gradient(circle at 100% 0%,color-mix(in srgb,var(--preview-secondary) 13%,transparent),transparent 42%),#f8fafc}
.theme-preview-content span{display:block;width:52%;height:14px;border-radius:999px;background:#dbe3ee}.theme-preview-content b{display:block;width:90%;height:48px;border-radius:13px;background:#fff;border:1px solid #e5eaf1;box-shadow:0 7px 18px #0f172a0a}
.theme-preview-content button{border:0;border-radius:10px;padding:10px 14px;background:linear-gradient(135deg,var(--preview-primary),var(--preview-secondary));color:#fff;font-weight:800}
.palette-action-card{position:relative;overflow:hidden;background:linear-gradient(150deg,rgba(2,6,23,.98),rgba(15,23,42,.93)),linear-gradient(135deg,var(--tenant-primary),var(--tenant-secondary))}
.palette-action-card:before,.palette-action-card:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.palette-action-card:before{width:180px;height:180px;right:-70px;top:-80px;background:rgba(var(--tenant-primary-rgb),.3)}.palette-action-card:after{width:130px;height:130px;left:-60px;bottom:-70px;background:rgba(var(--tenant-secondary-rgb),.27)}
.palette-action-card>*{position:relative;z-index:1}.instant-badge{display:inline-flex;margin-top:16px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);font-size:10px;font-weight:900;letter-spacing:.08em;color:#fff}
.palette-auto-button{width:100%;min-height:47px}.palette-result-link{display:inline-flex;margin-top:12px;color:#bbf7d0!important;font-weight:800}.palette-result-link[hidden]{display:none}
#paletteStatus[data-state="success"]{color:#bbf7d0;font-weight:700}#paletteStatus[data-state="error"]{color:#fecaca;font-weight:700}#paletteStatus[data-state="loading"]{color:#bfdbfe}
.palette-auto-button.is-processing{animation:palettePulse 1.1s ease-in-out infinite}@keyframes palettePulse{50%{transform:scale(.985);filter:brightness(1.13)}}
@media(max-width:620px){.tenant-brand .brand-word{font-size:18px}.theme-live-preview{grid-template-columns:88px 1fr}.theme-preview-content{padding:16px}.shop-theme .topbar:after{left:16px;right:16px}}

/* MB CATÁLOGO 1.5 — página de instalação PWA */
.pwa-install-page{display:flex;flex-direction:column;gap:22px}.pwa-install-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.7fr);gap:32px;align-items:center;padding:38px;border-radius:28px;color:#fff;background:linear-gradient(135deg,rgba(2,6,23,.98),rgba(15,23,42,.88)),linear-gradient(135deg,var(--tenant-primary),var(--tenant-secondary));box-shadow:0 26px 70px rgba(2,6,23,.2);isolation:isolate}.pwa-install-hero:before,.pwa-install-hero:after{content:"";position:absolute;border-radius:999px;filter:blur(6px);z-index:-1}.pwa-install-hero:before{width:360px;height:360px;right:-120px;top:-180px;background:rgba(var(--tenant-primary-rgb),.46)}.pwa-install-hero:after{width:300px;height:300px;left:35%;bottom:-220px;background:rgba(var(--tenant-secondary-rgb),.38)}.pwa-kicker{display:inline-flex;padding:7px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.08);font-size:11px;font-weight:900;letter-spacing:.12em}.pwa-install-copy h2{margin:18px 0 12px;font-size:clamp(28px,4vw,46px);line-height:1.06}.pwa-install-copy p{max-width:690px;margin:0;color:#dbeafe;font-size:16px;line-height:1.65}.pwa-benefits{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.pwa-benefits span{display:inline-flex;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);font-size:13px;font-weight:800;backdrop-filter:blur(12px)}.pwa-app-visual{position:relative;display:flex;min-height:250px;align-items:center;justify-content:center;flex-direction:column;text-align:center}.pwa-icon-frame{position:relative;width:142px;height:142px;border-radius:36px;padding:7px;background:linear-gradient(145deg,rgba(255,255,255,.85),rgba(255,255,255,.18));box-shadow:0 30px 70px rgba(0,0,0,.36);animation:pwaFloat 4s ease-in-out infinite}.pwa-icon-frame img{width:100%;height:100%;border-radius:31px;display:block}.pwa-app-visual strong{margin-top:18px;font-size:18px}.pwa-app-visual small{margin-top:5px;color:#cbd5e1}.pwa-app-orbit{position:absolute;width:220px;height:220px;border-radius:50%;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 25px rgba(255,255,255,.03),0 0 0 55px rgba(255,255,255,.02);animation:pwaOrbit 8s linear infinite}.pwa-app-orbit:before{content:"";position:absolute;width:13px;height:13px;border-radius:50%;background:#fff;top:18px;left:42px;box-shadow:0 0 25px #fff}.pwa-platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pwa-platform-card{position:relative;overflow:hidden;padding:26px;border-radius:23px;border:1px solid #e3eaf3;background:rgba(255,255,255,.92);box-shadow:0 16px 45px rgba(15,23,42,.07);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.pwa-platform-card:hover{transform:translateY(-3px);box-shadow:0 24px 55px rgba(15,23,42,.11)}.pwa-platform-card.is-current-platform{border-color:rgba(var(--tenant-primary-rgb),.34);box-shadow:0 20px 55px rgba(var(--tenant-primary-rgb),.14)}.pwa-platform-card.is-current-platform:after{content:"ESTE APARELHO";position:absolute;right:16px;top:16px;padding:5px 8px;border-radius:999px;color:var(--tenant-on-primary);background:linear-gradient(135deg,var(--tenant-primary),var(--tenant-secondary));font-size:9px;font-weight:900;letter-spacing:.09em}.pwa-platform-head{display:flex;align-items:center;gap:13px;margin-bottom:15px}.pwa-platform-head>div>span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.pwa-platform-head h3{margin:3px 0 0;font-size:21px}.pwa-platform-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#fff;background:linear-gradient(135deg,#21c45d,#0f9f46);font-size:20px;font-weight:950;box-shadow:0 10px 24px rgba(16,185,129,.22)}.pwa-platform-icon.apple-symbol{background:linear-gradient(135deg,#111827,#475569);font-size:16px}.pwa-platform-card>p{color:#64748b;line-height:1.55}.pwa-install-button{margin-top:18px;min-height:49px;font-size:15px}.pwa-download-icon{font-size:20px;line-height:0}.pwa-install-status{min-height:22px;margin:11px 0 0!important;text-align:center;font-size:12px!important}.pwa-install-status[data-state="ready"]{color:#047857;font-weight:800}.pwa-install-status[data-state="success"]{color:#15803d;font-weight:800}.pwa-install-status[data-state="warning"]{color:#b45309;font-weight:800}.pwa-install-status[data-state="error"]{color:#b91c1c;font-weight:800}.pwa-manual-steps{margin-top:18px;padding:14px 15px;border-radius:15px;background:#f8fafc;border:1px solid #e5eaf1}.pwa-manual-steps summary{cursor:pointer;font-weight:800;color:#334155}.pwa-manual-steps ol{margin:13px 0 0;padding-left:22px;color:#64748b;line-height:1.75}.pwa-ios-steps{display:flex;flex-direction:column;gap:11px;margin:18px 0 0;padding:0;list-style:none}.pwa-ios-steps li{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:15px;background:#f8fafc;border:1px solid #edf1f6}.pwa-ios-steps li>span{display:grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:10px;color:#fff;background:linear-gradient(135deg,var(--tenant-primary),var(--tenant-secondary));font-weight:900}.pwa-ios-steps b,.pwa-ios-steps small{display:block}.pwa-ios-steps small{margin-top:3px;color:#64748b;line-height:1.4}.pwa-ios-note{margin-top:15px;padding:12px;border-radius:13px;background:rgba(var(--tenant-primary-rgb),.08);color:var(--tenant-primary);font-size:13px;font-weight:800}.pwa-installed-banner{display:flex;align-items:center;gap:15px;padding:17px 20px;border:1px solid #bbf7d0;border-radius:18px;background:#f0fdf4;color:#166534}.pwa-installed-banner[hidden]{display:none}.pwa-installed-banner p{margin:4px 0 0;color:#15803d}.pwa-installed-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#16a34a;color:#fff;font-size:21px;font-weight:900}.pwa-icon-info{display:flex;align-items:center;gap:18px}.pwa-icon-info img{width:76px;height:76px;border-radius:20px;box-shadow:0 13px 30px rgba(var(--tenant-primary-rgb),.24)}.pwa-icon-info h3{margin:0 0 6px}.pwa-icon-info p{margin:0;color:#64748b}.pwa-browser-note{padding:16px 18px;border-radius:17px;border:1px dashed rgba(var(--tenant-primary-rgb),.34);background:rgba(var(--tenant-primary-rgb),.055)}.pwa-browser-note strong{color:var(--tenant-primary)}.pwa-browser-note p{margin:4px 0 0;color:#64748b}.pwa-install-spinner{display:inline-block;width:17px;height:17px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:pwaSpin .75s linear infinite}.pwa-is-installed .pwa-platform-grid{opacity:.82}@keyframes pwaFloat{50%{transform:translateY(-10px) rotate(-1deg)}}@keyframes pwaOrbit{to{transform:rotate(360deg)}}@keyframes pwaSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){.pwa-install-hero{grid-template-columns:1fr;padding:29px}.pwa-app-visual{min-height:220px}.pwa-platform-grid{grid-template-columns:1fr}}
@media(max-width:620px){.pwa-install-page{gap:16px}.pwa-install-hero{padding:23px;border-radius:22px}.pwa-install-copy h2{font-size:30px}.pwa-install-copy p{font-size:14px}.pwa-app-visual{min-height:205px}.pwa-icon-frame{width:116px;height:116px;border-radius:30px}.pwa-icon-frame img{border-radius:25px}.pwa-app-orbit{width:185px;height:185px}.pwa-platform-card{padding:20px;border-radius:19px}.pwa-platform-card.is-current-platform:after{position:static;display:inline-flex;margin:0 0 15px}.pwa-platform-head h3{font-size:19px}.pwa-icon-info{align-items:flex-start}.pwa-icon-info img{width:62px;height:62px;border-radius:17px}.pwa-benefits{gap:7px}.pwa-benefits span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pwa-icon-frame,.pwa-app-orbit,.pwa-install-spinner{animation:none!important}}

/* MB CATÁLOGO 1.6 — foto específica por cor */
.variant-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr) 44px;gap:14px;align-items:stretch;padding:15px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:15px;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 8px 24px #0f172a08}
.variant-color-fields{display:grid;grid-template-columns:minmax(150px,1.4fr) 76px minmax(105px,.65fr);gap:10px;align-items:end}.variant-color-fields>div{min-width:0}.variant-color-fields label,.variant-photo-field>label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.variant-hex-field input[type=color]{width:100%;height:43px;padding:4px;border-radius:10px}.variant-photo-field{display:grid;grid-template-columns:minmax(0,1fr) 86px;grid-template-areas:"label preview" "input preview" "remove preview";gap:6px 10px;align-items:center;padding-left:14px;border-left:1px solid #e2e8f0}.variant-photo-field>label:first-child{grid-area:label;margin:0}.variant-image-input{grid-area:input;padding:8px;font-size:11px}.variant-image-preview{grid-area:preview;width:86px;height:86px;border-radius:13px;border:1px dashed #cbd5e1;background:#f1f5f9;display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center;color:#94a3b8;font-size:10px;font-weight:700;padding:5px}.variant-image-preview img{width:100%;height:100%;object-fit:cover;border-radius:9px}.variant-remove-image{grid-area:remove;display:flex!important;align-items:center;gap:6px;margin:0!important;font-size:11px!important;color:#b91c1c!important}.variant-remove{align-self:stretch;border:0!important;background:#fee2e2!important;color:#991b1b!important;border-radius:11px!important;font-size:22px!important;min-height:44px}.variant-remove:hover{background:#fecaca!important}.shop-theme .variant-row{border-color:rgba(var(--tenant-primary-rgb),.13)}
@media(max-width:920px){.variant-row{grid-template-columns:1fr 44px}.variant-photo-field{grid-column:1/2;padding-left:0;padding-top:12px;border-left:0;border-top:1px solid #e2e8f0}.variant-remove{grid-column:2;grid-row:1/3}}
@media(max-width:620px){.variant-row{grid-template-columns:1fr;padding:12px}.variant-color-fields{grid-template-columns:1fr 70px 100px}.variant-photo-field{grid-column:1;grid-template-columns:minmax(0,1fr) 78px}.variant-image-preview{width:78px;height:78px}.variant-remove{grid-column:1;grid-row:auto;min-height:40px}.variant-photo-field{border-top:1px solid #e2e8f0}.variant-image-input{font-size:10px}}

/* =========================================================
   MB CATÁLOGO 1.8 — EXPERIÊNCIA EXCLUSIVA DO SUPER ADMIN
   Todas as regras abaixo são isoladas por .super-theme.
   ========================================================= */
.super-theme{
  --super-navy:#071225;
  --super-navy-2:#0a1c37;
  --super-blue:#126bff;
  --super-cyan:#00c2ff;
  --super-ink:#0b1427;
  --super-muted:#65758f;
  --super-line:rgba(115,145,190,.18);
  background:
    radial-gradient(circle at 82% 4%,rgba(18,107,255,.15),transparent 27%),
    radial-gradient(circle at 14% 88%,rgba(0,194,255,.1),transparent 30%),
    linear-gradient(150deg,#eef5ff 0%,#f8fbff 42%,#edf5ff 100%);
  color:var(--super-ink);
  min-height:100vh;
}
.super-theme:before,.super-theme:after{content:"";position:fixed;pointer-events:none;z-index:0;border-radius:999px;filter:blur(90px);opacity:.35}
.super-theme:before{width:420px;height:420px;right:-180px;top:12%;background:#76a8ff}
.super-theme:after{width:360px;height:360px;left:18%;bottom:-170px;background:#72e8ff}
.super-theme .app-shell{position:relative;z-index:1}
.super-theme .sidebar{width:284px;padding:22px 16px calc(22px + env(safe-area-inset-bottom));overflow-x:hidden;background:linear-gradient(170deg,rgba(4,13,31,.99),rgba(7,27,57,.98) 58%,rgba(5,20,45,.99));border-right:1px solid rgba(130,190,255,.15);box-shadow:24px 0 70px rgba(5,17,38,.22)}
.super-theme .sidebar:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0 46%,rgba(255,255,255,.035) 48%,transparent 51%),radial-gradient(circle at 20% 10%,rgba(18,107,255,.3),transparent 28%),radial-gradient(circle at 90% 80%,rgba(0,194,255,.18),transparent 28%)}
.super-theme .super-sidebar-glow{position:absolute;border-radius:999px;filter:blur(45px);pointer-events:none;opacity:.55}
.super-theme .super-sidebar-glow-a{width:140px;height:140px;left:-80px;top:90px;background:#126bff}
.super-theme .super-sidebar-glow-b{width:130px;height:130px;right:-90px;bottom:130px;background:#00c2ff}
.super-theme .sidebar>*{position:relative;z-index:2}
.super-theme .main{margin-left:284px;width:calc(100% - 284px)}
.super-theme .super-admin-brand{display:flex;align-items:center;gap:12px;padding:3px 8px 22px;margin-bottom:2px;border-bottom:1px solid rgba(255,255,255,.08)}
.super-theme .super-admin-brand-icon{display:grid;place-items:center;width:51px;height:51px;min-width:51px;border-radius:16px;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.04));box-shadow:0 14px 35px rgba(18,107,255,.28),inset 0 1px 0 rgba(255,255,255,.35)}
.super-theme .super-admin-brand-icon img{width:100%;height:100%;object-fit:cover;display:block}
.super-theme .super-admin-brand-copy{min-width:0;line-height:1.1}
.super-theme .super-admin-brand-copy strong{display:block;color:#fff;font-size:17px;font-weight:950;letter-spacing:.035em;white-space:nowrap}
.super-theme .super-admin-brand-copy small{display:block;margin-top:6px;color:#78bfff;font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.super-theme .super-user-card{display:flex;align-items:center;gap:11px;margin:17px 2px 15px;padding:13px;border-radius:16px;border:1px solid rgba(129,190,255,.14);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.super-theme .super-user-avatar{display:grid;place-items:center;width:39px;height:39px;min-width:39px;border-radius:12px;color:#fff;background:linear-gradient(145deg,#1980ff,#00aeea);font-size:16px;font-weight:950;box-shadow:0 10px 24px rgba(18,107,255,.35)}
.super-theme .super-user-copy{min-width:0}
.super-theme .super-user-copy strong{display:block;overflow:hidden;color:#f8fbff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.super-theme .super-user-copy small{display:flex;align-items:center;gap:6px;margin-top:5px;color:#91a6c5;font-size:10px;font-weight:650}
.super-theme .super-user-copy small i{width:7px;height:7px;border-radius:50%;background:#27e58b;box-shadow:0 0 0 4px rgba(39,229,139,.11),0 0 13px rgba(39,229,139,.75);animation:superPulse 2s ease-in-out infinite}
.super-theme .sidebar nav{gap:7px;padding-top:3px}
.super-theme .sidebar nav a{position:relative;display:flex;align-items:center;gap:11px;min-height:47px;padding:9px 10px;color:#aebed4;border:1px solid transparent;border-radius:14px;font-size:13px;font-weight:750;overflow:hidden;transition:transform .22s ease,color .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease}
.super-theme .sidebar nav a:before{content:"";position:absolute;inset:0;opacity:0;background:linear-gradient(105deg,rgba(255,255,255,.12),transparent 62%);transition:opacity .22s ease}
.super-theme .sidebar nav a:hover{transform:translateX(4px);color:#fff;background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.08)}
.super-theme .sidebar nav a:hover:before{opacity:1}
.super-theme .sidebar nav a.active{color:#fff;background:linear-gradient(135deg,rgba(18,107,255,.96),rgba(0,174,234,.88));border-color:rgba(255,255,255,.2);box-shadow:0 13px 30px rgba(18,107,255,.3),inset 0 1px 0 rgba(255,255,255,.22)}
.super-theme .sidebar nav a.active:after{content:"";position:absolute;left:-10px;top:50%;width:4px;height:25px;border-radius:0 7px 7px 0;background:#fff;transform:translateY(-50%);box-shadow:0 0 18px #8edbff}
.super-theme .sidebar nav a>span:nth-child(2){position:relative;z-index:2;flex:1}
.super-theme .sidebar nav a>b{position:relative;z-index:2;color:#6f89a9;font-size:19px;font-weight:400;transition:transform .2s ease,color .2s ease}
.super-theme .sidebar nav a:hover>b,.super-theme .sidebar nav a.active>b{transform:translateX(2px);color:#fff}
.super-theme .super-menu-icon{position:relative;z-index:2;display:grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:10px;color:#8fbaff;background:rgba(65,139,255,.11);font-size:15px;font-weight:900;border:1px solid rgba(130,184,255,.09)}
.super-theme .sidebar nav a.active .super-menu-icon{color:#0e64d9;background:#fff;box-shadow:0 7px 20px rgba(0,0,0,.15)}
.super-theme .super-nav-separator{height:1px;margin:9px 6px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent)}
.super-theme .sidebar nav .super-logout:hover{color:#ffc6cf;background:rgba(255,72,104,.09);border-color:rgba(255,102,127,.14)}
.super-theme .super-topbar{box-sizing:content-box;min-height:88px;height:auto;padding:env(safe-area-inset-top) 28px 0;background:rgba(248,251,255,.82);border-bottom:1px solid rgba(113,148,196,.17);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);box-shadow:0 9px 28px rgba(18,56,110,.045)}
.super-theme .super-topbar:after{content:"";position:absolute;left:28px;right:28px;bottom:-1px;height:2px;border-radius:99px;background:linear-gradient(90deg,#126bff,#00c2ff,transparent 72%);opacity:.8}
.super-theme .super-topbar-left{display:flex;align-items:center;gap:14px;min-width:0}
.super-theme .super-topbar-logo{display:none;width:45px;height:45px;min-width:45px;border-radius:14px;overflow:hidden;box-shadow:0 8px 22px rgba(18,107,255,.2)}
.super-theme .super-topbar-logo img{width:100%;height:100%;display:block;object-fit:cover}
.super-theme .super-topbar-kicker{display:block;margin-bottom:4px;color:#126bff;font-size:9px;font-weight:900;letter-spacing:.14em}
.super-theme .super-topbar h1{color:#071225;font-size:25px;font-weight:920;letter-spacing:-.025em}
.super-theme .super-topbar p{color:#73829a;font-size:11px;font-weight:650}
.super-theme .super-topbar-right{display:flex;align-items:center;gap:14px;margin-left:auto}
.super-theme .super-topbar-right time{padding:8px 11px;border:1px solid rgba(115,145,190,.15);border-radius:11px;color:#50617b;background:rgba(255,255,255,.6);font-size:11px;font-weight:750}
.super-theme .super-system-status{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid rgba(25,189,110,.17);border-radius:999px;color:#12784c;background:rgba(229,255,242,.78);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.super-theme .super-system-status i{width:7px;height:7px;border-radius:50%;background:#20d879;box-shadow:0 0 0 4px rgba(32,216,121,.12),0 0 12px rgba(32,216,121,.6);animation:superPulse 2s ease-in-out infinite}
.super-theme .content{position:relative;max-width:1580px;padding:30px 30px 44px}
.super-theme .panel,.super-theme .stat{border:1px solid rgba(111,146,192,.17);background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(247,251,255,.89));box-shadow:0 18px 50px rgba(31,72,132,.075),inset 0 1px 0 rgba(255,255,255,.9)}
.super-theme .panel{border-radius:22px;padding:23px}
.super-theme .panel:hover{border-color:rgba(18,107,255,.21)}
.super-theme .btn{min-height:43px;border-radius:13px;border-color:rgba(99,132,180,.18);box-shadow:0 8px 20px rgba(26,66,120,.045);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.super-theme .btn:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(26,66,120,.1)}
.super-theme .btn.primary{border-color:transparent;background:linear-gradient(135deg,#126bff,#00aeea);box-shadow:0 12px 27px rgba(18,107,255,.23)}
.super-theme .btn.primary:hover{filter:saturate(1.12) brightness(1.03);box-shadow:0 16px 35px rgba(18,107,255,.31)}
.super-theme input,.super-theme select,.super-theme textarea{border-color:rgba(102,137,185,.23);border-radius:13px;background:rgba(255,255,255,.84);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.super-theme input:focus,.super-theme select:focus,.super-theme textarea:focus{border-color:#4590ff;background:#fff;box-shadow:0 0 0 4px rgba(18,107,255,.1),0 8px 22px rgba(18,107,255,.08)}
.super-theme .panel-head{margin-bottom:18px}
.super-theme .panel-head h2,.super-theme .panel-head h3{color:#0a1730;font-weight:880;letter-spacing:-.018em}
.super-theme .table-wrap{border:1px solid rgba(112,146,191,.13);border-radius:16px;background:rgba(255,255,255,.6);-webkit-overflow-scrolling:touch}
.super-theme table{min-width:720px}
.super-theme th{padding:14px 13px;color:#718199;background:rgba(238,245,253,.72);font-size:10px;font-weight:900;letter-spacing:.075em}
.super-theme td{padding:15px 13px;border-bottom-color:rgba(113,145,187,.11)}
.super-theme tbody tr{transition:background .17s ease,transform .17s ease}
.super-theme tbody tr:hover{background:rgba(18,107,255,.035)}
.super-theme .badge{gap:5px;padding:6px 9px}
.super-theme .badge i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 9px currentColor}
.super-theme .super-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(350px,.75fr);min-height:380px;margin-bottom:22px;padding:38px 42px;overflow:hidden;border:1px solid rgba(147,197,255,.22);border-radius:30px;color:#fff;background:radial-gradient(circle at 76% 20%,rgba(0,194,255,.28),transparent 25%),radial-gradient(circle at 16% 86%,rgba(36,112,255,.34),transparent 30%),linear-gradient(135deg,#061226 0%,#092b5d 53%,#07477b 100%);box-shadow:0 28px 80px rgba(6,28,66,.23),inset 0 1px 0 rgba(255,255,255,.12);isolation:isolate}
.super-theme .super-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 0 38%,rgba(255,255,255,.055) 48%,transparent 58%);transform:translateX(-100%);animation:superHeroSweep 8s ease-in-out infinite}
.super-theme .super-hero:after{content:"";position:absolute;right:-100px;bottom:-180px;width:430px;height:430px;z-index:-1;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.015)}
.super-theme .super-hero-copy{align-self:center;position:relative;z-index:3;max-width:720px}
.super-theme .super-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid rgba(131,207,255,.22);border-radius:999px;color:#9edcff;background:rgba(70,150,255,.1);font-size:9px;font-weight:900;letter-spacing:.14em;backdrop-filter:blur(9px)}
.super-theme .super-eyebrow i{width:7px;height:7px;border-radius:50%;background:#00e0ff;box-shadow:0 0 13px #00d9ff}
.super-theme .super-hero h2{margin:19px 0 15px;color:#fff;font-size:clamp(37px,4.6vw,64px);font-weight:950;line-height:.98;letter-spacing:-.055em}
.super-theme .super-hero h2 em{font-style:normal;color:transparent;background:linear-gradient(90deg,#73c7ff,#4eeaff);-webkit-background-clip:text;background-clip:text;text-shadow:0 0 32px rgba(64,207,255,.13)}
.super-theme .super-hero-copy>p{max-width:650px;margin:0;color:#b9cce5;font-size:14px;line-height:1.68}
.super-theme .super-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:24px}
.super-theme .super-hero-actions .btn{min-height:47px;padding:11px 16px;border-color:rgba(255,255,255,.14)}
.super-theme .super-action-primary{color:#fff!important;background:linear-gradient(135deg,#1680ff,#00c2ff)!important;box-shadow:0 16px 35px rgba(0,137,255,.27)!important}
.super-theme .super-action-secondary{color:#e7f4ff;background:rgba(255,255,255,.07);backdrop-filter:blur(12px)}
.super-theme .super-action-secondary:hover{color:#fff;background:rgba(255,255,255,.12)}
.super-theme .super-hero-meta{display:flex;gap:20px;margin-top:23px;color:#89a9cc;font-size:11px}
.super-theme .super-hero-meta span{display:flex;align-items:center;gap:6px}
.super-theme .super-hero-meta b{color:#fff;font-size:14px}
.super-theme .super-hero-visual{position:relative;display:grid;place-items:center;min-height:310px;perspective:1000px;transform-style:preserve-3d;transition:transform .18s ease-out}
.super-theme .super-robot-card{position:relative;width:min(280px,80%);height:315px;z-index:3;overflow:hidden;border:1px solid rgba(255,255,255,.24);border-radius:36% 36% 28px 28px;background:#fff;box-shadow:0 35px 70px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.7);transform:translateZ(28px)}
.super-theme .super-robot-card:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 45px rgba(14,85,168,.13);pointer-events:none}
.super-theme .super-robot-card img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 22%;transform:scale(1.04);transition:transform .5s ease}
.super-theme .super-hero:hover .super-robot-card img{transform:scale(1.075)}
.super-theme .super-robot-shine{position:absolute;inset:-70% -70%;background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.38) 50%,transparent 58%);transform:translateX(-45%) rotate(8deg);animation:superRobotShine 6s ease-in-out infinite}
.super-theme .super-robot-orbit{position:absolute;z-index:1;border:1px solid rgba(98,204,255,.22);border-radius:50%;animation:superOrbit 12s linear infinite}
.super-theme .orbit-one{width:320px;height:320px;box-shadow:0 0 35px rgba(0,194,255,.08)}
.super-theme .orbit-two{width:390px;height:390px;border-style:dashed;animation-direction:reverse;animation-duration:18s;opacity:.55}
.super-theme .orbit-one:before,.super-theme .orbit-two:before{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:#46dbff;top:13%;left:16%;box-shadow:0 0 19px #46dbff}
.super-theme .super-floating-chip{position:absolute;z-index:5;display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid rgba(255,255,255,.19);border-radius:14px;color:#fff;background:rgba(8,24,54,.72);box-shadow:0 15px 35px rgba(0,0,0,.22);backdrop-filter:blur(14px);animation:superFloat 4s ease-in-out infinite}
.super-theme .super-floating-chip>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:linear-gradient(145deg,#147eff,#00b8eb);font-size:11px;font-weight:950;box-shadow:0 8px 18px rgba(0,155,255,.25)}
.super-theme .super-floating-chip b,.super-theme .super-floating-chip small{display:block;white-space:nowrap}
.super-theme .super-floating-chip b{font-size:10px}.super-theme .super-floating-chip small{margin-top:3px;color:#8eaacb;font-size:8px}
.super-theme .chip-top{right:-8px;top:48px}.super-theme .chip-bottom{left:-10px;bottom:42px;animation-delay:-2s}
.super-theme .super-stat-grid{gap:15px;margin-bottom:22px}
.super-theme .super-stat-card{position:relative;display:flex;align-items:center;gap:15px;min-height:122px;padding:18px;overflow:hidden;border-radius:20px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.super-theme .super-stat-card:after{content:"";position:absolute;width:100px;height:100px;right:-45px;top:-55px;border-radius:50%;background:radial-gradient(circle,rgba(18,107,255,.13),transparent 67%)}
.super-theme .super-stat-card:hover{transform:translateY(-5px);border-color:rgba(18,107,255,.24);box-shadow:0 25px 55px rgba(31,72,132,.13)}
.super-theme .super-stat-card>div{min-width:0;position:relative;z-index:2}
.super-theme .super-stat-card>div>span{margin-bottom:6px;color:#61728c;font-size:11px;font-weight:800}
.super-theme .super-stat-card strong{display:block;color:#08152d;font-size:clamp(23px,2.1vw,31px);font-weight:950;letter-spacing:-.035em;white-space:nowrap}
.super-theme .super-stat-card small{display:block;margin-top:5px;color:#93a0b2;font-size:9px;font-weight:650}
.super-theme .super-stat-icon{display:grid;place-items:center;width:48px;height:48px;min-width:48px;border-radius:15px;color:#fff;font-size:20px;font-weight:900;box-shadow:0 12px 28px rgba(18,107,255,.23)}
.super-theme .icon-shops{background:linear-gradient(145deg,#1b78ff,#00aeea)}
.super-theme .icon-active{background:linear-gradient(145deg,#13b979,#25df9a);box-shadow:0 12px 28px rgba(19,185,121,.22)}
.super-theme .icon-paid{background:linear-gradient(145deg,#6c54ff,#9b6bff);box-shadow:0 12px 28px rgba(108,84,255,.22)}
.super-theme .icon-pending{background:linear-gradient(145deg,#ff9e21,#ffc548);box-shadow:0 12px 28px rgba(255,158,33,.23)}
.super-theme .super-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,.7fr);gap:18px;align-items:start}
.super-theme .super-panel{margin-bottom:0}
.super-theme .super-panel-head>div{min-width:0}
.super-theme .super-panel-head h2{margin:3px 0 3px;font-size:20px}
.super-theme .super-panel-head p,.super-theme .super-quick-panel>p{margin:0;color:#78889f;font-size:11px;line-height:1.5}
.super-theme .super-section-kicker{color:#126bff;font-size:8px;font-weight:950;letter-spacing:.14em}
.super-theme .super-table-wrap{margin-top:2px}
.super-theme .super-table-action{display:inline-flex;padding:6px 9px;border-radius:9px;color:#126bff;background:rgba(18,107,255,.07);font-size:11px;font-weight:850;transition:.18s}
.super-theme .super-table-action:hover{transform:translateX(2px);background:rgba(18,107,255,.13)}
.super-theme .super-quick-panel{position:relative;overflow:hidden;background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(240,247,255,.91))}
.super-theme .super-quick-panel:after{content:"";position:absolute;width:160px;height:160px;right:-80px;top:-100px;border-radius:50%;background:radial-gradient(circle,rgba(18,107,255,.13),transparent 70%)}
.super-theme .super-quick-panel h2{margin:5px 0 5px;font-size:20px}
.super-theme .super-quick-list{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.super-theme .super-quick-list a{position:relative;z-index:2;display:grid;grid-template-columns:38px 1fr 18px;gap:10px;align-items:center;padding:10px;border:1px solid rgba(111,146,192,.13);border-radius:14px;color:#15233b;background:rgba(255,255,255,.74);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.super-theme .super-quick-list a:hover{transform:translateX(4px);border-color:rgba(18,107,255,.23);background:#fff;box-shadow:0 11px 25px rgba(31,72,132,.08)}
.super-theme .quick-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#126bff;background:linear-gradient(145deg,#e8f2ff,#dcecff);font-size:16px;font-weight:900}
.super-theme .super-quick-list b,.super-theme .super-quick-list small{display:block}.super-theme .super-quick-list b{font-size:11px}.super-theme .super-quick-list small{margin-top:3px;color:#8795a9;font-size:8px}.super-theme .super-quick-list em{color:#7c91ad;font-size:20px;font-style:normal}
.super-theme .super-reveal{opacity:0;transform:translateY(16px);transition:opacity .55s cubic-bezier(.2,.75,.2,1),transform .55s cubic-bezier(.2,.75,.2,1)}
.super-theme.super-ui-ready .super-reveal.is-visible{opacity:1;transform:none}
.super-theme .super-stat-card:nth-child(2){transition-delay:.06s}.super-theme .super-stat-card:nth-child(3){transition-delay:.12s}.super-theme .super-stat-card:nth-child(4){transition-delay:.18s}
.super-theme .alert{border:1px solid transparent;border-radius:15px;box-shadow:0 10px 24px rgba(31,72,132,.06)}
.super-theme .menu-toggle.super-menu-toggle{display:none;width:43px;height:43px;min-width:43px;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:0;border:1px solid rgba(18,107,255,.12);border-radius:13px;background:rgba(18,107,255,.07)}
.super-theme .super-menu-toggle span{width:17px;height:2px;border-radius:9px;background:#126bff}
@keyframes superPulse{50%{opacity:.55;transform:scale(.88)}}
@keyframes superFloat{50%{transform:translateY(-9px)}}
@keyframes superOrbit{to{transform:rotate(360deg)}}
@keyframes superRobotShine{0%,55%{transform:translateX(-55%) rotate(8deg)}80%,100%{transform:translateX(55%) rotate(8deg)}}
@keyframes superHeroSweep{0%,54%{transform:translateX(-110%)}75%,100%{transform:translateX(120%)}}
@media(max-width:1240px){
  .super-theme .super-hero{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);padding:34px}
  .super-theme .super-robot-card{width:245px;height:290px}
  .super-theme .chip-top{right:-15px}.super-theme .chip-bottom{left:-16px}
  .super-theme .super-dashboard-grid{grid-template-columns:1fr}
  .super-theme .super-quick-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
  .super-theme .super-hero{grid-template-columns:1fr;min-height:auto}
  .super-theme .super-hero-visual{min-height:330px;margin-top:15px}
  .super-theme .super-hero-copy{max-width:none}
  .super-theme .super-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .super-theme .sidebar{width:284px;transform:translateX(-105%);transition:transform .28s cubic-bezier(.2,.75,.2,1)}
  .super-theme.menu-open .sidebar{transform:translateX(0)}
  .super-theme .main{margin-left:0;width:100%}
  .super-theme .menu-toggle.super-menu-toggle{display:flex}
  .super-theme .super-topbar{min-height:82px;padding-left:16px;padding-right:16px}
  .super-theme .super-topbar:after{left:16px;right:16px}
  .super-theme .super-topbar-logo{display:block}
  .super-theme .super-topbar-right{display:none}
  .super-theme .content{padding:23px 16px 34px}
  .super-theme.menu-open:after{content:"";position:fixed;inset:0;z-index:18;background:rgba(3,12,28,.58);backdrop-filter:blur(3px)}
}
@media(max-width:620px){
  .super-theme .super-topbar{min-height:88px;padding-top:max(env(safe-area-inset-top),12px);padding-bottom:6px}
  .super-theme .super-topbar-left{gap:9px}
  .super-theme .super-topbar-logo{width:40px;height:40px;min-width:40px;border-radius:12px}
  .super-theme .super-topbar-kicker{font-size:7px;letter-spacing:.11em}
  .super-theme .super-topbar h1{font-size:21px;line-height:1.08}
  .super-theme .super-topbar p{font-size:9px}
  .super-theme .content{padding-top:20px}
  .super-theme .super-hero{padding:25px 20px;border-radius:24px}
  .super-theme .super-hero h2{font-size:39px}
  .super-theme .super-hero-copy>p{font-size:12px}
  .super-theme .super-hero-actions{flex-direction:column}
  .super-theme .super-hero-actions .btn{width:100%}
  .super-theme .super-hero-meta{gap:11px;flex-wrap:wrap}
  .super-theme .super-hero-visual{min-height:290px}
  .super-theme .super-robot-card{width:210px;height:250px;border-radius:34% 34% 24px 24px}
  .super-theme .orbit-one{width:250px;height:250px}.super-theme .orbit-two{width:290px;height:290px}
  .super-theme .super-floating-chip{padding:8px}.super-theme .super-floating-chip>span{width:28px;height:28px}.super-theme .chip-top{right:-7px;top:35px}.super-theme .chip-bottom{left:-8px;bottom:30px}
  .super-theme .super-floating-chip b{font-size:8px}.super-theme .super-floating-chip small{font-size:7px}
  .super-theme .super-stat-grid{grid-template-columns:1fr}
  .super-theme .super-stat-card{min-height:104px}
  .super-theme .super-quick-list{grid-template-columns:1fr}
  .super-theme .panel{padding:16px;border-radius:19px}
  .super-theme .panel-head{align-items:stretch}
  .super-theme .panel-head .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .super-theme *{scroll-behavior:auto!important}
  .super-theme .super-user-copy small i,.super-theme .super-system-status i,.super-theme .super-floating-chip,.super-theme .super-robot-orbit,.super-theme .super-robot-shine,.super-theme .super-hero:before{animation:none!important}
  .super-theme .super-reveal{opacity:1!important;transform:none!important;transition:none!important}
}

/* MB CATÁLOGO 1.9 — correção total de responsividade do Super Admin */
html,body{max-width:100%;overflow-x:hidden}
.super-theme{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.super-theme .app-shell{width:100%;max-width:100%;min-width:0;overflow-x:clip}
.super-theme .main{min-width:0;max-width:calc(100% - 284px);overflow:visible}
.super-theme .content{box-sizing:border-box;width:100%;max-width:1580px;min-width:0;margin:0;padding-left:clamp(18px,2.1vw,32px);padding-right:clamp(18px,2.1vw,32px)}
.super-theme .content>*{max-width:100%;min-width:0}
.super-theme .cards,.super-theme .super-dashboard-grid,.super-theme .super-dashboard-grid>*,.super-theme .panel,.super-theme .stat,.super-theme .panel-head,.super-theme .panel-head>div{min-width:0;max-width:100%}
.super-theme .super-topbar{box-sizing:border-box!important;width:100%;max-width:100%;height:auto;min-height:88px;padding:env(safe-area-inset-top) clamp(18px,2vw,30px) 0;overflow:hidden}
.super-theme .super-topbar-left{max-width:100%;min-width:0}
.super-theme .super-topbar-left>div{min-width:0}
.super-theme .super-topbar h1,.super-theme .super-topbar p,.super-theme .super-topbar-kicker{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.super-theme .super-hero{width:100%;max-width:100%;min-width:0;overflow:hidden}
.super-theme .super-hero-copy,.super-theme .super-hero-visual{min-width:0;max-width:100%}
.super-theme .super-hero-actions .btn{max-width:100%;white-space:normal;text-align:center}
.super-theme .super-table-wrap,.super-theme .table-wrap{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(18,107,255,.42) rgba(18,107,255,.08)}
.super-theme .super-table-wrap::-webkit-scrollbar,.super-theme .table-wrap::-webkit-scrollbar{height:7px}
.super-theme .super-table-wrap::-webkit-scrollbar-track,.super-theme .table-wrap::-webkit-scrollbar-track{background:rgba(18,107,255,.07);border-radius:999px}
.super-theme .super-table-wrap::-webkit-scrollbar-thumb,.super-theme .table-wrap::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#126bff,#00b7ef);border-radius:999px}
.super-theme table{width:100%;min-width:720px;max-width:none}
.super-theme .super-panel-head .btn{flex:0 0 auto}
.super-theme .super-quick-list a{min-width:0}
.super-theme .super-quick-list a>div{min-width:0}
.super-theme .super-quick-list b,.super-theme .super-quick-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(min-width:821px){
  .super-theme .main{width:calc(100% - 284px);max-width:calc(100% - 284px)}
}

@media(max-width:1000px){
  .super-theme .super-hero{padding:30px}
  .super-theme .super-hero-visual{min-height:285px}
  .super-theme .super-robot-card{width:220px;height:260px}
  .super-theme .orbit-one{width:275px;height:275px}
  .super-theme .orbit-two{width:325px;height:325px}
}

@media(max-width:820px){
  .super-theme.menu-open{overflow:hidden;touch-action:none}
  .super-theme .main{width:100%;max-width:100%;margin-left:0}
  .super-theme .sidebar{box-sizing:border-box;width:min(86vw,310px);max-width:calc(100vw - 44px);padding:max(18px,env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));z-index:50;transform:translate3d(-105%,0,0);will-change:transform;box-shadow:30px 0 70px rgba(0,0,0,.34)}
  .super-theme.menu-open .sidebar{transform:translate3d(0,0,0)}
  .super-theme.menu-open:after{inset:0!important;z-index:40!important;width:auto!important;height:auto!important;left:0!important;right:0!important;top:0!important;bottom:0!important;border-radius:0!important;filter:none!important;opacity:1!important;background:rgba(3,12,28,.62)!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
  .super-theme .super-admin-brand{gap:10px;padding:3px 4px 17px}
  .super-theme .super-admin-brand-icon{width:47px;height:47px;min-width:47px;border-radius:14px}
  .super-theme .super-admin-brand-copy{flex:1;overflow:hidden}
  .super-theme .super-admin-brand-copy strong{font-size:15px;letter-spacing:.02em;overflow:hidden;text-overflow:ellipsis}
  .super-theme .super-admin-brand-copy small{font-size:8px;letter-spacing:.09em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .super-theme .super-user-card{margin:14px 0 13px;padding:11px}
  .super-theme .sidebar nav a{min-height:45px;padding:8px 9px;font-size:12px}
  .super-theme .super-menu-icon{width:29px;height:29px;min-width:29px}
  .super-theme .super-topbar{position:sticky;top:0;z-index:16;min-height:auto;padding:max(12px,env(safe-area-inset-top)) 14px 10px;gap:0}
  .super-theme .super-topbar:after{left:14px;right:14px}
  .super-theme .super-topbar-left{width:100%;gap:9px}
  .super-theme .menu-toggle.super-menu-toggle{display:flex;width:42px;height:42px;min-width:42px;margin:0;border-radius:13px}
  .super-theme .super-topbar-logo{display:block;width:40px;height:40px;min-width:40px;border-radius:12px}
  .super-theme .super-topbar-left>div{flex:1}
  .super-theme .super-topbar-kicker{margin-bottom:2px;font-size:7px;letter-spacing:.1em}
  .super-theme .super-topbar h1{font-size:clamp(19px,6vw,24px);line-height:1.05}
  .super-theme .super-topbar p{margin-top:3px;font-size:9px}
  .super-theme .content{width:100%;max-width:100%;padding:18px 14px calc(34px + env(safe-area-inset-bottom))}
  .super-theme .super-hero{grid-template-columns:1fr;padding:24px 20px;border-radius:22px}
  .super-theme .super-hero h2{margin:14px 0 13px;font-size:clamp(34px,10.8vw,46px);line-height:.98;letter-spacing:-.05em}
  .super-theme .super-hero-copy>p{font-size:12px;line-height:1.58}
  .super-theme .super-hero-actions{gap:9px;margin-top:19px}
  .super-theme .super-hero-actions .btn{min-height:45px;padding:10px 13px;font-size:13px}
  .super-theme .super-hero-meta{margin-top:18px;gap:12px;font-size:10px}
  .super-theme .super-hero-visual{min-height:235px;margin-top:14px}
  .super-theme .super-robot-card{width:170px;height:202px;border-radius:31% 31% 22px 22px;box-shadow:0 24px 48px rgba(0,0,0,.33)}
  .super-theme .orbit-one{width:210px;height:210px}
  .super-theme .orbit-two{width:245px;height:245px}
  .super-theme .super-floating-chip{transform:scale(.9);transform-origin:center}
  .super-theme .chip-top{right:0;top:28px}
  .super-theme .chip-bottom{left:0;bottom:24px}
  .super-theme .super-stat-grid{gap:11px;margin-bottom:16px}
  .super-theme .super-stat-card{min-height:99px;padding:15px;border-radius:17px}
  .super-theme .super-stat-icon{width:43px;height:43px;min-width:43px;border-radius:13px}
  .super-theme .super-stat-card strong{font-size:24px}
  .super-theme .super-dashboard-grid{gap:14px}
  .super-theme .panel{width:100%;max-width:100%;padding:15px;border-radius:18px;overflow:hidden}
  .super-theme .panel-head{width:100%;gap:12px}
  .super-theme .panel-head .btn{width:100%;flex:1 1 100%}
  .super-theme .super-table-wrap,.super-theme .table-wrap{margin-left:0;margin-right:0;border-radius:13px}
  .super-theme .super-quick-list{gap:8px}
  .super-theme .super-quick-list a{grid-template-columns:40px minmax(0,1fr) 18px;padding:10px}
  .super-theme .form-toolbar{top:calc(max(12px,env(safe-area-inset-top)) + 72px);flex-direction:column;align-items:stretch}
  .super-theme .form-toolbar .btn,.super-theme .bottom-save .btn{width:100%}
  .super-theme .billing-grid{grid-template-columns:1fr}
  .super-theme .actions{flex-wrap:wrap}
}

@media(max-width:520px){
  .super-theme .content{padding-left:12px;padding-right:12px}
  .super-theme .super-topbar{padding-left:12px;padding-right:12px}
  .super-theme .super-topbar:after{left:12px;right:12px}
  .super-theme .super-topbar-left{gap:7px}
  .super-theme .menu-toggle.super-menu-toggle{width:39px;height:39px;min-width:39px}
  .super-theme .super-topbar-logo{width:37px;height:37px;min-width:37px}
  .super-theme .super-topbar h1{font-size:19px}
  .super-theme .super-topbar p{font-size:8px}
  .super-theme .super-hero{padding:21px 17px}
  .super-theme .super-eyebrow{font-size:8px;letter-spacing:.12em}
  .super-theme .super-hero h2{font-size:clamp(32px,10.5vw,40px)}
  .super-theme .super-hero-visual{min-height:205px}
  .super-theme .super-robot-card{width:148px;height:177px}
  .super-theme .orbit-one{width:185px;height:185px}
  .super-theme .orbit-two{width:215px;height:215px}
  .super-theme .super-floating-chip{display:none}
  .super-theme .super-stat-grid{grid-template-columns:1fr}
  .super-theme .super-panel-head{align-items:stretch}
  .super-theme .super-panel-head h2{font-size:19px}
  .super-theme .super-panel-head p{font-size:10px}
  .super-theme table{min-width:650px}
}

@media(max-width:380px){
  .super-theme .super-topbar-logo{display:none}
  .super-theme .super-topbar h1{font-size:18px}
  .super-theme .super-topbar-kicker{font-size:6px}
  .super-theme .super-hero{padding:19px 15px}
  .super-theme .super-hero h2{font-size:31px}
  .super-theme .super-hero-actions .btn{font-size:12px}
  .super-theme .super-hero-meta{display:grid;grid-template-columns:1fr 1fr}
}


/* =========================================================
   MB CATÁLOGO 1.10 — MENU SUPER ADMIN CRISTALINO NO iOS/PWA
   Corrige a sobreposição do backdrop sobre o próprio menu.
   ========================================================= */
.super-theme .app-shell{z-index:auto!important}
.super-theme .main{position:relative;z-index:1}
.super-theme .super-menu-backdrop{display:none}
.super-theme .super-sidebar-close{display:none}

@media(max-width:820px){
  .super-theme.menu-open:after{content:none!important;display:none!important}
  .super-theme .sidebar:after{content:none!important;display:none!important}

  .super-theme .sidebar{
    position:fixed!important;
    z-index:1000!important;
    top:0!important;
    bottom:auto!important;
    left:0!important;
    width:min(84vw,320px)!important;
    max-width:calc(100vw - 34px)!important;
    height:var(--mb-viewport-height,100dvh)!important;
    max-height:var(--mb-viewport-height,100dvh)!important;
    padding:max(18px,env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    transform:translate3d(-104%,0,0)!important;
    visibility:hidden!important;
    opacity:1!important;
    filter:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    background:linear-gradient(170deg,#041127 0%,#082348 58%,#061a39 100%)!important;
    box-shadow:28px 0 75px rgba(0,0,0,.48)!important;
    transition:transform .28s cubic-bezier(.22,.78,.2,1),visibility 0s linear .28s!important;
    isolation:isolate!important;
  }
  .super-theme.menu-open .sidebar{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    transition:transform .28s cubic-bezier(.22,.78,.2,1),visibility 0s!important;
  }
  .super-theme .sidebar>*{filter:none!important;-webkit-filter:none!important}

  .super-theme .super-menu-backdrop{
    appearance:none;
    -webkit-appearance:none;
    display:block;
    position:fixed;
    z-index:900;
    inset:0;
    width:100%;
    height:var(--mb-viewport-height,100dvh);
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:rgba(2,10,24,.64);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    filter:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    transition:opacity .24s ease,visibility 0s linear .24s;
  }
  .super-theme.menu-open .super-menu-backdrop{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition:opacity .24s ease,visibility 0s;
  }

  .super-theme .super-sidebar-close{
    display:flex;
    position:absolute;
    z-index:12;
    top:max(15px,env(safe-area-inset-top));
    right:12px;
    width:39px;
    height:39px;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:0;
    border:1px solid rgba(255,255,255,.14);
    border-radius:13px;
    color:#fff;
    background:rgba(255,255,255,.075);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  }
  .super-theme .super-sidebar-close span{
    position:absolute;
    width:17px;
    height:2px;
    border-radius:99px;
    background:#dcecff;
  }
  .super-theme .super-sidebar-close span:first-child{transform:rotate(45deg)}
  .super-theme .super-sidebar-close span:last-child{transform:rotate(-45deg)}
  .super-theme .super-sidebar-close:active{transform:scale(.94);background:rgba(255,255,255,.13)}

  .super-theme .super-admin-brand{padding-right:48px!important}
  .super-theme.menu-open{overflow:hidden!important;touch-action:none!important}
  .super-theme.menu-open .main{pointer-events:none!important;user-select:none!important;-webkit-user-select:none!important}
}

@media(min-width:821px){
  .super-theme .super-menu-backdrop,.super-theme .super-sidebar-close{display:none!important}
}

/* =========================================================
   MB CATÁLOGO 1.11 — AJUSTE FINAL DO CABEÇALHO DO MENU
   Remove o espaço criado pelos efeitos decorativos e melhora
   o card do Super Administrador em iPhone, Android e PWA.
   ========================================================= */
.super-theme .sidebar > .super-sidebar-glow{
  position:absolute!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
  z-index:0!important;
}
.super-theme .sidebar > .super-sidebar-glow-a{
  left:-80px!important;
  top:90px!important;
}
.super-theme .sidebar > .super-sidebar-glow-b{
  right:-90px!important;
  bottom:130px!important;
  top:auto!important;
  left:auto!important;
}
.super-theme .super-admin-brand,
.super-theme .super-user-card,
.super-theme .sidebar nav{
  position:relative!important;
  z-index:3!important;
}
.super-theme .super-user-card{
  width:calc(100% - 4px);
  min-width:0;
}
.super-theme .super-user-copy{
  flex:1;
  min-width:0;
  overflow:hidden;
}

@media(max-width:820px){
  .super-theme .sidebar{
    padding-top:max(12px,env(safe-area-inset-top))!important;
  }
  .super-theme .super-sidebar-close{
    top:max(12px,env(safe-area-inset-top))!important;
    right:12px!important;
  }
  .super-theme .super-admin-brand{
    width:100%!important;
    min-height:55px!important;
    margin:0!important;
    padding:2px 48px 13px 2px!important;
    gap:10px!important;
    align-items:center!important;
  }
  .super-theme .super-admin-brand-icon{
    width:45px!important;
    height:45px!important;
    min-width:45px!important;
    border-radius:14px!important;
  }
  .super-theme .super-admin-brand-copy{
    display:block!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .super-theme .super-admin-brand-copy strong{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:14px!important;
    line-height:1.08!important;
    letter-spacing:.015em!important;
  }
  .super-theme .super-admin-brand-copy small{
    display:block!important;
    max-width:100%!important;
    margin-top:4px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:7px!important;
    letter-spacing:.075em!important;
  }
  .super-theme .super-user-card{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;
    gap:11px!important;
    width:100%!important;
    min-height:66px!important;
    margin:11px 0 12px!important;
    padding:10px 12px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  .super-theme .super-user-avatar{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:13px!important;
    font-size:16px!important;
  }
  .super-theme .super-user-copy{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  .super-theme .super-user-copy strong{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  .super-theme .super-user-copy small{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:4px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
  .super-theme .sidebar nav{
    padding-top:0!important;
  }
}

@media(max-width:390px){
  .super-theme .sidebar{
    width:min(88vw,310px)!important;
    max-width:calc(100vw - 28px)!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .super-theme .super-admin-brand{
    padding-right:45px!important;
  }
  .super-theme .super-admin-brand-icon{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }
  .super-theme .super-user-card{
    grid-template-columns:39px minmax(0,1fr)!important;
    min-height:61px!important;
    padding:9px 10px!important;
  }
  .super-theme .super-user-avatar{
    width:39px!important;
    height:39px!important;
    min-width:39px!important;
  }
}


/* MB CATÁLOGO 1.13 — área segura do painel da loja em iPhone/PWA */
.shop-theme{--shop-safe-top:env(safe-area-inset-top,0px);--shop-safe-right:env(safe-area-inset-right,0px);--shop-safe-bottom:env(safe-area-inset-bottom,0px);--shop-safe-left:env(safe-area-inset-left,0px)}
.shop-theme .topbar{box-sizing:content-box;height:88px;min-height:88px;padding-top:var(--shop-safe-top);padding-right:calc(28px + var(--shop-safe-right));padding-left:calc(28px + var(--shop-safe-left))}
.shop-theme .sidebar{padding-top:calc(20px + var(--shop-safe-top));padding-bottom:calc(20px + var(--shop-safe-bottom));padding-left:calc(14px + var(--shop-safe-left))}
.shop-theme .content{padding-right:calc(26px + var(--shop-safe-right));padding-bottom:calc(26px + var(--shop-safe-bottom));padding-left:calc(26px + var(--shop-safe-left))}
@media(max-width:820px){.shop-theme .topbar{padding-right:calc(16px + var(--shop-safe-right));padding-left:calc(16px + var(--shop-safe-left))}.shop-theme .content{padding-top:16px;padding-right:calc(16px + var(--shop-safe-right));padding-bottom:calc(20px + var(--shop-safe-bottom));padding-left:calc(16px + var(--shop-safe-left))}.shop-theme .sidebar{width:min(88vw,290px);padding-right:14px}.shop-theme.menu-open{overflow:hidden}}
@media(max-width:520px){.shop-theme .topbar{height:82px;min-height:82px}.shop-theme .topbar h1{font-size:clamp(21px,7vw,28px);line-height:1.05}.shop-theme .topbar p{font-size:12px}.shop-theme .menu-toggle{min-width:48px;min-height:48px}.shop-theme .form-toolbar{top:calc(var(--shop-safe-top) + 6px)}}


/* MB CATÁLOGO 1.14 — modalidades de venda no cadastro */
.sales-mode-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sales-mode-admin-card{border:1px solid rgba(148,163,184,.25);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(248,250,252,.78));padding:16px;min-width:0}
.sales-mode-toggle{margin:0}.conditional-fields{display:none;margin-top:16px;padding-top:16px;border-top:1px solid rgba(148,163,184,.22)}.conditional-fields.is-open{display:block;animation:mbFieldsIn .25s ease}
@keyframes mbFieldsIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.wholesale-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.wholesale-head small{display:block;color:var(--muted);margin-top:3px}
.wholesale-tier-row{position:relative;display:grid;grid-template-columns:minmax(150px,.75fr) minmax(190px,1fr) 38px;gap:12px;align-items:end;padding:14px;margin-bottom:10px;border-radius:16px;background:rgba(241,245,249,.75);border:1px solid rgba(148,163,184,.2)}
.wholesale-tier-row .wholesale-remove{position:static;align-self:end;margin-bottom:4px}.catalog-label-preview{margin-top:14px;padding:14px;border-radius:14px;background:linear-gradient(135deg,rgba(37,99,235,.1),rgba(124,58,237,.08));border:1px solid rgba(37,99,235,.18)}.catalog-label-preview span,.catalog-label-preview b{display:block}.catalog-label-preview span{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:4px}
.product-admin-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.badge.info{background:#dbeafe;color:#1d4ed8}
.input-suffix{display:flex;align-items:stretch}.input-suffix input{border-radius:12px 0 0 12px}.input-suffix span{display:flex;align-items:center;padding:0 14px;border:1px solid var(--border);border-left:0;border-radius:0 12px 12px 0;background:#f8fafc;font-weight:700;color:var(--muted)}
@media(max-width:800px){.sales-mode-admin-grid{grid-template-columns:1fr}.wholesale-head{align-items:flex-start;flex-direction:column}.wholesale-tier-row{grid-template-columns:1fr 1fr 38px}}
@media(max-width:540px){.sales-mode-admin-card{padding:12px}.wholesale-tier-row{grid-template-columns:1fr 38px}.wholesale-tier-row>div:nth-child(2){grid-column:1/-1;grid-row:2}.wholesale-tier-row .wholesale-remove{grid-column:2;grid-row:1}}

/* MB CATÁLOGO 1.15 - atacado misto */
.badge.mixed{background:#ede9fe;color:#6d28d9}
.mixed-wholesale-product-card{border-color:rgba(124,58,237,.28);background:linear-gradient(145deg,rgba(245,243,255,.92),rgba(255,255,255,.84))}
.mixed-wholesale-product-help{margin-top:14px;padding:14px;border-radius:15px;border:1px solid rgba(124,58,237,.18);background:linear-gradient(135deg,rgba(124,58,237,.08),rgba(37,99,235,.06))}
.mixed-wholesale-product-help>span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.mixed-wholesale-product-help>b{display:block;margin-top:5px}.mixed-wholesale-product-help p{margin:7px 0 12px;color:var(--muted);font-size:.82rem;line-height:1.45}
.mixed-wholesale-hero-admin{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:24px;align-items:center;padding:28px;background:linear-gradient(135deg,rgba(37,99,235,.1),rgba(124,58,237,.11),rgba(255,255,255,.85));overflow:hidden;position:relative}.mixed-wholesale-hero-admin:after{content:"%";position:absolute;right:4%;top:-28px;font-size:170px;font-weight:950;color:rgba(124,58,237,.07);transform:rotate(9deg);pointer-events:none}.mixed-wholesale-hero-admin h2{font-size:clamp(25px,3vw,40px);margin:7px 0 9px;letter-spacing:-.04em}.mixed-wholesale-hero-admin p{max-width:760px;color:var(--muted);line-height:1.55;margin:0}.mixed-global-toggle{position:relative;z-index:1;background:rgba(255,255,255,.82)}
.mixed-rules-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.mixed-rules-head small{display:block;color:var(--muted);margin-top:4px}
.mixed-rule-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 40px;gap:13px;align-items:end;padding:15px;margin-bottom:10px;border-radius:17px;border:1px solid rgba(148,163,184,.22);background:linear-gradient(145deg,rgba(248,250,252,.92),rgba(255,255,255,.86))}.mixed-rule-row .mixed-rule-remove{position:static;align-self:end;margin-bottom:4px}
.mixed-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px}.mixed-info-grid article{padding:17px;border:1px solid rgba(148,163,184,.2);border-radius:16px;background:#f8fafc}.mixed-info-grid b,.mixed-info-grid span{display:block}.mixed-info-grid b{font-size:1.15rem;color:var(--tenant-primary)}.mixed-info-grid span{font-size:.78rem;color:var(--muted);margin-top:4px}.mixed-wholesale-explanation .alert.info{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}
@media(max-width:850px){.mixed-wholesale-hero-admin{grid-template-columns:1fr}.mixed-info-grid{grid-template-columns:1fr 1fr}.mixed-rule-row{grid-template-columns:1fr 1fr 40px}}
@media(max-width:560px){.mixed-wholesale-hero-admin{padding:20px}.mixed-rules-head{align-items:flex-start;flex-direction:column}.mixed-rule-row{grid-template-columns:1fr 40px}.mixed-rule-row>div:nth-child(2){grid-column:1/-1;grid-row:2}.mixed-rule-row .mixed-rule-remove{grid-column:2;grid-row:1}.mixed-info-grid{grid-template-columns:1fr}.mixed-wholesale-form .bottom-save{align-items:stretch;flex-direction:column}.mixed-wholesale-form .bottom-save .btn{width:100%}}


/* MB CATÁLOGO 1.15.1 — retorno visível ao salvar produto */
.product-save-status{
    margin:0 0 16px;
    padding:13px 16px;
    border-radius:14px;
    font-weight:700;
    line-height:1.4;
    border:1px solid rgba(37,99,235,.22);
    background:rgba(37,99,235,.08);
    color:#1d4ed8
}
.product-save-status.is-loading{background:rgba(14,165,233,.10);color:#0369a1}
.product-save-status.is-error{background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.25);color:#b91c1c}
button.is-saving{opacity:.78;cursor:wait}

/* =========================================================
   MB CATÁLOGO 1.16.1 — salvamento confiável e responsividade
   ========================================================= */
.product-form{width:100%;min-width:0}
.product-form .form-toolbar,.product-form .bottom-save{position:relative;isolation:isolate}
.product-form button[type="submit"]{position:relative;z-index:2;pointer-events:auto!important;touch-action:manipulation;min-height:44px}
.product-form button[type="submit"].is-saving{opacity:.82;cursor:progress}
.product-save-status[hidden]{display:none!important}
.product-save-status.is-success{background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.25);color:#166534}
.product-form input,.product-form select,.product-form textarea{max-width:100%}
.product-form textarea{resize:vertical}
.product-form .media-upload-box input[type="file"],.product-form .variant-image-input{overflow:hidden}

@media(max-width:1100px){
  .content{width:100%;max-width:none}
  .product-form .sales-mode-admin-grid{grid-template-columns:1fr}
  .stock-layout{grid-template-columns:1fr!important}
}

@media(max-width:820px){
  html,body{max-width:100%;overflow-x:hidden}
  .app-shell,.main,.content{min-width:0;max-width:100%}
  .shop-theme .topbar{box-sizing:border-box;height:auto;min-height:76px;padding-top:calc(10px + var(--shop-safe-top));padding-bottom:10px}
  .shop-theme .content{width:100%;padding-top:14px}
  .product-form .form-toolbar{position:relative;top:auto;z-index:2;align-items:stretch;flex-direction:column}
  .product-form .form-toolbar .actions,.product-form .bottom-save .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .product-form .form-toolbar .btn,.product-form .bottom-save .btn{width:100%;min-width:0}
  .product-form .form-section{padding:18px}
  .product-form .section-title{align-items:flex-start}
  .product-form .media-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-form .media-list label{min-width:0;margin:0}
  .product-form .media-list img,.product-form .media-list video{width:100%;height:auto;aspect-ratio:1.2/1}
  .product-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-product{grid-template-columns:96px minmax(0,1fr)}
  .table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}
}

@media(max-width:620px){
  .product-form .form-toolbar,.product-form .bottom-save{padding:14px;border-radius:14px}
  .product-form .form-toolbar .actions,.product-form .bottom-save .actions{grid-template-columns:1fr}
  .product-form .form-section{padding:14px}
  .product-form .section-title{gap:10px;padding-bottom:13px;margin-bottom:15px}
  .product-form .section-title>span{min-width:31px;height:31px}
  .product-form .section-title h2{font-size:16px}
  .product-form .section-title p{font-size:12px;line-height:1.4}
  .product-form .sales-mode-admin-card{padding:12px;border-radius:16px}
  .product-form .wholesale-tier-row{grid-template-columns:1fr 40px}
  .product-form .wholesale-tier-row>div:nth-child(2){grid-column:1/-1;grid-row:2}
  .product-form .wholesale-tier-row .wholesale-remove{grid-column:2;grid-row:1}
  .product-form .variant-row{grid-template-columns:1fr!important;padding:12px}
  .product-form .variant-color-fields{grid-template-columns:minmax(0,1fr) 70px}
  .product-form .variant-color-fields>div:nth-child(3){grid-column:1/-1}
  .product-form .variant-photo-field{grid-column:1!important;grid-template-columns:minmax(0,1fr) 74px!important;padding-left:0;border-left:0}
  .product-form .variant-remove{grid-column:1!important;grid-row:auto!important;width:100%}
  .product-form .media-list{grid-template-columns:1fr}
  .product-admin-grid{grid-template-columns:1fr}
  .admin-product{grid-template-columns:92px minmax(0,1fr)}
  .panel{max-width:100%;overflow-wrap:anywhere}
}

@media(max-width:390px){
  .shop-theme .content{padding-right:calc(11px + var(--shop-safe-right));padding-left:calc(11px + var(--shop-safe-left))}
  .product-form .form-section,.product-form .form-toolbar,.product-form .bottom-save{padding:12px}
  .admin-product{grid-template-columns:82px minmax(0,1fr)}
  input,select,textarea{font-size:16px}
}

/* MB CATÁLOGO 1.17 — Categoria Buffet e Decoração */
.permission-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:22px}.permission-heading-row .permission-heading{margin:0 0 4px}.permission-card[hidden]{display:none!important}.buffet-admin-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:28px;align-items:center;padding:32px;overflow:hidden;position:relative}.buffet-admin-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-100px;top:-170px;background:radial-gradient(circle,var(--tenant-secondary),transparent 70%);opacity:.14}.buffet-admin-hero h2{font-size:clamp(28px,4vw,48px);line-height:1.05;letter-spacing:-.045em;margin:10px 0}.buffet-admin-hero p{max-width:740px;color:var(--muted);line-height:1.7}.buffet-hero-date{position:relative;z-index:1;min-height:180px;border-radius:24px;padding:22px;background:linear-gradient(145deg,var(--tenant-primary),var(--tenant-secondary));color:var(--tenant-on-primary);display:flex;flex-direction:column;justify-content:center;box-shadow:0 24px 50px rgba(var(--tenant-primary-rgb),.25)}.buffet-hero-date span,.buffet-hero-date small{opacity:.82}.buffet-hero-date strong{font-size:58px;line-height:1;margin:8px 0}.buffet-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.buffet-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.buffet-admin-item{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;border:1px solid var(--line);border-radius:20px;padding:12px;background:var(--panel);min-width:0}.buffet-admin-item-image{height:160px;border-radius:15px;background:var(--soft);overflow:hidden;position:relative;display:grid;place-items:center;color:var(--muted)}.buffet-admin-item-image img{width:100%;height:100%;object-fit:cover}.buffet-admin-item-image>b{position:absolute;top:8px;left:8px;border-radius:999px;background:var(--tenant-primary);color:var(--tenant-on-primary);font-size:10px;padding:6px 8px}.buffet-admin-item-copy{min-width:0}.buffet-admin-item-copy h3{font-size:20px;margin:8px 0}.buffet-admin-item-copy p{color:var(--muted);font-size:12px;line-height:1.5}.buffet-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.buffet-media-grid label{border:1px solid var(--line);border-radius:15px;padding:7px;background:var(--panel)}.buffet-media-grid img{width:100%;height:120px;object-fit:cover;border-radius:10px}.buffet-media-grid span{display:block;font-size:11px;margin-top:6px}.buffet-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.buffet-calendar-layout>aside{display:grid;gap:18px}.buffet-weekdays,.buffet-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.buffet-weekdays span{text-align:center;font-size:11px;font-weight:900;color:var(--muted);padding:8px}.buffet-day{min-height:105px;border:1px solid var(--line);border-radius:14px;padding:9px;background:var(--panel);display:flex;flex-direction:column;gap:5px;overflow:hidden}.buffet-day.outside{opacity:.38}.buffet-day.blocked{background:rgba(239,68,68,.07);border-color:rgba(239,68,68,.22)}.buffet-day>b{font-size:13px}.calendar-mark{font-size:9px;line-height:1.25;border-radius:8px;padding:5px 6px}.calendar-mark.success{background:rgba(34,197,94,.12);color:#15803d}.calendar-mark.info{background:rgba(37,99,235,.11);color:#1d4ed8}.calendar-mark.danger{background:rgba(239,68,68,.12);color:#b91c1c}.buffet-block-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.buffet-block-row b,.buffet-block-row small{display:block}.buffet-block-row small{color:var(--muted);margin-top:3px}.booking-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.booking-status-panel{display:grid;gap:12px;position:sticky;top:20px}.booking-status-panel form{display:grid;gap:10px}.booking-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.booking-info-grid>div{border:1px solid var(--line);border-radius:14px;padding:12px}.booking-info-grid span,.booking-info-grid b{display:block}.booking-info-grid span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.booking-info-grid b{margin-top:5px}.buffet-settings-hero{padding:30px;background:linear-gradient(135deg,rgba(var(--tenant-primary-rgb),.10),rgba(var(--tenant-secondary-rgb),.10)),var(--panel)}.buffet-settings-hero h2{font-size:clamp(28px,4vw,44px);margin:8px 0}.buffet-settings-hero p{color:var(--muted);max-width:750px}.badge.info{background:rgba(37,99,235,.11);color:#1d4ed8}.badge.premium{background:linear-gradient(135deg,rgba(var(--tenant-primary-rgb),.14),rgba(var(--tenant-secondary-rgb),.14));color:var(--tenant-primary)}
@media(max-width:1100px){.buffet-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.buffet-admin-grid{grid-template-columns:1fr}.buffet-calendar-layout{grid-template-columns:1fr}.buffet-calendar-layout>aside{grid-template-columns:repeat(2,minmax(0,1fr))}.booking-detail-grid{grid-template-columns:1fr}.booking-status-panel{position:static}.buffet-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.permission-heading-row{align-items:stretch;flex-direction:column}.buffet-admin-hero{grid-template-columns:1fr;padding:22px}.buffet-hero-date{min-height:140px}.buffet-stat-grid{grid-template-columns:1fr 1fr}.buffet-admin-item{grid-template-columns:110px minmax(0,1fr)}.buffet-admin-item-image{height:130px}.buffet-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.buffet-calendar-layout>aside{grid-template-columns:1fr}.buffet-month-grid,.buffet-weekdays{gap:3px}.buffet-day{min-height:78px;padding:6px;border-radius:9px}.calendar-mark{font-size:8px;padding:3px}.booking-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.buffet-stat-grid{grid-template-columns:1fr}.buffet-admin-item{grid-template-columns:1fr}.buffet-admin-item-image{height:210px}.buffet-media-grid{grid-template-columns:1fr 1fr}.buffet-day{min-height:65px}.calendar-mark{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.booking-info-grid{grid-template-columns:1fr}}

/* MB CATÁLOGO 1.17 — orçamento e controle de pagamento do buffet */
.booking-management-form label{font-size:12px;font-weight:800;color:var(--text);margin-top:2px}
.booking-management-form textarea{resize:vertical;min-height:88px}
.booking-payment-summary{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.booking-payment-summary>span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:900}
.booking-payment-summary>small{grid-column:1/-1;color:var(--muted);line-height:1.4}
@media(max-width:480px){.booking-status-panel{padding:15px}.booking-management-form .input-prefix{width:100%}}
