/* ==============================================================================
   Adega Santos - Distribuidora de Bebidas
   Design System: Liquid Glass & Deep Abyssal Blue Theme
   ============================================================================== */

:root {
    /* Cores de Fundo e Luz */
    --bg-abyssal: #070B14;
    --light-ice-blue: #0C4A6E;
    
    /* Liquid Glass & Bordas */
    --liquid-glass-bg: rgba(224, 242, 254, 0.05);
    --liquid-glass-blur: blur(20px);
    --liquid-glass-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 32px rgba(0, 0, 0, 0.4);
    --border-specular: 1px solid rgba(56, 189, 248, 0.25);
    --border-specular-hover: 1px solid rgba(56, 189, 248, 0.6);
    
    /* Primária e Acentos */
    --primary-glacial: #0EA5E9;
    --accent-mint: #2DD4BF;
    --primary-gradient: linear-gradient(135deg, #0EA5E9 0%, #2DD4BF 100%);
    
    /* Tipografia */
    --text-primary: #F0F9FF;
    --text-secondary: #7DD3FC;
    --text-muted: #94A3B8;

    /* Tokens de Status Semânticos */
    --status-success: #10B981;  /* Venda Concluída / Estoque OK */
    --status-warning: #F59E0B;  /* Estoque Baixo / Vencimento Próximo */
    --status-danger:  #EF4444;  /* Ruptura / Cancelamento / Erro */
    
    /* Raio de Borda Padrão */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background-color: var(--bg-abyssal);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(12, 74, 110, 0.45) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(14, 165, 233, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.08) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ==============================================================================
   Efeito Liquid Glass (Cartões, Painéis e Barras)
   ============================================================================== */
.glass-panel {
    background: var(--liquid-glass-bg);
    backdrop-filter: var(--liquid-glass-blur);
    -webkit-backdrop-filter: var(--liquid-glass-blur);
    border: var(--border-specular);
    box-shadow: var(--liquid-glass-shadow);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: rgba(56, 189, 248, 0.4);
}

.glass-card {
    background: rgba(224, 242, 254, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 6px 24px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

/* ==============================================================================
   Tipografia & Links
   ============================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p, span, label {
    color: var(--text-secondary);
}

a {
    color: var(--primary-glacial);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-mint);
}

/* ==============================================================================
   Botões Estilizados Liquid Glass & Gradiente
   ============================================================================== */
.btn-glass-primary {
    background: var(--primary-gradient);
    color: #070B14 !important;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.btn-glass-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(45, 212, 191, 0.5);
    filter: brightness(1.1);
}

.btn-glass-secondary {
    background: rgba(224, 242, 254, 0.08);
    backdrop-filter: blur(12px);
    color: var(--text-primary) !important;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-glass-secondary:hover {
    background: rgba(224, 242, 254, 0.15);
    border-color: var(--primary-glacial);
}

/* ==============================================================================
   Inputs & Formulários com Efeito de Vidro
   ============================================================================== */
.form-glass-control {
    width: 100%;
    background: rgba(7, 11, 20, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-glass-control:focus {
    border-color: var(--primary-glacial);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.form-glass-control::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

/* ==============================================================================
   Badges de Status Semânticos
   ============================================================================== */
.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-status-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--status-success);
}

.badge-status-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--status-warning);
}

.badge-status-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: var(--status-danger);
}

/* ==============================================================================
   Estrutura de Layout do ERP / Distribuidora
   ============================================================================== */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar-glass {
    width: 270px;
    background: rgba(7, 11, 20, 0.75);
    backdrop-filter: var(--liquid-glass-blur);
    -webkit-backdrop-filter: var(--liquid-glass-blur);
    border-right: var(--border-specular);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 50;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 2rem;
}

.navbar-glass {
    background: var(--liquid-glass-bg);
    backdrop-filter: var(--liquid-glass-blur);
    -webkit-backdrop-filter: var(--liquid-glass-blur);
    border-bottom: var(--border-specular);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
}

/* Animações Limpas (Sem transform permanente para não corromper containing blocks de fixed) */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.25s ease-out;
}

/* ==============================================================================
   Bloqueio de Scroll de Fundo quando Gaveta / Modal está Aberto
   ============================================================================== */
body.drawer-open {
    overflow: hidden !important;
}

/* ==============================================================================
   Sistema de Gaveta Flutuante Deslizante (Slide-Over Drawer)
   Garante posição estritamente ancorada na viewport da tela atual
   ============================================================================== */
.drawer-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(3, 7, 18, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 99998 !important;
    overscroll-behavior: contain !important;
    touch-action: none !important;
    animation: fadeInBackdrop 0.2s ease-out forwards;
}

.drawer-panel-glass {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 680px !important;
    max-width: 95vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(10, 16, 30, 0.98) !important;
    backdrop-filter: blur(32px) !important;
    -webkit-backdrop-filter: blur(32px) !important;
    border-left: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85), inset 1px 0 1px rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 99999 !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
    animation: slideInRight 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0.5;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

.drawer-header {
    padding: 1.5rem 2rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
    background: rgba(7, 11, 20, 0.95) !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
}

.drawer-body {
    padding: 2rem !important;
    overflow-y: auto !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
}

.drawer-footer {
    padding: 1.25rem 2rem !important;
    border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 1rem !important;
    background: rgba(7, 11, 20, 0.95) !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 20 !important;
}

/* ==============================================================================
   Botões Futuristas de Alta Precisão (Liquid Glass Cybernetic Actions)
   Substituição de emojis por ícones SVG vetoriais com glow e refração
   ============================================================================== */
.action-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-action-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.16) 0%, rgba(45, 212, 191, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38BDF8;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-action-edit:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35) 0%, rgba(45, 212, 191, 0.25) 100%);
    border-color: #2DD4BF;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.btn-action-edit:hover .action-icon {
    transform: rotate(-10deg) scale(1.1);
}

.btn-action-receive {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(45, 212, 191, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10B981;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-action-receive:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.38) 0%, rgba(45, 212, 191, 0.25) 100%);
    border-color: #34D399;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

.btn-action-receive:hover .action-icon {
    transform: translateY(2px) scale(1.1);
}

.btn-action-fefo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18) 0%, rgba(99, 102, 241, 0.12) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7DD3FC;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-action-fefo:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35) 0%, rgba(99, 102, 241, 0.25) 100%);
    border-color: #38BDF8;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.5);
}

.btn-action-key {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(251, 191, 36, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #FBBF24;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-action-key:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(251, 191, 36, 0.2) 100%);
    border-color: #F59E0B;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

.btn-action-key:hover .action-icon {
    transform: rotate(45deg);
}

/* Agrupador de botões nas tabelas */
.table-actions-cluster {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Status Switch / Pill Moderno com LED */
.status-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    border: 1px solid transparent;
}

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-toggle-btn.status-active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34D399;
}

.status-toggle-btn.status-active .status-indicator-dot {
    background-color: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.status-toggle-btn.status-active:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10B981;
    color: #FFFFFF;
    transform: scale(1.03);
}

.status-toggle-btn.status-inactive {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #F87171;
}

.status-toggle-btn.status-inactive .status-indicator-dot {
    background-color: #EF4444;
    box-shadow: 0 0 8px #EF4444;
}

.status-toggle-btn.status-inactive:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: #EF4444;
    color: #FFFFFF;
    transform: scale(1.03);
}

