/* PediVai - CSS Complementar ao Bootstrap 5 */
:root {
    --primary: #F5C518;
    --primary-dark: #D4A800;
    --primary-light: #FFD84D;
    --secondary: #1a1a1a;
    --dark: #2d2d2d;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f5f5f5;
    padding-bottom: 100px;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    max-width: 100vw;
}

a { text-decoration: none; }

/* Container limitado mobile */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
    width: 100%;
}

@media (min-width: 992px) {
    body[data-user-tipo="admin"],
    body[data-user-tipo="lojista"] {
        padding-bottom: 32px;
    }

    body[data-user-tipo="admin"] .app-container,
    body[data-user-tipo="lojista"] .app-container {
        max-width: 1180px;
        padding: 24px;
    }

    body[data-user-tipo="admin"] .navbar.sticky-top,
    body[data-user-tipo="lojista"] .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body[data-user-tipo="admin"] .navbar.sticky-top .container-fluid,
    body[data-user-tipo="admin"] .fixed-bottom .container-fluid,
    body[data-user-tipo="lojista"] .navbar.sticky-top .container-fluid,
    body[data-user-tipo="lojista"] .fixed-bottom .container-fluid {
        max-width: 1180px !important;
    }

    body[data-user-tipo="admin"] .fixed-bottom,
    body[data-user-tipo="lojista"] .fixed-bottom {
        bottom: auto !important;
        left: 0 !important;
        position: static !important;
        right: 0 !important;
        width: 100% !important;
        border-bottom: 1px solid #dee2e6;
        border-top: 0 !important;
        box-shadow: none !important;
    }

    body[data-user-tipo="admin"] .fixed-bottom .container-fluid,
    body[data-user-tipo="lojista"] .fixed-bottom .container-fluid {
        justify-content: flex-start !important;
        gap: 18px;
        padding: 8px 24px;
    }

    body[data-user-tipo="admin"] .fixed-bottom .nav-link,
    body[data-user-tipo="lojista"] .fixed-bottom .nav-link {
        align-items: center;
        display: flex;
        gap: 7px;
        padding: 6px 10px !important;
    }

    body[data-user-tipo="admin"] .fixed-bottom .nav-link i,
    body[data-user-tipo="lojista"] .fixed-bottom .nav-link i {
        display: inline-block !important;
        font-size: 1rem !important;
    }

    body[data-user-tipo="lojista"] .app-container > .row.g-2 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    body[data-user-tipo="lojista"] .app-container > .row.g-2:first-of-type > .col-6 {
        width: 25%;
    }

    body[data-user-tipo="lojista"] .app-container > .row.g-2:first-of-type > .col-4 {
        width: 16.66666667%;
    }

    body[data-user-tipo="lojista"] .app-container > .row.g-2:nth-of-type(2) > .col-7,
    body[data-user-tipo="lojista"] .app-container > .row.g-2:nth-of-type(2) > .col-5 {
        width: 50%;
    }

    body[data-user-tipo="lojista"] .pedido-card {
        margin-bottom: 14px;
    }

    body[data-user-tipo="lojista"] .app-bottom-nav {
        border-bottom: 1px solid #dee2e6;
        border-top: 0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
        bottom: auto !important;
        position: fixed !important;
        top: 56px;
        z-index: 1029 !important;
    }

    body[data-user-tipo="lojista"] .app-container {
        padding-top: 78px;
    }

    body[data-user-tipo="lojista"] .app-bottom-nav .app-bottom-nav-inner {
        justify-content: flex-start !important;
        gap: 18px;
        margin: 0 auto;
        max-width: 1180px !important;
        padding: 8px 24px;
    }

    body[data-user-tipo="lojista"] .app-bottom-nav .nav-link {
        align-items: center;
        border-radius: 8px;
        display: inline-flex;
        flex: 0 0 auto;
        gap: 7px;
        padding: 7px 10px !important;
        white-space: nowrap;
    }

    body[data-user-tipo="lojista"] .app-bottom-nav .nav-link i {
        display: inline-block !important;
        font-size: 1rem !important;
    }

    body[data-user-tipo="lojista"] .app-bottom-nav .nav-link small {
        font-size: .88rem;
    }

    body[data-user-tipo="admin"] .admin-dashboard > .row.g-2 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    body[data-user-tipo="admin"] .admin-dashboard > .row.g-2:first-of-type > .col-6 {
        width: 16.66666667%;
    }

    body[data-user-tipo="admin"] .admin-dashboard > .row.g-2:nth-of-type(2) > .col-6 {
        width: 16.66666667%;
    }

    body[data-user-tipo="admin"] .admin-dashboard .pedido-card {
        margin-bottom: 14px;
    }

    body[data-user-tipo="admin"] .admin-reports .categorias-scroll {
        overflow: visible;
    }

    body[data-user-tipo="admin"] .admin-reports .reports-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        margin-bottom: 1rem;
    }

    body[data-user-tipo="admin"] .admin-reports .reports-card {
        padding: 20px;
    }

    body[data-user-tipo="admin"] .admin-reports .reports-chart {
        height: 220px !important;
    }

    body[data-user-tipo="admin"] .admin-reports .reports-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    body[data-user-tipo="admin"] .admin-banners .admin-banners-grid {
        align-items: start;
        gap: 1rem;
        grid-template-columns: 360px minmax(0, 1fr);
    }

    body[data-user-tipo="admin"] .admin-banners .admin-banner-item img {
        max-height: 220px;
    }
}

/* Loja Card */
.loja-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    color: inherit;
}
.loja-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    color: inherit;
}
.loja-card img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: #eee;
}

.home-container {
    padding-top: 14px;
}

.home-hero {
    align-items: flex-end;
    background: linear-gradient(135deg, #1a1a1a 0%, #303030 58%, #d4a800 100%);
    border-radius: 18px;
    color: #fff;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 142px;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.home-hero::after {
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    content: '';
    height: 150px;
    position: absolute;
    right: -48px;
    top: -54px;
    width: 150px;
}

.home-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 6px 0;
}

.home-hero p {
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    line-height: 1.35;
    margin: 0;
    max-width: 360px;
}

