html.mobile-app-mode,
html.mobile-app-mode body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

html.mobile-app-mode body.mobile-app {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

html.mobile-app-mode body {
    background: #f5f7fb;
    color: #111827;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    padding-top: env(safe-area-inset-top);
}

html.mobile-app-mode *,
html.mobile-app-mode *::before,
html.mobile-app-mode *::after {
    box-sizing: border-box;
}

html.mobile-app-mode img,
html.mobile-app-mode svg,
html.mobile-app-mode canvas,
html.mobile-app-mode table {
    max-width: 100%;
}

html.mobile-app-mode .sidebar {
    display: none !important;
}

html.mobile-app-mode #whatsappBubble,
html.mobile-app-mode .whatsapp-floating,
html.mobile-app-mode .floating-whatsapp,
html.mobile-app-mode [style*="z-index:9999"][style*="position:fixed"],
html.mobile-app-mode [style*="z-index: 9999"][style*="position: fixed"] {
    display: none !important;
}

html.mobile-app-mode #sidebarToggle {
    display: none !important;
}

html.mobile-app-mode .d-flex > .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

html.mobile-app-mode .main-content {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
}

html.mobile-app-mode .top-navbar {
    background: #002776 !important;
    color: #fff !important;
    min-height: 58px !important;
    padding: calc(env(safe-area-inset-top) + 8px) 14px 12px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
}

html.mobile-app-mode .mobile-app-header {
    align-items: center;
    background: #002776;
    color: #fff;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px 1fr 44px;
    min-height: 62px;
    padding: calc(env(safe-area-inset-top) + 10px) 14px 12px;
    position: sticky;
    top: 0;
    z-index: 920;
}

html.mobile-app-mode .mobile-app-header strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.18;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.mobile-app-mode .mobile-app-header span {
    color: rgba(255,255,255,.78);
    display: block;
    font-size: .78rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.mobile-app-mode .mobile-header-icon {
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    color: #ffdf00 !important;
    display: flex;
    font-size: 1.2rem;
    height: 44px;
    justify-content: center;
    text-decoration: none;
    width: 44px;
}

html.mobile-app-mode .toolbar-row {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
}

html.mobile-app-mode .toolbar-row h5,
html.mobile-app-mode .top-navbar h5 {
    color: #fff !important;
    font-size: 1.02rem !important;
    line-height: 1.2 !important;
}

html.mobile-app-mode .toolbar-row small,
html.mobile-app-mode .top-navbar small {
    color: rgba(255,255,255,.78) !important;
    display: block !important;
    line-height: 1.3 !important;
}

html.mobile-app-mode .toolbar-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
}