/* ==============================================================================
   PDV TOUCH FUTURISTA - CYBERNETIC LIQUID GLASS DESIGN SYSTEM
   ============================================================================== */

.pdv-touch-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: calc(100vh - 80px);
    overflow: hidden;
}

/* Barra Superior do PDV */
.pdv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: var(--border-specular);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    flex-shrink: 0;
}

.pdv-header-left, .pdv-header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
}

.brand-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #F0F9FF;
    letter-spacing: 0.08em;
}

.terminal-badge {
    background: rgba(45, 212, 191, 0.2);
    color: #2DD4BF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.operator-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.caixa-status-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.82rem;
}

.caixa-status-pill.aberto {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
}

.caixa-status-pill.fechado {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #F87171;
}

.status-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-led.online {
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
}

.status-led.offline {
    background: #EF4444;
    box-shadow: 0 0 10px #EF4444;
}

.btn-abrir-caixa-link {
    background: #EF4444;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 0.4rem;
}

.kpi-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.kpi-mini-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.kpi-mini-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #F0F9FF;
}

.neon-accent {
    color: #2DD4BF;
    text-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
}

.history-btn {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38BDF8;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.history-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38BDF8;
    color: #FFFFFF;
}

/* Botões de Ação do Cabeçalho PDV */
.btn-touch-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
}

.fullscreen-btn {
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38BDF8;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.15);
}

.fullscreen-btn:hover {
    background: rgba(14, 165, 233, 0.28);
    border-color: #38BDF8;
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
    transform: translateY(-1px);
}

.fullscreen-btn:active {
    transform: scale(0.97);
}

.exit-pdv-btn {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #F87171;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
}

.exit-pdv-btn:hover {
    background: rgba(239, 68, 68, 0.28);
    border-color: #EF4444;
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.exit-pdv-btn:active {
    transform: scale(0.97);
}

/* ==============================================================================
   PDV TOUCH FUTURISTA - NOVO CONCEITO: 50% CLIENTE / 50% CATÁLOGO 4 COLUNAS
   ============================================================================== */

.pdv-split-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0.85rem;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .pdv-split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==============================================================================
   LADO ESQUERDO: TELA TRANSPARENTE DE COMPRAS DO CLIENTE (CUSTOMER-FACING)
   ============================================================================== */

.pdv-customer-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    border: var(--border-specular);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

/* Card Holográfico do Último Item Registrado */
.last-item-hologram {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.25);
    min-height: 84px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.last-item-hologram.active-glow {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(45, 212, 191, 0.1));
    border-color: #2DD4BF;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.25);
}

.hologram-thumb-col {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.hologram-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hologram-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-info-col {
    flex: 1;
    min-width: 0;
}

.hologram-status-tag {
    font-size: 0.62rem;
    font-weight: 800;
    color: #2DD4BF;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hologram-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #F0F9FF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0.1rem 0;
}

.hologram-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
}

.hologram-badge {
    background: rgba(56, 189, 248, 0.2);
    color: #38BDF8;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-weight: 700;
}

.hologram-qty strong {
    color: #F0F9FF;
    font-size: 0.85rem;
}

.hologram-unit {
    color: var(--text-muted);
}

.hologram-subtotal-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.hologram-subtotal-col .lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.hologram-subtotal-col .val {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2DD4BF;
    text-shadow: 0 0 12px rgba(45, 212, 191, 0.4);
}

.hologram-welcome {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-muted);
}

.welcome-icon {
    font-size: 2.2rem;
    opacity: 0.7;
}

.hologram-welcome h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #F0F9FF;
}

.hologram-welcome p {
    font-size: 0.75rem;
    margin-top: 0.15rem;
}

/* Extrato do Cupom do Cliente */
.customer-cupom-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 14px;
    padding: 0.75rem;
    min-height: 0;
    overflow: hidden;
}

.cupom-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.cupom-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #38BDF8;
    letter-spacing: 0.06em;
}

.cupom-count {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.btn-clear-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #F87171;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn-clear-cart:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.25);
    border-color: #EF4444;
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.btn-clear-cart:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.customer-items-list {
    flex: 1;
    overflow-y: auto;
    margin-top: 0.5rem;
    padding-right: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cupom-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    gap: 0.4rem;
}

.cupom-empty-state p {
    font-size: 0.95rem;
    font-weight: 700;
    color: #F0F9FF;
}

.cupom-empty-state span {
    font-size: 0.75rem;
}

.cupom-item-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 10px;
    transition: all 0.18s ease;
}

.cupom-item-row.highlight-row {
    border-color: rgba(45, 212, 191, 0.5);
    background: rgba(14, 165, 233, 0.12);
}

.item-seq-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    width: 20px;
}

.item-thumb-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.item-mini-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-mini-fallback {
    font-size: 1.2rem;
}

.item-desc-col {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #F0F9FF;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-subtags {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    margin-top: 0.15rem;
}

.badge-embalagem {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    padding: 0.05rem 0.35rem;
    border-radius: 4px;
    font-weight: 600;
}

.badge-preco-unit {
    color: var(--text-muted);
}

.badge-fator {
    color: #2DD4BF;
}

