:root {
    --brand-primary: #E11D48;
    --brand-primary-hover: #BE123C;
    --brand-surface: #FFFFFF;
    --brand-bg: #F8FAFC;
    --brand-text: #0F172A;
    --brand-muted: #64748B;
    --brand-border: #E2E8F0;
    --brand-radius: 14px;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--brand-bg);
    color: var(--brand-text);
    -webkit-font-smoothing: antialiased;
}

/* Badges de Estados de Pedido */
.badge-status-pending {
    background-color: #FEF3C7;
    color: #92400E;
    font-weight: 600;
}

.badge-status-confirmed {
    background-color: #DBEAFE;
    color: #1E40AF;
    font-weight: 600;
}

.badge-status-inpreparation {
    background-color: #FFEDD5;
    color: #9A3412;
    font-weight: 600;
}

.badge-status-ready {
    background-color: #DCFCE7;
    color: #166534;
    font-weight: 600;
}

.badge-status-ontheway {
    background-color: #E0E7FF;
    color: #3730A3;
    font-weight: 600;
}

.badge-status-delivered {
    background-color: #F1F5F9;
    color: #475569;
    font-weight: 600;
}

.badge-status-cancelled {
    background-color: #FEE2E2;
    color: #991B1B;
    font-weight: 600;
}

/* Tarjetas y Contenedores */
.kds-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kds-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.product-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--brand-border);
    transition: all 0.2s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}

/* Botón flotante de carrito móvil */
.floating-cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 500px;
    background: var(--brand-primary);
    color: #FFFFFF;
    border-radius: 100px;
    padding: 14px 24px;
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.35);
    z-index: 1050;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.floating-cart-bar:active {
    transform: translateX(-50%) scale(0.98);
}

/* Modales y Paneles */
.custom-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.custom-modal-dialog {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Animación sutil de pulso para nuevos pedidos */
@keyframes pulse-attention {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.pulse-new {
    animation: pulse-attention 1.5s infinite ease-in-out;
}