/* Paleta e base */
.avive-inv{--bg:#fff;--bg-soft:#f7f8fa;--line:#e8e9ee;--text:#222;--muted:#596273;--accent:#0b6efd;--radius:14px}
.avive-inv *{box-sizing:border-box}
.avive-inv {
	max-width:1300px;
}
/* Layout responsivo: sidebar (25%) + conteúdo (75%) em desktop */
.avive-inv.layout{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@media (min-width:1024px){
  .avive-inv.layout{
    grid-template-columns:minmax(260px,25%) 1fr;
    align-items:start;
  }
}

/* Sidebar */
.avive-inv__sidebar{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
  position:relative;
}
@media (min-width:1024px){
  .avive-inv__sidebar{
    position:sticky;
    top:12px;
  }
}

/* Botão “Filtros” — aparece no mobile, some no desktop */
.avive-filter-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  font-size:15px;
  color:var(--text);
}
.avive-filter-toggle:focus{outline:2px solid var(--accent)}
@media (min-width:1024px){
  .avive-filter-toggle{ display:none; }
}

/* Form (dentro da sidebar) com transição de abertura no mobile */
.avive-inv__form{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
  box-shadow:0 10px 20px rgba(0,0,0,.04);
  margin-top:12px;

  /* colapsável no mobile */
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease-in-out, opacity .2s ease;
  opacity:0;
}
.avive-inv--filters-open .avive-inv__form{
  max-height:1200px; /* suficiente p/ conteúdo médio */
  opacity:1;
}
@media (min-width:1024px){
  .avive-inv__form{
    max-height:none;
    opacity:1;
    overflow:visible;
  }
}

/* Campos */
.avive-inv__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
@media (max-width: 900px){.avive-inv__row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 600px){.avive-inv__row{grid-template-columns:1fr}}
.avive-field{display:flex;flex-direction:column;font-size:14px;color:var(--muted)}
.avive-field>input,.avive-field>select{margin-top:6px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}

/* Flags */
.avive-inv__flags{gap:8px}
.avive-switch{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 10px}

/* Ações */
.avive-inv__actions{display:flex;gap:8px;margin-top:6px}
.avive-btn{appearance:none;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}
.avive-btn--ghost{background:#fff;color:var(--accent)}

/* Conteúdo (resultados) */
.avive-inv__content{min-width:0}
.avive-inv__results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width: 1024px){.avive-inv__results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.avive-inv__results{grid-template-columns:1fr}}

/* Card */
.avive-card{display:block;text-decoration:none;color:var(--text);border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff;transition:transform .12s ease, box-shadow .12s ease}
.avive-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.06)}
.avive-card h3{margin:0 0 6px;font-size:18px}
.avive-card p{margin:0 0 8px;color:var(--muted);font-size:14px}

/* Chips */
.avive-chips{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:8px}
.avive-chip{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:4px 8px;font-size:12px;background:#fafbfe}

/* Paginação */
.avive-pager{display:flex;justify-content:center;gap:6px;margin-top:14px;flex-wrap:wrap}
.avive-pagebtn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px 10px;cursor:pointer}
.avive-pagebtn[aria-current="true"]{border-color:var(--accent);outline:2px solid var(--accent)}


/* --- Forçar 1 coluna dentro da sidebar --- */
.avive-inv__sidebar .avive-inv__form .avive-inv__row{
  grid-template-columns: 1fr !important; /* todos os campos empilhados */
}

/* Flags uma por linha */
.avive-inv__sidebar .avive-inv__form .avive-inv__flags{
  grid-template-columns: 1fr !important;
}

/* Inputs e selects ocupam 100% da largura */
.avive-inv__sidebar .avive-inv__form .avive-field > input,
.avive-inv__sidebar .avive-inv__form .avive-field > select{
  width: 100%;
}

/* Dar um respiro visual entre grupos */
.avive-inv__sidebar .avive-inv__form .avive-inv__row + .avive-inv__row{
  margin-top: 8px;
}



/* ======== THEME NATUREZA (forçar contra page builders) ======== */
.avive-inv{
  --bg:#ffffff;
  --bg-soft:#f3f7f3;               /* verde bem leve */
  --bg-soft-2:#eef5ee;             /* variação leve */
  --line:#dfe7df;
  --text:#24322a;                  /* cinza-esverdeado (menos preto) */
  --muted:#62726a;
  --accent:#2f9e44;                /* verde elegante */
  --accent-weak:#a8d5b6;
  --chip:#e9f5ec;
  --chip-line:#cfe8d6;
  --radius:16px;
  --fs-sm:13px;
  --fs-md:14px;
  --fs-lg:16px;
}