.item-stepper-col {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.btn-step {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: #F0F9FF;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-step:hover {
    background: rgba(56, 189, 248, 0.25);
    color: #38BDF8;
}

.step-val {
    min-width: 26px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #F0F9FF;
}

.item-total-col {
    font-size: 0.95rem;
    font-weight: 800;
    color: #38BDF8;
    min-width: 72px;
    text-align: right;
    flex-shrink: 0;
}

.btn-remove-row {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-remove-row:hover {
    color: #EF4444;
}

/* Painel de Totais Gigante */
.customer-totais-box {
    background: rgba(2, 6, 23, 0.8);
    border: 1.5px solid rgba(45, 212, 191, 0.35);
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.totais-mini-stats {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.totais-mini-stats > div {
    display: flex;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.stat-lbl {
    color: var(--text-muted);
    font-weight: 700;
    min-width: 65px;
}

.stat-val {
    color: #F0F9FF;
    font-weight: 800;
}

.total-big-display {
    text-align: right;
}

.total-big-lbl {
    font-size: 0.7rem;
    font-weight: 800;
    color: #2DD4BF;
    letter-spacing: 0.08em;
}

.total-big-amount {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.25rem;
    color: #2DD4BF;
    text-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
}

.total-big-amount .curr {
    font-size: 1.25rem;
    font-weight: 800;
}

.total-big-amount .num {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
}

/* ==============================================================
   LADO DIREITO: CATÁLOGO DINÂMICO 4 COLUNAS & OPERAÇÕES
   ============================================================== */

.pdv-operator-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    border: var(--border-specular);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
}

/* Barra de Entrada / Scanner */
.search-entry-bar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.search-input-shell {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.scanner-laser-icon {
    position: absolute;
    left: 0.85rem;
    pointer-events: none;
}

.search-bar-input {
    width: 100%;
    padding: 0.75rem 2.4rem 0.75rem 2.75rem;
    background: rgba(2, 6, 23, 0.85);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    color: #F0F9FF;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s ease;
}

.search-bar-input:focus {
    border-color: #2DD4BF;
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.35);
}

.btn-clear-search-x {
    position: absolute;
    right: 0.65rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}

.btn-keyboard-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.95rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    color: #38BDF8;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-keyboard-trigger:hover, .btn-keyboard-trigger.active {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38BDF8;
    color: #FFFFFF;
}

/* Chips Compactos de Categorias */
.category-chips-compact {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    flex-shrink: 0;
    scrollbar-width: none;
}

.category-chips-compact::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    padding: 0.4rem 0.75rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.cat-pill:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #F0F9FF;
}

.cat-pill.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(45, 212, 191, 0.3));
    border-color: #2DD4BF;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

/* Grade Dinâmica em 4 Colunas */
.dynamic-products-viewport {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 0.25rem;
}

.grid-4-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

@media (max-width: 1300px) {
    .grid-4-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

.compact-product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 0.55rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 135px;
}

.compact-product-card:hover {
    transform: translateY(-2px);
    border-color: #38BDF8;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.25);
    background: rgba(15, 23, 42, 0.9);
}

.compact-product-card:active {
    transform: scale(0.96);
}

.compact-product-card.zero-stock {
    opacity: 0.45;
    border-color: rgba(239, 68, 68, 0.3);
}

.card-thumb-area {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-photo {
    max-height: 58px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.compact-product-card:hover .card-photo {
    transform: scale(1.1);
}

.card-svg-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.stock-pill {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.stock-pill.success {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
}

.stock-pill.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #FBBF24;
}

.stock-pill.danger {
    background: rgba(239, 68, 68, 0.25);
    color: #F87171;
}

.card-desc-area {
    margin-top: 0.35rem;
    text-align: center;
}

.card-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #F0F9FF;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 1.8rem;
}

.card-prices-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}

.card-prices-row .price-varejo {
    font-size: 0.88rem;
    font-weight: 900;
    color: #38BDF8;
}

.btn-card-fardo {
    background: rgba(45, 212, 191, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.55);
    color: #2DD4BF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-card-fardo:hover {
    background: #2DD4BF;
    color: #070B14;
}

/* Teclado Virtual Touch Retroiluminado */
.keyboard-overlay-drawer {
    position: absolute;
    bottom: 75px;
    left: 0.85rem;
    right: 0.85rem;
    background: rgba(7, 11, 20, 0.97);
    border: 2px solid #38BDF8;
    border-radius: 16px;
    padding: 0.85rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    z-index: 40;
}

.kb-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.kb-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #38BDF8;
    letter-spacing: 0.05em;
}

.kb-actions {
    display: flex;
    gap: 0.4rem;
}

.btn-kb-mini {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #F0F9FF;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-kb-mini.close {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #F87171;
}

.kb-grid-rows {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.kb-r {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}

.k-touch {
    flex: 1;
    max-width: 52px;
    height: 44px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 8px;
    color: #F0F9FF;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.12s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.k-touch:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38BDF8;
    color: #FFFFFF;
}

.k-touch:active {
    transform: scale(0.92);
    background: #38BDF8;
    color: #070B14;
}

.k-back {
    max-width: 70px;
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    color: #FBBF24;
}

.k-space {
    flex: 4;
    max-width: 280px;
}

.k-enter {
    flex: 2;
    max-width: 160px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(45, 212, 191, 0.4));
    border-color: #2DD4BF;
    color: #FFFFFF;
}

/* Barra de Operações do Operador */
.operator-action-footer {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.quick-op-buttons {
    display: flex;
    gap: 0.45rem;
}

.btn-op-pill {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.85rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #F0F9FF;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.btn-op-pill:hover:not(:disabled) {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38BDF8;
}

.btn-op-pill:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-finalizar-checkout {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.95rem 1.4rem;
    background: linear-gradient(135deg, #10B981 0%, #059669 45%, #0284C7 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.45), 0 0 15px rgba(14, 165, 233, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-finalizar-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.65), 0 0 25px rgba(14, 165, 233, 0.5);
    filter: brightness(1.1);
}

.btn-finalizar-checkout:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-finalizar-checkout.disabled, .btn-finalizar-checkout:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: #64748B;
}

.btn-finalizar-checkout.disabled .checkout-main-txt,
.btn-finalizar-checkout:disabled .checkout-main-txt {
    color: #94A3B8 !important;
    text-shadow: none !important;
}

.btn-finalizar-checkout.disabled .checkout-sub-txt,
.btn-finalizar-checkout:disabled .checkout-sub-txt {
    color: #64748B !important;
    text-shadow: none !important;
}

.checkout-lightning {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px #FACC15);
}

.checkout-label-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.checkout-main-txt {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.checkout-sub-txt {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95) !important;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Botões de Ação para Drawers e Filtros */
.btn-reset-filter {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38BDF8;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset-filter:hover {
    background: #38BDF8;
    color: #070B14;
}

.drawer-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #94A3B8;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.drawer-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #EF4444;
    color: #FFFFFF;
}

.btn-drawer-cancel {
    padding: 0.85rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #F0F9FF;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-drawer-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-drawer-confirm {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    background: linear-gradient(135deg, #10B981, #0EA5E9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}

.btn-drawer-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
    filter: brightness(1.08);
}

/* ==============================================================================
   DRAWER DE CHECKOUT TOUCH (FORMAS DE PAGAMENTO)
   ============================================================================== */

.checkout-drawer {
    width: 520px !important;
}

.drawer-header-glass {
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(14, 165, 233, 0.08);
}

.drawer-body-glass {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drawer-footer-glass {
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(10, 16, 30, 0.95);
}

.checkout-display-total {
    text-align: center;
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(45, 212, 191, 0.35);
    background: rgba(2, 6, 23, 0.8);
    margin-bottom: 1.25rem;
}

.checkout-display-total .lbl {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.checkout-display-total .val {
    font-size: 2.4rem;
    font-weight: 900;
    color: #2DD4BF;
    text-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
    margin-top: 0.2rem;
}

.cliente-tag {
    font-size: 0.8rem;
    color: #7DD3FC;
    margin-top: 0.35rem;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.payment-touch-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    color: #F0F9FF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-touch-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38BDF8;
}

.payment-touch-btn.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(45, 212, 191, 0.3));
    border-color: #2DD4BF;
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(45, 212, 191, 0.3);
}

.pay-icon {
    font-size: 1.6rem;
}

.pay-name {
    font-size: 0.82rem;
    font-weight: 700;
}

.quick-cash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cash-btn {
    padding: 0.65rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    color: #38BDF8;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cash-btn:hover {
    background: #38BDF8;
    color: #070B14;
}

.inputs-dinheiro-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.input-group-troco label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.3rem;
}

.touch-input-num {
    width: 100%;
    padding: 0.85rem;
    background: rgba(2, 6, 23, 0.8);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 10px;
    color: #F0F9FF;
    font-size: 1.2rem;
    font-weight: 800;
    outline: none;
}

.troco-display-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 0.75rem;
}