html.mobile-app-mode .status-pill {
    font-size: .72rem !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 6px 9px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html.mobile-app-mode .container-fluid,
html.mobile-app-mode .container {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

html.mobile-app-mode .mobile-card,
html.mobile-app-mode .metric-card,
html.mobile-app-mode .section-card,
html.mobile-app-mode .food-card,
html.mobile-app-mode .food-panel,
html.mobile-app-mode .proof-card,
html.mobile-app-mode .demo-card {
    background: #fff;
    border: 1px solid #e6edf5 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(15,23,42,.08) !important;
}

html.mobile-app-mode .btn,
html.mobile-app-mode button,
html.mobile-app-mode .mobile-btn {
    min-height: 48px;
    touch-action: manipulation;
}

html.mobile-app-mode input,
html.mobile-app-mode select,
html.mobile-app-mode textarea,
html.mobile-app-mode .form-control,
html.mobile-app-mode .form-select {
    font-size: 16px !important;
    max-width: 100%;
}

html.mobile-app-mode .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

html.mobile-app-mode .mobile-bottom-nav {
    align-items: stretch;
    background: #002776;
    border-top: 1px solid rgba(255,255,255,.18);
    bottom: 0;
    box-shadow: 0 -10px 28px rgba(0,39,118,.25);
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    height: calc(72px + env(safe-area-inset-bottom));
    left: 0;
    padding-bottom: env(safe-area-inset-bottom);
    position: fixed;
    right: 0;
    z-index: 1040;
}

html.mobile-app-mode .mobile-bottom-nav a {
    align-items: center;
    color: rgba(255,255,255,.76);
    display: flex;
    flex-direction: column;
    font-size: 11px;
    font-weight: 700;
    gap: 3px;
    justify-content: center;
    min-width: 0;
    text-decoration: none;
}

html.mobile-app-mode .mobile-bottom-nav a i {
    font-size: 19px;
}

html.mobile-app-mode .mobile-bottom-nav a.active,
html.mobile-app-mode .mobile-bottom-nav a.primary {
    color: #ffdf00;
}

html.mobile-app-mode .demo-account-banner {
    align-items: center !important;
    background: #ffdf00 !important;
    border-radius: 0 0 16px 16px !important;
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: 1fr auto !important;
    left: 0 !important;
    padding: 8px 10px !important;
    right: 0 !important;
    top: 0 !important;
}

html.mobile-app-mode .demo-account-banner strong {
    font-size: .83rem !important;
}

html.mobile-app-mode .demo-account-banner span {
    font-size: .72rem !important;
    line-height: 1.25 !important;
}

html.mobile-app-mode .demo-account-actions a {
    font-size: .74rem !important;
    min-height: 36px !important;
    padding: 7px 10px !important;
}

html.mobile-app-mode body.demo-account-active .main-content {
    padding-top: 64px !important;
}

html.mobile-app-mode body.demo-account-active .mobile-home {
    padding-top: 64px !important;
}

html.mobile-app-mode .kds-header,
html.mobile-app-mode .waiter-header {
    padding: calc(env(safe-area-inset-top) + 10px) 12px 12px !important;
}

html.mobile-app-mode .kds-header {
    border-bottom-width: 3px !important;
    gap: 8px !important;
}

html.mobile-app-mode .kds-header > div:first-child {
    display: none !important;
}

html.mobile-app-mode .kds-header h4,
html.mobile-app-mode .waiter-header strong {
    font-size: 1rem !important;
    line-height: 1.2 !important;
}

html.mobile-app-mode .kds-header small,
html.mobile-app-mode .waiter-header .small {
    display: block;
    font-size: .78rem !important;
    line-height: 1.25 !important;
}

html.mobile-app-mode .kds-header > div:last-child {
    display: grid !important;
    gap: 6px !important;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

html.mobile-app-mode .kds-header > div:last-child .kds-meta {
    grid-column: 1 / -1;
}

html.mobile-app-mode .kds-header .btn {
    border-radius: 14px !important;
    font-size: .82rem !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
}

html.mobile-app-mode .kds-board {
    display: block !important;
    padding: 10px !important;
}

html.mobile-app-mode .kds-board::before {
    background: #111827;
    color: #cbd5e1;
    content: "Toque no status para acompanhar a fila";
    display: block;
    font-size: .76rem;
    padding: 2px 2px 10px;
}

html.mobile-app-mode .kds-tabs {
    background: #111827;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

html.mobile-app-mode .kds-tabs button {
    background: #263244;
    border: 1px solid #39465a;
    border-radius: 14px;
    color: #dbe7f7;
    font-size: .72rem;
    font-weight: 800;
    min-height: 48px;
    padding: 7px 5px;
}

html.mobile-app-mode .kds-tabs button span {
    background: rgba(255,255,255,.14);
    border-radius: 999px;
    display: inline-block;
    margin-left: 4px;
    min-width: 22px;
    padding: 1px 5px;
}

html.mobile-app-mode .kds-tabs button.active {
    background: #ffdf00;
    border-color: #ffdf00;
    color: #06111f;
}

html.mobile-app-mode .kds-column {
    display: none;
    border-radius: 18px !important;
    margin-bottom: 14px !important;
    min-height: auto !important;
}

html.mobile-app-mode .kds-column.mobile-active {
    display: block;
}

html.mobile-app-mode .kds-column h5 {
    font-size: 1.05rem !important;
    padding: 14px !important;
}

html.mobile-app-mode .ticket {
    border-left-width: 7px !important;
    border-radius: 16px !important;
    margin: 10px !important;
    padding: 14px !important;
}

html.mobile-app-mode .ticket .d-flex {
    gap: 10px;
}

html.mobile-app-mode .timer-badge {
    font-size: .92rem !important;
    min-width: 72px;
    text-align: center;
}

html.mobile-app-mode .ticket-items {
    font-size: .96rem !important;
    padding-left: 18px !important;
}

html.mobile-app-mode .ticket-actions {
    display: grid !important;
    gap: 9px !important;
    grid-template-columns: 1fr !important;
}

html.mobile-app-mode .ticket-actions .btn {
    border-radius: 16px !important;
    font-size: 1rem !important;
    min-height: 54px !important;
}

html.mobile-app-mode .waiter-header .mobile-shell {
    align-items: center !important;
    display: flex !important;
    min-height: 48px;
}

html.mobile-app-mode .waiter-header .btn {
    border-radius: 999px !important;
    flex-shrink: 0;
    min-height: 48px !important;
}

html.mobile-app-mode .mobile-shell {
    padding-bottom: calc(128px + env(safe-area-inset-bottom)) !important;
}

html.mobile-app-mode .table-list,
html.mobile-app-mode .table-grid {
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html.mobile-app-mode .food-panel .table-list {
    max-height: calc(100vh - 390px) !important;
    overflow-y: auto !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch;
}

html.mobile-app-mode .table-button,
html.mobile-app-mode .table-tile {
    border-radius: 18px !important;
    min-height: 96px !important;
    padding: 12px 8px !important;
}

html.mobile-app-mode .table-button strong,
html.mobile-app-mode .table-tile h5 {
    font-size: 1.25rem !important;
}

html.mobile-app-mode .bottom-action {
    bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    padding: 10px 12px !important;
}

html.mobile-app-mode .bottom-action .btn {
    border-radius: 18px !important;
    font-size: 1rem !important;
    min-height: 56px !important;
}

html.mobile-app-mode .sales-shell,
html.mobile-app-mode .sales-layout {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
}

html.mobile-app-mode .sales-layout {
    height: auto !important;
    overflow: visible !important;
}

html.mobile-app-mode .sales-panel,
html.mobile-app-mode .cart-panel,
html.mobile-app-mode .cart-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

html.mobile-app-mode .product-grid {
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
    max-height: calc(100vh - 480px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

html.mobile-app-mode .product-card {
    border-radius: 16px !important;
    min-height: 74px !important;
    padding: 10px !important;
    width: 100% !important;
}

html.mobile-app-mode .product-card strong {
    font-size: .95rem !important;
    line-height: 1.18 !important;
}

html.mobile-app-mode .product-card .small {
    font-size: .74rem !important;
    line-height: 1.25 !important;
}

html.mobile-app-mode .product-card .small.text-muted.mb-2 {
    display: none !important;
}

html.mobile-app-mode .product-card .fw-bold {
    margin-bottom: 0 !important;
}

html.mobile-app-mode .product-card > div:first-child {
    gap: 6px !important;
    margin-bottom: 4px !important;
}

html.mobile-app-mode .product-card .badge {
    font-size: .66rem !important;
    padding: 3px 6px !important;
}

html.mobile-app-mode .product-grid {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
}

html.mobile-app-mode .cart-box {
    margin-top: 12px !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
}

html.mobile-app-mode .cart-scroll-area {
    max-height: 220px !important;
    min-height: 84px !important;
    overflow-y: auto !important;
}

html.mobile-app-mode .cart-footer-actions .btn,
html.mobile-app-mode #checkoutBtn,
html.mobile-app-mode #payButton {
    border-radius: 16px !important;
    min-height: 54px !important;
}

html.mobile-app-mode .modal-dialog {
    margin: 10px !important;
    max-width: calc(100% - 20px) !important;
}

html.mobile-app-mode .modal-content {
    border-radius: 20px !important;
}

html.mobile-app-mode .modal-body {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

html.mobile-app-mode .row {
    min-width: 0;
}

html.mobile-app-mode .metric-card {
    min-height: 92px !important;
    padding: 14px !important;
}

html.mobile-app-mode .metric-value {
    font-size: 1.5rem !important;
}

html.mobile-app-mode .order-row .d-flex,
html.mobile-app-mode .food-card > .d-flex {
    align-items: flex-start !important;
    flex-direction: column !important;
}

@media (max-width: 430px) {
    html.mobile-app-mode .kds-header > div:last-child {
        grid-template-columns: 1fr;
    }

    html.mobile-app-mode .container-fluid,
    html.mobile-app-mode .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    html.mobile-app-mode .toolbar-actions .btn,
    html.mobile-app-mode .toolbar-actions a,
    html.mobile-app-mode .toolbar-actions button {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 0 !important;
    }
}

html.mobile-app-mode #fullscreenBtn {
    display: none !important;
}

html.mobile-app-mode {
    --app-blue: #002776;
    --app-green: #009c3b;
    --app-yellow: #ffdf00;
    --app-bg: #f5f7fb;
    --app-line: #e5edf7;
    --app-text: #0f172a;
    --app-muted: #64748b;
    --app-shadow: 0 14px 34px rgba(15, 23, 42, .11);
    --app-shadow-soft: 0 8px 22px rgba(15, 23, 42, .08);
}

html.mobile-app-mode body {
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

html.mobile-app-mode .mobile-card,
html.mobile-app-mode .metric-card,
html.mobile-app-mode .section-card,
html.mobile-app-mode .food-card,
html.mobile-app-mode .food-panel,
html.mobile-app-mode .product-card,
html.mobile-app-mode .waiter-product-card,
html.mobile-app-mode .table-tile,
html.mobile-app-mode .table-button {
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

html.mobile-app-mode .mobile-pressed {
    transform: scale(.985) !important;
}

html.mobile-app-mode .mobile-card:hover,
html.mobile-app-mode .section-card:hover,
html.mobile-app-mode .food-panel:hover {
    box-shadow: var(--app-shadow) !important;
}

html.mobile-app-mode .btn,
html.mobile-app-mode button {
    font-weight: 800;
}

html.mobile-app-mode .modal-backdrop.show {
    opacity: .44;
    backdrop-filter: blur(8px);
}

html.mobile-app-mode .restaurant-sheet .modal-dialog,
html.mobile-app-mode .mobile-cart-sheet .modal-dialog {
    align-items: flex-end;
    display: flex;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 100%;
}

html.mobile-app-mode .restaurant-sheet .modal-content,
html.mobile-app-mode .mobile-cart-sheet .modal-content {
    border: 0 !important;
    border-radius: 26px 26px 0 0 !important;
    box-shadow: 0 -18px 42px rgba(15, 23, 42, .24) !important;
    margin-top: auto;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    width: 100%;
    animation: mobileSheetIn .24s cubic-bezier(.2, .9, .2, 1);
}

html.mobile-app-mode .restaurant-sheet .modal-content::before,
html.mobile-app-mode .mobile-cart-sheet .modal-content::before {
    background: #cbd5e1;
    border-radius: 999px;
    content: "";
    height: 5px;
    left: 50%;
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    width: 46px;
    z-index: 2;
}

html.mobile-app-mode .restaurant-sheet .modal-header,
html.mobile-app-mode .mobile-cart-sheet .modal-header {
    border-bottom-color: #edf2f7 !important;
    padding-top: 24px !important;
}

html.mobile-app-mode .restaurant-sheet .modal-body,
html.mobile-app-mode .mobile-cart-sheet .modal-body {
    max-height: calc(85vh - 132px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

html.mobile-app-mode .restaurant-sheet .modal-footer,
html.mobile-app-mode .mobile-cart-sheet .modal-footer {
    background: rgba(255, 255, 255, .96);
    border-top-color: #edf2f7 !important;
    bottom: 0;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, .08);
    position: sticky;
    z-index: 3;
}

html.mobile-app-mode .status-free,
html.mobile-app-mode .table-button.free,
html.mobile-app-mode .table-tile.free {
    background: #f0fdf4 !important;
    border-color: rgba(0, 156, 59, .26) !important;
    color: #087a36 !important;
}

html.mobile-app-mode .status-waiting,
html.mobile-app-mode .table-button.waiting_kitchen,
html.mobile-app-mode .table-tile.waiting_kitchen {
    background: #fffbea !important;
    border-color: rgba(255, 223, 0, .52) !important;
    color: #7a5b00 !important;
}

html.mobile-app-mode .status-preparing,
html.mobile-app-mode .table-button.preparing,
html.mobile-app-mode .table-tile.preparing {
    background: #fff7ed !important;
    border-color: rgba(249, 115, 22, .34) !important;
    color: #9a3412 !important;
}

html.mobile-app-mode .status-ready,
html.mobile-app-mode .table-button.ready,
html.mobile-app-mode .table-tile.ready {
    background: #eff6ff !important;
    border-color: rgba(37, 99, 235, .3) !important;
    color: #1d4ed8 !important;
}

html.mobile-app-mode .status-late,
html.mobile-app-mode .ticket.late {
    animation: mobileSoftPulse 1.8s ease-in-out infinite;
    background: #fff1f2 !important;
}

html.mobile-app-mode .mobile-toast-stack {
    bottom: calc(96px + env(safe-area-inset-bottom));
    display: grid;
    gap: 8px;
    left: 14px;
    pointer-events: none;
    position: fixed;
    right: 14px;
    z-index: 11000;
}

html.mobile-app-mode .mobile-toast {
    align-items: center;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    box-shadow: var(--app-shadow);
    color: #fff;
    display: flex;
    gap: 10px;
    min-height: 48px;
    opacity: 0;
    padding: 12px 14px;
    transform: translateY(12px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
}

html.mobile-app-mode .mobile-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

html.mobile-app-mode .mobile-toast-success i {
    color: #6ee7b7;
}

html.mobile-app-mode .mobile-toast-warning i {
    color: #ffdf00;
}

html.mobile-app-mode .mobile-toast-error i {
    color: #fb7185;
}

html.mobile-app-mode .mobile-sales-toast {
    align-items: center;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px !important;
    box-shadow: var(--app-shadow) !important;
    display: flex;
    font-weight: 800;
    justify-content: center;
    max-width: calc(100% - 28px);
    min-height: 48px;
    top: auto !important;
    bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    z-index: 11000 !important;
}

html.mobile-app-mode .mobile-network-chip {
    align-items: center;
    background: rgba(15, 23, 42, .88);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    box-shadow: var(--app-shadow-soft);
    color: #fff;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    gap: 6px;
    max-width: calc(100% - 24px);
    opacity: .92;
    padding: 7px 10px;
    pointer-events: none;
    position: fixed;
    right: 10px;
    z-index: 1030;
}

html.mobile-app-mode .mobile-network-chip.offline {
    background: #991b1b;
}

html.mobile-app-mode .mobile-network-chip.has-pending:not(.offline) {
    background: #92400e;
}

html.mobile-app-mode .mobile-floating-cart {
    align-items: center;
    background: linear-gradient(135deg, #002776 0%, #053f9e 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    box-shadow: 0 18px 38px rgba(0, 39, 118, .32);
    color: #fff;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    left: 12px;
    min-height: 68px;
    opacity: 0;
    padding: 10px 12px;
    pointer-events: none;
    position: fixed;
    right: 12px;
    transform: translateY(120%);
    transition: opacity .22s ease, transform .24s cubic-bezier(.2, .9, .2, 1);
    z-index: 1038;
}

html.mobile-app-mode .mobile-floating-cart.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

html.mobile-app-mode .mobile-floating-cart.bump {
    animation: cartBump .34s ease;
}

html.mobile-app-mode .mobile-floating-cart-icon {
    align-items: center;
    background: rgba(255, 255, 255, .14);
    border-radius: 18px;
    display: flex;
    height: 48px;
    justify-content: center;
    position: relative;
    width: 48px;
}

html.mobile-app-mode .mobile-floating-cart-icon i {
    font-size: 22px;
}

html.mobile-app-mode .mobile-floating-cart-icon em {
    align-items: center;
    background: var(--app-yellow);
    border-radius: 999px;
    color: #07111f;
    display: flex;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 5px;
    position: absolute;
    right: -5px;
    top: -5px;
}

html.mobile-app-mode .mobile-floating-cart strong,
html.mobile-app-mode .mobile-floating-cart small {
    display: block;
    line-height: 1.15;
    text-align: left;
}

html.mobile-app-mode .mobile-floating-cart small {
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
    margin-top: 3px;
}

html.mobile-app-mode .mobile-floating-cart-action {
    background: var(--app-green);
    border-radius: 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 11px 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

html.mobile-app-mode .mobile-cart-item {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
    margin-bottom: 10px;
    padding: 12px;
}

html.mobile-app-mode .mobile-cart-item-title {
    color: var(--app-text);
    font-weight: 900;
    line-height: 1.2;
}

html.mobile-app-mode .mobile-cart-item-meta {
    color: var(--app-muted);
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
}

html.mobile-app-mode .mobile-cart-qty {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

html.mobile-app-mode .mobile-cart-qty button {
    align-items: center;
    border-radius: 14px !important;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    min-height: 42px !important;
    padding: 0;
    width: 42px;
}

html.mobile-app-mode .mobile-cart-qty span {
    font-weight: 900;
    min-width: 28px;
    text-align: center;
}

html.mobile-app-mode .mobile-cart-total-card {
    background: #eef4ff;
    border: 1px solid #dbe8ff;
    border-radius: 18px;
    margin-top: 12px;
    padding: 14px;
}

html.mobile-app-mode .fly-to-cart-dot {
    align-items: center;
    background: var(--app-green);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 156, 59, .28);
    color: #fff;
    display: flex;
    height: 34px;
    justify-content: center;
    pointer-events: none;
    position: fixed;
    width: 34px;
    z-index: 11200;
}

html.mobile-app-mode .kds-late-badge {
    background: #ffe4e6;
    border-radius: 999px;
    color: #be123c;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    margin-left: 6px;
    padding: 4px 8px;
    vertical-align: middle;
}

html.mobile-app-mode .waiter-quick-search {
    margin-top: 10px;
}

html.mobile-app-mode .waiter-quick-search .input-group-text,
html.mobile-app-mode .waiter-quick-search .form-control {
    background: #f8fafc;
    border-color: #dce7f4;
    min-height: 48px;
}

html.mobile-app-mode .waiter-product-card[hidden] {
    display: none !important;
}

html.mobile-app-mode body.sales-screen {
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
}

html.mobile-app-mode body.sales-screen .sales-shell,
html.mobile-app-mode body.sales-screen .main-content,
html.mobile-app-mode body.sales-screen .sales-workspace {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

html.mobile-app-mode body.sales-screen .top-navbar {
    display: none !important;
}

html.mobile-app-mode body.sales-screen .sales-workspace {
    gap: 12px !important;
    padding: 12px 12px calc(120px + env(safe-area-inset-bottom)) !important;
}

html.mobile-app-mode body.sales-screen .sales-panel {
    border-radius: 20px !important;
    overflow: visible !important;
}

html.mobile-app-mode body.sales-screen .sales-panel .section-header {
    padding: 14px 14px 8px !important;
}

html.mobile-app-mode body.sales-screen .sales-panel .card-body {
    overflow: visible !important;
    padding: 12px !important;
}

html.mobile-app-mode body.sales-screen .sales-filters {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    margin: -2px -2px 12px;
    padding: 2px 0 8px;
    position: sticky;
    top: calc(env(safe-area-inset-top) + 62px);
    z-index: 8;
}

html.mobile-app-mode body.sales-screen.demo-account-active .sales-filters {
    top: calc(env(safe-area-inset-top) + 114px);
}

html.mobile-app-mode body.sales-screen .sales-filters .row {
    gap: 8px !important;
    margin: 0 !important;
}

html.mobile-app-mode body.sales-screen .sales-filters [class*="col-"] {
    padding: 0 !important;
    width: 100% !important;
}

html.mobile-app-mode body.sales-screen .sales-filters .form-label {
    font-size: .75rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
}

html.mobile-app-mode body.sales-screen .product-grid {
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 12px !important;
}

html.mobile-app-mode body.sales-screen .product-card {
    align-items: center;
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 92px !important;
    padding: 14px !important;
}

html.mobile-app-mode body.sales-screen .product-card::after {
    align-items: center;
    background: var(--app-green);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(0, 156, 59, .22);
    color: #fff;
    content: "+";
    display: flex;
    font-size: 1.65rem;
    font-weight: 900;
    height: 52px;
    justify-content: center;
    line-height: 1;
    width: 52px;
}

html.mobile-app-mode body.sales-screen .product-card > * {
    grid-column: 1;
}

html.mobile-app-mode body.sales-screen .product-card > div:first-child {
    align-items: flex-start !important;
}

html.mobile-app-mode body.sales-screen .cart-box {
    display: none !important;
}

body.mobile-app.sales-screen .cart-box {
    display: none !important;
}

html.mobile-app-mode body.sales-screen .mobile-floating-cart {
    bottom: calc(84px + env(safe-area-inset-bottom));
}

body.mobile-app.sales-screen .mobile-floating-cart {
    align-items: center;
    background: linear-gradient(135deg, #002776 0%, #053f9e 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    box-shadow: 0 18px 38px rgba(0, 39, 118, .32);
    color: #fff;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    left: 12px;
    min-height: 68px;
    opacity: 0;
    padding: 10px 12px;
    pointer-events: none;
    position: fixed;
    right: 12px;
    transform: translateY(120%);
    transition: opacity .22s ease, transform .24s cubic-bezier(.2, .9, .2, 1);
    z-index: 1038;
}

body.mobile-app.sales-screen .mobile-floating-cart.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

html.mobile-app-mode body.sales-screen.mobile-cart-has-items .mobile-network-chip {
    bottom: calc(164px + env(safe-area-inset-bottom));
}

body.mobile-app.sales-screen.mobile-cart-has-items .mobile-network-chip {
    bottom: calc(164px + env(safe-area-inset-bottom));
}

html.mobile-app-mode body.sales-screen.mobile-cart-has-items .mobile-toast-stack,
html.mobile-app-mode body.sales-screen.mobile-cart-has-items .mobile-sales-toast {
    bottom: calc(172px + env(safe-area-inset-bottom)) !important;
}

html.mobile-app-mode body.sales-screen #fullscreenToggle {
    display: none !important;
}

@keyframes mobileSheetIn {
    from {
        opacity: .78;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileSoftPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, .18);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(225, 29, 72, 0);
    }
}

@keyframes cartBump {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    45% {
        transform: translateY(-3px) scale(1.018);
    }
}
