/* Catálogo digital — vitrine + checkout */
.ecom-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(var(--tema-sec-rgb, 43, 92, 146), 0.16);
}
.ecom-hero h2 {
    margin: 4px 0 6px;
    color: var(--azul-marca, #0b1c35);
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}
.ecom-hero p { margin: 0; color: var(--texto-secundario, #64748b); font-size: 0.9rem; max-width: 520px; }
.ecom-kicker {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--azul-sutil, #2b5c92);
}
.ecom-filtros {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(140px, 1fr) minmax(140px, 1fr);
    gap: 10px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
}
.ecom-filtros-4 { grid-template-columns: minmax(160px, 1.3fr) repeat(3, minmax(120px, 1fr)); }
.ecom-cat-tit {
    grid-column: 1 / -1;
    margin: 6px 0 0;
    padding: 4px 2px 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7c3aed;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ecom-cat-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.ecom-cat-thumb--off {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.95rem;
}
.ecom-chip-cat {
    background: rgba(124, 58, 237, 0.1);
    color: #6d28d9;
}
.ecom-filtro { display: flex; flex-direction: column; gap: 5px; }
.ecom-filtro span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}
.ecom-filtro input, .ecom-filtro select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.88rem;
}
.ecom-filtro input:focus, .ecom-filtro select:focus {
    outline: none;
    border-color: var(--azul-sutil, #2b5c92);
    background: #fff;
}
.ecom-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}
.ecom-count { margin: 0 0 10px; font-size: 0.8rem; color: #64748b; font-weight: 600; }
.ecom-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.ecom-card {
    background: #fff;
    border: 1px solid #e8eef4;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(11, 28, 53, 0.05);
}
.ecom-thumb {
    height: 132px;
    background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.8rem;
}
.ecom-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ecom-info { padding: 12px 12px 6px; flex: 1; }
.ecom-info h4 { margin: 0; font-size: 0.92rem; color: var(--azul-marca, #0b1c35); line-height: 1.3; }
.ecom-meta { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.ecom-chip {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 2px 7px;
    border-radius: 99px;
    background: #f1f5f9;
    color: #475569;
}
.ecom-info strong { color: var(--azul-sutil, var(--azul-sutil)); font-size: 1.05rem; }
.ecom-add { display: flex; gap: 6px; padding: 10px 12px 12px; }
.ecom-qtde { width: 64px; padding: 8px; border: 1px solid #cbd5e1; border-radius: 8px; }
.btn-ecom {
    flex: 1;
    border: none;
    background: var(--azul-marca, #0b1c35);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
}
.ecom-side {
    background: linear-gradient(185deg, #163056 0%, #0b1c35 55%, #071224 100%);
    color: #e8eef8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 12px;
    box-shadow: 0 18px 40px rgba(7, 18, 36, 0.28);
}
.ecom-side-cab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ecom-side-cab h3 { margin: 0; font-size: 0.98rem; color: #fff; }
.ecom-side-cab .ecom-badge { background: #5eead4; color: #0b1c35; }
.ecom-cart-body { padding: 8px 16px; min-height: 88px; max-height: 240px; overflow-y: auto; }
.ecom-side .ecom-vazio { color: #94a3b8; }
.ecom-linha {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}
.ecom-linha-nome { color: #f8fafc; font-weight: 600; }
.ecom-linha-sku { font-size: 0.7rem; color: #93a4bd; }
.ecom-linha strong { color: #5eead4; }
.ecom-linha-acoes { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; }
.ecom-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    overflow: hidden;
}
.ecom-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    color: #e2e8f0;
}
.ecom-qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 0.8rem; color: #fff; }
.ecom-x {
    margin-left: auto;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}
.ecom-resumo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #94a3b8;
}
.ecom-resumo strong { color: #5eead4; font-size: 1.12rem; }
.ecom-fulfill {
    padding: 14px 16px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ecom-sec-tit {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
}
.ecom-tipo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ecom-opt { display: block; cursor: pointer; }
.ecom-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ecom-opt-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 10px 11px;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    min-height: 86px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.ecom-opt-box i {
    color: #7dd3fc;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.ecom-opt-box strong { font-size: 0.82rem; color: #fff; }
.ecom-opt-box small { font-size: 0.7rem; color: #94a3b8; line-height: 1.3; }
.ecom-opt input:focus-visible + .ecom-opt-box { box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.28); }
.ecom-opt input:checked + .ecom-opt-box {
    border-color: #5eead4;
    background: rgba(94, 234, 212, 0.14);
}
#ecomBoxEndereco { display: block; margin-top: 10px; }
.ecom-end-grid.tres { grid-template-columns: 1.4fr 1.2fr 0.5fr; }
.ecom-end-grid.tres label:last-child { max-width: none; }
#ecomEndPadraoWrap .btn-ecom-ghost,
#ecomNovoEndCampos .btn-ecom-ghost {
    width: 100%;
    margin: 8px 0 0;
}
.ecom-fulfill #ecomBoxEndereco label { margin: 0 0 4px; }
.ecom-end-hint { margin: 0 0 8px; font-size: 0.72rem; color: #94a3b8; }
.ecom-end-modo { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-size: 0.78rem; color: #e2e8f0; cursor: pointer; }
.ecom-end-modo input { margin-top: 3px; }
.ecom-end-padrao { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: rgba(7, 18, 36, 0.45); border: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; color: #e2e8f0; line-height: 1.4; }
#ecomNovoEndCampos { margin-top: 6px; }
#ecomNovoEndCampos label, .ecom-end-grid label { display: block; font-size: 0.72rem; color: #bae6fd; font-weight: 700; margin: 0 0 8px; }
#ecomNovoEndCampos input { width: 100%; margin-top: 4px; padding: 7px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); background: rgba(7, 18, 36, 0.45); color: #f8fafc; font: inherit; }
#ecomNovoEndCampos input[readonly] { opacity: 0.75; cursor: default; }
.ecom-end-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ecom-end-grid label:last-child { max-width: 70px; }
.ecom-ajuste-end { margin: 12px 0 16px; }
.ecom-ajuste-end textarea, .ecom-ajuste-end input {
    width: 100%;
    min-height: 36px;
    padding: 8px;
    border: 1px solid #d6d3cd;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
}
.ecom-ajuste-end textarea { min-height: 72px; }
.ecom-ajuste-end label { display: block; font-size: 0.78rem; font-weight: 700; margin: 0 0 8px; }
.ecom-fulfill #ecomEndereco { width: 100%; margin: 0; }
#ecomBoxEndereco label, .ecom-obs-lab {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #bae6fd;
    margin: 0 16px 4px;
}
.ecom-side textarea, .ecom-side #ecomEndereco {
    width: calc(100% - 32px);
    margin: 0 16px 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font: inherit;
    resize: vertical;
    background: rgba(7, 18, 36, 0.45);
    color: #f8fafc;
}
.ecom-side textarea::placeholder { color: #7b8ca6; }
#ecomBoxEndereco label { margin-left: 0; color: #bae6fd; }
#ecomBoxEndereco textarea { width: 100%; margin: 0; }
.ecom-obs-lab { margin-top: 4px; }
.btn-ecom-enviar {
    width: calc(100% - 32px);
    margin: 4px 16px 16px;
    border: none;
    border-radius: 10px;
    padding: 12px;
    background: #5eead4;
    color: #0b1c35;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.ecom-vazio { color: #64748b; font-size: 0.88rem; padding: 8px 0; }
.ecom-lista { display: grid; gap: 12px; }
.ecom-ped {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 16px 14px;
    display: grid;
    gap: 12px;
    box-shadow: 0 10px 28px rgba(11, 28, 53, 0.06);
}
.ecom-ped-topo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.ecom-ped-num { margin: 0; font-size: 1.02rem; color: var(--azul-marca, #0b1c35); }
.ecom-ped-data { margin: 4px 0 0; font-size: 0.78rem; color: #64748b; }
.ecom-ped-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.82rem;
    color: #475569;
}
.ecom-ped-total { margin-left: auto; font-weight: 800; color: var(--azul-marca, #0b1c35); }
.ecom-ped-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ecom-ghost {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--azul-marca, #0b1c35);
    border-radius: 9px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-ecom-ghost.pri { background: var(--azul-marca, #0b1c35); color: #fff; border-color: transparent; }
.ecom-badge {
    display: none;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    background: var(--azul-sutil, #06b6d4);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.ecom-gestor-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.ecom-gestor-cab h2 { margin: 0; color: var(--azul-marca, #0b1c35); font-size: 1.35rem; }
.ecom-gestor-cab p { margin: 6px 0 0; color: #64748b; font-size: 0.88rem; }
.ecom-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.ecom-sel-st {
    appearance: none;
    -webkit-appearance: none;
    height: 36px;
    padding: 0 28px 0 12px;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    min-width: 168px;
    border-radius: 8px;
    border: 1px solid #d6d3cd;
    background: #fbfaf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23334155' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
    color: #1e293b;
}
.ecom-sel-st.s-novo { border-left: 3px solid #8a7a63; }
.ecom-sel-st.s-confirmado { border-left: 3px solid #1e3a5f; }
.ecom-sel-st.s-separado { border-left: 3px solid #4b5563; }
.ecom-sel-st.s-pronto { border-left: 3px solid #3f5d56; }
.ecom-sel-st.s-entregue { border-left: 3px solid #2f4f46; }
.ecom-sel-st.s-retirado { border-left: 3px solid #3d5a54; }
.ecom-sel-st.s-cancelado, .ecom-sel-st.s-recusado { border-left: 3px solid #7a4a45; color: #5c3a3a; }
.ecom-sel-st.s-venda { border-left: 3px solid #2f4f46; }
.ecom-lista-filtros {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.ecom-lista-filtros input, .ecom-lista-filtros select {
    padding: 8px 10px;
    border: 1px solid #d6d3cd;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}
.ecom-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.ecom-chip-f {
    border: 1px solid #d6d3cd;
    background: #fff;
    color: #475569;
    border-radius: 99px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.ecom-chip-f.ativo {
    background: #0b1c35;
    color: #f8fafc;
    border-color: #0b1c35;
}
.ecom-limite {
    margin: 0 16px 10px;
    font-size: 0.75rem;
    color: #bae6fd;
}
.ecom-limite.estouro { color: #fecaca; }
.ecom-btn-recusar {
    background: transparent !important;
    color: #7a4a45 !important;
    border: 1px solid #d6c4c1 !important;
}
.ecom-btn-excluir {
    background: transparent !important;
    color: #9f1239 !important;
    border: 1px solid #e8b4bc !important;
}
.ecom-inbox-host {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-left: 6px;
}
.ecom-inbox-host-portal {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 10px;
}
.ecom-inbox {
    position: relative;
    top: auto;
    right: auto;
    z-index: 90;
}
.topbar-acoes .ecom-inbox,
.topbar-orc .ecom-inbox,
.topbar-bi .ecom-inbox,
.eq-topbar .ecom-inbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}
.topbar-acoes .ecom-inbox-panel,
.topbar-orc .ecom-inbox-panel,
.topbar-bi .ecom-inbox-panel,
.eq-topbar .ecom-inbox-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
}
.ecom-inbox-flutuante {
    position: fixed;
    top: max(8px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: calc(var(--z-topbar, 50) + 1);
}
.ecom-inbox-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: var(--azul-marca, #0b1c35);
    color: #fff;
    box-shadow: 0 6px 16px rgba(11, 28, 53, 0.18);
    position: relative;
    cursor: pointer;
}
.topbar-acoes .ecom-inbox-btn,
.topbar-orc .ecom-inbox-btn,
.topbar-bi .ecom-inbox-btn,
.topbar-prop .ecom-inbox-btn,
.eq-topbar .ecom-inbox-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.82rem;
    box-shadow: none;
    border: 1px solid rgba(11, 28, 53, 0.12);
}
.ecom-inbox-flutuante .ecom-inbox-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.78rem;
    box-shadow: 0 4px 10px rgba(11, 28, 53, 0.16);
}
.eq-barra-sessao .ecom-inbox-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
html.eq-inicio .eq-barra-sessao .ecom-inbox-btn,
#telaPainel.inicio-ativo .eq-barra-sessao .ecom-inbox-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #f8fafc !important;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.18);
    flex-shrink: 0;
}
.ecom-inbox-n {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    background: #f43f5e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.ecom-inbox-panel {
    position: fixed;
    top: 56px;
    right: 24px;
    width: min(380px, calc(100vw - 28px));
    max-height: 70vh;
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(7, 18, 36, 0.28);
    border: 1px solid #e2e8f0;
    z-index: 95;
}
.ecom-inbox-panel[hidden] { display: none; }
.ecom-inbox-cab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 800;
    color: var(--azul-marca, #0b1c35);
}
.ecom-inbox-item {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 14px;
    cursor: pointer;
}
.ecom-inbox-item.nao-lida { background: #f0f9ff; }
.ecom-inbox-item strong { display: block; font-size: 0.85rem; color: #0f172a; }
.ecom-inbox-item span { font-size: 0.75rem; color: #64748b; }
.ecom-venda-ok { font-size: 0.78rem; color: #0f766e; font-weight: 700; }
.ecom-tab { width: 100%; border-collapse: collapse; background: #fff; }
.ecom-tab th, .ecom-tab td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; text-align: left; font-size: 0.85rem; }
.ecom-st {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f8f7f4;
    color: #3f3f46;
    border: 1px solid #e4e0d8;
}
.ecom-st.s-novo { background: #f7f4ef; color: #5c5346; border-color: #e4dcd0; }
.ecom-st.s-confirmado { background: #f3f5f8; color: #1e3a5f; border-color: #d3dbe6; }
.ecom-st.s-separado { background: #f4f4f5; color: #3f3f46; border-color: #d4d4d8; }
.ecom-st.s-pronto { background: #f3f6f5; color: #2f4a44; border-color: #d5e0dc; }
.ecom-st.s-entregue { background: #f2f6f4; color: #2a4a40; border-color: #d3dfd8; }
.ecom-st.s-retirado { background: #f2f6f5; color: #2d4a46; border-color: #d4e0d9; }
.ecom-st.s-saiu_entrega { background: #f4f1ea; color: #5c4a32; border-color: #e4d8c8; }
.ecom-st.s-em_rota { background: #eef6f4; color: #0f766e; border-color: #b7e4d8; }
.ecom-sel-st.s-saiu_entrega { border-left: 3px solid #8a7048; }
.ecom-sel-st.s-em_rota { border-left: 3px solid #0f766e; }
.ecom-canvas {
    width: 100%;
    height: 180px;
    border: 1px dashed #c4b8a8;
    border-radius: 10px;
    background: #fbfaf7;
    touch-action: none;
    display: block;
}
.ecom-assinatura-img {
    max-width: 280px;
    max-height: 120px;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e4e0d8;
    border-radius: 8px;
}
.ecom-assinatura-box strong { display: block; margin-bottom: 6px; }
.ecom-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(7, 18, 36, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ecom-modal[hidden] { display: none; }
.ecom-modal-card {
    width: min(720px, 100%);
    max-height: min(88vh, 900px);
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(7, 18, 36, 0.35);
}
.ecom-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: #fff;
}
.ecom-modal-top h3 { margin: 0; font-size: 1.05rem; color: var(--azul-marca, #0b1c35); }
.ecom-modal-acoes { display: flex; align-items: center; gap: 8px; }
.ecom-modal-x {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 1.3rem;
    cursor: pointer;
}
.ecom-modal-corpo { padding: 16px 18px 20px; }
.ecom-doc-marca { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ecom-doc-marca img { height: 42px; max-width: 160px; object-fit: contain; }
.ecom-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.ecom-doc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.82rem;
    color: #475569;
}
.ecom-doc-box strong { display: block; color: var(--azul-marca, #0b1c35); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.ecom-gps {
    margin: 14px 0 16px;
    border: 1px solid #e4e0d8;
    border-radius: 14px;
    background: #fbfaf7;
    overflow: hidden;
}
.ecom-gps-topo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px 10px;
}
.ecom-gps-topo h4 { margin: 0 0 4px; font-size: 0.95rem; color: #0b1c35; }
.ecom-gps-espera { background: #f8fafc; }
.ecom-gps-espera h4 { margin: 0 0 6px; }
.ecom-gps-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.ecom-mapa {
    height: 420px;
    min-height: 320px;
    width: 100%;
    background: #e8eef4;
}
.ecom-mapa.alto { height: 420px; }
.ecom-mapa-checkout { height: 240px; min-height: 200px; border-radius: 10px; margin-top: 8px; border: 1px solid rgba(255,255,255,0.16); }
.ecom-mapa-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.ecom-mapa-acoes .btn-ecom-ghost { font-size: 0.78rem; padding: 7px 12px; }
.ecom-mapa-marcando { cursor: crosshair; outline: 2px solid #0f766e; }
.ecom-mapa-vazio {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: #64748b;
    font-size: 0.85rem;
}
.ecom-pin {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(11, 28, 53, 0.28);
    border: 2px solid #fff;
}
.ecom-pin-ent { background: #5c4a32; }
.ecom-pin-cli { background: #2b5c92; }
.ecom-pin-dest { background: #0f766e; }
.ecom-gps-legenda {
    display: flex;
    gap: 14px;
    padding: 8px 14px 12px;
    font-size: 0.75rem;
    color: #475569;
}
.ecom-gps-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.ecom-gps-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ecom-gps-dot.ent { background: #5c4a32; }
.ecom-gps-dot.cli { background: #2b5c92; }
.ecom-gps-dot.rota { background: transparent; border: 2px solid #0f766e; width: 8px; height: 10px; border-radius: 0; }
@media (max-width: 980px) {
    .ecom-layout { grid-template-columns: 1fr; }
    .ecom-side { position: static; }
    .ecom-filtros, .ecom-filtros-4 { grid-template-columns: 1fr; }
    .ecom-doc-grid { grid-template-columns: 1fr; }
    .ecom-ped-total { margin-left: 0; }
}

/* Portal do cliente — mobile */
.eq-portal-tabs,
.ecom-fab-carrinho,
.ecom-cart-scrim,
.ecom-sheet-fechar { display: none; }

@media (max-width: 860px) {
    .eq-portal-tabs {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 225;
        align-items: stretch;
        justify-content: space-around;
        gap: 2px;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        background: rgb(var(--tema-rgb, 11, 28, 53));
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    }
    .eq-portal-tab {
        flex: 1 1 0;
        min-height: 48px;
        border: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.62);
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .eq-portal-tab i { font-size: 1.15rem; }
    .eq-portal-tab.ativa {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }

    #telaPainel:has(.eq-portal-tabs) > main {
        padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    }

    #painelCatalogo .ecom-grade {
        grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
        gap: 10px;
    }
    #painelCatalogo .ecom-hero h2 { font-size: 1.2rem; }
    #painelPedidos .ecom-ped { margin-bottom: 12px; }
    #painelPedidos .ecom-ped-acoes {
        flex-direction: column;
        align-items: stretch;
    }
    #painelPedidos .ecom-ped-acoes .btn-ecom-ghost {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .ecom-side-cab-acoes {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .ecom-sheet-fechar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 1rem;
    }

    #painelCatalogo .ecom-side {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 280;
        max-height: min(88dvh, 680px) !important;
        border-radius: 18px 18px 0 0;
        transform: translateY(105%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        visibility: hidden;
        top: auto !important;
    }
    body.ecom-cart-aberto #painelCatalogo .ecom-side {
        transform: translateY(0);
        visibility: visible;
    }
    body.ecom-cart-aberto { overflow: hidden !important; }

    .ecom-cart-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 270;
        background: rgba(2, 6, 16, 0.55);
        border: 0;
        padding: 0;
    }
    .ecom-cart-scrim[hidden] { display: none !important; }

    .ecom-fab-carrinho {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom));
        z-index: 215;
        min-height: 50px;
        padding: 10px 16px;
        border: 0;
        border-radius: 14px;
        background: linear-gradient(135deg, #163056, #0b1c35);
        color: #fff;
        font-weight: 700;
        box-shadow: 0 12px 28px rgba(7, 18, 36, 0.35);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .ecom-fab-carrinho[hidden] { display: none !important; }
    .ecom-fab-carrinho i { font-size: 1.1rem; }
    .ecom-fab-txt { flex: 1; text-align: left; font-size: 0.88rem; }
    .ecom-fab-carrinho strong { font-size: 0.95rem; color: #5eead4; }
    .ecom-fab-badge {
        display: none;
        min-width: 22px;
        height: 22px;
        border-radius: 99px;
        background: #f43f5e;
        color: #fff;
        font-size: 0.72rem;
        font-weight: 800;
        align-items: center;
        justify-content: center;
        padding: 0 6px;
    }
    .ecom-fab-carrinho.com-itens .ecom-fab-badge { display: inline-flex; }
}