.troco-display-box.troco-ok {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
}

.troco-display-box.troco-falta {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #F87171;
}

.lbl-troco {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.val-troco {
    font-size: 1.35rem;
    font-weight: 900;
    margin-top: 0.15rem;
}

.pix-qrcode-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(45, 212, 191, 0.35);
    gap: 1rem;
}

.qrcode-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pix-glow-text {
    font-size: 0.8rem;
    font-weight: 800;
    color: #2DD4BF;
    letter-spacing: 0.05em;
}

.pix-chave-info {
    text-align: center;
    font-size: 0.85rem;
    color: #F0F9FF;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pix-valor-destaque {
    color: #2DD4BF;
    font-weight: 800;
}

/* ==============================================================
   MODAL DE COMPROVANTE TÉRMICO (CUPOM 80MM)
   ============================================================== */

.thermal-receipt-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    max-height: 90vh;
    overflow-y: auto;
}

.thermal-receipt-paper {
    width: 320px;
    background: #FFFEF7;
    color: #1A1A1A;
    font-family: 'Courier New', Courier, monospace;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    font-size: 0.82rem;
    line-height: 1.35;
}

.receipt-header {
    text-align: center;
}

.receipt-header h3 {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.receipt-sub {
    font-size: 0.72rem;
    color: #555;
}

.receipt-divider {
    font-size: 0.75rem;
    overflow: hidden;
    margin: 0.35rem 0;
    color: #666;
}

.receipt-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.receipt-cols-title {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 0.75rem;
}

.receipt-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.35rem 0;
}

.receipt-item-row {
    display: flex;
    flex-direction: column;
}

.item-name-rec {
    font-weight: 700;
    font-size: 0.8rem;
}

.item-calc-rec {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.rec-tot-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.rec-total-bold {
    font-size: 1rem;
    font-weight: 900;
    margin: 0.25rem 0;
}

.receipt-footer-msg {
    text-align: center;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

.cupom-nao-fiscal-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #777;
    margin-top: 0.3rem;
}

.receipt-modal-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.btn-print-thermal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid #38BDF8;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-print-thermal:hover {
    background: #38BDF8;
    color: #070B14;
}

.btn-new-sale {
    flex: 1;
    padding: 0.75rem;
    background: linear-gradient(135deg, #0EA5E9, #2DD4BF);
    border: none;
    color: #070B14;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-new-sale:hover {
    filter: brightness(1.1);
}

/* Histórico de Vendas Drawer */
.history-drawer {
    width: 480px !important;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.history-card {
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(2, 6, 23, 0.65);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.h-card-top, .h-card-mid, .h-card-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h-num {
    font-weight: 800;
    color: #38BDF8;
    font-size: 0.88rem;
}

.h-hora {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.h-status.ok {
    color: #34D399;
    font-size: 0.72rem;
    font-weight: 700;
}

.h-status.cancel {
    color: #F87171;
    font-size: 0.72rem;
    font-weight: 700;
}

.h-cli, .h-pgto {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.h-tot {
    font-size: 1.05rem;
    font-weight: 900;
    color: #2DD4BF;
}

.btn-reprint {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38BDF8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
}

.btn-reprint:hover {
    background: #38BDF8;
    color: #070B14;
}

/* Otimização para Impressão Térmica */
@media print {
    body * {
        visibility: hidden;
    }
    #cupom-impressao, #cupom-impressao * {
        visibility: visible;
    }
    #cupom-impressao {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
    }
}

/* ==============================================================================
   PDV TOUCH - MODAIS DE DESCONTO, CLIENTE / CPF E CONTROLE DE CAIXA
   ============================================================================== */

/* Botões de Abertura / Encerramento de Caixa no Header */
.btn-abrir-caixa-top {
    background: #EF4444;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    transition: all 0.2s ease;
}

.btn-abrir-caixa-top:hover {
    background: #DC2626;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.7);
    transform: scale(1.04);
}

.btn-fechar-caixa-top {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #F59E0B;
    color: #FBBF24;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
}

.btn-fechar-caixa-top:hover {
    background: #F59E0B;
    color: #070B14;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
    transform: scale(1.04);
}

/* Indicadores de Desconto e Cliente Ativo nas Pills */
.btn-op-pill.has-discount-pill {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10B981;
    color: #34D399;
}

.btn-op-pill.has-client-pill {
    background: rgba(14, 165, 233, 0.15);
    border-color: #38BDF8;
    color: #38BDF8;
}

.pill-badge-txt {
    font-weight: 800;
}

.btn-finalizar-checkout.btn-caixa-fechado {
    background: linear-gradient(135deg, #B91C1C 0%, #EF4444 100%);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-finalizar-checkout.btn-caixa-fechado:hover {
    background: linear-gradient(135deg, #991B1B 0%, #DC2626 100%);
    box-shadow: 0 10px 32px rgba(239, 68, 68, 0.7);
}

/* Modal Touch Centralizado */
.modal-touch-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 95vw;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

.modal-touch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.85rem;
}

.modal-touch-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-touch-icon {
    font-size: 1.8rem;
}

.modal-touch-title-group h4 {
    font-size: 1.05rem;
    font-weight: 900;
    color: #F0F9FF;
    letter-spacing: 0.04em;
    margin: 0;
}

.modal-touch-title-group p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0.2rem 0 0 0;
}

.modal-touch-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-touch-footer {
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.btn-touch-modal-cancel {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #F0F9FF;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-touch-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-touch-modal-remove {
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #F87171;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-touch-modal-remove:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #FFFFFF;
}

.btn-touch-modal-confirm {
    flex: 1;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #10B981 0%, #0EA5E9 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}

.btn-touch-modal-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
    filter: brightness(1.1);
}

/* Abas de Desconto */
.discount-type-tabs {
    display: flex;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 0.3rem;
    gap: 0.3rem;
}

.tab-btn {
    flex: 1;
    padding: 0.6rem;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #0EA5E9, #2DD4BF);
    color: #070B14;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
}

/* Chips Rápidos de Desconto / Fundo de Troco */
.quick-discount-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.discount-chip {
    padding: 0.65rem 0.4rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 10px;
    color: #F0F9FF;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
}

.discount-chip:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38BDF8;
}

.discount-chip.selected {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(45, 212, 191, 0.35));
    border-color: #2DD4BF;
    color: #2DD4BF;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.3);
}

.discount-input-row {
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

.discount-input-prefix {
    font-size: 1.3rem;
    font-weight: 900;
    color: #2DD4BF;
}

.touch-discount-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: inherit;
}

.discount-simulation-panel {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sim-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.sim-row.discount-val {
    color: #F87171;
    font-weight: 700;
}

.sim-row.total-sim {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.4rem;
    font-size: 1rem;
    font-weight: 900;
    color: #2DD4BF;
}

/* Modal CPF / Cliente */
.btn-quick-consumer {
    padding: 0.85rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    color: #F0F9FF;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.btn-quick-consumer:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38BDF8;
}

.btn-quick-consumer.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(45, 212, 191, 0.35));
    border-color: #2DD4BF;
    color: #FFFFFF;
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.35);
}

