:root {
            --brand: #E26A2C;
            --brand-deep: #B6531F;
            --sidebar: #5B3A23;
            --background: #FAFAF9;
            --card: #FFFFFF;
            --foreground: #2A2620;
            --border: #ECE9E4;
            --radius: 0.875rem; /* 14px */
            --radius-md: 0.5rem; /* 8px */
        }

        * { font-family: 'Inter', system-ui, sans-serif; }
        [x-cloak] { display: none !important; }
        *, *::before, *::after { box-sizing: border-box; }
        .scrollbar-hide::-webkit-scrollbar { display: none; }
        .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

        /* === Mobile refinements === */
body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile font-size baseline — garante consistência entre elementos */
input, select, textarea { font-size: 16px; }

/* === Shared Components (migrado de temp.css) === */
.card-checkout {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
@media (max-width: 767px) {
    .text-responsive-base { font-size: 0.9375rem; }
    .text-responsive-sm { font-size: 0.8125rem; }
    .text-responsive-xs { font-size: 0.6875rem; }
    .text-responsive-title { font-size: 1.125rem; }
    .text-responsive-h2 { font-size: 1rem; }
}
@media (max-width: 767px) {
    body.sidebar-open { overflow: hidden; }
}
@media (min-width: 768px) {
    .painel-content-area {
        padding-bottom: 1rem;
    }
}

/* === Toast notifications (mobile-first) === */
.olika-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    max-width: calc(100vw - 2rem);
    text-align: center;
    animation: toast-in 0.3s ease;
    pointer-events: auto;
}
@keyframes toast-in {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 1rem)); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
.olika-toast--success { background: #065f46; color: #ecfdf5; }
.olika-toast--error { background: #991b1b; color: #fef2f2; }
.olika-toast--info { background: #1e3a5f; color: #eff6ff; }
.dark .olika-toast--success { background: #064e3b; }
.dark .olika-toast--error { background: #7f1d1d; }
.dark .olika-toast--info { background: #1e3a5f; }

/* === Link tap highlight reset === */
a, button, [role="button"] {
    -webkit-tap-highlight-color: transparent;
}

/* === Master admin dark mode (fallback para views sem dark: explicito) === */
        .dark .master-content { --master-bg: #292524; --master-text: #f5f5f4; --master-muted: #a8a29e; --master-border: #44403c; --master-card: #1c1917; }

        /* === Utility classes para substituir style="" inline === */
        .font-display { font-family: var(--olika-font-display); letter-spacing: -0.02em; }
        .rounded-card { border-radius: 12px; }
        .bg-success-soft { background: rgba(21,128,61,0.08); }
        .bg-error-soft { background: rgba(185,28,28,0.08); }
        .bg-warning-soft { background: rgba(217,119,6,0.12); }
        .bg-beige { background: #f4efe8; }
        .text-crust { color: var(--olika-crust); }
        .border-warning { border-color: rgba(217,119,6,0.2); }
        .btn-success-solid { background: #15803d; color: white; }
        .btn-success-solid:hover { background: #166534; }
        .dark .btn-success-solid { background: #22c55e; color: #052e16; }
        .bg-amber-solid { background: #d97706; }
        .bg-amber-solid:hover { background: #b45309; }

        /* === Global anti-overflow === */
        html, body { min-width: 0; background-color: var(--background); color: var(--foreground); }
        body { overflow-x: hidden !important; max-width: 100vw; min-width: 0; }
        img, video, iframe, table, pre, code { max-width: 100%; display: block; }
        .overflow-wrap-anywhere { overflow-wrap: anywhere; word-break: break-word; }

        /* === UI design system === */
        .ui-button,
        .ui-button-primary,
        .ui-button-secondary,
        .ui-button-danger,
        .ui-button-ghost,
        .botao {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            border-radius: 9999px !important;
            font-weight: 600;
            transition: all .15s ease;
            border: 1px solid transparent;
            text-decoration: none;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            min-height: 48px;
        }
        .ui-button:active, .ui-button-primary:active, .ui-button-secondary:active,
        .ui-button-danger:active, .ui-button-ghost:active, .botao:active {
            transform: scale(0.97);
        }
        .ui-button:focus-visible, .ui-button-primary:focus-visible, .ui-button-secondary:focus-visible,
        .ui-button-danger:focus-visible, .ui-button-ghost:focus-visible, .botao:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
            box-shadow: 0 0 0 4px rgba(226, 106, 44, 0.2);
        }
        .ui-button-primary {
            background-color: color-mix(in srgb, var(--brand) 12%, white);
            color: var(--brand);
            border-color: color-mix(in srgb, var(--brand) 40%, transparent);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
        }
        .ui-button-secondary {
            background-color: white;
            color: var(--brand);
            border-color: color-mix(in srgb, var(--brand) 25%, transparent);
        }
        .ui-button-danger {
            background-color: #fef2f2;
            color: #dc2626;
            border-color: rgba(239, 68, 68, 0.3);
        }
        .ui-button-ghost {
            background-color: transparent;
            color: var(--brand);
            border-color: transparent;
        }
        .ui-button-sm { padding: 0.5rem 1rem; font-size: 0.875rem; min-height: 44px; }
        .ui-button-md { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
        .ui-button-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
        .ui-button-primary:hover { background-color: color-mix(in srgb, var(--brand) 20%, white); }
        .ui-button-secondary:hover { background-color: color-mix(in srgb, var(--brand) 12%, white); }
        .ui-button-danger:hover { background-color: #fee2e2; }
        .ui-button-ghost:hover { background-color: color-mix(in srgb, var(--brand) 10%, transparent); }
        
        .ui-input, .input-app {
            width: 100%;
            min-width: 0;
            min-height: 48px;
            border: 1px solid var(--border);
            background: var(--card);
            color: var(--foreground);
            padding: 0.75rem 1rem;
            border-radius: var(--radius) !important;
            outline: none;
            transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
            font-size: 16px;
        }
        .dark .ui-input, .dark .input-app {
            background-color: #1e293b;
            border-color: #475569;
            color: #f8fafc;
        }
        .ui-input:focus, .input-app:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent);
        }
        .dark .ui-input:focus, .dark .input-app:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 40%, transparent);
        }
        .dark .ui-button-secondary {
            background-color: transparent;
            color: var(--brand);
            border-color: color-mix(in srgb, var(--brand) 30%, transparent);
        }
        .dark .ui-button-secondary:hover {
            background-color: color-mix(in srgb, var(--brand) 10%, transparent);
        }
        .dark .ui-button-ghost {
            color: #f1f5f9;
            border-color: #334155;
        }
        .dark .ui-button-ghost:hover {
            background-color: rgba(71, 85, 105, 0.4);
        }
        .ui-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            overflow: hidden;
            transition: box-shadow 0.2s ease, transform 0.2s ease;
        }
        .ui-card:hover {
            box-shadow: rgba(0, 0, 0, 0.02) 0 0 0 1px, rgba(0, 0, 0, 0.04) 0 2px 6px, rgba(0, 0, 0, 0.1) 0 4px 8px;
        }
        .ui-card-header {
            padding: 1.25rem 1.5rem;
            background-color: var(--background);
            border-bottom: 1px solid var(--border);
        }
        .ui-card-body { padding: 1.5rem; }
        .ui-stat-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-foreground, #9CA3AF); }
        .ui-tab-ativa { background: var(--brand); color: #fff; }
        .ui-tab-inativa { background: transparent; color: var(--muted-foreground, #7B736A); }
        .ui-tab-inativa:hover { background: rgba(0,0,0,.05); }
        .dark .ui-tab-inativa:hover { background: rgba(255,255,255,.08); }
        .ui-button-whatsapp { background: #25D366; color: #fff; border: none; }
        .ui-button-whatsapp:hover { background: #20ba56; }

        .preview-swatch-header { background-color: var(--preview-header, #44403C); }
        .preview-swatch-accent { background-color: var(--preview-accent, #F59E0B); }
        .preview-swatch-bg { background-color: var(--preview-bg, #FAFAF9); }
        .preview-swatch-button { background-color: var(--preview-accent, #F59E0B); color: var(--preview-header, #44403C); }

        .olika-cor-badge::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            opacity: 0.12;
            background-color: inherit;
        }
        .olika-cor-badge {
            position: relative;
            background-color: transparent !important;
            color: inherit;
        }
        @keyframes ui-fade-slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
        .ui-fade-slide-down { animation: ui-fade-slide-down 0.25s ease; }
        .ui-stat-card-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0; }
        .ui-stat-card-value { font-size: 1.25rem; font-weight: 700; margin-top: 0.25rem; }
        @media (min-width: 768px) { .ui-stat-card-value { font-size: 1.5rem; } }

        .dark .ui-stat-label { color: #9CA3AF; }

        .ui-page-header {
            margin-bottom: 1.25rem;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            padding: 1.25rem 1.75rem;
        }
        .ui-page-title { font-size: 1.5rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em; }
        .ui-page-description { margin-top: 0.5rem; color: #6b7280; }

        /* === Responsivo === */
        .app-shell {
            height: 100vh;
            min-height: 100vh;
        }
        @supports (height: 100dvh) {
            .app-shell {
                height: 100dvh;
                min-height: 100dvh;
            }
        }
        .resp-padding {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }
        @media (min-width: 1280px) {
            .resp-padding {
                padding-left: 2rem !important;
                padding-right: 2rem !important;
            }
        }
        @media (max-width: 412px) {
            .resp-padding { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
            .resp-gap { gap: 0.5rem !important; }
            .resp-text { font-size: 0.8125rem !important; }
            .resp-stack { flex-direction: column !important; }
            .resp-full { width: 100% !important; }
            .resp-hide { display: none !important; }
            .resp-content { width: auto !important; max-width: min(405px, calc(100vw - 1rem)) !important; margin-left: auto !important; margin-right: auto !important; padding-left: 0.75rem !important; padding-right: 0.75rem !important; box-sizing: border-box !important; overflow-x: hidden !important; overflow-y: visible !important; }
            .resp-card { max-width: 100% !important; box-sizing: border-box !important; }
            .resp-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
            .resp-table-wrap table { width: 100%; table-layout: auto; }
            .resp-table-wrap td, .resp-table-wrap th { white-space: normal !important; overflow-wrap: anywhere !important; word-break: break-word !important; min-width: 0 !important; }
        }
        @media (min-width: 411px) and (max-width: 768px) {
            .resp-padding { padding-left: 1rem !important; padding-right: 1rem !important; }
            .resp-gap { gap: 0.75rem !important; }
            .resp-content { max-width: 100%; overflow-x: hidden !important; overflow-y: visible !important; }
            .resp-card { max-width: 100% !important; box-sizing: border-box !important; }
            .resp-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
        }
        .moeda, .valor-moeda, .preco, .price, [data-moeda] {
            white-space: nowrap !important;
        }

        /* === Correção de sobreposição de ícones em inputs e buscas === */
        .input-app.pl-10, .ui-input.pl-10, input.input-app.pl-10, input.ui-input.pl-10 {
            padding-left: 2.75rem !important;
        }
        .input-app.pl-9, .ui-input.pl-9, input.input-app.pl-9, input.ui-input.pl-9 {
            padding-left: 2.5rem !important;
        }
        .input-app.pl-8, .ui-input.pl-8, input.input-app.pl-8, input.ui-input.pl-8 {
            padding-left: 2.25rem !important;
        }
        .input-app.pl-11, .ui-input.pl-11, input.input-app.pl-11, input.ui-input.pl-11 {
            padding-left: 3rem !important;
        }
        .input-app.pl-12, .ui-input.pl-12, input.input-app.pl-12, input.ui-input.pl-12 {
            padding-left: 3.25rem !important;
        }
        .relative > i.fas.fa-search,
        .relative > i.fa-search,
        .relative > i.fa-solid.fa-magnifying-glass,
        .input-icon-left {
            position: absolute !important;
            left: 0.95rem !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            pointer-events: none !important;
            z-index: 10 !important;
            line-height: 1 !important;
        }
        @media (min-width: 769px) {
            .resp-grid-2 { grid-template-columns: repeat(2, 1fr); }
            .resp-grid-3 { grid-template-columns: repeat(3, 1fr); }
            .resp-grid-4 { grid-template-columns: repeat(4, 1fr); }
            td, th { white-space: nowrap; }
        }
        @media (max-width: 768px) {
            .resp-content.overflow-y-auto {
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch;
            }
            .resp-table-wrap { overflow-x: auto !important; }
            .resp-grid-2 { grid-template-columns: 1fr !important; }
            .resp-grid-3 { grid-template-columns: 1fr !important; }
            .resp-grid-4 { grid-template-columns: 1fr 1fr !important; }
            table { table-layout: auto; width: 100%; }
            /* Correção de bug: td/th globais não devem ter largura zero nem quebra forçada que destrói tabelas responsivas */
            .resp-table-wrap td, .resp-table-wrap th { 
                white-space: normal !important; 
                overflow-wrap: anywhere !important; 
                word-break: break-word !important; 
            }
        }
        @media (max-width: 410px) {
            td, th { padding: 0.375rem 0.25rem !important; font-size: 0.75rem !important; }
            .btn-sm { padding: 0.375rem 0.75rem !important; font-size: 0.75rem !important; }
            input, select, textarea { font-size: 16px !important; }
        }
        table { min-width: 0; width: 100%; }

        /* === Mobile Touch Targets & Feedback === */
        @media (max-width: 768px) {
            .ui-button-sm, .btn-sm {
                min-height: 44px;
                min-width: 44px;
                padding: 0.625rem 1rem !important;
                font-size: 0.8125rem !important;
            }
            .ui-button-md {
                min-height: 48px;
                min-width: 48px;
            }
            /* Links de navegação com área de toque adequada */
            nav a, .sidebar-link, .menu-grupo-btn {
                min-height: 44px;
                display: flex;
                align-items: center;
            }
        }
        /* Feedback visual de toque — escala sutil ao pressionar */
        .touch-feedback:active,
        .ui-button:active,
        nav a:active {
            transform: scale(0.97);
            opacity: 0.85;
            transition: transform 0.08s ease, opacity 0.08s ease;
        }
        .touch-feedback:focus-visible,
        nav a:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
            border-radius: 0.5rem;
        }
        /* === Bottom Tab Bar (Painel Mobile) === */
        .bottom-tab-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 90;
            background: white;
            border-top: 1px solid #e5e7eb;
            display: flex;
            align-items: stretch;
            justify-content: space-around;
            padding-bottom: env(safe-area-inset-bottom, 0px);
            box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
        }
        .dark .bottom-tab-bar {
            background: #1e293b;
            border-top-color: #334155;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
        }
        .bottom-tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            padding: 8px 4px 6px;
            min-height: 56px;
            color: #6b7280;
            text-decoration: none;
            font-size: 0.625rem;
            font-weight: 500;
            letter-spacing: 0.01em;
            transition: color 0.15s ease;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }
        .bottom-tab-item:active {
            transform: scale(0.92);
            transition: transform 0.08s ease;
        }
        .dark .bottom-tab-item {
            color: #9ca3af;
        }
        .bottom-tab-item.active {
            color: var(--brand);
        }
        .dark .bottom-tab-item.active {
            color: var(--brand);
        }
        .bottom-tab-item i {
            font-size: 1.25rem;
            line-height: 1;
        }
        /* Indicador ativo da tab */
        .bottom-tab-item.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 25%;
            right: 25%;
            height: 3px;
            background: var(--brand);
            border-radius: 0 0 4px 4px;
        }
        .bottom-tab-item {
            position: relative;
        }
        @media (min-width: 768px) {
            .bottom-tab-bar { display: none !important; }
        }

        /* === Toggle switch (padrão global — trilho deslizante) === */
        :root {
            --olika-switch-off: #94A3B8;
            --olika-switch-on: var(--brand, #E26A2C);
            --olika-switch-knob: #FFFFFF;
            --olika-switch-width: 52px;
            --olika-switch-height: 28px;
            --olika-switch-knob-size: 22px;
            --olika-switch-padding: 3px;
        }

        .olika-switch-input,
        label.olika-switch > input[type="checkbox"],
        .wa-switch > input[type="checkbox"] {
            position: absolute !important;
            opacity: 0 !important;
            width: 0 !important;
            height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            appearance: none !important;
            -webkit-appearance: none !important;
            pointer-events: none !important;
        }

        .olika-switch,
        label.olika-switch,
        .olika-switch-row-interactive .olika-switch-visual,
        .wa-switch {
            position: relative;
            display: inline-block;
            width: var(--olika-switch-width);
            height: var(--olika-switch-height);
            flex-shrink: 0;
        }

        .olika-switch-track {
            position: absolute;
            cursor: pointer;
            inset: 0;
            background-color: var(--olika-switch-off);
            transition: background-color 0.25s ease;
            border-radius: 9999px;
        }

        .olika-switch-track::before {
            content: "";
            position: absolute;
            top: var(--olika-switch-padding);
            left: var(--olika-switch-padding);
            width: var(--olika-switch-knob-size);
            height: var(--olika-switch-knob-size);
            background-color: var(--olika-switch-knob);
            transition: transform 0.25s ease;
            border-radius: 50%;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
        }

        .olika-switch-input:checked + .olika-switch-track,
        label.olika-switch > input[type="checkbox"]:checked + .olika-switch-track,
        .wa-switch > input[type="checkbox"]:checked + .olika-switch-track,
        .wa-switch > input[type="checkbox"]:checked + .wa-slider {
            background-color: var(--olika-switch-on);
        }

        .olika-switch-input:checked + .olika-switch-track::before,
        label.olika-switch > input[type="checkbox"]:checked + .olika-switch-track::before,
        .wa-switch > input[type="checkbox"]:checked + .olika-switch-track::before,
        .wa-switch > input[type="checkbox"]:checked + .wa-slider::before {
            transform: translateX(calc(var(--olika-switch-width) - var(--olika-switch-knob-size) - (var(--olika-switch-padding) * 2)));
        }

        .olika-switch-input:focus-visible + .olika-switch-track,
        label.olika-switch > input[type="checkbox"]:focus-visible + .olika-switch-track,
        .wa-switch > input[type="checkbox"]:focus-visible + .olika-switch-track,
        .wa-switch > input[type="checkbox"]:focus-visible + .wa-slider {
            box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28);
        }

        .olika-switch-input:disabled + .olika-switch-track,
        label.olika-switch > input[type="checkbox"]:disabled + .olika-switch-track {
            opacity: 0.55;
            cursor: not-allowed;
        }

        .dark label.olika-switch .olika-switch-track,
        .dark .wa-switch .olika-switch-track,
        .dark .wa-switch .wa-slider {
            background-color: #64748B;
        }

        .dark .olika-switch-input:checked + .olika-switch-track,
        .dark label.olika-switch > input[type="checkbox"]:checked + .olika-switch-track,
        .dark .wa-switch > input[type="checkbox"]:checked + .olika-switch-track,
        .dark .wa-switch > input[type="checkbox"]:checked + .wa-slider {
            background-color: var(--brand, #E26A2C);
        }

        .olika-switch--compact {
            --olika-switch-width: 44px;
            --olika-switch-height: 24px;
            --olika-switch-knob-size: 18px;
        }

        .olika-switch-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            min-height: 44px;
            padding: 0.625rem 0;
        }

        .olika-switch-row-interactive {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            min-height: 44px;
            padding: 0.625rem 0;
            cursor: pointer;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        .olika-switch-row-copy {
            flex: 1;
            min-width: 0;
        }

        .olika-switch-field-label {
            display: block;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--foreground);
        }

        .dark .olika-switch-field-label {
            color: #f3f4f6;
        }

        .olika-switch-field-desc {
            display: block;
            font-size: 0.625rem;
            font-weight: 600;
            color: #7B736A;
            margin-top: 0.125rem;
        }

        .dark .olika-switch-field-desc {
            color: #9ca3af;
        }

        .olika-switch-list > .olika-switch-row-interactive + .olika-switch-row-interactive,
        .olika-switch-list > .olika-switch-row + .olika-switch-row,
        .olika-switch-list > .olika-switch-row-interactive + .olika-switch-row,
        .olika-switch-list > .olika-switch-row + .olika-switch-row-interactive {
            border-top: 1px solid var(--border);
        }

        .dark .olika-switch-list > .olika-switch-row-interactive + .olika-switch-row-interactive,
        .dark .olika-switch-list > .olika-switch-row + .olika-switch-row,
        .dark .olika-switch-list > .olika-switch-row-interactive + .olika-switch-row,
        .dark .olika-switch-list > .olika-switch-row + .olika-switch-row-interactive {
            border-top-color: #374151;
        }

        .olika-switch-inline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            min-height: 44px;
            cursor: pointer;
            user-select: none;
        }

        .olika-switch-inline-label {
            font-size: 0.625rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #64748B;
        }

        .dark .olika-switch-inline-label {
            color: #94A3B8;
        }

        .olika-form-acoes {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        @media (min-width: 640px) {
            .olika-form-acoes {
                flex-direction: row;
                align-items: center;
            }
        }

        /* Aliases legado WhatsApp */
        .wa-switch {
            position: relative;
            display: inline-block;
            width: var(--olika-switch-width);
            height: var(--olika-switch-height);
            flex-shrink: 0;
        }

        .wa-slider,
        label.olika-switch .olika-switch-track,
        .wa-switch .olika-switch-track {
            position: absolute;
            inset: 0;
            cursor: pointer;
            background-color: var(--olika-switch-off);
            transition: background-color 0.25s ease;
            border-radius: 9999px;
        }

        .wa-slider::before,
        label.olika-switch .olika-switch-track::before,
        .wa-switch .olika-switch-track::before {
            content: "";
            position: absolute;
            top: var(--olika-switch-padding);
            left: var(--olika-switch-padding);
            width: var(--olika-switch-knob-size);
            height: var(--olika-switch-knob-size);
            background-color: var(--olika-switch-knob);
            transition: transform 0.25s ease;
            border-radius: 50%;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
        }* Anima��o Marquee do Celular */
.animate-marquee {
    animation: marquee 10s linear infinite;
    display: inline-block;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === Checkout & PDV Shared Components === */
.card-checkout {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.input-app {
    width: 100%;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-app:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(226, 106, 44, 0.2);
}

.input-app:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.7;
}
/* === Novos Componentes Padronizados (UI) === */
.ui-filter-btn {
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background-color: var(--card);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}
.ui-filter-btn:hover {
    background-color: var(--background);
}

.ui-btn-clear {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.2s ease;
    cursor: pointer;
    background: transparent;
}
.ui-btn-clear:hover {
    color: var(--foreground);
}
.dark .ui-btn-clear {
    color: #94A3B8;
}

.ui-badge-active {
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    background-color: #d1fae5;
    color: #047857;
    text-transform: uppercase;
}
.dark .ui-badge-active {
    background-color: rgba(6, 78, 59, 0.3);
    color: #34d399;
}

.ui-badge-inactive {
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    background-color: #fef3c7;
    color: #b45309;
    text-transform: uppercase;
}
.dark .ui-badge-inactive {
    background-color: rgba(120, 53, 15, 0.3);
    color: #fbbf24;
}

.ui-search-input-wrapper {
    position: relative;
    flex: 1;
}
.ui-search-input-wrapper i {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
}
.ui-search-input-wrapper input {
    padding-left: 2.5rem;
}

/* === Cardápio — Fontes e interações === */
.font-display { font-family: 'Fraunces', serif !important; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}
.animate-marquee { animation: marquee 40s linear infinite; }
.touch-feedback { -webkit-tap-highlight-color: transparent; transition: transform 0.1s, opacity 0.1s; }
.touch-feedback:active { transform: scale(0.95); opacity: 0.7; }

/* === Preview Swatches (Configurações de Tema) === */
.preview-swatch-header { background-color: var(--swatch-header, #5B3A23); }
.preview-swatch-accent { background-color: var(--swatch-accent, #F59E0B); }
.preview-swatch-bg { background-color: var(--swatch-bg, #FAFAF9); }
.preview-swatch-button { background-color: var(--swatch-accent, #F59E0B); color: var(--swatch-header, #5B3A23); }
