/* =========================================================================
   VALLEJU — Design System · v07/2026
   Fonte única de tokens + componentes. Tailwind (CDN) cobre só layout;
   marca, cores e componentes vêm daqui. Portável para o mvc_valleju.
   ========================================================================= */

/* ------------------------------------------------------------------ TOKENS */
:root{
  /* superfícies / texto (neutros quentes — off-white institucional da marca) */
  --ground:#FBFAF7;  --surface:#FFFFFF;  --surface-2:#F3F1EC;
  --ink:#1B241F;     --muted:#6E736C;    --faint:#A2A69E;
  --line:#E9E6DF;    --line-2:#DCD9D0;

  /* marca + semânticas — IDENTIDADE VERDE (Valleju v2) */
  --brand:#1E5144;   --brand-600:#163C31;  --brand-tint:#E6EFEB;
  --brand-ink:#1E5144; /* verde escuro passa AA/AAA como texto no branco (~8:1) */
  --leaf:#8DC63F;    --leaf-tint:#EFF7E1;   /* verde claro (folha) — accent/fill; texto escuro sobre ele */
  --sale:#F15A38;    --sale-tint:#FDE7DF;   /* laranja institucional — ofertas/descontos */
  --fresh:#4E8B2C;   --fresh-tint:#ECF5E0;  /* verde legível p/ selos "fresco/frete grátis" (texto branco) */
  --cream:#FEE6D3;                          /* off-white institucional — heros/painéis */

  /* tipografia — Nunito (aproximação livre da Museo Sans, arredondada) */
  --font-display:"Nunito", system-ui, sans-serif;
  --font-sans:"Nunito", system-ui, sans-serif;

  /* raio / sombra */
  --r-xs:.5rem; --r-sm:.75rem; --r:1.1rem; --r-lg:1.4rem; --r-full:999px;
  --shadow-soft:0 1px 2px rgba(27,36,31,.04), 0 10px 30px rgba(27,36,31,.06);
  --shadow-lift:0 14px 40px rgba(30,81,68,.16);

  /* layout */
  --maxw:1200px;
  --ring:0 0 0 4px rgba(30,81,68,.16);
}

/* -------------------------------------------------------------------- BASE */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:var(--font-sans); letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.font-display{font-family:var(--font-display)}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
:where(button,a,input,select,textarea):focus-visible{outline:none; box-shadow:var(--ring); border-radius:var(--r-sm)}
@media (prefers-reduced-motion:reduce){*{transition:none!important; animation:none!important}}

.container{max-width:var(--maxw); margin-inline:auto; padding-inline:1.25rem}
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{-ms-overflow-style:none; scrollbar-width:none}
.tnum{font-variant-numeric:tabular-nums}
/* responsivo (com !important p/ vencer display de componentes) */
@media (min-width:1024px){ .u-lg-hide{display:none!important} }
.u-sm-up{display:none!important}
@media (min-width:640px){ .u-sm-up{display:revert!important} }

/* --------------------------------------------------- UTILITÁRIOS DE MARCA */
.t-ink{color:var(--ink)} .t-muted{color:var(--muted)} .t-faint{color:var(--faint)}
.t-brand{color:var(--brand)} .t-fresh{color:var(--fresh)} .t-sale{color:var(--sale)}
.bg-surface{background:var(--surface)} .bg-surface-2{background:var(--surface-2)}
.bg-brand{background:var(--brand)} .bg-brand-tint{background:var(--brand-tint)}
.bg-fresh-tint{background:var(--fresh-tint)}
.bd-line{border-color:var(--line)} .bd-line-2{border-color:var(--line-2)}

/* ============================================================== COMPONENTES */

/* ---- Botões ---- */
.btn{
  --_bg:var(--brand); --_fg:#fff; --_bd:transparent;
  display:inline-flex; align-items:center; justify-content:center; gap:.625rem;
  height:3rem; padding-inline:1.5rem; border-radius:var(--r-sm);
  font-weight:700; font-size:1rem; line-height:1; white-space:nowrap; cursor:pointer;
  background:var(--_bg); color:var(--_fg); border:1.5px solid var(--_bd);
  transition:background .18s ease, box-shadow .18s ease, border-color .18s ease, transform .06s ease;
}
.btn:active{transform:scale(.99)}
.btn--primary{box-shadow:var(--shadow-lift)}
.btn--primary:hover{--_bg:var(--brand-600)}
.btn--success{--_bg:var(--fresh); box-shadow:var(--shadow-lift)}
.btn--success:hover{filter:brightness(1.05)}
.btn--outline{--_bg:transparent; --_fg:var(--brand); --_bd:var(--brand)}
.btn--outline:hover{--_bg:var(--brand-tint)}
.btn--ghost{--_bg:var(--surface); --_fg:var(--ink); --_bd:var(--line-2)}
.btn--ghost:hover{--_bd:var(--brand); --_fg:var(--brand)}
.btn--sm{height:2.5rem; padding-inline:1rem; font-size:.875rem}
.btn--lg{height:3.5rem; padding-inline:2rem}
.btn--block{display:flex; width:100%}
.btn--pill{border-radius:var(--r-full)}
/* estados */
.btn:disabled, .btn[disabled], .btn.is-disabled{opacity:.5; cursor:not-allowed; box-shadow:none; pointer-events:none}
.btn.is-loading{color:transparent; pointer-events:none; position:relative}
.btn.is-loading::after{content:""; position:absolute; width:1.05rem; height:1.05rem; border-radius:var(--r-full); border:2px solid currentColor; border-top-color:transparent; color:#fff; animation:vj-spin .6s linear infinite}
.btn--outline.is-loading::after, .btn--ghost.is-loading::after{color:var(--brand)}
@keyframes vj-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.btn.is-loading::after{animation:none}}

