/* Fontes da marca hospedadas no próprio servidor (sem Google Fonts) */
@font-face{font-family:Archivo;font-style:normal;font-weight:700;font-display:swap;src:url(../vendor/fonts/archivo-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:italic;font-weight:700;font-display:swap;src:url(../vendor/fonts/archivo-latin-700-italic.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:normal;font-weight:800;font-display:swap;src:url(../vendor/fonts/archivo-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:italic;font-weight:800;font-display:swap;src:url(../vendor/fonts/archivo-latin-800-italic.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:normal;font-weight:900;font-display:swap;src:url(../vendor/fonts/archivo-latin-900-normal.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:italic;font-weight:900;font-display:swap;src:url(../vendor/fonts/archivo-latin-900-italic.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../vendor/fonts/manrope-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../vendor/fonts/manrope-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../vendor/fonts/manrope-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../vendor/fonts/manrope-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../vendor/fonts/manrope-latin-800-normal.woff2) format('woff2')}
/* ETice — identidade visual do painel (Bootstrap 5 + tokens da marca) */
:root {
  --et-lime: #A3E635;
  --et-lime-soft: #ECFCCB;
  --et-lime-ink: #3F6212;
  --et-green: #0B3B1E;
  --et-ink: #07110B;
  --et-ink-2: #0F2A17;
  --et-ink-line: #1C3324;
  --et-ice: #7DD3F0;
  --et-mist: #F3F7F1;
  --et-line: #E3EBDF;
  --et-text: #0B1A10;
  --et-muted: #4B5E52;
  --bs-body-font-family: Manrope, system-ui, sans-serif;
  --bs-body-color: var(--et-text);
  --bs-body-bg: var(--et-mist);
  --bs-primary: #3F6212;
  --bs-primary-rgb: 63, 98, 18;
  --bs-link-color: #14532D;
  --bs-link-hover-color: #0B3B1E;
  --bs-border-color: var(--et-line);
  --bs-border-radius: .75rem;
}
body { background: var(--et-mist); font-family: Manrope, system-ui, sans-serif; }
.font-display, h1, .h1 { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 900; font-style: italic; letter-spacing: -.01em; }
h2, .h2, h3, .h3, h4, .h4, h5, .h5 { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 800; }

/* Layout */
.et-shell { display: flex; min-height: 100vh; }
.et-sidebar { width: 264px; flex: none; background: var(--et-ink); color: #C9D8CD; padding: 18px 14px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; transition: width .2s; }
.et-sidebar .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 0 6px; }
.et-sidebar .brand img { width: 46px; height: 48px; object-fit: contain; }
.et-sidebar .brand b { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 900; font-style: italic; font-size: 20px; display: block; line-height: 1; }
.et-sidebar .brand small { color: var(--et-lime); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.et-nav-group > span { display: block; padding: 0 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8FA596; }
.et-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: #C9D8CD; text-decoration: none; font-weight: 600; font-size: 15px; }
.et-nav a:hover { background: var(--et-ink-2); color: #fff; }
.et-nav a.active { background: var(--et-lime); color: var(--et-ink); font-weight: 800; }
.et-nav a .bi { font-size: 18px; width: 20px; text-align: center; }
.et-nav a .count { margin-left: auto; min-width: 22px; height: 22px; border-radius: 11px; background: var(--et-lime); color: var(--et-ink); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.et-nav a.active .count { background: var(--et-ink); color: var(--et-lime); }
.et-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--et-ink-2); }
.et-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--et-lime); color: var(--et-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.et-main { flex: 1 1 auto; min-width: 0; padding: 24px 28px 48px; }
.et-collapsed .et-sidebar { width: 78px; }
.et-collapsed .et-sidebar .label, .et-collapsed .et-sidebar .brand span, .et-collapsed .et-nav-group > span, .et-collapsed .et-user .label, .et-collapsed .et-nav a .count { display: none; }
.et-topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.et-topbar h1 { font-size: 30px; margin: 0; }
.et-topbar .sub { color: var(--et-muted); font-size: 14px; }
@media (max-width: 991.98px) {
  .et-sidebar { position: fixed; z-index: 1040; left: -280px; transition: left .2s; }
  .et-menu-open .et-sidebar { left: 0; }
  .et-main { padding: 16px; }
}

/* Componentes */
.et-card { background: #fff; border: 1px solid var(--et-line); border-radius: 20px; padding: 22px; }
.et-card-dark { background: var(--et-ink); color: #fff; border-radius: 20px; padding: 22px; }
.et-kpi .label { font-size: 14px; font-weight: 700; color: var(--et-muted); }
.et-card-dark .label { color: #C9D8CD; }
.et-kpi .value { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 900; font-size: 30px; line-height: 1.1; }
.btn { border-radius: 12px; font-weight: 700; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-sm { min-height: 34px; border-radius: 9px; }
.btn-lime { background: var(--et-lime); color: var(--et-ink); border: 0; font-weight: 800; }
.btn-lime:hover, .btn-lime:focus { background: #8fd61f; color: var(--et-ink); }
.btn-ink { background: var(--et-ink); color: var(--et-lime); border: 0; font-weight: 800; }
.btn-ink:hover { background: #000; color: var(--et-lime); }
.btn-outline-ink { border: 1.5px solid var(--et-line); background: #fff; color: var(--et-text); }
.btn-outline-ink:hover { border-color: var(--et-ink); }
.form-control, .form-select { border-radius: 12px; min-height: 44px; border-color: #CBD8C5; }
.form-control:focus, .form-select:focus { border-color: #65A30D; box-shadow: 0 0 0 .2rem rgba(163, 230, 53, .35); }
.form-label { font-weight: 700; font-size: 14px; color: #2F4337; }
.table { --bs-table-bg: transparent; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--et-muted); font-weight: 800; border-bottom-width: 1px; }
.table td { vertical-align: middle; }
.et-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.et-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-aguardando-confirmacao { background: #FEF3C7; color: #92400E; }
.st-aguardando-pagamento { background: #FFEDD5; color: #9A3412; }
.st-pagamento-aprovado { background: #CCFBF1; color: #115E59; }
.st-confirmado { background: #DBEAFE; color: #1E40AF; }
.st-em-preparacao { background: #EDE9FE; color: #5B21B6; }
.st-pronto-retirada { background: #ECFCCB; color: #3F6212; }
.st-saiu-entrega { background: #E0F2FE; color: #075985; }
.st-entregue { background: #DCFCE7; color: #166534; }
.st-cancelado { background: #FEE2E2; color: #991B1B; }
.st-neutral { background: #F1F5F0; color: #2F4337; }
.et-channel { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: #F4F8F1; color: #2F4337; }
.et-channel.ifood { background: #FEE2E2; color: #991B1B; }
.et-channel.aiqfome { background: #EDE9FE; color: #5B21B6; }

/* Kanban */
.et-board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; }
.et-col { width: 270px; flex: none; background: #E9F0E5; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.et-col-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; padding: 2px 4px; }
.et-order-card { background: #fff; border: 1px solid var(--et-line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.et-order-card:hover { border-color: var(--et-lime); color: inherit; }
.et-order-card .num { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 800; font-size: 16px; }
.et-order-card .late { color: #9A3412; font-weight: 800; }

.et-flash { border-radius: 14px; border: 0; font-weight: 600; }
.et-mascot { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.et-map { height: 520px; border-radius: 18px; border: 1px solid var(--et-line); }
.et-empty { text-align: center; padding: 40px 16px; color: var(--et-muted); }
.et-empty img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.et-timeline { list-style: none; padding: 0; margin: 0; }
.et-timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--et-line); margin-left: 6px; }
.et-timeline li::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--et-lime); }
.et-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--et-ink); padding: 24px; }
.et-auth .box { width: 100%; max-width: 420px; background: #fff; border-radius: 26px; padding: 32px; }
.visually-hidden-focusable:focus { position: static !important; }
@media print { .et-sidebar, .no-print { display: none !important; } .et-main { padding: 0; } body { background: #fff; } }
.form-control, .form-select { background-color: #fff; }
.et-card-dark .form-control, .et-card-dark .form-select { border-color: #2C5A37; }

/* ===== Produtos (v1.4) ===== */
.pr-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pr-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--et-line); color: #2F4337; font-weight: 700; font-size: 14px; text-decoration: none; }
.pr-tabs a span { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; background: #F1F5F0; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.pr-tabs a.on { background: #07110B; border-color: #07110B; color: var(--et-lime); }
.pr-tabs a.on span { background: var(--et-lime); color: #07110B; }
.pr-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--et-line); border-radius: 18px; padding: 10px; margin-bottom: 16px; }
.pr-filter .form-select { width: auto; min-width: 180px; flex: 1 1 180px; }
.pr-search { position: relative; flex: 3 1 260px; }
.pr-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--et-muted); }
.pr-search input { padding-left: 38px; }
.pr-mode { display: flex; border: 1px solid var(--et-line); border-radius: 10px; overflow: hidden; }
.pr-mode a { width: 42px; height: 38px; display: flex; align-items: center; justify-content: center; color: #2F4337; }
.pr-mode a.on { background: #07110B; color: var(--et-lime); }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pr-card { background: #fff; border: 1px solid var(--et-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.pr-card:hover { box-shadow: 0 10px 28px rgba(7,17,11,.08); transform: translateY(-2px); }
.pr-card.off { opacity: .62; }
.pr-thumb { position: relative; display: flex; align-items: center; justify-content: center; height: 170px; background: color-mix(in srgb, var(--c) 16%, #fff); }
.pr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pr-flags { position: absolute; left: 10px; top: 10px; display: flex; gap: 4px; flex-wrap: wrap; }
.pr-bag { width: 74px; height: 96px; border-radius: 14px 14px 20px 20px; background: var(--c, #65A30D); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; text-align: center; transform: rotate(-5deg); box-shadow: inset 0 -10px 0 rgba(0,0,0,.08); padding: 4px; line-height: 1.1; }
.pr-bag b { font-family: Archivo, sans-serif; font-style: italic; font-size: 16px; }
.pr-body { padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pr-name { font-weight: 800; color: #0B1A10; text-decoration: none; line-height: 1.25; }
.pr-name:hover { text-decoration: underline; }
.pr-meta { font-size: 12px; color: var(--et-muted); }
.pr-price { font-family: Archivo, sans-serif; font-size: 20px; }
.pr-actions { display: flex; gap: 6px; align-items: center; padding: 10px 16px 14px; border-top: 1px solid #EEF3EB; }
.pr-mini { width: 48px; height: 48px; border-radius: 12px; display: block; overflow: hidden; background: var(--c); }
.pr-mini img { width: 100%; height: 100%; object-fit: cover; }
.pr-catlist { display: flex; flex-direction: column; gap: 8px; }
.pr-catlist li { display: flex; gap: 6px; align-items: center; }
.pr-catlist li.off input:not([type=color]) { text-decoration: line-through; color: var(--et-muted); }
.pf-photos { display: flex; gap: 12px; flex-wrap: wrap; }
.pf-photo { position: relative; width: 132px; height: 132px; border-radius: 16px; overflow: hidden; border: 1px solid var(--et-line); background: #F4F8F1; }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; }
.pf-main { position: absolute; left: 6px; bottom: 6px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; display: flex; gap: 4px; align-items: center; }
.pf-del { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(7,17,11,.75); color: #fff; }
.pf-default { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: color-mix(in srgb, var(--c) 16%, #fff); }
.pf-default .pr-bag { width: 56px; height: 72px; font-size: 10px; } .pf-default .pr-bag b { font-size: 13px; }
.pf-default small { font-size: 11px; color: var(--et-muted); font-weight: 700; }
.pf-add { width: 132px; height: 132px; border-radius: 16px; border: 2px dashed #B8C9B3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: #2F4337; font-weight: 700; font-size: 13px; }
.pf-add i { font-size: 26px; color: #3F6212; }
.pf-add:hover, .pf-add:focus-within { border-color: #3F6212; background: #F7FCEE; }
.nt-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--et-lime-soft); color: #3F6212; display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.nt-type summary { cursor: pointer; color: #3F6212; }
.pr-bags { display: flex; } .pr-bags .pr-bag { width: 58px; height: 78px; font-size: 9px; margin: 0 -10px; } .pr-bags .pr-bag b { font-size: 13px; }
.pr-bags .pr-bag:nth-child(2) { transform: rotate(4deg) translateY(-6px); z-index: 1; } .pr-bags .pr-bag:nth-child(3) { transform: rotate(10deg); }