.form-field-touch {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field-touch label, .lbl-touch {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cpf-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.touch-cpf-input, .touch-text-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(2, 6, 23, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 800;
    outline: none;
    letter-spacing: 0.05em;
}

.touch-cpf-input:focus, .touch-text-input:focus {
    border-color: #2DD4BF;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
}

.btn-clear-field {
    position: absolute;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    color: #F87171;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpf-num-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.k-num-btn {
    padding: 0.85rem;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #F0F9FF;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.12s ease;
}

.k-num-btn:active {
    transform: scale(0.96);
    background: #0EA5E9;
    color: #070B14;
}

.k-num-btn.clear {
    color: #F87171;
    font-size: 1rem;
}

.k-num-btn.back {
    color: #FBBF24;
    font-size: 1.1rem;
}

/* Select de Operador & Inputs Financeiros */
.select-touch-operator {
    width: 100%;
    padding: 0.85rem;
    background: rgba(2, 6, 23, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
}

.input-money-touch-wrapper {
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 12px;
    padding: 0.4rem 0.85rem;
    gap: 0.4rem;
}

.money-prefix {
    font-size: 1.2rem;
    font-weight: 900;
    color: #2DD4BF;
}

.touch-money-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 1.35rem;
    font-weight: 900;
}

.blind-notice {
    padding: 0.85rem;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #7DD3FC;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.btn-danger-action {
    background: linear-gradient(135deg, #B91C1C, #EF4444) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
}

.btn-danger-action:hover:not(:disabled) {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6) !important;
}

.alert-box-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    color: #34D399;
}

/* ============================================================== */
/* MODAL FUTURISTA DE FECHAMENTO DE CAIXA EM 2 COLUNAS            */
/* ============================================================== */
.modal-fechamento-caixa-full {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96vw;
    max-width: 1040px;
    max-height: 94vh;
    background: rgba(10, 18, 32, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(14, 165, 233, 0.2);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fechamento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(14, 165, 233, 0.08);
}

.fechamento-header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.fechamento-icon-glow {
    font-size: 1.8rem;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.fechamento-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: -0.02em;
    margin: 0;
}

.fechamento-meta {
    font-size: 0.8rem;
    color: #7DD3FC;
    font-weight: 600;
    margin: 0;
}

.fechamento-body {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.fechamento-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 820px) {
    .fechamento-grid-2col {
        grid-template-columns: 1fr;
    }
}

.col-fechamento-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.col-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #38BDF8;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding-bottom: 0.6rem;
    margin: 0;
}

.apuracao-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.apuracao-item-row .lbl-item {
    font-size: 0.85rem;
    color: #94A3B8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.apuracao-item-row .val-item {
    font-size: 0.95rem;
    font-weight: 800;
    color: #F8FAFC;
}

.apuracao-item-row.destaque-abertura {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

.apuracao-item-row.destaque-abertura .val-item {
    color: #38BDF8;
}

.card-destaque-gaveta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.12));
    border: 1.5px solid rgba(52, 211, 153, 0.45);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.15);
}

.card-destaque-gaveta .gaveta-lbl {
    font-size: 0.82rem;
    font-weight: 700;
    color: #A7F3D0;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.card-destaque-gaveta .gaveta-lbl small {
    font-size: 0.7rem;
    color: #6EE7B7;
    opacity: 0.85;
}

.card-destaque-gaveta .gaveta-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: #34D399;
}

.card-total-turno {
    background: rgba(2, 6, 23, 0.7);
    border: 1px dashed rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-total-turno .lbl {
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 700;
}

.card-total-turno .val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #F8FAFC;
}

/* Lado Direito: Conferência Física */
.field-conferencia {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.field-header-row label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #E2E8F0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-fill-exact {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38BDF8;
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-fill-exact:hover {
    background: rgba(14, 165, 233, 0.35);
    border-color: #38BDF8;
    color: #FFFFFF;
}

.input-money-touch-conferencia {
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    gap: 0.4rem;
}

.input-money-touch-conferencia:focus-within {
    border-color: #2DD4BF;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.35);
}

.input-money-touch-conferencia .pfx {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2DD4BF;
}

.input-money-touch-conferencia input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 800;
}

.btn-fill-all-exact {
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #2DD4BF;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-fill-all-exact:hover {
    background: rgba(45, 212, 191, 0.25);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

/* Painel de Auditoria & Batimento em Tempo Real */
.batimento-realtime-card {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
}

.batimento-realtime-card.status-bateu {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.25));
    border: 1.5px solid #10B981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.batimento-realtime-card.status-sobra {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(2, 132, 199, 0.25));
    border: 1.5px solid #0EA5E9;
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.3);
}

.batimento-realtime-card.status-falta {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(185, 28, 28, 0.25));
    border: 1.5px solid #EF4444;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}

.batimento-info-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.batimento-icon-status {
    font-size: 1.8rem;
}

.batimento-headline {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.batimento-subline {
    font-size: 0.78rem;
    color: #CBD5E1;
    margin: 0;
}

.batimento-diferenca-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-bateu .batimento-diferenca-pill {
    background: rgba(16, 185, 129, 0.3);
    color: #6EE7B7;
    border: 1px solid #10B981;
}

.status-sobra .batimento-diferenca-pill {
    background: rgba(14, 165, 233, 0.3);
    color: #7DD3FC;
    border: 1px solid #0EA5E9;
}

.status-falta .batimento-diferenca-pill {
    background: rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    border: 1px solid #EF4444;
}

.fechamento-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(10, 18, 32, 0.85);
}

.btn-fechamento-confirm {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: all 0.2s ease;
}

.btn-fechamento-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