/* Layout */
.avive-inv.layout{ gap:18px !important; }
@media (min-width:1024px){
  .avive-inv.layout{ grid-template-columns:minmax(280px,25%) 1fr !important; }
}

/* Sidebar com verde leve + borda suave */
.avive-inv__sidebar{
  background:var(--bg-soft) !important;
  border:1px solid var(--line) !important;
  border-radius:var(--radius) !important;
  padding:14px !important;
}
.avive-filter-toggle{
  background:#fff !important;
  border:1px solid var(--line) !important;
  color:var(--text) !important;
  font-size:var(--fs-md) !important;
  border-radius:14px !important;
}

/* Form colapsável dentro da sidebar */
.avive-inv__form{
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  padding:12px !important;
  box-shadow:0 6px 18px rgba(0,0,0,.05) !important;
}

/* Uma coluna e tudo bem alinhado à esquerda */
.avive-inv__sidebar .avive-inv__form .avive-inv__row{
  grid-template-columns:1fr !important;
  margin-bottom:10px !important;
}
.avive-field{
  text-align:left !important;
  font-size:var(--fs-sm) !important;
  color:var(--muted) !important;
}
.avive-field > span{
  font-size:var(--fs-sm) !important;
  line-height:1.25 !important;
  letter-spacing:.1px !important;
}
.avive-field > input,
.avive-field > select{
  width:100% !important;
  margin-top:6px !important;
  padding:9px 11px !important;
  font-size:var(--fs-md) !important;
  color:var(--text) !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:12px !important;
  box-shadow:0 1px 0 rgba(0,0,0,.02) inset !important;
}

/* Flags (switches) mais delicados */
.avive-inv__flags{ gap:8px !important; }
.avive-switch{
  display:flex !important; align-items:center !important; gap:10px !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:999px !important;
  padding:8px 12px !important;
  font-size:var(--fs-md) !important;
  color:var(--text) !important;
}
.avive-switch input{ width:16px !important; height:16px !important; }

/* Botões */
.avive-inv__actions{ gap:8px !important; }
.avive-btn{
  background:var(--accent) !important; border:1px solid var(--accent) !important;
  color:#fff !important; padding:10px 14px !important; border-radius:12px !important;
  font-size:var(--fs-md) !important; cursor:pointer !important;
}
.avive-btn--ghost{
  background:#fff !important; color:var(--accent) !important;
  border:1px solid var(--accent) !important;
}

/* Conteúdo / grid dos resultados */
.avive-inv__content{ min-width:0 !important; }
.avive-inv__results{ gap:16px !important; }

/* Cards mais suaves (menos P&B) */
.avive-card{
  color:var(--text) !important;
  border:1px solid var(--line) !important;
  background:#fff !important;
  border-radius:18px !important;
  padding:16px !important;
  box-shadow:0 4px 14px rgba(0,0,0,.04) !important;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease !important;
}
.avive-card:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 10px 24px rgba(47,158,68,.12) !important;
  border-color:var(--accent-weak) !important;
}
.avive-card h3{
  margin:0 0 4px !important;
  font-size:18px !important;        /* menor e mais elegante */
  font-weight:700 !important;
  letter-spacing:.2px !important;
  color:#1e2a22 !important;          /* menos preto */
  text-transform:none !important;    /* se preferir manter UPPERCASE, remova esta linha */
}
.avive-card p{
  margin:0 0 8px !important;
  color:var(--muted) !important;
  font-size:var(--fs-md) !important;
}

/* Chips verdinhos */
.avive-chips{ gap:6px 8px !important; margin-top:8px !important; }
.avive-chip{
  background:var(--chip) !important;
  border:1px solid var(--chip-line) !important;
  color:#1f5c31 !important;
  border-radius:999px !important;
  padding:4px 8px !important;
  font-size:12px !important;
}

/* Paginação */
.avive-pager{ gap:8px !important; margin-top:16px !important; }
.avive-pagebtn{
  border:1px solid var(--line) !important; background:#fff !important;
  border-radius:10px !important; padding:7px 11px !important; font-size:var(--fs-md) !important;
}
.avive-pagebtn[aria-current="true"]{
  border-color:var(--accent) !important;
  outline:2px solid var(--accent) !important;
}

