/* mobClube — tema visual alinhado ao MobVarejoWeb.
   Carregado por último nos layouts admin/vendor; sobrescreve cores, tipografia e
   componentes do tema base sem alterar os arquivos originais. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --mob-dark: #0C2C35;
    --mob-green: #68C857;
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-900: #1e3a8a;

    --tema-topo: #34495E;
    --tema-topo-escuro: #2C3E50;
    --tema-lateral: #2B3545;
    --tema-lateral-escuro: #1E2532;
    --tema-lateral-fundo: #151A24;
    --tema-lateral-hover: #3D4A5D;

    /* variáveis do tema base */
    --primary-clr: var(--brand-600);
    --primary: var(--brand-700);
    --dark-clr: var(--tema-lateral);
    --title-clr: #111827;
}

html, body {
    font-family: 'Inter', system-ui, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body, .content, .main { background-color: #F2F4F7; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: inherit; color: #111827; font-weight: 600; }

/* ─── Barra superior ─────────────────────────────────────────────────────── */
#header, .navbar-fixed, .navbar-height.navbar-fixed {
    background-color: var(--tema-topo) !important;
    border-bottom: 0 !important;
    color: #fff;
}
#header .navbar-nav .nav-link,
#header .navbar-nav i,
#header .navbar-nav-wrap-content-left i,
#header .close { color: #fff !important; text-shadow: none; opacity: 1; }
#header .navbar-nav .nav-link:hover { background-color: var(--tema-topo-escuro); border-radius: .25rem; }

/* ─── Menu lateral ───────────────────────────────────────────────────────── */
.navbar-vertical-aside,
.navbar-vertical-aside .navbar-vertical-container,
.navbar-vertical-aside .navbar-brand-wrapper,
.navbar-vertical-aside .navbar-vertical-content,
.bg--005555 {
    background-color: var(--tema-lateral) !important;
    border-color: var(--tema-lateral-escuro) !important;
}
.navbar-vertical-aside .navbar-brand-wrapper { background-color: var(--tema-lateral-escuro) !important; }
.navbar-vertical-aside .nav-link,
.navbar-vertical-aside .nav-title,
.navbar-vertical-aside .nav-subtitle,
.navbar-vertical-aside .nav-icon,
.navbar-vertical-aside .text-truncate { color: #cbd5e1 !important; }
.navbar-vertical-aside .nav-title { color: #94a3b8 !important; font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase; }
.navbar-vertical-aside .nav-link:hover,
.navbar-vertical-aside .navbar-vertical-aside-has-menu:hover > .nav-link {
    background-color: var(--tema-lateral-hover) !important;
    color: #fff !important;
}
.navbar-vertical-aside .nav-link.active,
.navbar-vertical-aside .active > .nav-link,
.navbar-vertical-aside .nav-sub .nav-link.active {
    background-color: var(--brand-600) !important;
    color: #fff !important;
}
.navbar-vertical-aside .nav-sub { background-color: var(--tema-lateral-escuro) !important; }
.navbar-vertical-aside .nav-link.active .nav-icon,
.navbar-vertical-aside .nav-link:hover .nav-icon { color: #fff !important; }

/* ─── Botões e links ─────────────────────────────────────────────────────── */
a { color: var(--brand-600); }
a:hover { color: var(--brand-700); }
.btn-primary, .btn--primary, .btn-outline-primary:hover {
    background-color: var(--brand-600) !important;
    border-color: var(--brand-600) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn--primary:hover { background-color: var(--brand-700) !important; border-color: var(--brand-700) !important; }
.btn-outline-primary { color: var(--brand-600) !important; border-color: var(--brand-600) !important; background: transparent !important; }
.text-primary, .text--primary { color: var(--brand-600) !important; }
.bg-primary { background-color: var(--brand-600) !important; }
.badge-soft-primary { background-color: var(--brand-100); color: var(--brand-700); }
.btn { border-radius: .375rem; font-weight: 500; }

/* ─── Cards, tabelas e formulários ───────────────────────────────────────── */
.card {
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.card-header { background-color: #fff; border-bottom: 1px solid #e5e7eb; }
.table thead th, .thead-light th {
    background-color: #f3f4f6 !important;
    color: #4b5563;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-color: #e5e7eb;
}
.table td { border-color: #e5e7eb; vertical-align: middle; }
.table-hover tbody tr:hover { background-color: var(--brand-50); }
.form-control, .custom-select, .select2-container--default .select2-selection--single {
    border-color: #d1d5db;
    border-radius: .375rem;
}
.form-control:focus, .custom-select:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .2);
}
.page-link { color: var(--brand-600); }
.page-item.active .page-link { background-color: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.nav-tabs .nav-link.active { color: var(--brand-600); border-bottom-color: var(--brand-600); }
.custom-control-input:checked ~ .custom-control-label::before,
.switcher_input:checked + .switcher_control { background-color: var(--brand-600); border-color: var(--brand-600); }

/* ─── Barra de abas (padrão MobVarejoWeb) ────────────────────────────────── */
.mc-tabs {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin: 0 0 1rem;
    padding: .375rem .75rem 0;
    overflow-x: auto;
    background: #e5e7eb;
    border-bottom: 1px solid #d1d5db;
    scrollbar-width: thin;
}
.mc-tab {
    display: flex;
    align-items: center;
    gap: .375rem;
    max-width: 14rem;
    flex-shrink: 0;
    padding: .375rem .625rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-bottom: 0;
    border-radius: .375rem .375rem 0 0;
    font-size: .75rem;
    color: #4b5563;
}
.mc-tab a { color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-tab a:hover { text-decoration: none; color: var(--brand-700); }
.mc-tab button { display: flex; padding: 0; border: 0; background: transparent; color: #9ca3af; font-size: .75rem; cursor: pointer; }
.mc-tab button:hover { color: #dc2626; }
.mc-tab.active { background: #fff; color: var(--brand-700); font-weight: 600; margin-bottom: -1px; border-color: #d1d5db; }

/* Ícones Phosphor nos itens do menu lateral */
.navbar-vertical-aside .nav-icon.ph,
.navbar-vertical-aside .nav-icon.ph-bold,
.navbar-vertical-aside .nav-icon.ph-fill { font-size: 1.125rem; width: 1.5rem; text-align: center; }

/* Ícones e links da barra superior sobre o fundo escuro */
#header a, #header .__nav-link, #header .__nav-link span, #header .__nav-link i,
#header .navbar-nav-wrap-content-right a, #header .navbar-nav-wrap-content-right span { color: #fff !important; }
#header svg, #header svg path { color: #fff; fill: currentColor; }
#header .dropdown-menu a, #header .dropdown-menu span { color: #374151 !important; }

/* Campo de busca e card do usuário no menu lateral */
.navbar-vertical-aside .sidebar--search-form,
.navbar-vertical-aside .sidebar--search-form .form-control {
    background-color: var(--tema-lateral-escuro) !important;
    border-color: var(--tema-lateral-hover) !important;
    color: #e2e8f0 !important;
}
.navbar-vertical-aside .sidebar--search-form .form-control::placeholder { color: #94a3b8; }
.navbar-vertical-aside .navbar-dropdown-account-wrapper,
.navbar-vertical-aside .navbar-dropdown-account-wrapper:hover { background-color: var(--tema-lateral-hover) !important; }
.navbar-vertical-aside .navbar-dropdown-account-wrapper .card-title,
.navbar-vertical-aside .navbar-dropdown-account-wrapper span,
.navbar-vertical-aside .navbar-dropdown-account-wrapper .text-muted { color: #fff !important; }
.navbar-vertical-aside .navbar-brand-wrapper img { background: #fff; border-radius: .375rem; }

/* ─── Menu lateral: ocultar no desktop / sobreposto no celular ───────────── */
.mc-menu-toggle { background: transparent; border: 0; color: #fff; font-size: 1.375rem; line-height: 1; padding: .25rem .5rem; margin-right: .5rem; border-radius: .25rem; cursor: pointer; }
.mc-menu-toggle:hover { background: var(--tema-topo-escuro); }
.mc-menu-backdrop { display: none; }

@media (min-width: 768px) {
    .navbar-vertical-aside, #header, #content, .footer { transition: transform .2s ease, padding-left .2s ease, margin-left .2s ease; }
    /* sempre visível a partir de tablet; só some pelo botão */
    body:not(.mc-menu-hidden) .navbar-vertical-aside { left: 0 !important; transform: none !important; margin-inline-start: 0 !important; visibility: visible !important; }
    body:not(.mc-menu-hidden).has-navbar-vertical-aside .main,
    body:not(.mc-menu-hidden).has-navbar-vertical-aside #content { padding-inline-start: 16.25rem !important; }
    body:not(.mc-menu-hidden).has-navbar-vertical-aside .footer { margin-inline-start: 16.25rem !important; }
    body.mc-menu-hidden .navbar-vertical-aside { transform: translateX(-100%); }
    body.mc-menu-hidden.has-navbar-vertical-aside .main,
    body.mc-menu-hidden.has-navbar-vertical-aside #content { padding-left: 0 !important; padding-inline-start: 0 !important; }
    body.mc-menu-hidden.has-navbar-vertical-aside .footer { margin-left: 0 !important; margin-inline-start: 0 !important; padding-left: 0 !important; }
    body.mc-menu-hidden.has-navbar-vertical-aside #header { left: 0 !important; margin-left: 0 !important; }
}
@media (max-width: 767.98px) {
    body:not(.navbar-vertical-aside-closed-mode) .mc-menu-backdrop {
        display: block; position: fixed; inset: 0; z-index: 1040; background: rgba(15, 23, 42, .55);
    }
    .navbar-vertical-aside { max-width: 85vw; z-index: 1045 !important; }
    .mc-tabs { margin-left: 0; margin-right: 0; }
    #header .js-navbar-vertical-aside-toggle-invoker { font-size: 1.5rem; padding: .25rem .5rem; opacity: 1 !important; }
}

/* ─── Topo com marca e perfil; menu lateral começa abaixo do topo ────────── */
:root { --mc-header-h: 3.5rem; }

#header.navbar-fixed {
    left: 0 !important; margin-left: 0 !important; width: 100% !important;
    height: var(--mc-header-h); min-height: var(--mc-header-h);
    padding: 0 1rem !important; z-index: 1041;
}
#header .navbar-nav-wrap { height: 100%; align-items: center; flex-wrap: nowrap; }
.mc-topbar-left { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.mc-topbar-left .mc-menu-toggle { display: inline-flex; align-items: center; margin-right: .25rem; color: #fff !important; opacity: 1; text-shadow: none; }
.mc-brand { display: flex; align-items: center; gap: .5rem; color: #fff !important; font-weight: 700; font-size: 1.125rem; letter-spacing: .02em; }
.mc-brand:hover { text-decoration: none; color: #fff !important; }
.mc-brand img { width: 2rem; height: 2rem; object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; }

.mc-profile-item { margin-left: .25rem; }
.mc-profile-btn { display: flex; align-items: center; gap: .5rem; padding: .25rem .5rem; border-radius: .375rem; color: #fff !important; font-weight: 600; font-size: .875rem; text-transform: uppercase; }
.mc-profile-btn:hover { background: var(--tema-topo-escuro); text-decoration: none; }
.mc-profile-btn .avatar { width: 2rem; height: 2rem; }
.mc-profile-menu { min-width: 15rem; padding: .5rem 0; border: 1px solid #e5e7eb; border-radius: .5rem; box-shadow: 0 10px 25px rgba(0, 0, 0, .15); }
.mc-profile-head { padding: .5rem 1rem .75rem; border-bottom: 1px solid #f3f4f6; margin-bottom: .25rem; }
.mc-profile-head strong { display: block; color: #111827; font-size: .875rem; }
.mc-profile-head small { color: #6b7280; }
.mc-profile-menu .dropdown-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.mc-profile-menu .dropdown-item i { font-size: 1.125rem; }
#header .mc-profile-menu a, #header .mc-profile-menu .dropdown-item { color: #374151 !important; }
#header .mc-profile-menu .dropdown-item.text-danger { color: #dc2626 !important; }

/* menu lateral abaixo do topo; logo e card de perfil agora ficam no topo */
.navbar-vertical-aside { top: var(--mc-header-h) !important; height: calc(100vh - var(--mc-header-h)) !important; }
.navbar-vertical-aside .navbar-vertical-container { height: 100% !important; }
.navbar-vertical-aside .navbar-brand-wrapper { display: none !important; }
.navbar-vertical-aside .navbar-vertical-content { height: 100% !important; }
.navbar-vertical-aside .__sidebar-hs-unfold { display: none !important; }
body.has-navbar-vertical-aside .main, body.has-navbar-vertical-aside #content { padding-top: calc(var(--mc-header-h) + 1rem); }

@media (max-width: 575.98px) {
    .mc-profile-name { display: none; }
    .mc-brand span { font-size: 1rem; }
}
#header .nav-msg-icon { background: transparent; }
#header .nav-msg-icon img { filter: brightness(0) invert(1); }
#header .mc-profile-menu i { color: inherit !important; }

/* ─── Abas em iframe: página embutida sem topo/menu ──────────────────────── */
.mc-frame { display: block; width: 100%; height: calc(100vh - var(--mc-header-h) - 3.25rem); border: 0; background: transparent; }
#mc-frames:empty { display: none; }
html.mc-embedded #header, html.mc-embedded #headerMain, html.mc-embedded aside.navbar-vertical-aside,
html.mc-embedded #sidebarMain, html.mc-embedded .mc-tabs, html.mc-embedded .mc-menu-backdrop { display: none !important; }
html.mc-embedded body.has-navbar-vertical-aside .main, html.mc-embedded body.has-navbar-vertical-aside #content,
html.mc-embedded .main, html.mc-embedded #content { padding-left: 0 !important; padding-top: 1rem !important; margin-left: 0 !important; }
html.mc-embedded .footer { margin-left: 0 !important; padding-left: 0 !important; }

/* Indicador de carregamento das abas */
@keyframes mc-spin { to { transform: rotate(360deg); } }
.mc-tab-spin { font-size: .875rem; color: var(--brand-600); animation: mc-spin .8s linear infinite; }
.mc-tab.loading { background: #fff; }
.mc-tab.loading a { color: #6b7280; font-style: italic; }
#mc-frames { position: relative; }
.mc-frame-loading {
    position: absolute; inset: 0; z-index: 2; display: none; flex-direction: column;
    align-items: center; justify-content: center; gap: .75rem;
    background: #F2F4F7; color: var(--brand-600); font-size: .875rem; font-weight: 500;
}
.mc-frame-loading i { font-size: 2.25rem; animation: mc-spin .8s linear infinite; }

/* ─── Telas de configuração (padrão novo) ────────────────────────────────── */
.page-header { margin-bottom: 1rem; padding-bottom: 0; border: 0; }
.page-header-title { display: flex; align-items: center; gap: .625rem; font-size: 1.25rem; font-weight: 700; color: #111827; letter-spacing: -.01em; }
.page-header-title img, .page-header-title .page-header-icon { width: 2.25rem; height: 2.25rem; padding: .375rem; border-radius: .625rem; background: var(--brand-100); object-fit: contain; }

/* abas internas em pílulas, com rolagem horizontal no celular */
.nav--tabs.nav--pills, .js-nav-scroller .nav-tabs { display: flex; flex-wrap: nowrap; gap: .25rem; overflow-x: auto; padding: .25rem; background: #e5e7eb; border-radius: .75rem; scrollbar-width: none; }
.nav--tabs.nav--pills::-webkit-scrollbar { display: none; }
.nav--tabs.nav--pills .nav-item { flex: 0 0 auto; }
.nav--tabs.nav--pills .nav-link {
    padding: .5rem 1rem !important; border-radius: .5rem !important; white-space: nowrap;
    color: #4b5563 !important; font-size: .8125rem !important; font-weight: 500 !important; background: transparent !important; border: 0 !important; transition: background-color .15s, color .15s;
}
.nav--tabs.nav--pills .nav-link:hover { color: var(--brand-700) !important; background: rgba(255, 255, 255, .6) !important; }
.nav--tabs.nav--pills .nav-link.active { background: #fff !important; color: var(--brand-700) !important; font-weight: 600 !important; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.js-nav-scroller { margin-bottom: 1rem; }

/* cartões em seções */
.card { margin-bottom: 1rem; }
.card-body { padding: 1.25rem 1.5rem; }
.card-header { padding: 1rem 1.5rem; }
.card-title { display: flex; align-items: center; gap: .5rem; font-size: .9375rem !important; font-weight: 600 !important; color: #111827 !important; }
.card-title i, .card-title .card-header-icon { color: var(--brand-600); font-size: 1.125rem; }

/* rótulos e campos */
.input-label, .form-label, .form-group > label { font-size: .8125rem; font-weight: 500; color: #374151; margin-bottom: .375rem; }
.form-control, .custom-select, .select2-container--default .select2-selection--single { min-height: 2.5rem; font-size: .875rem; background-color: #fff; }
textarea.form-control { min-height: 5rem; }
.form-control:disabled, .form-control[readonly] { background: #f3f4f6; color: #6b7280; }
.input-label .input-label-secondary, .input-label-secondary { color: var(--brand-500); }

/* interruptores */
.toggle-switch-input:checked + .toggle-switch-label { background-color: var(--brand-600) !important; }
.toggle-switch-label { background-color: #cbd5e1; }
.maintenance-mode-toggle-bar { background: var(--brand-50); border-color: var(--brand-100) !important; border-radius: .75rem !important; padding: .75rem 1rem !important; }
.maintenance-mode-toggle-bar h5 { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 600; color: var(--brand-700) !important; }

/* botões de ação */
.btn--container, .btn--container.justify-content-end { gap: .5rem; }
.btn--reset, .btn-secondary { background: #fff !important; color: #374151 !important; border: 1px solid #d1d5db !important; }
.btn--reset:hover, .btn-secondary:hover { background: #f3f4f6 !important; }
.btn--primary, .btn-primary { box-shadow: 0 1px 2px rgba(37, 99, 235, .25); }

/* celular: cartões e campos respiram menos */
@media (max-width: 575.98px) {
    .card-body { padding: 1rem; }
    .page-header-title { font-size: 1.0625rem; }
}
.nav--tabs.nav--pills .nav-item .nav-link { background: transparent !important; color: #4b5563 !important; border: 0 !important; }
.nav--tabs.nav--pills .nav-item .nav-link:hover { background: rgba(255, 255, 255, .6) !important; color: var(--brand-700) !important; }
.nav--tabs.nav--pills .nav-item .nav-link.active { background: #fff !important; color: var(--brand-700) !important; font-weight: 600 !important; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* ─── Cabeçalho de página, filtros e grade (padrão novo) ─────────────────── */
.mc-page-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.mc-page-title { display: flex; align-items: center; gap: .75rem; }
.mc-page-title h1 { margin: 0; font-size: 1.25rem; font-weight: 700; color: #111827; line-height: 1.2; }
.mc-page-title small { color: #6b7280; }
.mc-page-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--brand-100); color: var(--brand-600); display: flex; align-items: center; justify-content: center; font-size: 1.375rem; }
.mc-btn { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; }
.mc-btn-ghost { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; background: #fff !important; color: #374151 !important; border: 1px solid #d1d5db !important; border-radius: .375rem; font-weight: 500; }
.mc-btn-ghost:hover { background: #f3f4f6 !important; }
.mc-filters { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.mc-search { position: relative; flex: 1 1 18rem; }
.mc-search i { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 1.125rem; }
.mc-search input { width: 100%; min-height: 2.5rem; padding: .5rem .75rem .5rem 2.5rem; border: 1px solid #d1d5db; border-radius: .375rem; background: #fff; outline: none; font-size: .875rem; }
.mc-search input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 2px rgba(59, 130, 246, .2); }
.mc-select { flex: 0 1 12rem; }

.mc-grid-card { overflow: hidden; }
.mc-grid-wrap { overflow-x: auto; }
.mc-grid { width: 100%; border-collapse: collapse; }
.mc-grid th { padding: .625rem 1rem; background: #f3f4f6; color: #4b5563; font-size: .6875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid #e5e7eb; }
.mc-grid td { padding: .75rem 1rem; border-bottom: 1px solid #f3f4f6; vertical-align: middle; font-size: .875rem; color: #374151; }
.mc-grid tbody tr:hover { background: var(--brand-50); }
.mc-person { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.mc-person strong { display: block; color: #111827; font-weight: 600; }
.mc-person small { display: block; color: #6b7280; overflow: hidden; text-overflow: ellipsis; }
.mc-avatar { flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mc-avatar-lg { flex-basis: 2.75rem; width: 2.75rem; height: 2.75rem; font-size: 1.125rem; }
.mc-pill { display: inline-block; min-width: 1.5rem; padding: .0625rem .5rem; border-radius: 9999px; background: #e5e7eb; color: #374151; font-size: .75rem; font-weight: 600; text-align: center; }
.mc-row-actions { display: inline-flex; gap: .25rem; }
.mc-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.125rem; height: 2.125rem; border: 1px solid #e5e7eb; border-radius: .5rem; background: #fff; color: #4b5563; font-size: 1.125rem; cursor: pointer; transition: background-color .15s, color .15s; }
.mc-icon-btn:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }

/* grade vira lista de cartões no celular */
@media (max-width: 767.98px) {
    .mc-grid thead { display: none; }
    .mc-grid, .mc-grid tbody, .mc-grid tr, .mc-grid td { display: block; width: 100%; }
    .mc-grid tr { padding: .75rem 1rem; border-bottom: 8px solid #F2F4F7; }
    .mc-grid td { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .375rem 0; border: 0; text-align: right !important; }
    .mc-grid td::before { content: attr(data-label); flex: 0 0 auto; color: #6b7280; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
    .mc-grid td[data-label="Cliente"] { justify-content: flex-start; padding-bottom: .625rem; border-bottom: 1px solid #f3f4f6; margin-bottom: .25rem; text-align: left !important; }
    .mc-grid td[data-label="Cliente"]::before { display: none; }
    .mc-grid td[data-label="Ações"] { padding-top: .625rem; margin-top: .25rem; border-top: 1px solid #f3f4f6; }
    .mc-row-actions { gap: .5rem; }
    .mc-icon-btn { width: 2.5rem; height: 2.5rem; }
    .mc-select { flex: 1 1 100%; }
    .mc-filters .mc-btn, .mc-filters .mc-btn-ghost { flex: 1 1 auto; justify-content: center; }
}

/* ─── Modal de cliente ───────────────────────────────────────────────────── */
.mc-modal .modal-content { border: 0; border-radius: .75rem; overflow: hidden; }
.mc-modal .modal-header { align-items: center; padding: 1rem 1.25rem; background: #fff; border-bottom: 1px solid #e5e7eb; }
.mc-modal .modal-title { margin: 0; font-size: 1.0625rem; font-weight: 700; color: #111827; }
.mc-modal .close { font-size: 1.25rem; opacity: .6; }
.mc-modal .modal-body { padding: 1.25rem; background: #F2F4F7; }
.mc-modal .modal-footer { padding: .75rem 1.25rem; gap: .5rem; background: #fff; border-top: 1px solid #e5e7eb; }
.mc-modal-tabs { display: flex; gap: .25rem; padding: .5rem 1rem 0; overflow-x: auto; background: #fff; border-bottom: 1px solid #e5e7eb; scrollbar-width: none; }
.mc-modal-tabs button { display: inline-flex; align-items: center; gap: .375rem; flex: 0 0 auto; padding: .625rem .875rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #6b7280; font-size: .8125rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.mc-modal-tabs button.active { color: var(--brand-700); border-bottom-color: var(--brand-600); font-weight: 600; }
.mc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem 1rem; }
.mc-span-2 { grid-column: span 2; }
.mc-field label { display: block; margin-bottom: .25rem; font-size: .75rem; font-weight: 600; color: #4b5563; }
.mc-modal.is-view .form-control:disabled { background: #fff; color: #111827; border-color: #e5e7eb; opacity: 1; -webkit-text-fill-color: #111827; }
.mc-switches { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.mc-switch { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: .875rem; color: #374151; cursor: pointer; }
.mc-switch input { width: 1.125rem; height: 1.125rem; accent-color: var(--brand-600); }
.mc-modal .mc-pane { background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; padding: 1rem; }
.mc-address { padding: .875rem; margin-bottom: .875rem; border: 1px solid #e5e7eb; border-radius: .5rem; background: #f9fafb; }
.mc-address-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; font-size: .875rem; color: #111827; }
.mc-address-head i { color: var(--brand-600); }
.mc-empty { padding: 1.5rem; text-align: center; color: #9ca3af; }
.mc-empty i { display: block; margin-bottom: .25rem; font-size: 2rem; }
.mc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.mc-stats > div { padding: .875rem; border: 1px solid #e5e7eb; border-radius: .5rem; background: #f9fafb; }
.mc-stats small { display: block; color: #6b7280; font-size: .75rem; }
.mc-stats strong { font-size: 1.125rem; color: #111827; }
.mc-alert { margin-bottom: .875rem; padding: .625rem .875rem; border: 1px solid #fecaca; border-radius: .5rem; background: #fef2f2; color: #b91c1c; font-size: .8125rem; }

@media (max-width: 575.98px) {
    .mc-modal .modal-dialog { margin: 0; max-width: 100%; min-height: 100%; align-items: stretch; }
    .mc-modal .modal-content { border-radius: 0; min-height: 100vh; }
    .mc-form-grid { grid-template-columns: 1fr; }
    .mc-span-2 { grid-column: auto; }
    .mc-modal .modal-footer .btn { flex: 1 1 auto; justify-content: center; }
}

/* modal sempre acima do topo e do menu */
body.modal-open #header.navbar-fixed { z-index: 1030 !important; }
body.modal-open .navbar-vertical-aside { z-index: 1030 !important; }
.modal, .mc-modal { z-index: 1060; }
.modal-backdrop { z-index: 1055; }

.mc-field-error { display: block; margin-top: .25rem; color: #dc2626; font-size: .75rem; font-weight: 500; }
.mc-modal .form-control.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 2px rgba(220, 38, 38, .15); }

.mc-req { color: #dc2626; }
.mc-cep-status { display: block; margin-bottom: .625rem; font-size: .75rem; font-weight: 500; }
.mc-cep-status.is-info { color: var(--brand-600); }
.mc-cep-status.is-ok { color: #15803d; }
.mc-cep-status.is-warn { color: #b45309; }
.mc-cep-status.is-error { color: #dc2626; }

.mc-field-hint { display: block; margin-top: .25rem; color: #6b7280; font-size: .75rem; }
.mc-modal .form-control:disabled.is-locked, .mc-modal.is-edit .form-control:disabled { background: #f3f4f6; }

.mc-avatar { position: relative; overflow: hidden; }
.mc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }

/* ─── Menu único por módulos e seções (padrão MobVarejo) ─────────────────── */
.navbar-vertical-aside .navbar-vertical-container { display: flex !important; flex-direction: column; height: 100% !important; }
.navbar-vertical-aside .navbar-vertical-content { flex: 1 1 0 !important; min-height: 0; height: auto !important; overflow-y: auto; overflow-x: hidden; padding: 0 !important; display: flex; flex-direction: column; }
.mc-side-search { position: relative; flex: none; padding: 12px; }
.mc-side-search i { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.mc-side-search input { width: 100%; height: 38px; border: 1px solid #3a4658; border-radius: 8px; background: var(--tema-lateral-escuro); color: #e2e8f0; padding: 0 10px 0 36px; outline: none; font-size: .875rem; }
.mc-side-search input:focus { border-color: #5b6b82; box-shadow: none; }
.mc-side-search input::placeholder { color: #94a3b8; }
.mc-nav { flex: 1 1 auto; padding-bottom: 8px; }
.mc-mod-head { display: flex; align-items: center; gap: 14px; width: 100%; height: 48px; padding: 0 16px; border: 0; background: transparent; color: #e2e8f0; font-weight: 500; font-size: .9375rem; text-align: left; cursor: pointer; }
.mc-mod-ico { font-size: 1.25rem; width: 22px; text-align: center; flex: none; color: inherit; }
.mc-mod-lbl { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-mod-car { font-size: .8125rem; color: #94a3b8; transition: transform .2s; }
.mc-mod-dot { display: none; width: 7px; height: 7px; border-radius: 50%; background: #60a5fa; flex: none; }
.mc-mod.has-tab .mc-mod-dot { display: block; }
.mc-mod-head:hover { background: var(--tema-lateral-hover); color: #fff; }
.mc-mod.open > .mc-mod-head { background: #364258; color: #fff; }
.mc-mod.open > .mc-mod-head .mc-mod-car { transform: rotate(180deg); }
.mc-mod-body { display: none; background: var(--tema-lateral-escuro); border-left: 3px solid var(--brand-600); padding: 4px 0 10px; }
.mc-mod.open > .mc-mod-body { display: block; }
.mc-sec-t { padding: 12px 18px 4px 24px; color: #7c8ca3; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.navbar-vertical-aside .mc-leaf { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 24px; color: #aebbd0 !important; font-size: .875rem; text-decoration: none; }
.mc-leaf-t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-leaf-dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; flex: none; }
.mc-leaf.has-tab .mc-leaf-dot { display: block; }
.navbar-vertical-aside .mc-leaf:hover { background: var(--tema-lateral-hover); color: #fff !important; }
.navbar-vertical-aside .mc-leaf.active { background: var(--brand-600); color: #fff !important; font-weight: 600; }
.mc-leaf.active .mc-leaf-dot { background: #fff; }
.mc-no-result { display: none; padding: 18px; color: #8b9bb0; text-align: center; font-size: .875rem; }
.mc-side-foot { flex: none; padding: 12px; border-top: 1px solid #3a4658; background: var(--tema-lateral); }
.mc-logout { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 0; border-radius: 10px; background: #c62828; color: #fff; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.mc-logout:hover { background: #b71c1c; }
.mc-logout i { font-size: 1.125rem; }

/* ─── Telas de promoção: listas e formulários (Jornal, Ofertas, Sorteios, Push, Banners) ─── */
.mc-resp { width: 100%; border-collapse: collapse; margin: 0; }
.mc-resp th { padding: .625rem 1rem; background: #f3f4f6; color: #4b5563; font-size: .6875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; border: 0; border-bottom: 1px solid #e5e7eb; }
.mc-resp td { padding: .75rem 1rem; border: 0; border-bottom: 1px solid #f3f4f6; vertical-align: middle; font-size: .875rem; color: #374151; }
.mc-resp tbody tr:hover { background: var(--brand-50); }
.mc-resp .btn--container { gap: .25rem; flex-wrap: nowrap; }
.mc-resp .action-btn { width: 2.125rem; height: 2.125rem; min-width: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: .5rem; font-size: 1.0625rem; }
.mc-resp .toggle-switch { margin: 0; }
.mc-resp img { max-height: 3.25rem; border-radius: .375rem; }
.mc-title-cell { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.mc-title-cell strong { display: block; color: #111827; font-weight: 600; }
.mc-title-cell small { display: block; color: #6b7280; }
.mc-badge { display: inline-block; padding: .125rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; background: #e5e7eb; color: #374151; }
.mc-badge.ok { background: #dcfce7; color: #166534; }
.mc-badge.info { background: #dbeafe; color: #1e40af; }
.mc-badge.warn { background: #fef3c7; color: #92400e; }
.mc-badge.bad { background: #fee2e2; color: #991b1b; }
.mc-note { margin: 0 0 1rem; color: #6b7280; font-size: .875rem; }
.mc-pager { padding: .75rem 1rem; border-top: 1px solid #f3f4f6; }
.mc-filters select, .mc-filters .form-control { min-height: 2.5rem; border-radius: .375rem; font-size: .875rem; }
.mc-filters form { display: contents; }

/* menu de ações de uma linha (Sorteios) */
.mc-actions { position: relative; display: inline-block; }
.mc-actions > .mc-icon-btn { width: auto; padding: 0 .75rem; gap: .375rem; font-size: .875rem; font-weight: 500; }
.mc-actions .dropdown-menu { min-width: 14rem; padding: .375rem; border: 1px solid #e5e7eb; border-radius: .625rem; box-shadow: 0 10px 25px rgba(15, 23, 42, .12); }
.mc-actions .dropdown-item { display: flex; align-items: center; gap: .5rem; padding: .5rem .625rem; border-radius: .375rem; font-size: .875rem; }
.mc-actions .dropdown-item.disabled { opacity: .45; pointer-events: none; }
.mc-actions .mc-act-t { padding: .5rem .625rem .125rem; color: #9ca3af; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* formulários */
.mc-form .card-body { padding: 1.25rem; }
.mc-form label, .mc-form .input-label { font-size: .75rem; font-weight: 600; color: #4b5563; margin-bottom: .25rem; }
.mc-form .form-control, .mc-form .custom-select { min-height: 2.5rem; border-radius: .375rem; border-color: #d1d5db; font-size: .875rem; }
.mc-form textarea.form-control { min-height: 6rem; }
.mc-form .form-control:focus { border-color: var(--brand-500); box-shadow: 0 0 0 2px rgba(59, 130, 246, .2); }
.mc-form .select2-container { width: 100% !important; }
.mc-form .select2-container--default .select2-selection--multiple, .mc-form .select2-container--default .select2-selection--single { min-height: 2.5rem; border-color: #d1d5db; border-radius: .375rem; }
.mc-form-head { display: flex; align-items: center; gap: .625rem; margin-bottom: 1rem; font-weight: 700; color: #111827; }
.mc-form-head i { width: 2rem; height: 2rem; border-radius: .5rem; background: var(--brand-100); color: var(--brand-600); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; }
.mc-upload { padding: 1rem; border: 2px dashed #d1d5db; border-radius: .75rem; background: #f9fafb; text-align: center; }
.mc-upload > label:first-child { display: block; margin-bottom: .5rem; }
.mc-upload img { max-width: 100%; max-height: 14rem; border-radius: .5rem; object-fit: contain; }
.mc-form-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #f3f4f6; }

@media (max-width: 767.98px) {
    .mc-resp thead { display: none; }
    .mc-resp, .mc-resp tbody, .mc-resp tr, .mc-resp td { display: block; width: 100%; }
    .mc-resp tr { padding: .75rem 1rem; border-bottom: 8px solid #F2F4F7; }
    .mc-resp td { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .375rem 0; border: 0; text-align: right !important; }
    .mc-resp td[data-label]::before { content: attr(data-label); flex: 0 0 auto; color: #6b7280; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
    .mc-resp td.mc-first { justify-content: flex-start; padding-bottom: .625rem; border-bottom: 1px solid #f3f4f6; margin-bottom: .25rem; text-align: left !important; }
    .mc-resp td.mc-first::before { display: none; }
    .mc-resp td.mc-act { padding-top: .625rem; margin-top: .25rem; border-top: 1px solid #f3f4f6; }
    .mc-resp .action-btn, .mc-actions > .mc-icon-btn { height: 2.5rem; }
    .mc-resp .action-btn { width: 2.5rem; }
    .mc-resp .btn--container { gap: .5rem; }
    .mc-form .card-body { padding: 1rem; }
    .mc-form-actions { flex-direction: column-reverse; }
    .mc-form-actions .btn { width: 100%; min-height: 2.75rem; }
    .mc-page-head > .btn, .mc-page-head > a.btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 767.98px) {
    .mc-resp tr { display: flex; flex-direction: column; }
    .mc-resp td.mc-first { order: -1; }
}

/* barra de abas fixa abaixo do topo ao rolar a página */
.mc-tabs { position: sticky; top: var(--mc-header-h); z-index: 1020; }

/* ─── Produto em janela (modal com a página embutida) ─────────────────────── */
.mc-pm .modal-dialog { max-width: min(1140px, 96vw); }
.mc-pm .modal-content { border: 0; border-radius: .75rem; overflow: hidden; }
.mc-pm .modal-header { align-items: center; padding: .75rem 1rem; border-bottom: 1px solid #e5e7eb; }
.mc-pm .modal-title { font-size: 1.0625rem; font-weight: 700; color: #111827; }
.mc-pm .modal-header .close { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin: 0; padding: 0; border-radius: .5rem; font-size: 1.25rem; opacity: 1; }
.mc-pm .modal-header .close:hover { background: #f3f4f6; }
.mc-pm .modal-body { position: relative; }
.mc-pm iframe { display: block; width: 100%; height: min(78vh, 900px); border: 0; background: #F2F4F7; }
.mc-pm-loading { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .5rem; background: #fff; color: #6b7280; }
.mc-pm-loading i { font-size: 1.75rem; color: var(--brand-600); animation: mc-spin .8s linear infinite; }
html.mc-in-modal body { background: #F2F4F7; }
html.mc-in-modal .page-header { display: none !important; }
html.mc-in-modal .main, html.mc-in-modal #content { padding-top: .75rem !important; }
html.mc-in-modal .footer { display: none !important; }
@media (max-width: 767.98px) {
    .mc-pm .modal-dialog { max-width: 100%; margin: 0; height: 100%; align-items: stretch; }
    .mc-pm .modal-content { height: 100%; border-radius: 0; }
    .mc-pm iframe { height: calc(100vh - 3.5rem); height: calc(100dvh - 3.5rem); }
}

/* ─── Produto: imagem única, abas e rodapé fixo ───────────────────────────── */
.flex-grow-1:has(> #coba), .flex-grow-1:has(> .__new-coba) { display: none !important; }
#viewer.img--100 { width: 11rem; height: 11rem; object-fit: contain; border: 2px dashed #d1d5db; border-radius: .75rem; background: #f9fafb; padding: .5rem; cursor: pointer; }
.mc-tab-hidden { display: none !important; }
.mc-ptabs { display: flex; gap: .25rem; margin: 0 0 1rem; padding: .25rem; overflow-x: auto; background: #e5e7eb; border-radius: .625rem; position: sticky; top: 0; z-index: 15; scrollbar-width: none; }
.mc-ptabs::-webkit-scrollbar { display: none; }
.mc-ptabs button { flex: 0 0 auto; padding: .5rem 1rem; border: 0; border-radius: .5rem; background: transparent; color: #4b5563; font-size: .875rem; font-weight: 500; white-space: nowrap; cursor: pointer; }
.mc-ptabs button.active { background: #fff; color: var(--brand-700); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.mc-sticky-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem 1.25rem; background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -4px 12px rgba(15, 23, 42, .06); }
.mc-sticky-actions .btn { min-height: 2.5rem; min-width: 8rem; display: inline-flex; align-items: center; justify-content: center; gap: .375rem; }
body.mc-has-sticky { padding-bottom: 5rem; }
@media (max-width: 767.98px) {
    .mc-sticky-actions { padding: .625rem .75rem; }
    .mc-sticky-actions .btn { flex: 1 1 0; min-width: 0; }
    #viewer.img--100 { width: 9rem; height: 9rem; }
}

/* ─── Produto no modal: formulário compacto (código de barras já visível no início) ─── */
html.mc-in-modal .main, html.mc-in-modal #content { padding-top: .5rem !important; }
html.mc-in-modal .mc-ptabs { margin-bottom: .5rem; }
html.mc-in-modal .card { margin-bottom: .5rem; }
html.mc-in-modal .card-body { padding: .75rem !important; }
html.mc-in-modal .card-header { padding: .5rem .75rem !important; }
html.mc-in-modal .card-title { font-size: .875rem; }
html.mc-in-modal label, html.mc-in-modal .input-label { font-size: .6875rem; margin-bottom: .125rem; }
html.mc-in-modal .form-control, html.mc-in-modal .custom-select, html.mc-in-modal .select2-selection { font-size: .8125rem; min-height: 2.125rem !important; padding-top: .25rem; padding-bottom: .25rem; }
html.mc-in-modal .form-group { margin-bottom: .5rem; }
html.mc-in-modal .mc-hide-desc, html.mc-in-modal .lang_link, html.mc-in-modal .nav-tabs:has(.lang_link) { display: none !important; }
html.mc-in-modal #viewer.img--100 { width: 6.5rem; height: 6.5rem; }
html.mc-in-modal .col-md-12.mt-3 { margin-top: 0 !important; }
html.mc-in-modal #search_image_btn { padding: .375rem .75rem; font-size: .8125rem; }
/* filtro tipo flag (chip com caixa de seleção) */
.mc-chip { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; margin: 0; padding: 0 .875rem; border: 1px solid #d1d5db; border-radius: 9999px; background: #fff; color: #374151; font-size: .875rem; font-weight: 500; cursor: pointer; user-select: none; }
.mc-chip input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--brand-600); }
.mc-chip:has(input:checked) { background: var(--brand-50); border-color: var(--brand-500); color: var(--brand-700); }
.mc-chip i { font-size: 1.0625rem; }
@media (max-width: 767.98px) { .mc-chip { flex: 1 1 100%; } }

/* ─── Sorteios e critérios: seções, escolhas em cartão e barra de ações fixa ─── */
.mc-section { padding: 1.25rem; margin-bottom: 1rem; }
.mc-section .mc-form-head { margin-bottom: .875rem; }
.mc-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.mc-choice-item { position: relative; margin: 0; cursor: pointer; }
.mc-choice-item input { position: absolute; opacity: 0; pointer-events: none; }
.mc-choice-box { display: flex; flex-direction: column; gap: .125rem; height: 100%; padding: .875rem 1rem; border: 1.5px solid #d1d5db; border-radius: .625rem; background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.mc-choice-box i { font-size: 1.5rem; color: var(--brand-600); }
.mc-choice-box strong { color: #111827; font-size: .875rem; }
.mc-choice-box small { color: #6b7280; font-size: .75rem; font-weight: 400; }
.mc-choice-item:hover .mc-choice-box { border-color: var(--brand-500); }
.mc-choice-item input:checked + .mc-choice-box { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 2px rgba(59, 130, 246, .15); }
.mc-choice-item input:focus-visible + .mc-choice-box { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.mc-choice-sm .mc-choice-box { padding: .625rem 1rem; text-align: center; }
.mc-example { margin-top: 1rem; padding: .625rem .875rem; border-radius: .5rem; background: var(--brand-50); color: var(--brand-700); font-size: .8125rem; }
.mc-example:empty { display: none; }
.mc-example i { vertical-align: -.125em; }
[data-ajuda] { display: none; }

/* barra Salvar/Cancelar sempre visível na parte de baixo da tela */
.mc-form-bar { position: sticky; bottom: 0; z-index: 1010; display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem 1rem; border: 1px solid #e5e7eb; border-bottom: 0; border-radius: .75rem .75rem 0 0; background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 14px rgba(15, 23, 42, .08); }
.mc-sticky-form { padding-bottom: 0; }

@media (max-width: 767.98px) {
    .mc-section { padding: 1rem; }
    .mc-choice:not(.mc-choice-sm) { grid-template-columns: 1fr; }
    .mc-form-bar { padding: .625rem .75rem; }
    .mc-form-bar .btn { flex: 1 1 0; justify-content: center; min-height: 2.75rem; }
}
.mc-form-grid.mc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .mc-form-grid.mc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .mc-form-grid.mc-grid-3 { grid-template-columns: 1fr; } }

/* ─── Janela (modal) de páginas: sem título duplicado; detalhes do sorteio mantêm os botões ─── */
html.mc-in-modal .mc-page-head { display: none; }
html.mc-in-modal .page-header.mc-keep-header { display: block !important; margin-bottom: .75rem; }
html.mc-in-modal .page-header.mc-keep-header .page-header-title { display: none; }
html.mc-in-modal .mc-form-bar { margin-bottom: 0; }
html.mc-in-modal .page-header.mc-keep-header > div { justify-content: flex-start !important; }