.btn-fechamento-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Relatório Térmico de Fechamento */
.receipt-fechamento-paper {
    background: #FFFDF9;
    color: #1E293B;
    width: 380px;
    padding: 1.5rem;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.receipt-fechamento-paper hr {
    border: none;
    border-top: 1px dashed #64748B;
    margin: 0.6rem 0;
}

.receipt-row-kv {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2rem;
}

.receipt-row-kv.destaque-negrito {
    font-weight: bold;
    font-size: 0.9rem;
}

/* ============================================================== */
/* PIX DINÂMICO & RECONHECIMENTO AUTOMÁTICO INFINITEPAY            */
/* ============================================================== */
.pix-infinitepay-container {
    background: rgba(2, 6, 23, 0.75);
    border: 1.5px solid rgba(45, 212, 191, 0.4);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 25px rgba(45, 212, 191, 0.15);
}

.pix-qrcode-wrapper {
    position: relative;
    background: #FFFFFF;
    padding: 0.75rem;
    border-radius: 14px;
    border: 2px solid #2DD4BF;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pix-qrcode-img {
    width: 200px;
    height: 200px;
    display: block;
    image-rendering: pixelated;
}

.pix-value-tag {
    text-align: center;
}

.pix-value-tag .lbl {
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 700;
}

.pix-value-tag .val {
    font-size: 1.75rem;
    font-weight: 900;
    color: #2DD4BF;
    letter-spacing: -0.02em;
}

.pix-instruction-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #FCD34D;
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    text-align: center;
    line-height: 1.3;
}

.pix-instruction-badge .icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-open-infinitepay {
    width: 100%;
    background: linear-gradient(135deg, #00D26A 0%, #059669 100%);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 210, 106, 0.35);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-open-infinitepay:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 210, 106, 0.5);
    filter: brightness(1.1);
}

.pix-copia-cola-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.btn-copy-pix {
    width: 100%;
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.45);
    color: #2DD4BF;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-copy-pix:hover {
    background: rgba(45, 212, 191, 0.3);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.4);
}

.pix-radar-status {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 12px;
}

.radar-pulse-dot {
    width: 12px;
    height: 12px;
    background: #0EA5E9;
    border-radius: 50%;
    box-shadow: 0 0 10px #0EA5E9;
    animation: radarPulse 1.5s infinite;
}

@keyframes radarPulse {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(14, 165, 233, 0); }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.radar-txt {
    font-size: 0.82rem;
    font-weight: 700;
    color: #7DD3FC;
}

.pix-actions-row {
    width: 100%;
    display: flex;
    gap: 0.5rem;
}

.btn-pix-action-sm {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #CBD5E1;
    border-radius: 8px;
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-pix-action-sm:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.btn-pix-action-sim {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.4);
    color: #FACC15;
}

.btn-pix-action-sim:hover {
    background: rgba(234, 179, 8, 0.3);
    color: #FFFFFF;
}

.pix-paid-success-banner {
    width: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.3));
    border: 2px solid #10B981;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.pix-paid-success-banner h4 {
    font-size: 1.15rem;
    font-weight: 900;
    color: #34D399;
    margin: 0 0 0.35rem 0;
}

.pix-paid-success-banner p {
    font-size: 0.8rem;
    color: #F0FDF4;
    margin: 0;
}

/* ============================================================== */
/* TABELA DE FLUXO & EXTRATO DE CAIXA (DARK GLASS PREMIUM)        */
/* ============================================================== */
.table-responsive-box {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
}

.catalog-table.fluxo-caixa-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.88rem;
    text-align: left;
}

.catalog-table.fluxo-caixa-table th {
    padding: 1rem 1.25rem;
    color: #38BDF8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 2px solid rgba(56, 189, 248, 0.3);
    white-space: nowrap;
}

.catalog-table.fluxo-caixa-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    color: #F1F5F9;
    vertical-align: middle;
}

.catalog-table.fluxo-caixa-table tbody tr {
    transition: background 0.15s ease;
}

.catalog-table.fluxo-caixa-table tbody tr:hover {
    background: rgba(56, 189, 248, 0.06);
}

.catalog-table.fluxo-caixa-table tbody tr:last-child td {
    border-bottom: none;
}

.cell-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #7DD3FC;
    background: rgba(14, 165, 233, 0.12);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(14, 165, 233, 0.3);
    white-space: nowrap;
}

.cell-valor {
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
}

.cell-valor.val-entrada {
    color: #34D399;
}

.cell-valor.val-saida {
    color: #F87171;
}

.cell-user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #E2E8F0;
    font-size: 0.85rem;
    white-space: nowrap;
}

.doc-code-pill {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 6px;
    color: #38BDF8;
    font-size: 0.8rem;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-weight: 600;
    white-space: nowrap;
}

.doc-text {
    color: #94A3B8;
    font-size: 0.85rem;
}

/* ============================================================== */
/* CHECKOUT MULTI-PAGAMENTO & CÉDULAS RÁPIDAS INTELIGENTES       */
/* ============================================================== */
.checkout-mode-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.mode-tab-btn {
    padding: 0.6rem 0.75rem;
    border: none;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #94A3B8;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.mode-tab-btn:hover {
    color: #F8FAFC;
    background: rgba(255, 255, 255, 0.05);
}

.mode-tab-btn.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(6, 182, 212, 0.35));
    border: 1px solid #38BDF8;
    color: #38BDF8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.cash-btn.active-cash {
    border-color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.25) !important;
    color: #38BDF8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
}

.split-suggest-box {
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #FDE68A;
    font-size: 0.8rem;
}

.btn-split-convert {
    padding: 0.5rem 0.8rem;
    background: linear-gradient(135deg, #D97706, #F59E0B);
    border: none;
    border-radius: 8px;
    color: #0F172A;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-split-convert:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Painel de Pagamento Múltiplo */
.multi-payment-panel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.multi-payment-status-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 0.75rem;
}

.multi-status-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.multi-status-item .lbl {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
}

.multi-status-item .val {
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #F8FAFC;
}

.multi-status-item.destaque-restante {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
}

.multi-pay-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.4rem;
}

.chip-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #F1F5F9;
}

.chip-val {
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-weight: 800;
    color: #38BDF8;
}

.chip-troco {
    font-size: 0.75rem;
    color: #94A3B8;
}

.chip-remove-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #F87171;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s ease;
}

.chip-remove-btn:hover {
    background: #EF4444;
    color: #FFFFFF;
}

.multi-add-form-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 14px;
    padding: 0.85rem;
}

.payment-methods-grid-sm {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.payment-touch-btn-sm {
    padding: 0.55rem 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #CBD5E1;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.payment-touch-btn-sm:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #FFFFFF;
}

.payment-touch-btn-sm.active {
    background: rgba(14, 165, 233, 0.3);
    border-color: #38BDF8;
    color: #38BDF8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.multi-inputs-row {
    display: flex;
    gap: 0.5rem;
}

.form-label-sm {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94A3B8;
    margin-bottom: 0.25rem;
    display: block;
}

.touch-input-sm {
    width: 100%;
    padding: 0.5rem 0.65rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    color: #F8FAFC;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.95rem;
}

.touch-input-sm:focus {
    border-color: #38BDF8;
    outline: none;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.quick-cash-grid-sm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.cash-btn-sm {
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #E2E8F0;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cash-btn-sm:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38BDF8;
    color: #38BDF8;
}

.btn-add-partial-payment {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #0284C7, #0EA5E9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
    transition: all 0.15s ease;
}

.btn-add-partial-payment:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.btn-add-partial-payment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.multi-covered-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.2));
    border: 1.5px solid #10B981;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.multi-covered-banner .icon {
    font-size: 1.8rem;
}