.home-kicker {
    color: var(--primary-light);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-indicar-loja {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    color: #1a1a1a;
    display: flex;
    gap: 12px;
    padding: 12px 13px;
}

.home-indicar-loja:hover {
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.home-indicar-icon {
    align-items: center;
    background: #1f1f1f;
    border-radius: 12px;
    color: var(--primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.1rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.home-indicar-copy {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.home-indicar-copy strong,
.home-indicar-copy small {
    display: block;
    line-height: 1.25;
}

.home-indicar-copy strong {
    font-size: 0.92rem;
    margin-bottom: 3px;
}

.home-indicar-copy small {
    color: #6c757d;
    font-size: 0.74rem;
}

.home-indicar-action {
    align-items: center;
    background: var(--primary);
    border-radius: 999px;
    color: #1a1a1a;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 2px;
    padding: 7px 10px;
    white-space: nowrap;
}

.min-width-0 {
    min-width: 0;
}

.loja-page {
    padding-top: 14px;
}

.loja-profile {
    background: #1f1f1f;
    border-radius: 18px;
    color: #fff;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.loja-profile::after {
    background: rgba(245,197,24,0.18);
    border-radius: 50%;
    content: '';
    height: 160px;
    position: absolute;
    right: -56px;
    top: -64px;
    width: 160px;
}

.loja-profile-actions {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
}

.loja-profile-actions .btn {
    align-items: center;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.loja-profile-main {
    align-items: center;
    display: flex;
    gap: 14px;
    padding-right: 78px;
    position: relative;
    z-index: 1;
}

.loja-profile-logo {
    background: #fff;
    border: 3px solid rgba(255,255,255,0.28);
    border-radius: 16px;
    flex: 0 0 auto;
    height: 82px;
    object-fit: cover;
    width: 82px;
}

.loja-profile h1 {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.loja-profile p {
    color: rgba(255,255,255,0.72);
    font-size: 0.85rem;
    line-height: 1.35;
    margin: 7px 0 0;
}

.loja-profile-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.loja-profile-stats > div {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px;
}

.loja-profile-stats i {
    color: var(--primary);
    margin-right: 4px;
}

.loja-profile-stats strong {
    display: inline-block;
    font-size: 0.86rem;
}

.loja-profile-stats span {
    color: rgba(255,255,255,0.62);
    display: block;
    font-size: 0.68rem;
    margin-top: 2px;
}

.loja-info-line {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    color: #6c757d;
    font-size: 0.85rem;
    padding: 10px 12px;
}

.loja-section-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.loja-produto-card {
    align-items: stretch;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.loja-produto-card img {
    flex: 0 0 auto;
}

.loja-produto-placeholder {
    align-items: center;
    background: #f1f3f5;
    border-radius: 10px;
    color: #adb5bd;
    display: flex;
    flex: 0 0 auto;
    height: 80px;
    justify-content: center;
    width: 80px;
}

.loja-produto-nome {
    line-height: 1.22;
}

.cliente-pedidos-page {
    padding-top: 14px;
}

.cliente-pedidos-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.cliente-pedidos-header h1 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.cliente-pedido-stat {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 11px 8px;
    text-align: center;
}

.cliente-pedido-stat strong {
    color: #1a1a1a;
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.05;
}

.cliente-pedido-stat span {
    color: #6c757d;
    display: block;
    font-size: 0.7rem;
    margin-top: 4px;
}

.cliente-pedidos-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.cliente-pedido-card {
    border: 1px solid rgba(0,0,0,0.05);
    border-left-width: 4px;
}

.cliente-pedido-card.is-active {
    box-shadow: 0 6px 18px rgba(245,197,24,0.12);
}

.cliente-pedido-meta {
    align-items: center;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-top: 10px;
}

.cliente-pedido-meta span {
    color: #6c757d;
    font-size: 0.78rem;
}

.cliente-pedido-meta strong {
    color: var(--primary-dark);
    font-size: 0.95rem;
    white-space: nowrap;
}

.cliente-pedidos-empty {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
}

.cliente-pedido-page {
    padding-top: 14px;
}

.cliente-pedido-hero {
    background: #1f1f1f;
    border-radius: 18px;
    color: #fff;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.cliente-pedido-hero::after {
    background: rgba(245,197,24,0.16);
    border-radius: 50%;
    content: '';
    height: 150px;
    position: absolute;
    right: -54px;
    top: -58px;
    width: 150px;
}

.cliente-pedido-hero > * {
    position: relative;
    z-index: 1;
}

.cliente-pedido-kicker {
    color: var(--primary-light);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cliente-pedido-hero h1 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 4px 0;
}

.cliente-pedido-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    margin: 0;
}

.cliente-pedido-status-badge {
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.cliente-pedido-hero-meta {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.cliente-pedido-hero-meta > div {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px;
}

.cliente-pedido-hero-meta span {
    color: rgba(255,255,255,0.62);
    display: block;
    font-size: 0.68rem;
}

.cliente-pedido-hero-meta strong {
    display: block;
    font-size: 0.9rem;
    margin-top: 2px;
}

.cliente-pedido-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.cliente-pedido-actions {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 12px;
}

.cliente-perfil-page {
    padding-top: 14px;
}

.cliente-perfil-hero {
    align-items: center;
    background: #1f1f1f;
    border-radius: 18px;
    color: #fff;
    display: flex;
    gap: 14px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.cliente-perfil-hero::after {
    background: rgba(245,197,24,0.16);
    border-radius: 50%;
    content: '';
    height: 150px;
    position: absolute;
    right: -54px;
    top: -58px;
    width: 150px;
}

.cliente-perfil-hero > * {
    position: relative;
    z-index: 1;
}

.cliente-perfil-avatar {
    align-items: center;
    background: var(--primary);
    border-radius: 18px;
    color: #1a1a1a;
    display: flex;
    flex: 0 0 auto;
    font-size: 1.8rem;
    font-weight: 900;
    height: 72px;
    justify-content: center;
    width: 72px;
}

.cliente-perfil-hero h1 {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 4px 0;
}

.cliente-perfil-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.cliente-endereco-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.cliente-pontos-page {
    padding-top: 14px;
}

.cliente-pontos-hero {
    align-items: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 18px;
    color: #1a1a1a;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.cliente-pontos-hero::after {
    background: rgba(255,255,255,0.22);
    border-radius: 50%;
    content: '';
    height: 150px;
    position: absolute;
    right: -54px;
    top: -58px;
    width: 150px;
}

.cliente-pontos-hero > * {
    position: relative;
    z-index: 1;
}

.cliente-pontos-hero h1 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.05;
    margin: 4px 0;
}

.cliente-pontos-hero p {
    font-size: 0.88rem;
    margin: 0;
    opacity: 0.78;
}

.cliente-pontos-desconto {
    background: #fff;
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px 12px;
    white-space: nowrap;
}

.cliente-pontos-item {
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.cliente-simple-page {
    padding-top: 14px;
}

.cliente-simple-hero {
    background: #1f1f1f;
    border-radius: 18px;
    color: #fff;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.cliente-simple-hero::after {
    background: rgba(245,197,24,0.16);
    border-radius: 50%;
    content: '';
    height: 150px;
    position: absolute;
    right: -54px;
    top: -58px;
    width: 150px;
}

.cliente-simple-hero > * {
    position: relative;
    z-index: 1;
}

.cliente-simple-hero h1 {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.08;
    margin: 4px 0;
}

.cliente-simple-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    margin: 0;
}

.motoboy-page {
    padding-top: 14px;
}

.motoboy-hero {
    align-items: center;
    background: #202124;
    border: 1px solid rgba(245,197,24,0.28);
    border-radius: 16px;
    color: #fff;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 18px;
}

.motoboy-hero h1 {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.05;
    margin: 4px 0;
}

.motoboy-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    margin: 0;
}

.motoboy-status-btn {
    min-width: 92px;
}

.motoboy-summary-row {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.motoboy-stat-chip {
    background: #fff;
    border: 1px solid rgba(32,33,36,0.08);
    border-radius: 12px;
    padding: 10px 12px;
}

.motoboy-stat-chip span {
    color: #6c757d;
    display: block;
    font-size: 0.7rem;
}

.motoboy-stat-chip strong {
    color: #1a1a1a;
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
    margin-top: 2px;
}

.motoboy-active-card {
    background: #fff;
    border: 1px solid rgba(34,197,94,0.28) !important;
    border-left: 4px solid #22c55e !important;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
    padding: 14px;
}

.motoboy-active-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.motoboy-section-label {
    color: #6c757d;
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.motoboy-active-head h2 {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 2px 0;
}

.motoboy-active-head p {
    color: #6c757d;
    font-size: 0.82rem;
    margin: 0;
}

.motoboy-primary-action {
    margin: 14px 0 10px;
}

.motoboy-primary-action .btn {
    min-height: 46px;
}

.motoboy-action-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    margin-bottom: 12px;
}

.motoboy-action-grid .btn {
    align-items: center;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding-left: 8px;
    padding-right: 8px;
}

.motoboy-route-box {
    background: #f8f9fa;
    border: 1px solid rgba(32,33,36,0.08);
    border-radius: 12px;
    display: grid;
    gap: 10px;
    padding: 10px;
}

.motoboy-route-point {
    align-items: flex-start;
    display: grid;
    gap: 8px;
    grid-template-columns: 12px minmax(0, 1fr);
}

.motoboy-route-point strong {
    color: #111827;
    display: block;
    font-size: 0.84rem;
    line-height: 1.2;
}

.motoboy-route-point span:not(.motoboy-dot) {
    color: #6c757d;
    display: block;
    font-size: 0.74rem;
    line-height: 1.25;
}

.motoboy-dot {
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
    height: 12px;
    margin-top: 2px;
    width: 12px;
}

.motoboy-dot-store {
    background: #f5c518;
}

.motoboy-dot-client {
    background: #22c55e;
}

.motoboy-details {
    border-top: 1px solid rgba(32,33,36,0.08);
    margin-top: 12px;
    padding-top: 10px;
}

.motoboy-details summary {
    color: #111827;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    list-style: none;
}

.motoboy-details summary::-webkit-details-marker {
    display: none;
}

.motoboy-details-body {
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 8px;
    padding: 10px;
}

.motoboy-pay-row {
    align-items: center;
    border-top: 1px solid rgba(32,33,36,0.08);
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
}

.motoboy-map-card #motoboy-mapa-entrega {
    border: 1px solid #ddd;
    border-radius: 12px;
    height: 230px;
    overflow: hidden;
}

.motoboy-delivery-card {
    background: #fff;
    border: 1px solid rgba(245,197,24,0.45);
    border-left: 4px solid #ffc107;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    margin-bottom: 10px;
    padding: 12px;
}

.motoboy-delivery-footer {
    align-items: center;
    border-top: 1px solid rgba(32,33,36,0.08);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-top: 10px;
}

.min-w-0 {
    min-width: 0;
}

.motoboy-history-total {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(245,197,24,0.45);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.07);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 16px;
}

.motoboy-history-total span,
.motoboy-history-total small {
    color: #6c757d;
    display: block;
    font-size: 0.75rem;
}

.motoboy-history-total strong {
    color: #111827;
    display: block;
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.08;
    margin: 4px 0;
}

.motoboy-history-total-icon {
    align-items: center;
    background: #fff7d6;
    border-radius: 14px;
    color: #111827;
    display: flex;
    flex: 0 0 52px;
    font-size: 1.5rem;
    height: 52px;
    justify-content: center;
}

.motoboy-stat-chip small {
    color: #6c757d;
    display: block;
    font-size: 0.68rem;
    line-height: 1.15;
    margin-top: 3px;
}

.motoboy-history-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.motoboy-history-card {
    background: #fff;
    border: 1px solid rgba(32,33,36,0.08);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.05);
    padding: 14px;
}

.motoboy-chart {
    align-items: flex-end;
    display: flex;
    gap: 7px;
    height: 132px;
    padding-top: 18px;
}

.motoboy-chart-day {
    align-items: center;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    min-width: 0;
}

.motoboy-chart-value {
    color: #6c757d;
    font-size: 0.56rem;
    font-weight: 700;
    margin-bottom: 3px;
    white-space: nowrap;
}

.motoboy-chart-bar {
    background: #eceff3;
    border-radius: 7px 7px 0 0;
    max-width: 38px;
    min-height: 6px;
    position: relative;
    width: 100%;
}

.motoboy-chart-bar.has-value {
    background: #5b6577;
}

.motoboy-chart-day.is-today .motoboy-chart-bar {
    background: var(--primary);
}

.motoboy-chart-day.is-today .motoboy-chart-label,
.motoboy-chart-day.is-today .motoboy-chart-value {
    color: var(--primary-dark);
    font-weight: 900;
}

.motoboy-chart-count {
    color: #6c757d;
    font-size: 0.52rem;
    font-weight: 800;
    position: absolute;
    text-align: center;
    top: -15px;
    width: 100%;
}

.motoboy-chart-label {
    color: #6c757d;
    font-size: 0.68rem;
    margin-top: 5px;
}

.motoboy-period-tabs {
    background: #f8f9fa;
    border: 1px solid rgba(32,33,36,0.08);
    border-radius: 12px;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 4px;
}

.motoboy-period-tabs a {
    border-radius: 9px;
    color: #6c757d;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 8px 4px;
    text-align: center;
    text-decoration: none;
}

.motoboy-period-tabs a.active {
    background: var(--primary);
    color: #111827;
}

.motoboy-date-label {
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 900;
    margin: 14px 0 8px;
    text-transform: uppercase;
}

.motoboy-history-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(32,33,36,0.08);
    border-radius: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    margin-bottom: 8px;
    padding: 10px;
}

.motoboy-history-status {
    align-items: center;
    background: #dcfce7;
    border-radius: 999px;
    color: #15803d;
    display: flex;
    font-size: 1rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.motoboy-history-item-head {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.motoboy-history-item-head strong {
    color: #111827;
    font-size: 0.86rem;
}

.motoboy-history-item-head span {
    color: #15803d;
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.motoboy-history-route {
    color: #4b5563;
    font-size: 0.78rem;
    margin-top: 2px;
}

.motoboy-history-meta {
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.68rem;
    gap: 10px;
    margin-top: 4px;
}

.motoboy-profile-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(245,197,24,0.45);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.07);
    display: grid;
    gap: 12px;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 14px;
}

.motoboy-profile-avatar {
    align-items: center;
    background: #fff7d6;
    border-radius: 16px;
    color: #111827;
    display: flex;
    font-size: 1.6rem;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.motoboy-profile-card span,
.motoboy-profile-card small {
    color: #6c757d;
    display: block;
    font-size: 0.75rem;
}

.motoboy-profile-card strong {
    color: #111827;
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.motoboy-profile-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.motoboy-profile-action {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(32,33,36,0.08);
    border-radius: 12px;
    color: #111827;
    display: flex;
    flex-direction: column;
    font-size: 0.74rem;
    font-weight: 800;
    gap: 5px;
    justify-content: center;
    min-height: 70px;
    padding: 10px 6px;
    text-align: center;
    text-decoration: none;
}

.motoboy-profile-action i {
    font-size: 1.25rem;
}

.motoboy-profile-title {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
}

.motoboy-profile-tool {
    border-top: 1px solid rgba(32,33,36,0.08);
    padding: 10px 0;
}

.motoboy-profile-tool:first-of-type {
    border-top: 0;
    padding-top: 2px;
}

.motoboy-profile-tool:last-child {
    padding-bottom: 0;
}

.motoboy-profile-tool summary {
    align-items: center;
    color: #111827;
    cursor: pointer;
    display: flex;
    font-size: 0.9rem;
    font-weight: 900;
    justify-content: space-between;
    list-style: none;
}

.motoboy-profile-tool summary::-webkit-details-marker {
    display: none;
}

.motoboy-profile-tool summary > i {
    color: #6c757d;
    transition: transform .18s ease;
}

.motoboy-profile-tool[open] summary > i {
    transform: rotate(180deg);
}

.motoboy-profile-tool-body {
    background: #f8f9fa;
    border: 1px solid rgba(32,33,36,0.06);
    border-radius: 12px;
    margin-top: 10px;
    padding: 10px;
}

.motoboy-profile-map {
    border: 1px solid #ddd;
    border-radius: 12px;
    height: 240px;
    overflow: hidden;
}

@media (max-width: 420px) {
    .motoboy-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .motoboy-status-btn {
        width: 100%;
    }

    .motoboy-hero form {
        width: 100%;
    }

    .motoboy-delivery-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .motoboy-delivery-footer .d-flex {
        width: 100%;
    }

    .motoboy-delivery-footer form,
    .motoboy-delivery-footer button {
        flex: 1 1 0;
    }

    .motoboy-profile-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lojista-reports-page {
    padding-top: 14px;
}

.lojista-reports-hero {
    align-items: center;
    background: linear-gradient(135deg, #202124, #343a40);
    border-radius: 20px;
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 20px;
}

.lojista-reports-hero span {
    color: #f5c518;
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lojista-reports-hero h1 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 4px 0 6px;
}

.lojista-reports-hero p {
    color: rgba(255,255,255,0.76);
    font-size: 0.88rem;
    margin: 0;
}

.lojista-reports-hero-icon {
    align-items: center;
    background: rgba(245,197,24,0.16);
    border-radius: 18px;
    color: #f5c518;
    display: flex;
    flex: 0 0 58px;
    font-size: 1.8rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.lojista-reports-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lojista-report-stat {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 14px;
}

.lojista-report-stat.is-primary {
    grid-column: 1 / -1;
}

.lojista-report-stat small {
    color: #6c757d;
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.lojista-report-stat strong {
    color: #202124;
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
    margin-top: 4px;
}

.lojista-report-stat span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 4px;
}

.lojista-reports-grid {
    display: grid;
    gap: 12px;
}

.lojista-report-card h2 {
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.lojista-report-empty {
    color: #6c757d;
    font-size: 0.85rem;
    padding: 26px 0;
    text-align: center;
}

.lojista-sales-chart {
    align-items: flex-end;
    display: flex;
    gap: 4px;
    height: 180px;
    overflow-x: auto;
    padding-top: 14px;
}

.lojista-sales-day {
    align-items: center;
    display: flex;
    flex: 1 0 18px;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    min-width: 18px;
}

.lojista-sales-value {
    color: #6c757d;
    font-size: 0.58rem;
    margin-bottom: 4px;
    white-space: nowrap;
}

.lojista-sales-bar {
    background: #e8eaed;
    border-radius: 8px 8px 0 0;
    display: block;
    max-width: 34px;
    min-height: 4px;
    width: 70%;
}

.lojista-sales-bar.has-sales {
    background: #5b6ee1;
}

.lojista-sales-bar.is-today {
    background: var(--primary);
}

.lojista-sales-day small {
    color: #8a8f98;
    font-size: 0.58rem;
    margin-top: 5px;
    min-height: 12px;
}

.lojista-ranking {
    display: grid;
    gap: 12px;
}

.lojista-ranking-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.lojista-ranking-row strong {
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lojista-ranking-row small {
    color: #202124;
    font-weight: 800;
    white-space: nowrap;
}

.lojista-ranking-pos {
    align-items: center;
    background: #6c757d;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.lojista-ranking-pos.is-top {
    background: var(--primary);
    color: #202124;
}

.lojista-mini-progress {
    background: #f1f3f5;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

.lojista-mini-progress span {
    background: var(--primary);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.lojista-payment-donut {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 116px;
    justify-content: center;
    margin: 4px auto 16px;
    width: 116px;
}

.lojista-payment-donut span {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    display: flex;
    font-weight: 800;
    height: 70px;
    justify-content: center;
    width: 70px;
}

.lojista-payment-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-top: 8px;
}

.lojista-payment-row > span {
    border-radius: 999px;
    display: block;
    height: 10px;
    width: 10px;
}

.lojista-payment-row strong {
    font-size: 0.82rem;
}

.lojista-payment-row small {
    color: #6c757d;
    font-weight: 800;
}

.lojista-hours-list {
    display: grid;
    gap: 8px;
}

.lojista-hours-list > div {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
}

.lojista-hours-list span,
.lojista-hours-list small {
    color: #6c757d;
    font-size: 0.72rem;
}

.lojista-hours-list div div {
    background: #f1f3f5;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.lojista-hours-list strong {
    background: var(--primary);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.lojista-loyalty-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
}

.lojista-loyalty-grid strong {
    color: #202124;
    display: block;
    font-size: 1.3rem;
}

.lojista-loyalty-grid span {
    color: #6c757d;
    display: block;
    font-size: 0.68rem;
}

.lojista-loyalty-bar {
    background: #f1f3f5;
    border-radius: 999px;
    height: 10px;
    margin-top: 14px;
    overflow: hidden;
}

.lojista-loyalty-bar span {
    background: linear-gradient(90deg, #22c55e, #f5c518);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.lojista-form-page {
    padding-top: 14px;
}

.lojista-form-hero {
    align-items: center;
    background: linear-gradient(135deg, #202124, #343a40);
    border-radius: 20px;
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 20px;
}

.lojista-form-hero span {
    color: #f5c518;
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lojista-form-hero h1 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 4px 0 6px;
}

.lojista-form-hero p {
    color: rgba(255,255,255,0.76);
    font-size: 0.88rem;
    margin: 0;
}

.lojista-form-hero-icon {
    align-items: center;
    background: rgba(245,197,24,0.16);
    border-radius: 18px;
    color: #f5c518;
    display: flex;
    flex: 0 0 58px;
    font-size: 1.8rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.lojista-form-grid {
    display: grid;
    gap: 14px;
}

.lojista-form-side {
    align-self: start;
}

.lojista-pix-preview {
    align-items: center;
    background: #fff8e1;
    border: 1px solid rgba(245,197,24,0.35);
    border-radius: 18px;
    color: #202124;
    display: flex;
    font-size: 3rem;
    height: 170px;
    justify-content: center;
}

.lojista-muted-box {
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 12px;
}

.lojista-product-edit-thumb {
    border-radius: 10px;
    display: block;
    height: 80px;
    margin-bottom: 8px;
    object-fit: cover;
    width: 80px;
}

.lojista-product-edit-preview {
    align-items: center;
    background: #f3f4f6;
    border-radius: 18px;
    color: #adb5bd;
    display: flex;
    font-size: 2.4rem;
    height: 210px;
    justify-content: center;
    overflow: hidden;
}

.lojista-product-edit-preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lojista-store-create-grid {
    display: grid;
    gap: 14px;
}

.lojista-store-create-icon {
    align-items: center;
    background: #fff8e1;
    border: 1px solid rgba(245,197,24,0.35);
    border-radius: 18px;
    color: #202124;
    display: flex;
    font-size: 2.6rem;
    height: 150px;
    justify-content: center;
}

.lojista-store-checklist {
    display: grid;
    gap: 9px;
}

.lojista-store-actions {
    display: flex;
}

.lojista-store-actions .btn {
    width: 100%;
}

.admin-list-page {
    padding-top: 14px;
}

.admin-hero {
    align-items: center;
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 20px;
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    overflow: hidden;
    padding: 20px;
}

.admin-hero h1 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 4px 0 6px;
}

.admin-hero p {
    color: rgba(255,255,255,0.76);
    font-size: 0.88rem;
    margin: 0;
    max-width: 720px;
}

.admin-hero-kicker {
    color: #facc15;
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-hero-icon {
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 18px;
    display: flex;
    flex: 0 0 58px;
    font-size: 1.8rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.admin-filter-card {
    background: #fff8e1;
}

.admin-info-card {
    background: #eef7ff;
}

.admin-stat-strip {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-stat-strip > div {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 14px;
    padding: 12px;
}

.admin-stat-strip span {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
}

.admin-stat-strip small {
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-list-grid {
    display: grid;
    gap: 12px;
}

.admin-store-logo {
    background: #f1f3f5;
    border-radius: 14px;
    flex: 0 0 auto;
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.admin-store-logo-empty {
    align-items: center;
    color: #adb5bd;
    display: flex;
    justify-content: center;
}

.admin-product-row {
    align-items: center;
    display: flex;
    gap: 12px;
}

.admin-product-row.is-inactive {
    opacity: 0.55;
}

.admin-product-actions {
    flex: 0 0 auto;
}

.admin-edit-grid {
    display: grid;
    gap: 14px;
}

.admin-edit-full {
    grid-column: 1 / -1;
}

.admin-product-preview {
    align-items: center;
    background: #f3f4f6;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    min-height: 190px;
    overflow: hidden;
}

.admin-product-preview img {
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    width: 100%;
}

.admin-product-preview > div {
    align-items: center;
    color: #adb5bd;
    display: flex;
    font-size: 2rem;
    justify-content: center;
    min-height: 190px;
}

.admin-addons-grid {
    display: grid;
    gap: 8px;
}

.admin-addon-check {
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    margin: 0;
    padding: 10px 12px 10px 36px;
}

@media (max-width: 575.98px) {
    .admin-product-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-product-row > .flex-grow-1 {
        min-width: calc(100% - 66px);
    }

    .admin-product-actions {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }
}

/* Produto Card */
.produto-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    align-items: center;
}
.produto-card img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    background: #eee;
}

/* Pedido Card */
.pedido-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.15s;
    color: inherit;
}
.pedido-card:hover { transform: translateY(-1px); color: inherit; }

.pedido-ajuste-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.pedido-ajuste-row input[type="number"] {
    max-width: 110px;
}

.pedido-troca-row,
.pedido-add-row {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 96px auto;
}

@media (max-width: 575.98px) {
    .pedido-troca-row,
    .pedido-add-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Status Steps */
.status-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 20px 0;
}
.status-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: #e9ecef;
    z-index: 0;
}
.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}
.status-step .step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-bottom: 6px;
    font-weight: 600;
}
.status-step.active .step-dot { background: var(--primary); color: #1a1a1a; }
.status-step.done .step-dot { background: #198754; color: #fff; }
.status-step .step-label { font-size: 0.6rem; color: #6c757d; text-align: center; }

/* Categorias scroll */
.cat-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: sticky;
    background: #fff;
    z-index: 100;
}
.cat-scroll::-webkit-scrollbar { display: none; }
[id^="cat"]:not(#catTabs) { scroll-margin-top: 120px; }
.cat-chip {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #fff;
    border: 2px solid #dee2e6;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}
.cat-chip:hover, .cat-chip.active {
    background: var(--primary);
    color: #1a1a1a;
    border-color: var(--primary);
}

/* Stat Cards */
.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.stat-card .stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-card .stat-label {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.categorias-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: none;
}
.categorias-scroll::-webkit-scrollbar { display: none; }

.reports-card {
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 12px;
    padding: 16px;
}

.reports-list-grid {
    display: grid;
    gap: 12px;
}

.admin-banners-grid {
    display: grid;
    gap: 14px;
}

.admin-banner-item img {
    border-radius: 10px;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.admin-banner-item.is-inactive {
    opacity: 0.62;
}

/* Hero / Landing */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 48px 20px;
    text-align: center;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Tipo selector */
.tipo-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.tipo-option {
    padding: 14px 8px;
    border: 2px solid #dee2e6;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.82rem;
    font-weight: 500;
    color: #495057;
    background: #fff;
}
.tipo-option.active {
    border-color: var(--primary);
    background: #fffbe6;
    color: #1a1a1a;
}
.tipo-option i { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* Cart float */
.cart-float {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: var(--primary);
    padding: 12px 16px;
    border: 2px solid var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.28);
    z-index: 1020;
    cursor: pointer;
    max-width: 500px;
    width: calc(100% - 32px);
    justify-content: space-between;
}

.cart-float > div,
.cart-float > span {
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.cart-float > strong {
    align-items: center;
    background: var(--primary);
    border-radius: 10px;
    color: #111827;
    display: inline-flex;
    flex: 1;
    font-size: 0.9rem;
    justify-content: center;
    line-height: 1.1;
    min-height: 38px;
    padding: 8px 10px;
    text-align: center;
}

@media (max-width: 360px) {
    .cart-float {
        gap: 6px;
        padding: 10px;
    }
    .cart-float > div,
    .cart-float > span {
        font-size: 0.7rem;
    }
    .cart-float > strong {
        font-size: 0.8rem;
        padding: 8px 6px;
    }
}

/* Modal bottom sheet */
.modal-dialog-end {
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    margin: 0;
}
.modal-dialog-end .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}
.modal-handle {
    width: 40px;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
    margin: 0 auto 16px;
}

.cart-modal-content {
    border: 0;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow: hidden;
}

#cartModal .cart-modal-content {
    border: 0 !important;
}

.cart-modal-body {
    max-height: 92vh;
    overflow-y: auto;
    padding: 14px;
}

.cart-modal-title-row {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cart-section {
    border-bottom: 1px solid #edf0f2;
    padding: 12px 0;
}

.cart-section:first-of-type {
    padding-top: 4px;
}

.cart-section-head {
    align-items: center;
    color: #1f2933;
    display: flex;
    font-size: 0.88rem;
    font-weight: 800;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cart-section-head small {
    color: #73808c;
    font-size: 0.72rem;
    font-weight: 600;
}

.cart-item-row {
    align-items: center;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 0;
}

.cart-item-row:last-child {
    border-bottom: 0;
}

.cart-item-main {
    flex: 1;
    min-width: 0;
}

.cart-item-side {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 108px;
}

.cart-item-side strong {
    color: #111827;
    font-size: 0.9rem;
}

.cart-payment-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cart-payment-btn {
    align-items: center;
    background: #fff;
    border: 2px solid #F5C518;
    border-radius: 8px;
    color: #29323c;
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 4px;
    min-height: 64px;
    padding: 8px 6px;
}

.cart-payment-btn i {
    font-size: 1.15rem;
}

.cart-payment-btn.active {
    background: #fff8df;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
    color: #111827;
}

.cart-summary-section {
    background: #f8f9fa;
    border: 0;
    border-radius: 8px;
    margin-top: 12px;
    padding: 12px;
}

.cart-submit-bar {
    align-items: center;
    background: #fff;
    border: 2px solid #F5C518;
    border-radius: 12px;
    bottom: 0;
    box-shadow: 0 -8px 20px rgba(17, 24, 39, 0.08);
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    left: 0;
    margin: 0 0 8px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    position: sticky;
    right: 0;
    z-index: 2;
}

.cart-submit-bar span {
    color: #6b7280;
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
}

.cart-submit-bar strong {
    color: #111827;
    display: block;
    font-size: 1.06rem;
    line-height: 1.1;
    white-space: nowrap;
}

.cart-submit-bar .btn {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 800;
    min-height: 46px;
    white-space: normal;
}

.cart-submit-bar .btn-finalizar-default {
    color: #111827;
    font-size: 0.98rem;
    font-weight: 900;
}

.cart-submit-bar .btn:disabled {
    background: #e9ecef;
    border-color: #e9ecef;
    color: #6c757d;
    opacity: 1;
}

.cart-submit-bar-closed {
    display: block;
    text-align: center;
}

/* Toggle */
.form-switch .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Stars rating */
.star-rating i {
    font-size: 2.2rem;
    cursor: pointer;
    color: #dee2e6;
    transition: color 0.15s;
}
.star-rating i.active { color: var(--primary); }

/* Qty control */
.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.qty-control .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons PediVai */
.btn-pedivai {
    background: var(--primary);
    color: #1a1a1a;
    font-weight: 600;
    border: none;
}
.btn-pedivai:hover {
    background: var(--primary-dark);
    color: #1a1a1a;
}
.btn-pedivai-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
}
.btn-pedivai-outline:hover {
    background: var(--primary);
    color: #1a1a1a;
}
.btn-pedivai-dark {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    border: none;
}
.btn-pedivai-dark:hover {
    background: #333;
    color: var(--primary);
}

/* Search */
.search-input {
    border-radius: 25px;
    padding-left: 44px;
    border: 2px solid #dee2e6;
    height: 48px;
}
.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(245, 197, 24, 0.25);
}
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

@media (min-width: 992px) {
    body[data-user-tipo=""] {
        padding-bottom: 40px;
    }

    .home-container {
        max-width: 1120px;
        padding: 24px;
    }

    .home-public-navbar .container-fluid {
        max-width: 1120px !important;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-container .carousel-inner img {
        height: 220px !important;
    }

    .home-container .loja-card {
        border: 1px solid rgba(0,0,0,0.04);
        padding: 16px;
    }

    .home-container > .loja-card,
    .home-container > .home-indicar-loja,
    .home-container > h5,
    .home-container > h6,
    .home-container > .alert,
    .home-container > .text-center {
        max-width: 760px;
    }

    .home-container > .loja-card {
        margin-left: 0;
    }

    .loja-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-cliente-loja .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-cliente-loja .navbar.sticky-top .container-fluid,
    body.page-cliente-loja .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-cliente-loja .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .loja-profile {
        border-radius: 20px;
        padding: 24px;
    }

    .loja-profile-main {
        padding-right: 96px;
    }

    .loja-profile-logo {
        height: 104px;
        width: 104px;
    }

    .loja-profile h1 {
        font-size: 2rem;
    }

    .loja-profile p {
        max-width: 640px;
    }

    .loja-profile-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .loja-content-grid {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .loja-content-grid-full {
        grid-template-columns: minmax(0, 780px);
    }

    .loja-menu-panel {
        min-width: 0;
    }

    .loja-reviews-panel {
        position: sticky;
        top: 76px;
    }

    .loja-produto-card {
        margin-bottom: 14px;
    }

    .cliente-pedidos-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-cliente-pedidos .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-cliente-pedidos .navbar.sticky-top .container-fluid,
    body.page-cliente-pedidos .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-cliente-pedidos .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .cliente-pedidos-grid {
        display: grid;
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cliente-pedidos-stats {
        max-width: 760px;
    }

    .cliente-pedido-card {
        margin-bottom: 0;
    }

    .cliente-pedido-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-cliente-pedido .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-cliente-pedido .navbar.sticky-top .container-fluid,
    body.page-cliente-pedido .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-cliente-pedido .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .cliente-pedido-grid {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .cliente-pedido-side {
        position: sticky;
        top: 76px;
    }

    .cliente-pedido-hero {
        border-radius: 20px;
        padding: 24px;
    }

    .cliente-pedido-hero h1 {
        font-size: 2rem;
    }

    .cliente-pedido-hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cliente-perfil-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-cliente-perfil .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-cliente-perfil .navbar.sticky-top .container-fluid,
    body.page-cliente-perfil .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-cliente-perfil .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .cliente-perfil-grid {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1fr) 420px;
    }

    .cliente-perfil-side {
        position: sticky;
        top: 76px;
    }

    .cliente-perfil-hero {
        border-radius: 20px;
        padding: 24px;
    }

    .cliente-perfil-avatar {
        height: 92px;
        width: 92px;
    }

    .cliente-perfil-hero h1 {
        font-size: 2rem;
    }

    .cliente-perfil-stats {
        max-width: 760px;
    }

    .cliente-pontos-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-cliente-pontos .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-cliente-pontos .navbar.sticky-top .container-fluid,
    body.page-cliente-pontos .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-cliente-pontos .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .cliente-pontos-grid {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .cliente-pontos-side {
        position: sticky;
        top: 76px;
    }

    .cliente-pontos-hero {
        border-radius: 20px;
        padding: 24px;
    }

    .cliente-pontos-hero h1 {
        font-size: 2.4rem;
    }

    .cliente-simple-page {
        max-width: 720px;
        padding: 24px;
    }

    body.page-cliente-simple .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-cliente-simple .navbar.sticky-top .container-fluid,
    body.page-cliente-simple .app-bottom-nav .app-bottom-nav-inner {
        max-width: 720px !important;
    }

    body.page-cliente-simple .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .cliente-simple-hero {
        border-radius: 20px;
        padding: 24px;
    }

    .cliente-simple-hero h1 {
        font-size: 2rem;
    }

    .motoboy-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-motoboy-home .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-motoboy .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-motoboy-home .navbar.sticky-top .container-fluid,
    body.page-motoboy-home .app-bottom-nav .app-bottom-nav-inner,
    body.page-motoboy .navbar.sticky-top .container-fluid,
    body.page-motoboy .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-motoboy-home .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    body.page-motoboy .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .motoboy-hero {
        border-radius: 20px;
        padding: 24px;
    }

    .motoboy-hero h1 {
        font-size: 2rem;
    }

    .motoboy-entregas-disponiveis {
        max-width: 820px;
    }

    .motoboy-profile-page {
        max-width: 720px;
    }

    .lojista-reports-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-lojista-reports .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-lojista-reports .navbar.sticky-top .container-fluid,
    body.page-lojista-reports .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-lojista-reports .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .lojista-reports-stats {
        grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    }

    .lojista-report-stat.is-primary {
        grid-column: auto;
    }

    .lojista-reports-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    }

    .lojista-report-main {
        grid-column: 1 / -1;
    }

    .lojista-form-page {
        max-width: 960px;
        padding: 24px;
    }

    body.page-lojista-form .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-lojista-form .navbar.sticky-top .container-fluid,
    body.page-lojista-form .app-bottom-nav .app-bottom-nav-inner {
        max-width: 960px !important;
    }

    body.page-lojista-form .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .lojista-form-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
    }

    .lojista-store-create-page {
        max-width: 1180px;
    }

    body.page-lojista-store-create .navbar.sticky-top .container-fluid,
    body.page-lojista-store-create .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    .lojista-store-create-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    }

    .lojista-store-map-card,
    .lojista-store-actions {
        grid-column: 1 / -1;
    }

    .lojista-store-actions {
        justify-content: flex-end;
    }

    .lojista-store-actions .btn {
        max-width: 280px;
    }

    .admin-monitor-page {
        max-width: 1180px;
        padding: 24px;
    }

    .admin-list-page {
        max-width: 1180px;
        padding: 24px;
    }

    body.page-admin-monitor .navbar.sticky-top,
    body.page-admin-list .navbar.sticky-top {
        left: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        right: 0 !important;
        width: 100% !important;
    }

    body.page-admin-monitor .navbar.sticky-top .container-fluid,
    body.page-admin-monitor .app-bottom-nav .app-bottom-nav-inner,
    body.page-admin-list .navbar.sticky-top .container-fluid,
    body.page-admin-list .app-bottom-nav .app-bottom-nav-inner {
        max-width: 1180px !important;
    }

    body.page-admin-monitor .app-bottom-nav,
    body.page-admin-list .app-bottom-nav {
        left: 0 !important;
        max-width: none !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .admin-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stat-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-edit-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    }

    .admin-addons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Chart bars */
.chart-bar {
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: height 0.3s;
}

/* Footer Facilita */
.facilita-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    font-size: 0.7rem;
}
.fixed-bottom {
    bottom: 28px !important;
}

/* Login/Registro dentro do frame mobile */
.login-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px;
}
.login-wrapper:focus-within {
    align-items: flex-start;
    padding-top: 24px;
}

/* Print */
@media print {
    .navbar, .fixed-bottom, .btn, .no-print, .facilita-footer { display: none !important; }
    body { padding: 0; background: #fff; }
}

/* Desktop: simula tela de celular */
@media (min-width: 576px) {
    body {
        background: #e8e8e8;
    }
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 480px;
        height: 100%;
        background: #f5f5f5;
        z-index: -1;
        box-shadow: 0 0 40px rgba(0,0,0,0.15);
    }
    .navbar.sticky-top {
        max-width: 480px;
        left: 50% !important;
        transform: translateX(-50%);
        border-radius: 0 0 14px 14px;
    }
    .fixed-bottom {
        max-width: 480px;
        left: 50% !important;
        transform: translateX(-50%);
        border-radius: 14px 14px 0 0;
    }
    footer {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-section {
        max-width: 480px;
        margin: 0 auto;
    }
    .cart-float {
        max-width: 440px;
    }
    .modal-sheet .modal-dialog {
        max-width: 480px;
    }
    .facilita-footer {
        max-width: 480px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
    .login-wrapper {
        max-width: 480px;
        margin: 0 auto;
        min-height: 100vh;
        min-height: 100dvh;
    }
}

@media (min-width: 992px) {
    body[data-user-tipo="admin"],
    body[data-user-tipo="lojista"] {
        background:#f5f5f5;
    }

    body[data-user-tipo="admin"]::before,
    body[data-user-tipo="lojista"]::before {
        display:none;
    }

    body[data-user-tipo="admin"] .navbar.sticky-top,
    body[data-user-tipo="lojista"] .navbar.sticky-top {
        border-radius:0 !important;
        left:0 !important;
        margin:0 !important;
        max-width:none !important;
        right:0 !important;
        transform:none !important;
        width:100% !important;
    }

    body[data-user-tipo="admin"] .fixed-bottom,
    body[data-user-tipo="lojista"] .fixed-bottom {
        border-radius:0 !important;
        left:0 !important;
        max-width:none !important;
        position:static !important;
        right:0 !important;
        transform:none !important;
        width:100% !important;
    }

    body[data-user-tipo="lojista"] .app-bottom-nav {
        bottom:auto !important;
        position:fixed !important;
        top:56px;
        z-index:1029 !important;
    }

    body[data-user-tipo="lojista"] .app-bottom-nav .app-bottom-nav-inner {
        justify-content:flex-start !important;
    }

    body[data-user-tipo="admin"] .facilita-footer,
    body[data-user-tipo="lojista"] .facilita-footer {
        left:0 !important;
        margin:0;
        max-width:none;
        position:static;
        right:0 !important;
        transform:none !important;
    }
}

.ajax-toast {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 2000;
    max-width: min(360px, calc(100vw - 32px));
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ajax-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.pedido-timeline-mini {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.pedido-timeline-step {
    min-width: 0;
    position: relative;
    text-align: center;
}

.pedido-timeline-step::before {
    background: #e5e7eb;
    content: "";
    height: 2px;
    left: -50%;
    position: absolute;
    right: 50%;
    top: 11px;
    z-index: 0;
}

.pedido-timeline-step:first-child::before {
    display: none;
}

.pedido-timeline-step.done::before,
.pedido-timeline-step.active::before {
    background: var(--primary);
}

.pedido-timeline-dot {
    align-items: center;
    background: #e5e7eb;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #6b7280;
    display: inline-flex;
    font-size: 0.62rem;
    height: 22px;
    justify-content: center;
    position: relative;
    width: 22px;
    z-index: 1;
}

.pedido-timeline-step.done .pedido-timeline-dot {
    background: var(--primary);
    color: #1a1a1a;
}

.pedido-timeline-step.active .pedido-timeline-dot {
    background: #111827;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.22);
}

.pedido-timeline-label {
    color: #6b7280;
    display: block;
    font-size: 0.52rem;
    line-height: 1.05;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pedido-timeline-step.active .pedido-timeline-label {
    color: #111827;
    font-weight: 700;
}

/* Print */
@media print {
    .navbar, .fixed-bottom, .btn, .no-print, footer { display: none !important; }
    body { padding: 0; background: #fff; }
    body::before { display: none; }
}

/* Bloco GPU "anti-flicker" (will-change/translateZ/contain) removido: nao ajudava e
   na pratica so atrapalhava. O pisca era causado por restyle/reflow na navegacao SPA
   (body.className no mobile + rebinds sincronos), corrigido no app.js. */