/* Mobile: manter cara de app, com respiro */
@media (max-width:1023.98px){
  .avive-inv__sidebar{ padding:10px !important; }
  .avive-inv__form{ padding:10px !important; }
  .avive-card{ padding:14px !important; }
  .avive-card h3{ font-size:17px !important; }
}

/* --- Atributos no card --- */
.avive-attr{
  margin:8px 0 0 0 !important;
  padding:0 !important;
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:var(--fs-sm) !important;
}
.avive-attr div{display:flex; gap:6px;}
.avive-attr dt{
  font-weight:600 !important;
  color:var(--text) !important;
}
.avive-attr dd{
  margin:0 !important;
  color:var(--muted) !important;
}


/* Paginação – garantir números visíveis contra temas/page builders */
.avive-pager{ display:flex !important; gap:8px !important; flex-wrap:wrap !important; justify-content:center !important; }
.avive-pagebtn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:36px !important;
  height:36px !important;
  padding:0 10px !important;
  border:1px solid var(--line) !important;
  background:#fff !important;
  border-radius:10px !important;
  /* forçar tipografia */
  font-size:14px !important;
  line-height:1 !important;
  font-weight:600 !important;
  color:var(--text) !important;
}
.avive-pagebtn[aria-current="true"]{
  border-color:var(--accent) !important;
  outline:2px solid var(--accent) !important;
  color:var(--accent) !important;
}
/* Cabeçalho da página */
.avive-inv__header{
  margin: 4px 0 14px 0 !important;
  padding: 10px 12px !important;
  background: var(--bg-soft) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
}
.avive-title{
  margin: 0 0 6px 0 !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #1e2a22 !important;
}
.avive-lead{
  margin: 0 !important;
  font-size: 15px !important;
  color: var(--muted) !important;
}
@media (max-width: 640px){
  .avive-title{ font-size: 20px !important; }
  .avive-lead{ font-size: 14px !important; }
}

/* ===== Drawer de filtros (flutuante) ===== */
.avive-dim[hidden], .avive-drawer[hidden]{display:none !important;}
.avive-dim{
  position:fixed !important; inset:0 !important; background:rgba(0,0,0,.3) !important;
  opacity:0; transition:opacity .2s ease; z-index:9999;
}
.avive-dim.is-open{opacity:1 !important;}

.avive-drawer{
  position:fixed !important; top:0 !important; right:0 !important; height:100vh !important;
  width:min(420px,100vw) !important; background:#fff !important;
  border-left:1px solid var(--line) !important; box-shadow:-12px 0 28px rgba(0,0,0,.1) !important;
  transform:translateX(100%); transition:transform .25s ease; z-index:99999999999; overflow:auto;
  border-top-left-radius:16px; border-bottom-left-radius:16px;
}
.avive-drawer.is-open{ transform:translateX(0) !important; }