.multi-covered-banner h4 {
    margin: 0 0 0.25rem 0;
    color: #34D399;
    font-size: 0.95rem;
    font-weight: 800;
}

.multi-covered-banner p {
    margin: 0;
    color: #E2E8F0;
    font-size: 0.78rem;
}

/* ============================================================== */
/* ESTILOS: CARTÃO DE CRÉDITO MERCADO PAGO NO PDV                 */
/* ============================================================== */
.cartao-credito-container {
    margin-top: 0.75rem;
}

.cartao-modo-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.btn-modo-cartao {
    flex: 1;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-modo-cartao.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: #38BDF8;
    color: #38BDF8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.cartao-online-form-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.cartao-form-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lbl-cartao {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.25rem;
}

.cartao-input {
    width: 100%;
    box-sizing: border-box;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    background: rgba(7, 11, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #F8FAFC;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
}

.cartao-input:focus {
    border-color: #38BDF8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
    outline: none;
}

.form-group-3col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr;
    gap: 0.5rem;
}

.btn-processar-cartao {
    margin-top: 0.85rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #0284C7, #0369A1);
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
    transition: all 0.15s ease;
}

.btn-processar-cartao:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.btn-processar-cartao:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.alert-error-cartao {
    margin-top: 0.65rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    color: #FCA5A5;
    font-size: 0.8rem;
    font-weight: 600;
}

.alert-success-cartao {
    margin-top: 0.65rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    color: #6EE7B7;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ============================================================== */
/* ESTILOS: FASE 7 - LOJA ONLINE & CARDÁPIO DIGITAL RESPONSIVO    */
/* ============================================================== */
.loja-root-layout {
    min-height: 100vh;
    background-color: #070B14;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(12, 74, 110, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(217, 119, 6, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.05) 0%, transparent 55%);
    background-attachment: fixed;
    color: #F0F9FF;
    display: flex;
    flex-direction: column;
}

.loja-header-glass {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(7, 11, 20, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.loja-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loja-brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.loja-logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
}

.loja-brand-texts {
    display: flex;
    flex-direction: column;
}

.loja-brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    line-height: 1.1;
}

.loja-brand-tagline {
    font-size: 0.7rem;
    color: #38BDF8;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.loja-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.loja-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #34D399;
}

.loja-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulse 1.5s infinite;
}

.loja-wpp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 20px;
    padding: 0.3rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #25D366;
    text-decoration: none;
    transition: all 0.15s ease;
}

.loja-wpp-btn:hover {
    background: #25D366;
    color: #070B14;
}

.loja-main-content {
    flex: 1;
    padding-bottom: 6rem;
}

/* HERO BANNER */
.loja-hero-banner {
    padding: 2.5rem 1rem 1.75rem 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-tag-glow {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    color: #FBBF24;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.hero-headline {
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0 0 0.75rem 0;
}

.hero-description {
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    color: #94A3B8;
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.5;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 30px;
    padding: 0.65rem 1.25rem;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    gap: 0.65rem;
}

.hero-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #F8FAFC;
    font-size: 0.95rem;
    outline: none;
}

.hero-search-box .search-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

.btn-clear-search {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: #94A3B8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARROSSEL DE CATEGORIAS */
.loja-categories-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

.categories-scroll-container {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.categories-scroll-container::-webkit-scrollbar {
    display: none;
}

.category-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #E2E8F0;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-pill-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.category-pill-btn.active {
    background: rgba(14, 165, 233, 0.2);
    border-color: #38BDF8;
    color: #38BDF8;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.cat-count {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.1rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 800;
}

/* SEÇÃO DE PRODUTOS */
.loja-products-section {
    max-width: 1200px;
    margin: 1.5rem auto 0 auto;
    padding: 0 1rem;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.title-with-count {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.title-with-count h2 {
    font-size: 1.35rem;
    font-weight: 900;
    color: #F8FAFC;
    margin: 0;
}

.products-count-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    color: #94A3B8;
}

.quick-stock-info {
    font-size: 0.75rem;
    color: #34D399;
    font-weight: 700;
}

.products-responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.15rem;
}

@media (max-width: 576px) {
    .products-responsive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.product-glass-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.product-glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.card-top-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
}

.badge-embalagem {
    background: rgba(255, 255, 255, 0.06);
    color: #94A3B8;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.badge-stock-ok {
    color: #34D399;
}

.badge-stock-out {
    color: #F87171;
}

.product-thumb-container {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.product-img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.product-fallback-icon {
    font-size: 3.5rem;
    opacity: 0.85;
}

.product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-cat {
    font-size: 0.68rem;
    color: #38BDF8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #F8FAFC;
    margin: 0.2rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4rem;
}

.product-card-brand {
    font-size: 0.72rem;
    color: #94A3B8;
    margin-bottom: 0.4rem;
}

.product-card-pricing {
    margin-top: auto;
    padding-top: 0.5rem;
}

.price-val {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    color: #34D399;
}

.price-val .cur {
    font-size: 0.8rem;
    font-weight: 700;
}

.price-val .num {
    font-size: 1.25rem;
    font-weight: 900;
    font-family: 'SF Mono', monospace;
}

.fardo-discount-tag {
    display: inline-block;
    font-size: 0.68rem;
    color: #FBBF24;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
    margin-top: 0.25rem;
}

.product-card-actions {
    margin-top: 0.85rem;
}

.btn-card-add {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.4);
    border-radius: 10px;
    color: #38BDF8;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-card-add:hover {
    background: #0284C7;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.btn-card-out {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: not-allowed;
}

.cart-stepper-box {
    display: flex;
    align-items: center;
    background: rgba(7, 11, 20, 0.9);
    border: 1px solid #38BDF8;
    border-radius: 10px;
    overflow: hidden;
}

.btn-step-minus, .btn-step-plus {
    flex: 1;
    background: transparent;
    border: none;
    color: #38BDF8;
    font-size: 1.1rem;
    font-weight: 900;
    padding: 0.45rem 0.5rem;
    cursor: pointer;
}

.stepper-val {
    flex: 1;
    text-align: center;
    font-weight: 900;
    font-size: 0.9rem;
    color: #F8FAFC;
}

/* BARRA FLUTUANTE DE CARRINHO */
.loja-floating-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.94);
    backdrop-filter: blur(20px);
    border-top: 1.5px solid rgba(56, 189, 248, 0.35);
    padding: 0.85rem 1rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}

.cart-floating-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-floating-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-icon-pulse {
    font-size: 1.75rem;
}

.cart-count-txt {
    font-size: 0.75rem;
    color: #94A3B8;
    display: block;
}

.cart-total-txt {
    font-size: 1rem;
    color: #F8FAFC;
}

.cart-total-txt strong {
    color: #34D399;
}

.btn-open-cart-drawer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10B981, #059669);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.75rem 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    transition: all 0.15s ease;
}