/* ---- Link de ação (seta) ---- */
.link-arrow{display:inline-flex; align-items:center; gap:.25rem; color:var(--brand-ink); font-weight:700; font-size:.875rem; transition:gap .18s ease}
.link-arrow:hover{gap:.5rem}

/* ---- Cartão genérico ---- */
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); box-shadow:none}
.card--xl{border-radius:var(--r-lg)}

/* ---- Cartão de produto ---- */
.product{
  position:relative; display:flex; flex-direction:column; cursor:pointer;
  background:var(--surface); border:1px solid transparent; border-radius:var(--r);
  padding:1rem 1rem 1.125rem;
  box-shadow:0 1px 3px rgba(34,31,28,.05);
  transition:box-shadow .2s ease, transform .2s ease;
}
.product:hover{box-shadow:var(--shadow-lift); transform:translateY(-4px)}
.product__media{height:164px; display:flex; align-items:center; justify-content:center; margin-bottom:.625rem}
.product__media img{max-height:158px; max-width:82%; width:auto; object-fit:contain; mix-blend-mode:multiply}
.product__name{color:var(--ink); font-size:.844rem; font-weight:500; line-height:1.35; min-height:38px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.product__unit{color:var(--muted); font-size:.75rem; margin-top:.125rem}
.product__price{margin-top:auto; padding-top:.625rem; display:flex; flex-direction:column; align-items:flex-start; gap:.125rem}
@media (min-width:640px){.product__price{flex-direction:row; align-items:flex-end; gap:.5rem}}

/* ---- Card em destaque (melhor oferta) ---- */
.product--feature{grid-column:span 2}
.product--feature .product__media{height:200px; margin-bottom:.75rem}
.product--feature .product__media img{max-height:194px; max-width:72%}
.product--feature .product__name{font-size:1.0625rem; -webkit-line-clamp:2; min-height:0; font-weight:600}
.product--feature .product__unit{font-size:.844rem}
.product--feature .price{font-size:1.75rem}
.product--feature .price__old{font-size:.906rem}

/* ---- Preço ---- */
.price{color:var(--brand-ink); font-family:var(--font-display); font-weight:800; font-size:1.313rem; line-height:1; letter-spacing:-.02em; white-space:nowrap}
.price--lg{font-size:2.5rem}
.price__old{color:var(--muted); font-size:.781rem; text-decoration:line-through; white-space:nowrap; line-height:1}
.price__per{color:var(--fresh); font-size:.719rem; font-weight:700; margin-top:.125rem}

/* ---- Favoritar ---- */
.fav{position:absolute; top:.75rem; right:.75rem; z-index:2; width:2.25rem; height:2.25rem; display:grid; place-items:center;
  border-radius:var(--r-full); border:1px solid var(--line-2); background:var(--surface); color:var(--faint); cursor:pointer; transition:.18s}
.fav:hover{color:var(--sale); border-color:var(--sale)}
.fav:active{transform:scale(.92)}
.fav.is-on{color:var(--sale); border-color:var(--sale); background:var(--sale-tint)}

/* ---- Badges ---- */
.badge{position:absolute; top:.75rem; left:.75rem; z-index:2; font-size:.75rem; font-weight:800; color:#fff; border-radius:.5rem; padding:.25rem .625rem; line-height:1}
.badge--sale{background:var(--sale)}
.badge--fresh{background:var(--fresh); font-weight:700}
.badge--incart{background:var(--fresh); display:inline-flex; align-items:center; gap:.2rem; text-transform:none; font-weight:700}
.badge--sale ~ .badge--incart{top:2.55rem}
.product:not(.product--incart) .badge--incart{display:none}
.product--incart .cart-btn{background:var(--fresh)}
.product--incart .cart-btn:hover{background:var(--fresh)}
.tag{display:inline-block; font-size:.688rem; font-weight:800; border-radius:.375rem; padding:.125rem .375rem; line-height:1.3}
.tag--fresh{color:var(--fresh); background:var(--fresh-tint)}
.tag--sale{color:var(--sale); background:var(--sale-tint)}
.tag--brand{color:var(--brand); background:var(--brand-tint)}

/* ---- Chips de categoria ---- */
.chip{display:inline-flex; align-items:center; gap:.375rem; flex:none; height:2rem; padding-inline:.625rem;
  border-radius:var(--r-full); font-size:.844rem; font-weight:600; color:var(--muted); background:var(--surface);
  border:1px solid transparent; transition:.15s; cursor:pointer}
.chip:hover{color:var(--brand); background:var(--brand-tint)}
.chip svg{width:1rem; height:1rem; flex:none}
.chip[aria-current="true"],.chip--active{color:#fff; background:var(--brand)}
.chip--pill{height:2.25rem; padding-inline:.875rem; border-color:var(--line-2); background:var(--surface)}
.chip--pill.chip--active{border-color:var(--brand); background:var(--brand); color:#fff}

/* ---- Stepper de quantidade ---- */
.stepper{display:flex; align-items:center; height:2.75rem; overflow:hidden; background:var(--surface); border:1px solid var(--line-2); border-radius:var(--r-sm)}
.stepper__btn{flex:none; width:2rem; height:100%; display:grid; place-items:center; color:var(--brand); font-size:1.188rem; font-weight:700; line-height:1; cursor:pointer; background:none; border:none; transition:background .15s}
.stepper__btn:hover{background:var(--brand-tint)}
.stepper__btn:active{background:color-mix(in srgb, var(--brand-tint) 70%, var(--brand))}
.stepper__btn:disabled{color:var(--faint); cursor:not-allowed; background:none}
.stepper__input{flex:1; min-width:0; height:100%; text-align:center; font-size:.938rem; font-weight:700; color:var(--ink); background:transparent; border:none; outline:none; font-variant-numeric:tabular-nums}
@media (min-width:640px){.stepper__btn{width:2.25rem}}

/* ---- Stepper grande (PDP / checkout) ---- */
.stepper--lg{height:3.5rem}
.stepper--lg .stepper__btn{width:3.5rem; font-size:1.5rem}
.stepper--lg .stepper__input{width:3.5rem; flex:none; font-size:1.063rem}

/* ---- Lista de definição (ficha / resumo) ---- */
.dl{border:1px solid var(--line); border-radius:var(--r); overflow:hidden; font-size:.875rem}
.dl > div{display:flex; justify-content:space-between; gap:1rem; padding:.75rem 1rem}
.dl > div:nth-child(odd){background:color-mix(in srgb,var(--surface-2) 55%, transparent)}
.dl dt{color:var(--muted)} .dl dd{color:var(--ink); font-weight:600; text-align:right}

/* ---- Indicador de etapas (checkout) ---- */
.steps{display:flex; align-items:center; gap:.5rem; font-size:.813rem; font-weight:600}
.steps .dot{width:1.75rem; height:1.75rem; border-radius:var(--r-full); display:grid; place-items:center; background:var(--surface-2); color:var(--faint); border:1px solid var(--line-2)}
.steps .dot--active{background:var(--brand); color:#fff; border-color:var(--brand)}
.steps .dot--done{background:var(--fresh); color:#fff; border-color:var(--fresh)}
.steps .bar{flex:1; height:1px; background:var(--line-2); max-width:80px}
.steps .lbl-todo{color:var(--faint)} .steps .lbl-active{color:var(--ink)} .steps .lbl-done{color:var(--fresh)}

/* ---- Tabs verticais (conta / institucional) ---- */
.tabs{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:.5rem; display:flex; gap:.25rem; overflow-x:auto}
@media (min-width:1024px){.tabs{flex-direction:column}}
.tab{flex:none; text-align:left; display:flex; align-items:center; gap:.75rem; padding-inline:.875rem; height:2.75rem; border-radius:var(--r-sm); font-weight:600; font-size:.875rem; color:var(--muted); background:none; border:none; cursor:pointer; white-space:nowrap; transition:.15s; text-decoration:none}
.tab:hover{background:var(--surface-2)}
.tab--active{background:var(--brand-tint); color:var(--brand)}

/* ---- Prose (institucional) ---- */
.prose p{color:var(--muted); line-height:1.7; margin-top:.75rem}
.prose h3{color:var(--ink); font-weight:800; font-size:1.05rem; margin-top:1.5rem}

/* ---- Botão carrinho quadrado (no card) ---- */
.cart-btn{flex:none; width:2.25rem; height:2.75rem; display:grid; place-items:center; border-radius:var(--r-sm); background:var(--brand); color:#fff; border:none; cursor:pointer; transition:background .18s, transform .06s}
.cart-btn:hover{background:var(--brand-600)} .cart-btn:active{transform:scale(.95)}
@media (min-width:640px){.cart-btn{width:2.75rem}}

/* ---- Campos ---- */
.field{width:100%; height:3rem; padding-inline:1rem; border-radius:var(--r-sm); background:var(--surface-2); border:1px solid var(--line-2); font-size:.938rem; color:var(--ink); transition:.15s}
.field::placeholder{color:var(--muted)}
.field:focus{background:var(--surface); border-color:var(--brand); box-shadow:var(--ring); outline:none}
.field:disabled{background:var(--surface-2); color:var(--muted); cursor:not-allowed; opacity:.7}
.field--error{border-color:var(--sale)}
.field--error:focus{border-color:var(--sale); box-shadow:0 0 0 4px rgba(246,45,81,.14)}
.field-msg{font-size:.781rem; margin-top:.375rem; display:flex; align-items:center; gap:.25rem}
.field-msg--error{color:var(--sale)}
.field-msg--ok{color:var(--fresh)}
textarea.field{height:auto; padding:1rem; resize:none; line-height:1.5}
.label{display:block; font-size:.813rem; font-weight:600; color:var(--ink); margin-bottom:.375rem}
.search{position:relative}
.search input{width:100%; height:3rem; padding:0 3rem 0 1.25rem; border-radius:var(--r-full); background:var(--surface-2); border:1px solid var(--line-2); font-size:.938rem; outline:none; transition:.15s}
.search input::placeholder{color:var(--muted)}
.search input:focus{background:var(--surface); border-color:var(--brand); box-shadow:var(--ring)}
.search button{position:absolute; right:.375rem; top:.375rem; width:2.25rem; height:2.25rem; display:grid; place-items:center; border-radius:var(--r-full); background:var(--brand); color:#fff; border:none; cursor:pointer; transition:background .18s}
.search button:hover{background:var(--brand-600)}
/* ---- Autocomplete de busca ---- */
.vj-sug{position:absolute; top:calc(100% + .375rem); left:0; right:0; z-index:60; display:none; background:var(--surface); border:1px solid var(--line-2); border-radius:var(--r-sm); box-shadow:var(--shadow-soft); overflow:hidden; max-height:72vh; overflow-y:auto}
.vj-sug__item{display:flex; align-items:center; gap:.75rem; padding:.5rem .875rem; border-bottom:1px solid var(--line)}
.vj-sug__item:hover{background:var(--surface-2)}
.vj-sug__img{width:2.5rem; height:2.5rem; flex:none; display:grid; place-items:center; background:#fff; border:1px solid var(--line); border-radius:.5rem; overflow:hidden}
.vj-sug__img img{max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply}
.vj-sug__txt{display:flex; flex-direction:column; min-width:0; line-height:1.25}
.vj-sug__txt b{color:var(--ink); font-size:.875rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.vj-sug__cat{color:var(--muted); font-size:.719rem}
.vj-sug__all{display:block; padding:.75rem .875rem; text-align:center; color:var(--brand-ink); font-weight:700; font-size:.813rem; background:var(--surface-2)}
.vj-sug__all:hover{background:var(--brand-tint)}
.vj-sug__all--top{border-bottom:1px solid var(--line-2)}

/* ---- "Compre por categoria" — carrossel horizontal (desktop + mobile) ---- */
.catrail{position:relative}
.catgrid{display:flex; gap:.75rem; overflow-x:auto; scroll-snap-type:x proximity; scroll-behavior:smooth; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:.25rem .1rem}
.catgrid::-webkit-scrollbar{display:none}
.catgrid__item{flex:0 0 6.75rem; width:6.75rem; scroll-snap-align:start; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.55rem; padding:1.1rem .5rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); color:var(--ink); text-align:center; transition:border-color .15s, color .15s, box-shadow .15s, transform .15s}
.catgrid__item:hover{border-color:var(--brand); color:var(--brand); box-shadow:var(--shadow-soft); transform:translateY(-2px)}
.catgrid__item svg{color:var(--brand)}
.catgrid__item span{font-size:.78rem; font-weight:700; line-height:1.15}
.catrail__btn{position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:2.25rem; height:2.25rem; border-radius:var(--r-full); background:var(--surface); border:1px solid var(--line-2); box-shadow:var(--shadow-soft); display:none; place-items:center; cursor:pointer; color:var(--ink); transition:color .15s, border-color .15s}
.catrail__btn:hover{color:var(--brand); border-color:var(--brand)}
.catrail__btn--prev{left:-.6rem} .catrail__btn--next{right:-.6rem}
@media (min-width:768px){ .catrail__btn{display:grid} .catgrid{padding-inline:1.4rem} }

/* ---- Header da página de categoria: medalhão com ícone (P3) ---- */
.cathead{display:flex; align-items:center; gap:1rem}
.cathero{flex:none; width:84px; height:84px; border-radius:var(--r-lg); background:var(--surface); border:1px solid var(--line); display:grid; place-items:center; overflow:hidden}
.cathero img{width:60px; height:60px; object-fit:contain}
.cathero svg{color:var(--brand)}
@media (max-width:640px){ .cathero{width:64px; height:64px} .cathero img{width:46px; height:46px} .cathero svg{width:40px; height:40px} }

/* ---- Grade de Marcas ---- */
.marca-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:1rem}
.marca-card{display:flex; flex-direction:column; align-items:center; gap:.6rem; padding:1.25rem 1rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); text-align:center; transition:border-color .15s, box-shadow .15s, transform .15s}
.marca-card:hover{border-color:var(--brand); box-shadow:var(--shadow-soft); transform:translateY(-2px)}
.marca-card__logo{width:100%; height:72px; display:grid; place-items:center}
.marca-card__logo img{max-width:100%; max-height:72px; object-fit:contain}
.marca-card__name{font-weight:700; font-size:.875rem; color:var(--ink); line-height:1.2}
.marca-card__count{font-size:.75rem; color:var(--muted)}

/* ---- Check / Radio custom ---- */
.opt{display:flex; gap:.75rem; align-items:flex-start; padding:1rem; border-radius:var(--r-sm); border:2px solid var(--line-2); background:var(--surface); cursor:pointer; transition:.15s}
.opt:hover{border-color:color-mix(in srgb, var(--brand) 50%, transparent)}
.opt input{position:absolute; opacity:0; width:0; height:0}
.opt__dot{margin-top:.125rem; width:18px; height:18px; flex:none; border-radius:var(--r-full); border:1.5px solid var(--line-2); display:grid; place-items:center; transition:.15s}
.opt__dot::after{content:""; width:10px; height:10px; border-radius:var(--r-full); background:var(--brand); transform:scale(0); transition:.15s}
.opt:has(input:checked){border-color:var(--brand); background:color-mix(in srgb, var(--brand-tint) 40%, var(--surface))}
.opt:has(input:checked) .opt__dot{border-color:var(--brand)}
.opt:has(input:checked) .opt__dot::after{transform:scale(1)}
.check{width:18px; height:18px; flex:none; border-radius:6px; border:1.5px solid var(--line-2); background:var(--surface); display:grid; place-items:center; transition:.15s}
.check svg{width:12px; height:12px; color:#fff; opacity:0; transition:.15s}
input:checked + .check{background:var(--brand); border-color:var(--brand)}
input:checked + .check svg{opacity:1}

/* ---- Select ---- */
.select{position:relative; display:inline-block}
.select select{appearance:none; height:2.5rem; padding:0 2.25rem 0 1rem; border-radius:var(--r-full); border:1px solid var(--line-2); background:var(--surface); color:var(--ink); font-weight:600; font-size:.844rem; cursor:pointer; outline:none; transition:border-color .15s, box-shadow .15s}
.select select:hover, .select select:focus{border-color:var(--brand)}
.select select:focus{box-shadow:var(--ring)}
.select > svg{position:absolute; right:.75rem; top:50%; transform:translateY(-50%); pointer-events:none; color:var(--muted)}

/* ---- Linha de filtro (checkbox/radio + rótulo + contagem) ---- */
.fgroup > h3{font-weight:700; color:var(--ink); font-size:.875rem; margin:0 0 .875rem}
.fgroup + .fgroup{margin-top:1.75rem; padding-top:1.75rem; border-top:1px solid var(--line)}
.frow{display:flex; align-items:center; gap:.625rem; cursor:pointer; color:var(--muted); font-size:.844rem; transition:color .15s}
.frow + .frow{margin-top:.75rem}
.frow:hover{color:var(--ink)}
.frow.is-active{color:var(--brand); font-weight:700}
.frow input{position:absolute; opacity:0; width:0; height:0}
.frow .count{color:var(--muted); font-size:.75rem}
.frow .radio{width:18px; height:18px; flex:none; border-radius:var(--r-full); border:1.5px solid var(--line-2); background:var(--surface); display:grid; place-items:center; transition:.15s}
.frow .radio::after{content:""; width:10px; height:10px; border-radius:var(--r-full); background:var(--brand); transform:scale(0); transition:.15s}
.frow input:checked + .radio{border-color:var(--brand)}
.frow input:checked + .radio::after{transform:scale(1)}

/* ---- Painel de filtros (sidebar desktop · bottom-sheet mobile) ---- */
.filters-ov{position:fixed; inset:0; z-index:40; background:rgba(0,0,0,.4)}
.filters{
  position:fixed; inset-inline:0; bottom:0; z-index:50; width:100%; max-height:86vh;
  background:var(--surface); border-radius:1.5rem 1.5rem 0 0; box-shadow:0 -10px 40px rgba(0,0,0,.18);
  transform:translateY(100%); transition:transform .3s ease; overflow-y:auto;
}
.filters.is-open{transform:translateY(0)}
.filters__head{position:sticky; top:0; background:var(--surface); display:flex; align-items:center; justify-content:space-between; height:3.5rem; padding-inline:1.25rem; border-bottom:1px solid var(--line)}
.filters__foot{position:sticky; bottom:0; background:var(--surface); border-top:1px solid var(--line); padding:1rem; display:flex; gap:.75rem}
.filters__body{padding:1.25rem}
@media (min-width:1024px){
  .filters{position:sticky; inset:auto; top:1.5rem; z-index:auto; width:auto; max-height:none;
    transform:none; background:transparent; border-radius:0; box-shadow:none; overflow:visible}
  .filters__head, .filters__foot{display:none}
  .filters__body{padding:0}
}

/* ---- Paginação ---- */
.page-btn{width:2.5rem; height:2.5rem; display:grid; place-items:center; border-radius:var(--r-sm); border:1px solid var(--line-2); background:var(--surface); color:var(--ink); font-weight:700; font-size:.875rem; cursor:pointer; transition:.15s}
.page-btn:hover{border-color:var(--brand); color:var(--brand)}
.page-btn--active{background:var(--brand); border-color:var(--brand); color:#fff}

/* ---- Título de seção ---- */
.eyebrow{font-size:.75rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase}
.section-title{font-family:var(--font-display); font-weight:800; color:var(--ink); font-size:1.875rem; letter-spacing:-.02em; line-height:1.1}

/* ---- Breadcrumb ---- */
.crumbs{display:flex; align-items:center; gap:.375rem; font-size:.813rem; color:var(--muted)}
.crumbs a:hover{color:var(--brand)}
.crumbs svg{width:.875rem; height:.875rem; color:var(--faint)}
.crumbs [aria-current]{color:var(--ink); font-weight:600}

/* ---- Cabeçalho de seção (título + link "ver todos") ---- */
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:1rem}

/* ---- Grade de produtos (home 2/3/5 · listagem c/ sidebar 2/3/4) ---- */
/* minmax(0,1fr) — sem o floor 0, cards c/ preço/imagem nowrap estouram a track */
.product-grid{display:grid; gap:1.25rem; grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:768px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
.product-grid--dense{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:768px){.product-grid--dense{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){.product-grid--dense{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---- Grade do hero (destaque 2fr + coluna de atalhos 1fr) ---- */
.hero-grid{display:grid; gap:1.25rem; grid-template-columns:minmax(0,1fr)}
@media (min-width:1024px){.hero-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}
.hero-aside{display:grid; gap:1.25rem; grid-template-rows:1fr 1fr}

/* ---- Hero (destaque claro e arejado) ---- */
.hero{position:relative; overflow:hidden; display:flex; align-items:center; min-height:340px;
  border:1px solid var(--line); border-radius:var(--r-lg);
  background:linear-gradient(112deg, var(--fresh-tint), var(--surface) 52%, var(--brand-tint))}
.hero::before{content:""; position:absolute; right:-6%; top:-40%; width:58%; height:180%; opacity:.55; pointer-events:none;
  background:radial-gradient(circle at 60% 50%, rgba(38,142,91,.16), transparent 60%)}
.hero__body{position:relative; z-index:1; padding:2.25rem 1.75rem; max-width:100%}
@media (min-width:768px){.hero__body{padding:3rem; max-width:64%}}
.hero__title{font-family:var(--font-display); font-weight:800; color:var(--ink); line-height:1.02; letter-spacing:-.025em; margin-top:.875rem; text-wrap:balance; font-size:38px}
@media (min-width:768px){.hero__title{font-size:54px}}
.hero__text{color:var(--muted); margin-top:.875rem; max-width:30rem; font-size:1.0625rem; line-height:1.6}
.hero .btn{margin-top:1.75rem}

/* ---- Card de atalho (encarte / cardápio) ---- */
.promo{--_accent:var(--brand); --_tint:var(--brand-tint);
  display:flex; flex-direction:column; justify-content:center; padding:1.5rem; border-radius:var(--r-lg);
  background:var(--_tint); border:1px solid color-mix(in srgb, var(--_accent) 18%, transparent)}
.promo--fresh{--_accent:var(--fresh); --_tint:var(--fresh-tint)}
.promo--brand{--_accent:var(--brand); --_tint:var(--brand-tint)}
.promo__eyebrow{display:flex; align-items:center; gap:.5rem; color:var(--_accent)}
.promo__eyebrow svg{width:18px; height:18px; flex:none}
.promo__title{color:var(--ink); font-size:1.25rem; font-weight:800; margin-top:.375rem}
.promo__text{color:var(--muted); font-size:.813rem; margin-top:.25rem}
.promo .link-arrow{color:var(--_accent); margin-top:.75rem}

/* ---- Faixa de reassurance (benefícios enxutos) ---- */
.reassure{background:var(--surface-2); border-radius:var(--r); padding:1.125rem 1.5rem;
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 1.75rem}
@media (min-width:1024px){.reassure{grid-template-columns:repeat(4,minmax(0,1fr))}}
.reassure__item{display:flex; align-items:center; gap:.625rem; font-size:.813rem; line-height:1.3}
.reassure__item svg{width:22px; height:22px; flex:none; color:var(--muted)}
.reassure__item svg.t-fresh{color:var(--fresh)}
.reassure__item b{color:var(--ink)}
.reassure__item span > span{display:block; color:var(--muted)}

/* =================================================================== CHROME */

/* ---- Topbar ---- */
.topbar{background:var(--surface-2); border-bottom:1px solid var(--line); font-size:.813rem; color:var(--muted)}
.topbar__in{display:flex; align-items:center; justify-content:space-between; height:2.25rem}
.topbar a:hover, .topbar button:hover{color:var(--ink)}

/* ---- Header ---- */
.header{position:sticky; top:0; z-index:30; background:color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
.header__in{display:flex; align-items:center; gap:.75rem; height:72px}
@media (min-width:768px){.header__in{gap:1.25rem}}
.logo{flex:none} .logo img{height:2.9rem; width:auto}
@media (min-width:768px){.logo img{height:3.4rem}}
.icon-btn{width:2.5rem; height:2.5rem; display:grid; place-items:center; border-radius:var(--r-xs); color:var(--ink); background:none; border:none; cursor:pointer; transition:background .15s}
.icon-btn:hover{background:var(--surface-2)}
.account{display:flex; align-items:center; gap:.625rem; color:var(--ink); font-size:.813rem; transition:color .15s}
.account:hover{color:var(--brand)}
.account__av{width:2.25rem; height:2.25rem; border-radius:var(--r-full); background:var(--brand-tint); color:var(--brand); display:grid; place-items:center; font-weight:700}
.cart-pill{display:flex; align-items:center; gap:.625rem; height:3rem; padding:0 1rem 0 .875rem; border-radius:var(--r-full); background:var(--brand-tint); color:var(--brand); font-size:.813rem; transition:.18s}
.cart-pill:hover{background:var(--brand); color:#fff}
.cart-pill b{font-size:.938rem}

/* ---- Nav de categorias ---- */
.catnav{border-top:1px solid var(--line); background:var(--surface)}
.catnav__in{display:flex; align-items:center; gap:0; height:3rem; overflow-x:auto; font-size:.766rem; font-weight:600}
.catnav__in .chip{padding-inline:.3rem; gap:.2rem}
.catnav__in .chip svg{width:.85rem; height:.85rem}

/* ---- Modal (troca de loja etc) ---- */
.vj-modal{position:fixed; inset:0; z-index:70; display:flex; align-items:center; justify-content:center; padding:1rem}
.vj-modal__ov{position:absolute; inset:0; background:rgba(34,31,28,.45); backdrop-filter:blur(2px)}
.vj-modal__box{position:relative; z-index:1; width:100%; max-width:460px; max-height:86vh; overflow-y:auto; background:var(--surface); border-radius:var(--r-lg); box-shadow:0 20px 60px rgba(0,0,0,.28)}
.vj-modal__head{position:sticky; top:0; background:var(--surface); display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.125rem 1.25rem; border-bottom:1px solid var(--line)}
.vj-modal__body{padding:1.25rem}
.vj-loja-card{display:flex; align-items:center; gap:1rem; padding:1rem; border:1px solid var(--line-2); border-radius:var(--r); transition:border-color .15s}
.vj-loja-card + .vj-loja-card{margin-top:.75rem}
.vj-loja-card.is-current{border-color:var(--fresh); background:var(--fresh-tint)}

/* ---- Drawer ---- */
.drawer-ov{position:fixed; inset:0; z-index:50; background:rgba(0,0,0,.4)}
.drawer{position:fixed; top:0; left:0; z-index:50; height:100%; width:82%; max-width:330px; background:var(--surface);
  transform:translateX(-100%); transition:transform .3s ease; overflow-y:auto}
.drawer.is-open{transform:translateX(0)}
.drawer__head{display:flex; align-items:center; justify-content:space-between; height:4rem; padding-inline:1.25rem; border-bottom:1px solid var(--line)}
.drawer a.drawer__cat{display:flex; align-items:center; gap:.75rem; padding:.75rem .25rem; border-bottom:1px solid var(--line); font-weight:600; color:var(--ink)}
.drawer a.drawer__cat:last-child{border-bottom:none}
.drawer a.drawer__cat:hover{color:var(--brand)}

/* ---- Bottom nav (mobile) ---- */
.bottomnav{position:fixed; bottom:0; inset-inline:0; z-index:40; background:color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter:blur(8px); border-top:1px solid var(--line)}
.bottomnav__in{display:grid; grid-template-columns:repeat(5,1fr); height:4rem; font-size:.688rem; font-weight:600}
.bottomnav a,.bottomnav button{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.25rem; color:var(--muted); background:none; border:none; cursor:pointer; position:relative}
.bottomnav .is-active{color:var(--brand)}
.bottomnav svg{width:1.5rem; height:1.5rem}
.bn-badge{position:absolute; top:.5rem; right:26%; min-width:16px; height:16px; padding-inline:.25rem; border-radius:var(--r-full); background:var(--sale); color:#fff; font-size:.625rem; font-weight:700; display:grid; place-items:center}

/* ---- Footer ---- */
.footer{background:var(--surface-2); border-top:1px solid var(--line); margin-top:2rem}
.footer a{color:var(--muted)} .footer a:hover{color:var(--brand)}
.footer__cols{display:grid; grid-template-columns:repeat(2,1fr); gap:2rem; padding-block:3rem .75rem; font-size:.875rem}
.footer__brand{grid-column:span 2}
@media (min-width:768px){.footer__cols{grid-template-columns:1.3fr 1.1fr .9fr .9fr; align-items:start} .footer__brand{grid-column:auto}}
.footer__promo{display:flex; gap:2rem; align-items:flex-start; flex-wrap:wrap; padding-bottom:2.5rem}
.footer__promo-wpp{flex:0 0 auto}
.footer__promo-pay{flex:1; min-width:300px}
.footer__promo .footer__pay{margin:0}
.footer__bar{border-top:1px solid var(--line); font-size:.781rem; color:var(--faint); padding-block:1rem}
.footer__bar-in{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.5rem}
.footer__soc{width:2.1rem; height:2.1rem; border-radius:999px; display:grid; place-items:center; background:var(--surface); border:1px solid var(--line); color:var(--ink); transition:background .15s, color .15s, border-color .15s}
.footer__soc:hover{background:var(--brand); border-color:var(--brand); color:#fff}
.footer__pay{background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:.9rem 1.05rem; align-self:start}
.footer__pay-logos{display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; margin-top:.55rem}
.footer__pay-logos{gap:.85rem; margin-top:0}
.footer__pay-logos img{height:28px; width:auto; max-width:64px; object-fit:contain}
.footer a.footer__wpp{display:inline-flex; align-items:center; gap:.4rem; font-size:.8rem; font-weight:600; color:#128c4b; background:rgba(18,140,75,.08); border:1px solid rgba(18,140,75,.28); border-radius:999px; padding:.35rem .8rem; width:fit-content; transition:background .15s, color .15s}
.footer a.footer__wpp:hover{background:rgba(18,140,75,.16); color:#0e6e3b}
.paytag{height:1.75rem; padding-inline:.625rem; display:grid; place-items:center; border-radius:var(--r-xs); background:var(--surface); border:1px solid var(--line); font-size:.688rem; font-weight:700; color:var(--muted)}

/* ---- Responsivo do chrome (sem depender do Tailwind) ---- */
.header__ham{display:grid}
.header__spacer{flex:1}
.header__search-d{display:none; flex:1; max-width:560px}
.header__search-m{padding-bottom:.75rem; margin-top:-.25rem}
.header__account{display:none}
.catnav{display:none}
@media (min-width:768px){
  .header__ham{display:none}
  .header__spacer{display:none}
  .header__search-d{display:block}
  .header__search-m{display:none}
  .header__account{display:flex}
  .catnav{display:block}
}
@media (min-width:768px){
  .drawer,.drawer-ov,.bottomnav{display:none!important}
  body.has-bottomnav{padding-bottom:0}
}
body.has-bottomnav{padding-bottom:4rem}

/* ---- FAB WhatsApp ---- */
.fab{position:fixed; right:1rem; bottom:5rem; z-index:40; display:flex; align-items:center; gap:.625rem; height:3rem; padding:0 1.25rem 0 1rem;
  border-radius:var(--r-full); background:var(--fresh); color:#fff; font-weight:700; font-size:.875rem; box-shadow:0 8px 24px rgba(0,0,0,.18); transition:filter .18s}
.fab:hover{filter:brightness(1.05)}
@media (min-width:768px){.fab{right:1.5rem; bottom:1.5rem}}