.avive-drawer__header{
  position:sticky; top:0; background:#f7fff7; padding:16px; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
}
.avive-drawer__header h3{ margin:0; font-size:20px; color:#154e2b; font-weight:800; }
.avive-drawer__close{
  border:1px solid var(--line); background:#fff; width:36px; height:36px; border-radius:10px; cursor:pointer;
  font-size:20px; line-height:1; color:#24322a;
}

/* Form dentro do drawer */
.avive-drawer__form{ padding:14px; }
.avive-row{ display:grid; grid-template-columns:1fr; gap:10px; margin-bottom:10px; }
.avive-row--2{ grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:680px){ .avive-row--2{ grid-template-columns:1fr; } }

.avive-field{ display:flex; flex-direction:column; font-size:13px; color:var(--muted) !important; }
.avive-field>span{ font-size:13px !important; }
.avive-field>input, .avive-field>select{
  margin-top:6px !important; padding:10px 12px !important;
  border:1px solid var(--line) !important; border-radius:12px !important; background:#fff !important;
  font-size:14px !important; color:var(--text) !important;
}

.avive-actions{ display:flex; gap:8px; margin-top:8px; }
.avive-btn{ background:#2f9e44 !important; border:1px solid #2f9e44 !important; color:#fff !important; border-radius:12px !important; padding:10px 14px !important; }
.avive-btn--ghost{ background:#fff !important; color:#2f9e44 !important; border:1px solid #2f9e44 !important; }

/* FAB (botão flutuante) */
.avive-fab{
  position:fixed !important; right:22px !important; top:92px !important;
  width:56px !important; height:56px !important; border-radius:999px !important;
  border:none !important; background:#0b5d2a !important; color:#fff !important; cursor:pointer !important;
  box-shadow:0 10px 22px rgba(0,0,0,.18) !important; z-index:99999 !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  font-size:20px !important;
}

/* Chips de filtros ativos */
.avive-active{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:10px; background:#f3f7f3; border:1px solid var(--line); padding:10px 12px; border-radius:12px; }
.avive-active[hidden]{ display:none !important; }
.avive-link{ background:none; border:none; color:#2f9e44; cursor:pointer; text-decoration:underline; padding:0; }
.avive-chips{ display:flex; flex-wrap:wrap; gap:6px 8px; }
.avive-chip{ background:#e9f5ec !important; border:1px solid #cfe8d6 !important; color:#1f5c31 !important; border-radius:999px !important; padding:4px 8px !important; font-size:12px !important; }

/* Resultados + paginação info */
.avive-inv__results{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
@media (max-width:1024px){ .avive-inv__results{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .avive-inv__results{ grid-template-columns:1fr; } }
.avive-pagebar{ text-align:right; margin-top:6px; color:#62726a; font-size:13px; }

/* Acessibilidade */
.sr-only{ position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; }



/* ===== Fix: campos do drawer sempre com borda ===== */
.avive-drawer__form input[type="text"],
.avive-drawer__form input[type="search"],
.avive-drawer__form select {
  border: 1px solid #CCCCCC !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) inset !important;
  font-size: 14px !important;
  color: var(--text) !important;
}

/* ===== Fix: overlay/drawer acima do menu do Kubio (z-index gigante) ===== */
:root { --avive-top-offset: 0px; }                 /* ajuste aqui se quiser */
.avive-dim{
  z-index: 999999 !important;
  top: var(--avive-top-offset, 0px) !important;    /* começa abaixo do header se precisar */
  height: calc(100vh - var(--avive-top-offset, 0px)) !important;
}
.avive-drawer{
  z-index: 2147483000 !important;
  top: var(--avive-top-offset, 0px) !important;
  height: calc(100vh - var(--avive-top-offset, 0px)) !important;
}
.avive-fab{
  z-index: 99999 !important;
}

/* (opcional) borda do header do drawer para destacar sob o menu */
.avive-drawer__header{
  border-bottom: 1px solid var(--line) !important;
}


/* ===== Config rápida ===== */
:root{
  --avive-top-offset: 95px;              /* altura do menu Kubio; ajuste aqui */
  --avive-field-border: #CCCCCC;         /* cor de borda dos campos do filtro */
}

/* Drawer/overlay AGORA À ESQUERDA e abaixo do menu */
.avive-dim{
  position:fixed !important;
  left:0 !important; top:var(--avive-top-offset) !important;
  width:100% !important; height:calc(100vh - var(--avive-top-offset)) !important;
  background:rgba(0,0,0,.3) !important;
  opacity:0; transition:opacity .2s ease; z-index:2147482998 !important;
}
.avive-dim[hidden]{display:none !important;}
.avive-dim.is-open{opacity:1 !important;}

.avive-drawer{
  position:fixed !important;
  left:0 !important; right:auto !important; top:var(--avive-top-offset) !important;
  height:calc(100vh - var(--avive-top-offset)) !important;
  width:min(420px, 100vw) !important;
  background:#fff !important;
  border-right:1px solid var(--line) !important;
  border-left:none !important;
  box-shadow:12px 0 28px rgba(0,0,0,.1) !important;
  transform:translateX(-100%) !important;
  transition:transform .25s ease !important;
  z-index:2147483000 !important;
  overflow:auto !important;
  border-top-right-radius:16px; border-bottom-right-radius:16px;
}
.avive-drawer.is-open{ transform:translateX(0) !important; }

/* Botão flutuante (topo-esquerda) */
.avive-fab{
  position:fixed !important;
  left:18px !important;
  top:calc(var(--avive-top-offset) + 12px) !important;
  bottom:auto !important; right:auto !important;
  width:48px !important; height:48px !important;
  border-radius:999px !important; background:#0b5d2a !important; color:#fff !important;
  box-shadow:0 10px 22px rgba(0,0,0,.18) !important;
  z-index:2147482995 !important;
}

/* Header do drawer */
.avive-drawer__header{ position:sticky; top:0; background:#f7fff7; padding:16px;
  border-bottom:1px solid var(--line) !important; display:flex; justify-content:space-between; align-items:center; }

/* Campos do filtro: FORÇAR BORDAS */
.avive-drawer__form input[type="text"],
.avive-drawer__form input[type="search"],
.avive-drawer__form select{
  border:1px solid var(--avive-field-border) !important;
  background:#fff !important;
  border-radius:12px !important;
  box-shadow:0 1px 0 rgba(0,0,0,.02) inset !important;
  font-size:14px !important; color:var(--text) !important;
}

/* Bloqueio de rolagem do fundo quando o filtro abre */
html.avive-no-scroll, body.avive-no-scroll{ overflow:hidden !important; }


/* Header com 3 colunas: voltar | título | X */
.avive-drawer__header{
  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  align-items:center !important;
  gap:8px !important;
  position:sticky; top:0; background:#f7fff7; padding:14px;
  border-bottom:1px solid var(--line) !important;
}
.avive-drawer__header h3{
  margin:0 !important; text-align:center !important;
  font-size:18px !important; color:#154e2b !important; font-weight:800 !important;
}
.avive-drawer__back{
  background:none !important; border:none !important; cursor:pointer !important;
  color:#0b5d2a !important; font-weight:700 !important; font-size:14px !important;
  padding:6px 10px !important; border-radius:10px !important;
}
.avive-drawer__back:focus{ outline:2px solid #2f9e44 !important; }
.avive-drawer__close{
  border:1px solid var(--line) !important; background:#fff !important;
  width:36px !important; height:36px !important; border-radius:10px !important;
  cursor:pointer !important; font-size:20px !important; line-height:1 !important; color:#24322a !important;
}
.avive-drawer__hint{
  text-align:center !important; font-size:12px !important; color:var(--muted) !important;
  padding:6px 0 10px 0 !important; border-bottom:1px dashed var(--line) !important;
}

/* (continua valendo o patch anterior de drawer à esquerda, top offset e no-scroll) */


/* ====== Anti-estouro e rolagem correta no drawer ====== */

/* o drawer não rola (nem horizontal), quem rola é o form */
.avive-drawer{
  overflow: hidden !important;
}

/* o formulário é que rola verticalmente; NUNCA horizontal */
.avive-drawer__form{
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100% !important;
}

/* grid: impedir que conteúdos forcem largura maior que o container */
.avive-row,
.avive-row > *,
.avive-field{
  min-width: 0 !important;
}

/* nas linhas 2-colunas, usar minmax(0,1fr) para permitir “encolher” */
.avive-row--2{
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap: 10px !important;
}

/* campos: largura nunca maior que o container do grid */
.avive-drawer__form input[type="text"],
.avive-drawer__form input[type="search"],
.avive-drawer__form select{
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;

  /* suas bordas forçadas */
  border: 1px solid #CCCCCC !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) inset !important;
  font-size: 14px !important;
  color: var(--text) !important;
}

/* select múltiplo também obedecendo o container */
.avive-drawer__form select[multiple]{
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* garantir que nada dentro do drawer “cresça” além do limite */
.avive-drawer, .avive-drawer *{
  box-sizing: border-box !important;
}


.avive-drawer__form select[multiple] option{
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}


/* Drawer em coluna: header + hint fixos, FORM rola */
.avive-drawer{
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important; /* bloqueia HORIZONTAL; quem rola é o form */
}

/* o form ocupa o restante e rola no eixo Y */
.avive-drawer__form{
  flex: 1 1 auto !important;
  min-height: 0 !important;                 /* <- fundamental pro flex permitir rolagem */
  overflow-y: auto !important;              /* <- rolagem vertical habilitada */
  overflow-x: hidden !important;            /* <- sem rolagem horizontal */
  -webkit-overflow-scrolling: touch !important; /* rolagem suave no iOS */
  max-width: 100% !important;
}

/* linhas 2-colunas sem “empurrar” a largura */
.avive-row--2{
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
}

/* inputs/selects respeitam o container */
.avive-drawer__form input[type="text"],
.avive-drawer__form input[type="search"],
.avive-drawer__form select{
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #CCCCCC !important;   /* sua borda */
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) inset !important;
  font-size: 14px !important;
  color: var(--text) !important;
}


/* Centralizar o bloco do inventário quando limitamos a largura */
.avive-inv,
.avive-inv__header,
#aviveActive{
  max-width: 1300px !important;  /* seu limite */
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px !important;   /* respiro nas laterais */
  padding-right: 12px !important;
  align-self: center !important;   /* caso o pai seja flex */
}