.btn-open-cart-drawer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* DRAWER DE CHECKOUT */
.loja-checkout-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 480px;
    max-width: 100vw;
    background: #0B1120;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .loja-checkout-drawer {
        width: 100vw;
        border-left: none;
    }
}

.drawer-header-glass {
    padding: 1.15rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.8);
}

.drawer-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.drawer-title-group h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: #F8FAFC;
    letter-spacing: 0.04em;
}

.drawer-title-group p {
    margin: 0.15rem 0 0 0;
    font-size: 0.75rem;
    color: #94A3B8;
}

.btn-close-drawer {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94A3B8;
    font-size: 1.1rem;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.drawer-scrollable-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkout-section-block {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
}

.section-badge-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #38BDF8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.item-img-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #F8FAFC;
    margin: 0;
}

.item-price-unit {
    font-size: 0.72rem;
    color: #94A3B8;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.stepper-sm {
    display: flex;
    align-items: center;
    background: rgba(7, 11, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}

.stepper-sm button {
    background: transparent;
    border: none;
    color: #38BDF8;
    padding: 0.2rem 0.45rem;
    font-weight: 900;
    cursor: pointer;
}

.stepper-sm span {
    font-size: 0.8rem;
    padding: 0 0.35rem;
    font-weight: 700;
}

.item-subtotal {
    font-size: 0.85rem;
    font-weight: 800;
    color: #34D399;
    font-family: 'SF Mono', monospace;
    min-width: 60px;
    text-align: right;
}

.btn-remove-item {
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.6;
}

.btn-remove-item:hover {
    opacity: 1;
}

/* TOGGLE DELIVERY */
.delivery-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.delivery-mode-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94A3B8;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.delivery-mode-btn.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: #38BDF8;
    color: #F8FAFC;
}

.delivery-mode-btn strong {
    display: block;
    font-size: 0.82rem;
}

.delivery-mode-btn small {
    display: block;
    font-size: 0.68rem;
    color: #94A3B8;
}

.input-glass-loja {
    width: 100%;
    box-sizing: border-box;
    background: rgba(7, 11, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #F8FAFC;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
}

.input-glass-loja:focus {
    border-color: #38BDF8;
    outline: none;
}

.form-row-2col {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.form-group-field {
    flex: 1;
}

.form-group-field label {
    font-size: 0.7rem;
    color: #94A3B8;
    font-weight: 700;
    margin-bottom: 0.2rem;
    display: block;
}

/* SELEÇÃO DE PAGAMENTO */
.payment-methods-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.payment-method-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #E2E8F0;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.payment-method-pill.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: #38BDF8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.payment-method-pill strong {
    display: block;
    font-size: 0.82rem;
}

.payment-method-pill small {
    display: block;
    font-size: 0.7rem;
    color: #94A3B8;
}

.pix-online-panel, .cartao-online-panel {
    background: rgba(7, 11, 20, 0.7);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    margin-top: 0.65rem;
}

.pix-qrcode-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.pix-img {
    width: 170px;
    height: 170px;
    border-radius: 10px;
    background: #FFFFFF;
    padding: 6px;
}

.pix-pulse-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #2DD4BF;
    font-weight: 700;
}

.btn-copy-pix-loja {
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid #2DD4BF;
    color: #2DD4BF;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.btn-simular-pix-loja {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 0.72rem;
    text-decoration: underline;
    cursor: pointer;
}

.btn-gerar-pix-loja {
    background: linear-gradient(135deg, #0D9488, #0F766E);
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    padding: 0.75rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
}

.cartao-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    text-align: left;
}

.cartao-security-header {
    font-size: 0.72rem;
    color: #34D399;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.field-row-3col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr;
    gap: 0.45rem;
}

/* TOTAL CARD */
.checkout-total-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #94A3B8;
    margin-bottom: 0.3rem;
}

.total-row-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 900;
    color: #F8FAFC;
}

.total-accent {
    font-size: 1.35rem;
    color: #34D399;
    font-family: 'SF Mono', monospace;
}

.drawer-footer-glass {
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.75rem;
}

.btn-fechar-loja-drawer {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-finalizar-pedido-loja {
    flex: 1;
    padding: 0.75rem 1.2rem;
    background: linear-gradient(135deg, #10B981, #059669);
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    transition: all 0.15s ease;
}

.btn-finalizar-pedido-loja:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-finalizar-pedido-loja:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.alert-error-loja {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    padding: 0.65rem;
    color: #FCA5A5;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.65rem;
}

/* SUCESSO DO PEDIDO */
.loja-success-panel {
    max-width: 650px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.success-card-glass {
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.success-check-badge {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.success-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: #34D399;
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem 0;
}

.success-sub {
    font-size: 0.88rem;
    color: #94A3B8;
    margin-bottom: 1.5rem;
}

.order-protocol-box {
    background: rgba(7, 11, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.protocol-lbl {
    font-size: 0.68rem;
    color: #94A3B8;
    display: block;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.protocol-val {
    font-size: 1.35rem;
    font-weight: 900;
    color: #38BDF8;
    font-family: 'SF Mono', monospace;
}

.order-summary-box {
    background: rgba(7, 11, 20, 0.6);
    border-radius: 12px;
    padding: 1.15rem;
    text-align: left;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 800;
    color: #F8FAFC;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
    margin-bottom: 0.65rem;
}

.summary-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem 0;
}

.summary-items-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #CBD5E1;
    padding: 0.25rem 0;
}

.summary-delivery-info {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.65rem;
    margin-bottom: 0.65rem;
}

.delivery-badge-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #34D399;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.35rem;
}

.delivery-address-txt {
    font-size: 0.78rem;
    color: #94A3B8;
    line-height: 1.4;
    margin: 0;
}

.payment-confirmed-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.5rem;
    font-size: 0.78rem;
    color: #94A3B8;
}

.status-pago-tag {
    color: #34D399;
    font-weight: 800;
}

.status-pendente-tag {
    color: #FBBF24;
    font-weight: 800;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.btn-whatsapp-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 14px;
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.15s ease;
}

.btn-whatsapp-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.wpp-icon {
    font-size: 2rem;
}

.wpp-txts {
    text-align: left;
}

.wpp-txts strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.wpp-txts small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.9;
}

.btn-loja-novo-pedido {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #F8FAFC;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

/* RODAPÉ DA LOJA */
.loja-footer-glass {
    background: rgba(7, 11, 20, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 1rem 1.5rem 1rem;
    margin-top: auto;
}

.loja-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.loja-footer-col h5 {
    font-size: 0.82rem;
    font-weight: 800;
    color: #38BDF8;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.loja-footer-col p {
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.5;
}

.loja-brand-small {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.loja-address-text {
    font-size: 0.78rem;
    color: #CBD5E1;
    font-weight: 600;
    margin-top: 0.5rem;
}

.loja-payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.loja-payment-badges span {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    color: #CBD5E1;
}

.loja-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.72rem;
    color: #64748B;
}





