/* Cores com nome (ops/ui-audit/tokenizar.py, 25/11/2026): use estas variáveis em vez de hex solto. */
:root{--ui-c-ambar-96:#fef3c7;--ui-c-azul-27:#374151;--ui-c-azul-27-2:#3b3f52;--ui-c-azul-27-3:#3c3e52;--ui-c-azul-39:#545b69;--ui-c-azul-41:#5d6070;--ui-c-azul-59:#8a8da0;--ui-c-azul-59-2:#8b8ea3;--ui-c-azul-63:#8f98a8;--ui-c-azul-65:#9a9dac;--ui-c-azul-69:#a3a8b8;--ui-c-azul-69-2:#a5a8b8;--ui-c-azul-72:#aab2c4;--ui-c-azul-78:#b9c0d0;--ui-c-celeste-44:#0565c9;--ui-c-celeste-48:#0070d6;--ui-c-cinza-100:#ffffff;--ui-c-cinza-8:#15171c;--ui-c-cinza-83:#c9cfdb;--ui-c-cinza-94:#efedf5;--ui-c-cinza-94-2:#f0eef6;--ui-c-cinza-95:#eef0f4;--ui-c-cinza-96:#fff1f3;--ui-c-cinza-97:#f6f4fd;--ui-c-cinza-97-2:#f7f6fb;--ui-c-cinza-99:#fffdf9;--ui-c-indigo-65:#a78bfa;--ui-c-indigo-75:#b9b6c9;--ui-c-indigo-87:#dcd6f5;--ui-c-laranja-37:#92400e;--ui-c-laranja-37-2:#9a3412;--ui-c-laranja-93:#fde8d7;--ui-c-vermelho-48:#d0391b}
/* Evidelo — camada de interface compartilhada (19/11/2026).
 * Cartão único (.evc), estrelas (.ev-stars), menu "Ofertas"/"Minha conta"
 * (.ev-dd), barra do celular (.ev-tabbar), barra de comparação (.ev-cmpbar),
 * aviso (.ev-toast) e o painel de baixo para cima (.ev-sheet).
 * Identidade: cabeçalho azul-marinho quase preto, fundo creme, violeta/lilás,
 * botões roxos e selo verde de desconto. */
:root {
  --ev-ink: #17182b;
  --ev-navy: #080d1a;
  --ev-muted: #5d5f74;
  --ev-line: #e7e3f0;
  --ev-purple: #6e38f7;
  --ev-purple-strong: #5b21b6;
  --ev-lilac: #ede9fe;
  --ev-lilac-2: #c4b5fd;
  --ev-green: #15803d;
  --ev-green-bg: #dcfce7;
  --ev-star: #f59e0b;
  --ev-tabbar-h: 0px;
  --ev-cmpbar-h: 0px;
  /* Cores que se repetiam em hex cru (auditoria UI 25/11/2026). */
  --ev-line-strong: #dcd9e6;  /* também absorve #d9d6e4 (3 unidades de diferença) */
  --ev-line-cool: #e8ebf1;
  --ev-line-muted: #c6cbda;
  --ev-surface: #f4f3f8;
  --ev-cream: #f7f5f1;
  --ev-danger: #e11d48;
  --store-ml: #ffe600; --store-ml-ink: #2d3277; --store-shopee: #ee4d2d;
  --store-magalu: #0086ff; --store-amazon: #232f3e; --store-amazon-accent: #ff9900;
  /* Escala de camadas (auditoria UI 25/11/2026): os valores de antes, com nome.
     Camadas locais de componente (1–6) continuam como número. */
  --z-filter-bar: 30;   /* barra de filtros fixa do catálogo no celular */
  --z-tabbar: 46;       /* barra de baixo do celular */
  --z-cmpbar: 47;       /* barra "comparar" */
  --z-dropdown: 70;     /* menus do cabeçalho */
  --z-sheet: 90;        /* folha "Ofertas" */
  --z-drawer: 92;       /* gaveta de filtros */
  --z-toast: 95;        /* avisos */
}

/* ------------------------------------------------------------ estrelas */
.ev-stars { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; line-height: 1; color: var(--ev-muted); white-space: nowrap; }
.ev-stars__g { display: inline-flex; letter-spacing: 0; font-size: 13px; }
.ev-stars__g i { font-style: normal; color: var(--ev-line-strong); }
.ev-stars__g i.f { color: var(--ev-star); }
.ev-stars__g i.h { background: linear-gradient(90deg, var(--ev-star) 50%, var(--ev-line-strong) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-stars b { color: var(--ev-ink); font-weight: 650; }
/* Estrelas antigas (sobreposição de 2×5): sem o CSS da vitrine viravam 10. */
.vk-stars { position: relative; display: inline-block; color: var(--ev-line-strong); letter-spacing: 0; white-space: nowrap; overflow: hidden; vertical-align: -1px; }
.vk-stars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--ev-star); white-space: nowrap; }

/* -------------------------------------------------------------- cartão */
.evc {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0;
  background: var(--ui-c-cinza-100); border: 1px solid var(--ev-line); border-radius: 18px; padding: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  font-family: var(--font-ui, system-ui, sans-serif); color: var(--ev-ink); text-align: left;
}
.evc:hover { border-color: var(--ev-lilac-2); box-shadow: 0 14px 32px rgba(110, 56, 247, .10); }
.evc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.evc__store { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; font-weight: 600; color: var(--ev-muted); }
.evc__storename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evc__logo { flex: none; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 6px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: -.02em; color: var(--ev-sfg, var(--ui-c-cinza-100)); background: var(--ev-sbg, var(--ui-c-azul-59-2)); }
.evc__store--ml .evc__logo { background: var(--store-ml); color: var(--store-ml-ink); }
.evc__store--shopee .evc__logo { background: var(--store-shopee); }
.evc__store--magalu .evc__logo { background: var(--store-magalu); }
.evc__store--amazon .evc__logo { background: var(--store-amazon); color: var(--store-amazon-accent); }
.evc__store--parceira .evc__logo { background: var(--ev-sbg, var(--ev-purple)); color: var(--ev-sfg, #ffffff); }
.evc__heart { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin: -4px -6px -4px 0; border: 0; border-radius: 999px; background: transparent; color: var(--ui-c-azul-65); cursor: pointer; }
.evc__heart svg { width: 19px; height: 19px; }
.evc__heart:hover { color: var(--ev-danger); background: var(--ui-c-cinza-96); }
.evc__heart.is-saved { color: var(--ev-danger); }
.evc__heart.is-saved svg { fill: currentColor; }
.evc__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 13px; background: #ffffff; border: 1px solid #f1eef8; overflow: hidden; }
/* Modelo de mídia (02/12/2026): a caixa manda, a foto fica absoluta dentro dela.
   Com height:100% numa grade sem altura definida, foto alta (geladeira, frasco)
   passava da caixa e saía cortada. */
.evc__media img { position: absolute; inset: 0; box-sizing: border-box; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; padding: 12px; transition: transform .22s ease; }
.evc:hover .evc__media img { transform: scale(1.03); }
.evc__noimg {
  width: 100%; height: 100%; border-radius: 12px;
  background: #f5f3fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b8ec4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center/38px no-repeat;
}
.evc__name { margin: 2px 0 0; font-size: 14px; font-weight: 550; line-height: 1.32; min-height: 2.64em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0; }
.evc__name a { color: inherit; text-decoration: none; }
.evc__name a:hover { color: var(--ev-purple-strong); }
.evc__price { font-size: 21px; font-weight: 750; line-height: 1.1; letter-spacing: -.015em; font-variant-numeric: tabular-nums; color: var(--ev-ink); }
.evc__deal { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: -2px; }
.evc__off { font-style: normal; font-size: 12px; font-weight: 750; color: var(--ev-green); background: var(--ev-green-bg); border-radius: 999px; padding: 2px 8px; }
.evc__was { font-size: 12.5px; color: var(--ev-muted); font-variant-numeric: tabular-nums; }
.evc__stores { margin: 0; font-size: 12.5px; color: var(--ev-muted); }
.evc__stores b { color: var(--ev-purple-strong); font-weight: 650; font-variant-numeric: tabular-nums; }
.evc__extra { margin: 0; font-size: 12.5px; color: var(--ev-muted); }
.evc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.evc__compare { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; font-weight: 550; color: var(--ev-muted); cursor: pointer; user-select: none; }
.evc__compare input { width: 18px; height: 18px; margin: 0; accent-color: var(--ev-purple); cursor: pointer; }
.evc__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--ev-purple); color: var(--ui-c-cinza-100) !important; font-size: 13.5px; font-weight: 650; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(110, 56, 247, .24); transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.evc__cta:hover { background: var(--ev-purple-strong); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(91, 33, 182, .28); }
.evc__cta:focus-visible, .evc__compare input:focus-visible, .evc__heart:focus-visible { outline: 3px solid var(--ev-lilac-2); outline-offset: 2px; }
@media (max-width: 560px) {
  .evc { padding: 10px; gap: 5px; border-radius: 14px; }
  .evc__name { font-size: 13px; }
  .evc__price { font-size: 18px; }
  .evc__store { font-size: 11px; }
  .evc__foot { flex-direction: column; align-items: stretch; gap: 4px; }
  .evc__compare { justify-content: center; }
  .evc__cta { padding: 0 10px; }
}

/* ------------------------------------------------------ menu Ofertas ▾ */
.ev-dd { position: relative; display: flex; }
.ev-dd__btn { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; cursor: pointer; white-space: nowrap; }
.ev-dd__btn:hover, .ev-dd.is-open > .ev-dd__btn { color: var(--ui-c-cinza-100); background: rgba(255, 255, 255, .06); }
.ev-dd.is-current > .ev-dd__btn { color: var(--ui-c-cinza-100); }
.ev-dd.is-current > .ev-dd__btn::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  border-radius: 999px; background: var(--mark, #d9f99d);
}
.ev-dd__btn > svg:last-child { width: 15px; height: 15px; transition: transform .18s ease; }
.ev-dd.is-open > .ev-dd__btn > svg:last-child { transform: rotate(180deg); }
.ev-dd__menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: var(--z-dropdown); display: none; min-width: 220px; padding: 8px; border-radius: 14px; background: var(--ui-c-cinza-100); border: 1px solid var(--ev-line); box-shadow: 0 18px 40px rgba(11, 15, 23, .22); }
.ev-dd__menu--right { left: auto; right: 0; }
.ev-dd.is-open > .ev-dd__menu { display: grid; gap: 2px; }
@media (hover: hover) and (min-width: 1181px) {
  .evidelo-nav .ev-dd:hover > .ev-dd__menu, .evidelo-nav .ev-dd:focus-within > .ev-dd__menu { display: grid; gap: 2px; }
  .evidelo-nav .ev-dd:hover > .ev-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
.ev-dd .ev-dd__menu a { display: flex; align-items: center; min-height: 40px; padding: 0 12px !important; border-radius: 10px; color: var(--ev-ink) !important; font-size: 14px; font-weight: 550; background: transparent; }
.ev-dd .ev-dd__menu a::after { display: none !important; }
.ev-dd .ev-dd__menu a:hover { background: var(--ev-lilac) !important; color: var(--ev-purple-strong) !important; }
.ev-dd .ev-dd__menu a[aria-current=page] { color: var(--ev-purple-strong) !important; background: var(--ev-lilac) !important; }
.ev-dd .nav-flash-count { margin-left: 6px; }
/* "Minha conta" à direita */
.ev-dd--account .ev-dd__btn { gap: 7px; height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); color: var(--ev-line-cool); font-size: 13.5px; font-weight: 550; }
.ev-dd--account .ev-dd__btn > svg:first-child { width: 18px; height: 18px; }
@media (max-width: 1180px) {
  .ev-dd--account .ev-dd__btn span, .ev-dd--account .ev-dd__btn > svg:last-child { display: none; }
  .ev-dd--account .ev-dd__btn { width: 42px; padding: 0; justify-content: center; }
  /* Menu lateral do celular: "Ofertas" abre como sanfona dentro da gaveta. */
  .evidelo-header .evidelo-nav .ev-dd { flex-direction: column; }
  .evidelo-header .evidelo-nav .ev-dd__btn { min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 550; justify-content: space-between; width: 100%; }
  .evidelo-header .evidelo-nav .ev-dd.is-current > .ev-dd__btn { background: rgba(255, 255, 255, .08); color: #fff; }
  .evidelo-header .evidelo-nav .ev-dd.is-current > .ev-dd__btn::after { display: none; }
  .evidelo-header .evidelo-nav .ev-dd__menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 4px 12px; min-width: 0; }
  .evidelo-header .evidelo-nav .ev-dd__menu a { color: var(--ui-c-cinza-83) !important; min-height: 44px !important; }
  .evidelo-header .evidelo-nav .ev-dd__menu a:hover, .evidelo-header .evidelo-nav .ev-dd__menu a[aria-current=page] { background: rgba(255, 255, 255, .08) !important; color: var(--ui-c-cinza-100) !important; }
}

/* ---------------------------------------------- barra fixa do celular */
.ev-tabbar.evidelo-mobile-tabs { display: none; }
.ev-sheet { display: none; }
@media (max-width: 767px) {
  :root { --ev-tabbar-h: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .ev-tabbar.evidelo-mobile-tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-tabbar); display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--ev-line); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .ev-tabbar a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 50px; padding: 4px 2px; border-radius: 12px; color: var(--ui-c-azul-41); font-size: 12px; font-weight: 650; line-height: 1.1; text-decoration: none; }
  .ev-tabbar svg { width: 21px; height: 21px; }
  .ev-tabbar a.is-active { color: var(--ev-purple); background: var(--ev-lilac); }
  .ev-tabbar .evidelo-tabs__badge { position: absolute; top: 3px; right: calc(50% - 20px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--ev-purple); color: var(--ui-c-cinza-100); font-size: 10px; line-height: 17px; text-align: center; }
  body.has-ev-tabbar { padding-bottom: calc(var(--ev-tabbar-h) + var(--ev-cmpbar-h)); }
  body.is-typing .ev-tabbar.evidelo-mobile-tabs { display: none; }
  .ev-sheet { display: block; position: fixed; inset: 0; z-index: var(--z-sheet); }
  .ev-sheet[hidden] { display: none; }
}
.ev-sheet__scrim { position: absolute; inset: 0; background: rgba(11, 15, 23, .5); opacity: 0; transition: opacity .2s ease; }
.ev-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; background: var(--ui-c-cinza-100); transform: translateY(100%); transition: transform .22s ease; }
.ev-sheet.is-open .ev-sheet__scrim { opacity: 1; }
.ev-sheet.is-open .ev-sheet__panel { transform: none; }
.ev-sheet__head { position: sticky; top: -8px; display: flex; align-items: center; justify-content: space-between; padding: 8px 0 10px; background: var(--ui-c-cinza-100); font-size: 17px; color: var(--ev-ink); }
.ev-sheet__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--ev-surface); color: var(--ev-ink); cursor: pointer; }
.ev-sheet__x svg { width: 20px; height: 20px; }
.ev-sheet__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 6px; border-bottom: 1px solid var(--ui-c-cinza-94-2); color: var(--ev-ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.ev-sheet__link svg { width: 18px; height: 18px; color: var(--ev-purple); }
html.ev-sheet-open, html.ev-sheet-open body { overflow: hidden; }

/* ------------------------------------------- barra escura de comparação */
.ev-cmpbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-cmpbar); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ev-navy); color: var(--ui-c-cinza-100); box-shadow: 0 -12px 32px rgba(11, 15, 23, .28); }
.ev-cmpbar[hidden] { display: none; }
.ev-cmpbar__inner { display: flex; align-items: center; gap: 18px; max-width: 1240px; margin: 0 auto; }
.ev-cmpbar__label { display: grid; gap: 2px; min-width: 0; }
.ev-cmpbar__label strong { font-size: 15px; }
.ev-cmpbar__label span { font-size: 12.5px; color: var(--ui-c-azul-72); }
.ev-cmpbar__clear { border: 0; padding: 0; background: none; color: var(--ev-lilac-2); font: inherit; text-decoration: underline; cursor: pointer; }
.ev-cmpbar__list { display: flex; gap: 10px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.ev-cmpbar__item { position: relative; width: 48px; height: 48px; border-radius: 10px; background: var(--ui-c-cinza-100); }
.ev-cmpbar__item img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; padding: 3px; }
.ev-cmpbar__item--empty { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .25); }
.ev-cmpbar__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ev-purple); font-weight: 800; }
.ev-cmpbar__x { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 2px solid var(--ev-navy); border-radius: 999px; background: var(--ui-c-cinza-100); color: var(--ev-ink); cursor: pointer; }
.ev-cmpbar__x::before { content: ""; position: absolute; inset: -11px; }
.ev-cmpbar__x svg { width: 11px; height: 11px; }
.ev-cmpbar__go { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px; border-radius: 12px; background: var(--ev-purple); color: var(--ui-c-cinza-100) !important; font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ev-cmpbar__go:hover { background: var(--ev-purple-strong); }
.ev-cmpbar__go.is-off { background: var(--ui-c-azul-27-2); color: var(--ui-c-azul-69) !important; cursor: not-allowed; }
body.has-ev-cmpbar { --ev-cmpbar-h: 70px; padding-bottom: calc(var(--ev-tabbar-h) + 76px); }
/* Barras antigas de cada página saem: uma barra só. */
.cm-cmpbar { display: none !important; }
@media (max-width: 767px) {
  .ev-cmpbar { bottom: var(--ev-tabbar-h); padding: 8px 12px; }
  .ev-cmpbar__inner { gap: 10px; flex-wrap: wrap; }
  .ev-cmpbar__label { flex: 1 1 auto; }
  .ev-cmpbar__label strong { font-size: 14px; }
  .ev-cmpbar__list { order: 3; flex: 1 1 100%; margin: 0; gap: 12px; }
  .pdp3-page .ev-cmpbar { padding: 6px 12px; }
  .pdp3-page .ev-cmpbar__list { display: none !important; }
  .pdp3-page .ev-cmpbar__label span { display: none; }
  .ev-cmpbar__item { width: 42px; height: 42px; }
  .ev-cmpbar__go { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .pdp3-page .ev-cmpbar__go { min-height: 36px; padding: 0 12px; font-size: 13px; }
  body.has-ev-cmpbar { padding-bottom: calc(var(--ev-tabbar-h) + 128px); }
  body.pdp3-page.has-ev-cmpbar { padding-bottom: calc(var(--ev-tabbar-h) + 56px); }
  body.is-typing .ev-cmpbar { display: none; }
}

/* ----------------------------------------------------------------- aviso */
.ev-toast { position: fixed; left: 50%; bottom: calc(var(--ev-tabbar-h) + 96px); z-index: var(--z-toast); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ui-c-cinza-100); color: var(--ev-ink); font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(11, 15, 23, .28); border-left: 4px solid var(--ev-purple); opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.ev-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#decisionTray { display: none !important; }

/* ----------------------------------------- cabeçalho do blog (eb-header) */
.eb-main-nav .ev-dd__btn { padding: 0; font-size: 13.5px; font-weight: 600; color: var(--ev-line-muted); border-radius: 0; }
.eb-main-nav .ev-dd__btn:hover, .eb-main-nav .ev-dd.is-open > .ev-dd__btn { background: none; color: var(--ui-c-cinza-100); }
.eb-main-nav .ev-dd__menu a { width: auto !important; }
.ev-hsearch { display: flex; align-items: center; gap: 4px; flex: 0 1 340px; min-width: 180px; height: 42px; padding: 0 4px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--ev-line-cool); }
.ev-hsearch:focus-within { background: var(--ui-c-cinza-99); color: var(--ev-ink); border-color: var(--ev-lilac-2); }
.ev-hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: inherit; font-size: 14px; outline: none; }
.ev-hsearch input::placeholder { color: var(--ui-c-azul-63); }
.ev-hsearch button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.ev-hsearch button svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .eb-header-row { flex-wrap: wrap; row-gap: 8px; padding-bottom: 10px; }
  .ev-hsearch { order: 3; flex: 1 1 100%; }
  .eb-main-nav .ev-dd { flex-direction: column; align-items: stretch; width: 100%; }
  .eb-main-nav .ev-dd__btn { padding: 12px; font-size: 14px; justify-content: space-between; width: 100%; }
  .eb-main-nav .ev-dd__menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; }
  .eb-main-nav .ev-dd__menu a { color: var(--ev-line-muted) !important; }
}

/* ------------------------------------------------------- grades de cartões */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 16px; }
.ev-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 228px); gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ev-row > .evc { scroll-snap-align: start; }
@media (max-width: 767px) {
  .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ev-row { grid-auto-columns: 46%; gap: 10px; }
}

/* ------------------------------------------------------------- página 404 */
.nf { background: var(--page-bg, var(--ev-cream)); padding-bottom: 48px; }
.nf__hero { background: var(--ev-navy); color: var(--ui-c-cinza-100); padding: 48px 0 56px; }
.nf__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: center; }
.nf__art svg { width: 100%; height: auto; }
.nf__eyebrow { margin: 0 0 8px; color: var(--ev-lilac-2); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.nf h1 { margin: 0; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; color: var(--ui-c-cinza-100); }
.nf__lede { margin: 12px 0 22px; max-width: 560px; color: var(--ui-c-azul-78); font-size: 16px; }
.nf__search { display: flex; align-items: center; gap: 8px; max-width: 620px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--ui-c-cinza-100); color: var(--ev-ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.nf__search > svg { width: 20px; height: 20px; color: var(--ui-c-azul-59); flex: none; }
.nf__search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: transparent; font-size: 15.5px; color: inherit; }
.nf__search button { min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--ev-purple); color: var(--ui-c-cinza-100); font-size: 15px; font-weight: 700; cursor: pointer; }
.nf__search button:hover { background: var(--ev-purple-strong); }
.nf__block { padding-top: 36px; }
.nf__block h2, .nf__pop h2 { margin: 0 0 14px; font-size: 21px; color: var(--ev-ink); letter-spacing: -.01em; }
.nf__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.nf__chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ui-c-cinza-100); border: 1px solid var(--ev-line); color: var(--ev-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.nf__chip:hover { border-color: var(--ev-purple); color: var(--ev-purple-strong); background: var(--ev-lilac); }
.nf__pop { padding-top: 36px; }
@media (max-width: 767px) {
  .nf__hero { padding: 28px 0 34px; }
  .nf__grid { grid-template-columns: 1fr; gap: 16px; }
  .nf__art { width: 150px; }
  .nf__search { padding-left: 12px; }
  .nf__search button { padding: 0 14px; }
  .nf__chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .nf__chip { flex: none; }
}

/* --------------------------------------------- catálogo: filtros laterais */
.cat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 8px; padding-bottom: 40px; }
.cat-mbar { display: none; }
.cat-side { position: sticky; top: calc(var(--evidelo-header-h, 72px) + 12px); max-height: calc(100vh - var(--evidelo-header-h, 72px) - 24px); max-height: calc(100dvh - var(--evidelo-header-h, 72px) - 24px); overflow: auto; scrollbar-width: thin; }
.cat-side__scrim { display: none; }
.cf { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: var(--ui-c-cinza-100); border: 1px solid var(--ev-line); }
.cf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 6px; }
.cf-head h2 { margin: 0; font-size: 17px; color: var(--ev-ink); }
.cf-clear { font-size: 13px; font-weight: 650; color: var(--ev-purple-strong); text-decoration: underline; text-underline-offset: 3px; }
.cf-clear[aria-disabled=true] { color: var(--ui-c-azul-69-2); pointer-events: none; text-decoration: none; }
.cf-close { display: none; }
.cf-group { margin: 0; padding: 12px 0 10px; border: 0; border-top: 1px solid var(--ui-c-cinza-94); min-width: 0; }
.cf-group legend { padding: 12px 0 6px; float: left; width: 100%; font-size: 13px; font-weight: 750; letter-spacing: .02em; color: var(--ev-ink); text-transform: uppercase; }
.cf-group legend + * { clear: both; }
.cf-opt { position: relative; display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 4px 8px; border-radius: 10px; font-size: 14px; color: var(--ui-c-azul-27-3); cursor: pointer; transition: background-color .14s ease, color .14s ease; }
.cf-opt:hover { background: var(--ui-c-cinza-97); }
.cf-opt:has(input:checked) { background: var(--ev-lilac); color: var(--ev-purple-strong); font-weight: 700; }
.cf-opt input[type=radio] { width: 17px; height: 17px; margin: 0; accent-color: var(--ev-purple); flex: none; }
.cf-opt--check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-box { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--ui-c-indigo-75); background: var(--ui-c-cinza-100); }
.cf-box svg { width: 12px; height: 12px; color: var(--ui-c-cinza-100); opacity: 0; }
.cf-opt--check input:checked + .cf-box { background: var(--ev-purple); border-color: var(--ev-purple); }
.cf-opt--check input:checked + .cf-box svg { opacity: 1; }
.cf-opt--check input:focus-visible + .cf-box { outline: 3px solid var(--ev-lilac-2); outline-offset: 2px; }
.cf-count { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ev-muted); }
.cf-stars { color: var(--ev-star); letter-spacing: 1px; }
.cf-range { display: flex; align-items: center; gap: 6px; padding-top: 8px; }
.cf-range label { flex: 1; min-width: 0; }
.cf-range input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--ev-line-strong); border-radius: 10px; font-size: 14px; background: var(--ui-c-cinza-100); color: var(--ev-ink); }
.cf-range input:focus { outline: none; border-color: var(--ev-purple); box-shadow: 0 0 0 3px var(--ev-lilac); }
.cf-go { flex: none; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--ev-lilac); color: var(--ev-purple-strong); font-weight: 750; cursor: pointer; }
.cf-apply { display: none; }
.cat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cat-count { margin: 0; font-size: 15px; color: var(--ev-muted); }
.cat-count:empty { display: none; }
.cat-count strong { color: var(--ev-ink); }
.cat-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--ev-muted); }
.cat-sort select { height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--ev-line-strong); border-radius: 10px; background: var(--ui-c-cinza-100); color: var(--ev-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cat-chips:empty { display: none; }
.cf-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--ev-lilac); color: var(--ev-purple-strong); font-size: 13px; font-weight: 650; text-decoration: none; }
.cf-chip span[aria-hidden] { font-size: 16px; line-height: 1; }
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cat-grid:empty { display: none; }
.cf-empty { padding: 28px 24px; border-radius: 16px; background: var(--ui-c-cinza-100); border: 1px solid var(--ev-line); }
.cf-empty__title { margin: 0 0 6px; font-size: 20px; font-weight: 750; color: var(--ev-ink); }
.cf-empty p { color: var(--ev-muted); }
.cf-empty a:not(.nf__chip):not(.evc a) { color: var(--ev-purple-strong); }
.cf-empty .nf__chips { margin: 12px 0 8px; }
.cf-empty__sub { margin: 22px 0 10px; font-size: 17px; color: var(--ev-ink); }
.cat .cg-pager { margin-top: 22px; }
@media (max-width: 900px) {
  .cat { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cat-mbar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--evidelo-header-h, 64px); z-index: var(--z-filter-bar); padding: 8px 0; margin: 0 calc(-1 * var(--page-gutter, 16px)); padding-inline: var(--page-gutter, 16px); background: var(--page-bg, var(--ev-cream)); }
  .cat-mbar::-webkit-scrollbar { display: none; }
  .cat-mbar__btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ev-line-strong); background: var(--ui-c-cinza-100); color: var(--ev-ink); font-size: 14px; font-weight: 650; cursor: pointer; }
  .cat-mbar__btn svg { width: 16px; height: 16px; }
  .cat-mbar__btn--all { margin-left: auto; }
  .cat-side { position: fixed; inset: 0; z-index: var(--z-drawer); max-height: none; overflow: visible; visibility: hidden; pointer-events: none; }
  .cat-side.is-open { visibility: visible; pointer-events: auto; }
  .cat-side__scrim { display: block; position: absolute; inset: 0; background: rgba(11, 15, 23, .5); opacity: 0; transition: opacity .2s ease; }
  .cat-side.is-open .cat-side__scrim { opacity: 1; }
  .cat-side .cf { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; overscroll-behavior: contain; border-radius: 20px 20px 0 0; padding: 0 16px; transform: translateY(100%); transition: transform .24s ease; }
  .cat-side.is-open .cf { transform: none; }
  .cf-head { position: sticky; top: 0; z-index: 1; background: var(--ui-c-cinza-100); padding: 14px 0 10px; }
  .cf-close { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 4px; border: 0; border-radius: 999px; background: var(--ev-surface); color: var(--ev-ink); cursor: pointer; }
  .cf-close svg { width: 20px; height: 20px; }
  .cf-clear { margin-left: auto; }
  .cf-opt { min-height: 44px; font-size: 15px; }
  .cf-range input, .cf-go { height: 44px; }
  .cf-apply { display: block; position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--ui-c-cinza-100); }
  .cf-apply__btn { width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--ev-purple); color: var(--ui-c-cinza-100); font-size: 16px; font-weight: 700; cursor: pointer; }
  .cat-top { margin-bottom: 4px; }
  .cat-sort label { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
  .cat-mbar { gap: 5px; }
  .cat-mbar__btn { gap: 4px; padding: 0 8px; font-size: 12.5px; min-height: 38px; }
  .cat-mbar__btn svg { width: 14px; height: 14px; }
}

/* Grades antigas com o cartão único: 2 colunas no celular. */
@media (max-width: 767px) {
  .product-grid:has(> .evc), .cm-grid:has(> .evc), .vk-deals:has(> .evc) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
}
.evc__extra--cd time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ev-ink); }
.evc__rank { flex: none; display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px; background: var(--ev-lilac); color: var(--ev-purple-strong); font-size: 12.5px; font-weight: 800; }
.evc__rank--1 { background: var(--ui-c-ambar-96); color: var(--ui-c-laranja-37); }
.evc__rank--2 { background: var(--ui-c-cinza-95); color: var(--ui-c-azul-27); }
.evc__rank--3 { background: var(--ui-c-laranja-93); color: var(--ui-c-laranja-37-2); }
.evc__rank + .evc__store { margin-right: auto; margin-left: 8px; }
.mh-li { list-style: none; display: flex; min-width: 0; }
.mh-li > .evc { width: 100%; }
.ev-empty { text-align: left; padding: 24px; border-radius: 16px; background: var(--ui-c-cinza-100); border: 1px solid var(--ev-line); }
.ev-empty h3 { margin: 0 0 6px; font-size: 20px; color: var(--ev-ink); }
.ev-empty p { color: var(--ev-muted); margin: 0 0 12px; }
.ev-empty__pop { margin-top: 22px; }
.ev-empty__pop h3 { font-size: 17px; margin-bottom: 10px; }
#gridIntro:empty, .catalog-heading p:empty { display: none; }

/* Fase 3 (23/11/2026) — toque e leitura no celular. Medido em 390 px: o
   coração dos cartões tinha 36x36 (224 por página nos achadinhos), "Ver
   mais"/"Ver todos" 19–22 px de altura e o nome da loja 11 px. A área de toque
   cresce SEM mudar o desenho: camada invisível (::after) ou preenchimento
   compensado por margem negativa. */
.evc__heart,.cm-top__like{position:relative}
.evc__heart::after,.cm-top__like::after{content:"";position:absolute;inset:-4px}
.vk-bcard__more,.ach-vitrine__all{padding-block:12px;margin-block:-12px}
.evc__storename{font-size:12px}
@media (prefers-reduced-motion: reduce){
  .evf *,.evf *::before,.evf *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ------------------------------------------- foco visível (auditoria UI 25/11/2026)
   O índigo padrão do :focus-visible dá ~3:1 sobre o cabeçalho escuro; o lilás
   claro dá ~7:1. Na ficha, o anel do .btn era índigo a 35% de opacidade. */
.evidelo-header a:focus-visible, .evidelo-header button:focus-visible, .evidelo-header input:focus-visible,
.eb-header a:focus-visible, .eb-header button:focus-visible, .eb-header input:focus-visible { outline: 3px solid var(--ui-c-indigo-65); outline-offset: 3px; }
html .product-page .btn:focus-visible { outline: 3px solid var(--ev-purple); outline-offset: 2px; }
/* Ícone do cupom no cartão (SVG no lugar do emoji 🎟️, auditoria UI 25/11/2026). */
.evc__extra--coupon svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; fill: none; stroke: var(--ev-purple-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Corpo a 16px no celular (auditoria UI 25/11/2026): o evidelo-tailwind.css põe 15px até 720px; a regra de legibilidade pede 16px. */
@media (max-width: 720px) { body { font-size: 16px; } }
/* Rótulos da barra de baixo a 12px (o tailwind fixa .evidelo-mobile-tabs span em 11px). */
@media (max-width: 900px) { .ev-tabbar a > span:not(.evidelo-tabs__badge) { font-size: 12px; } }
/* "Deslize para ver mais" (cupons/achadinhos): #6b7280 a 11,5px dava 4,4:1 no creme. */
html .ach-main .ach-topic-heading span { color: var(--ui-c-azul-39); font-size: 12px; }
/* Rótulo "Ordenar" da /buscar (3,5:1) e dica de período dos achadinhos (4,3:1): mesmo cinza do resto. */
html .search-page .sort-inline > span, html .ach-main .ach-period-hint { color: var(--ev-muted); }
/* 100vh → 100dvh no celular (a barra do navegador corta o fim do painel); o 100vh do tailwind fica como fallback. */
@supports (height: 100dvh) {
  html .search-page .filter-panel { max-height: calc(100dvh - 36px); }
  html .compare-page main.page { min-height: calc(100dvh - 72px); }
}

/* ------------------------------------------------ uma linguagem visual só (25/11/2026)
   Busca, investigar, cupons, achadinhos, conta e as institucionais ainda usavam o
   visual anterior: índigo #5348e0 e títulos em Fraunces. Passam ao visual da home,
   do catálogo, da ficha e do blog: roxo var(--ev-purple) (--ev-purple) e Geist negrito.
   Regras sem @layer vencem as do evidelo-tailwind.css, que estão em camadas.
   O verde-limão (--mark) continua: é o acento do menu e do rodapé em todo o site. */
:root {
  --brand-indigo: var(--ev-purple);
  --color-evidelo-indigo: var(--ev-purple);
  --brand-gradient: var(--ev-purple);
  --font-editorial: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.product-page { --product-brand: var(--ev-purple); }
html .ach-main .ach-period.is-active { background: var(--ev-purple); }
html .ach-main .ach-period:focus-visible, html .ach-main .ach-cats a:focus-visible { outline-color: var(--ev-purple); }
html .institutional-hero h1, html .catalog-hero h1, html .search-page .search-hero h1, html .compare-page .page h1,
html .account-page .hero h1, html .section-header h2, html .catalog-heading h2, html .blackfriday-page .bf-hero h1,
html .home-page .bf-card h2, html .product-page .section-heading h2, html .search-page .search-guide h3 {
  font-weight: 800; letter-spacing: -.03em; font-optical-sizing: auto;
}
html .evidelo-footer__brand p { font-weight: 750; letter-spacing: -.025em; }

/* Alvos de toque ≥ 24px (WCAG 2.2 AA, 2.5.8) nos links soltos que mediam 18–22px.
   Padding vertical de 4px aumenta a área clicável; a margem negativa igual mantém o layout. */
html .pdp3-link, html .coupon-area__all, html .vk-best__all, html .bf2-link, html .eb-text-link,
html .ach-hero__link, html .cm-top__name, html .eb-article-kicker, html .eb-breadcrumb a,
html .breadcrumb a, html .breadcrumbs a, html .product-breadcrumb a, html .pdp3-crumb a,
html .eb-story-meta a, html .eb-decision-actions a, html .eb-section-heading a, html .evc__name a {
  padding-block: 4px; margin-block: -4px;
}

/* Home: o h1 passa a ser o título do hero ("Compare antes de comprar") e o título
   do catálogo vira h2 (landing.ts). Este h2 repete os valores medidos do h1 antigo
   para a tela não mudar. */
html .catalog-heading h2.catalog-heading__title {
  font-family: var(--font-ui); font-size: 32px; font-weight: 700; line-height: 1.55;
  letter-spacing: normal; margin: .67em 0; color: var(--ui-c-cinza-8); text-wrap: wrap;
}

/* Piso de 12px em texto visível (auditoria UI 25/11/2026): rótulos que ainda
   vinham do tailwind podado ou de estilos de página com 11–11,5px. */
html .coupon-campaign-nav__heading > span, html .blackfriday-page .bf-method__kicker { font-size: 12px; }
html .rc-breadcrumb a, html .mh-crumbs a, html .eb-hero-foot a { padding-block: 4px; margin-block: -4px; }
html .eyebrow, html .catalog-count, html .filter-chip, html .product-card__category { font-size: 12px; }
html .evidelo-footer a, html .eb-footer a, html .eb-main-nav a, html .ev-dd__btn, html .vk-compare__title a,
html .vk-compare__cta, html .eb-live-view, html .mh-head-link, html .cf-clear {
  padding-block: 4px; margin-block: -4px;
}
html .eb-main-nav .ev-dd__btn, html .eb-header .ev-dd__btn { min-height: 24px; }
/* Cupons: inicial da loja quando o favicon não carrega (ssr-page.ts remove o <img>). */
.coupon-campaign-card__logo::before { content: attr(data-initial); font: 800 18px/1 var(--font-ui, system-ui, sans-serif); color: var(--ui-c-celeste-44); }
.coupon-campaign-card__logo:has(img)::before { content: none; }
/* Cupons: monograma local das lojas (ssr-page.ts), no lugar do favicon de terceiros.
   Letra a 18px/850 é texto grande (≥14pt negrito): contraste mínimo 3:1. */
.coupon-campaign-card__logo.coupon-logo { color: var(--ui-c-cinza-100); font: 850 18px/1 var(--font-ui, system-ui, sans-serif); letter-spacing: -.02em; box-shadow: none; }
.coupon-campaign-card__logo.coupon-logo--amazon { background: var(--store-amazon); color: var(--store-amazon-accent); font-size: 22px; }
.coupon-campaign-card__logo.coupon-logo--shopee { background: var(--ui-c-vermelho-48); }
.coupon-campaign-card__logo.coupon-logo--magalu { background: var(--ui-c-celeste-48); }
.coupon-campaign-card__logo.coupon-logo--ml { background: var(--store-ml); color: var(--store-ml-ink); font-size: 15px; }

/* ===================== REDESENHO (prévia 25/11/2026) ===================== */
/* cartão do produto: elevação suave no hover (feedback de clique, skill: hover states) */
.evc { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.evc:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 22, 60, .10); border-color: var(--ui-c-indigo-87); }
@media (prefers-reduced-motion: reduce) { .evc { transition: none; } .evc:hover { transform: none; } }
/* título da vitrine da home no padrão das outras seções */
html .catalog-heading h2.catalog-heading__title { font-size: clamp(22px, 2.1vw, 28px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }

/* Sugestões ao digitar no hero e no cabeçalho (QA 25/11/2026) */
.ev-sug-host { position: relative; }
.ev-sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: var(--z-dropdown); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ev-line-strong); border-radius: 14px; box-shadow: 0 16px 40px rgba(11, 15, 23, .16); max-height: min(60vh, 420px); overflow-y: auto; text-align: left; }
.ev-sug li { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; padding: 8px 12px; border-radius: 10px; cursor: pointer; color: var(--ev-ink); }
.ev-sug li strong { font-size: 15px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-sug li span { font-size: 12px; color: var(--ev-muted); }
.ev-sug li:hover, .ev-sug li[aria-selected="true"] { background: var(--ev-lilac); }
.ev-sug li[aria-selected="true"] { outline: 2px solid var(--ev-purple); outline-offset: -2px; }

/* Favoritos do aparelho em /conta (QA 25/11/2026) */
.ev-favs { max-width: 760px; margin: 8px 0 40px; padding: 0; }
.ev-favs h2 { margin: 0 0 4px; font-size: 1.375rem; color: var(--ev-ink); }
.ev-favs__note, .ev-favs__empty { margin: 0 0 16px; font-size: 14px; color: var(--ev-muted); }
.ev-favs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-favs__item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--ev-line); border-radius: 14px; }
.ev-favs__item img, .ev-favs__ph { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: var(--ev-lilac); }
.ev-favs__item a { color: var(--ev-ink); font-weight: 600; text-decoration: none; line-height: 1.35; display: inline-flex; align-items: center; min-height: 44px; }
.ev-favs__item a:hover { color: var(--ev-purple-strong); text-decoration: underline; }
.ev-favs__rm { min-height: 44px; padding: 0 14px; border: 1px solid var(--ev-line-strong); border-radius: 10px; background: #fff; color: var(--ev-ink); font: inherit; font-size: 14px; cursor: pointer; }
.ev-favs__rm:hover { border-color: var(--ev-purple); color: var(--ev-purple-strong); }
.ev-favs__rm:focus-visible, .ev-favs__item a:focus-visible { outline: 2px solid var(--ev-purple); outline-offset: 2px; }
.ev-favs__item--cmp .ev-favs__ph { display: grid; place-items: center; font-weight: 800; color: var(--ev-purple-strong); }

/* Cabeçalho fixo opaco (print do dono 26/11/2026): a 94–98% com desfoque, "Página 1 · 50 produtos" e o
   resto da página apareciam por trás dele ao rolar no iPhone. Mesmo tom (#0b0f17 = --ev-navy). */
.evidelo-header.sticky { background: var(--ev-navy); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.has-primary-search.primary-search-away .evidelo-header:not(.architecture-header)::after { background: var(--ev-navy); }

/* Mobile header search padding & overflow protection */
.evidelo-header .header-search { padding: 0 4px 0 14px; gap: 6px; }
@media (max-width: 767px) {
  .evidelo-header .header-search { padding: 0 4px 0 12px; gap: 4px; }
  .evidelo-header .header-search input { padding-right: 4px; text-overflow: ellipsis; }
}

/* Numerais tabulares consistentes em precos */
.vk-prod__price, .vk-prod__old, .vk-deal__price, .pdp3-buy__price, .pdp3-offer__price strong, .pdp3-mini__preco, .search-card__price {
  font-variant-numeric: tabular-nums;
}

/* Seta unica e estilo moderno em todos os <select> de ordenacao */
html .search-page .sort-inline select,
html .cat-sort select,
html .cg-sort select,
html .pdp3-sort select,
html .shop-sort select {
  -webkit-appearance: menulist !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
  height: 38px;
  min-height: 38px;
  padding: 4px 12px;
  border: 1px solid var(--ev-line-strong);
  border-radius: 10px;
  background: #ffffff !important;
  background-image: none !important;
  color: var(--ev-ink);
  font-size: 13.5px !important;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
@media (max-width: 767px) {
  html .search-page .sort-inline select,
  html .cat-sort select,
  html .cg-sort select,
  html .pdp3-sort select,
  html .shop-sort select {
    height: 40px;
    font-size: 16px !important;
  }
}
html .search-page .sort-inline select:hover,
html .cat-sort select:hover,
html .cg-sort select:hover,
html .pdp3-sort select:hover,
html .shop-sort select:hover { border-color: var(--ev-purple); }
html .search-page .sort-inline select:focus-visible,
html .cat-sort select:focus-visible,
html .cg-sort select:focus-visible,
html .pdp3-sort select:focus-visible,
html .shop-sort select:focus-visible { outline: none; border-color: var(--ev-purple); box-shadow: 0 0 0 3px var(--ev-lilac); }

/* ===================== BUSCA (/buscar) 2026 ===================== */
/* 4 colunas no desktop para os cards respirarem sem cortar nomes de loja (sem editar search-pagination.css) */
@media (min-width: 1024px) and (max-width: 1639px) {
  .search-page .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1640px) {
  .search-page .search-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
}

/* Remove "Carregando imagem..." preso sobre foto carregada; placeholder com shimmer suave */
.search-page .search-card__image-status[hidden],
.search-page .search-card__media img[data-loaded="true"] + .search-card__image-status {
  display: none !important;
}
.search-page .search-card__media img + .search-card__image-status {
  font-size: 0 !important;
  color: transparent !important;
  background: linear-gradient(90deg, #f4f2f8 25%, #ece8f5 50%, #f4f2f8 75%);
  background-size: 200% 100%;
  animation: ev-img-shimmer 1.4s ease-in-out infinite;
}
.search-page .search-card__media > .search-card__image-status:first-child,
.search-page .search-card__media img[data-failed="true"] + .search-card__image-status {
  font-size: 12px !important;
  color: var(--ev-muted) !important;
  animation: none;
  background: #f5f3fa;
}
@keyframes ev-img-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Banner de analise concluida compacto em linha */
.search-page .evf.is-flow[data-stage="done"] { margin: 0 0 14px; }
.search-page .evf.is-flow[data-stage="done"] .evf__card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 14px; border-radius: 12px;
  background: #ffffff; border: 1px solid #bbf7d0;
  color: var(--ev-ink); box-shadow: 0 2px 8px rgba(21, 128, 61, .06);
}
.search-page .evf.is-flow[data-stage="done"] .evf__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
}
.search-page .evf.is-flow[data-stage="done"] .evf__top { position: static; order: 2; margin: 0; }
.search-page .evf.is-flow[data-stage="done"] .evf__intro { padding: 0; order: 1; }
.search-page .evf.is-flow[data-stage="done"] .evf__title { color: var(--ev-ink); font-size: 13.5px; font-weight: 650; }
.search-page .evf.is-flow[data-stage="done"] .evf__progress { display: none !important; }
.search-page .evf.is-flow[data-stage="done"] .evf__live {
  background: #ecfdf3; border-color: #abefc6; color: #15803d; font-weight: 650;
}
.search-page .evf.is-flow[data-stage="done"] .evf__live i { background: #16a34a; box-shadow: none; }

/* Hero e barra da busca alinhados ao design system */
.search-page .search-hero {
  background:
    radial-gradient(56% 90% at 88% 15%, rgba(110, 56, 247, .28), transparent 68%),
    linear-gradient(115deg, #060a14 0%, #091022 55%, #0e1630 100%);
}
.search-page .search-hero .search-form {
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(6, 10, 20, .32);
}
.search-page .search-hero .evidelo-button-primary {
  background: var(--ev-purple);
  border-radius: 10px;
}
.search-page .search-hero .evidelo-button-primary:hover { background: var(--ev-purple-strong); }
.search-page .ovw-seg { border-radius: 11px; border-color: var(--ev-line-strong); }
.search-page .ovw-seg button[aria-pressed="true"] { background: var(--ev-navy); color: #ffffff; }
@media (max-width: 767px) {
  .search-page .search-grid > .search-card .search-card__actions { margin-top: auto; padding-top: 10px; }
}

/* Score Evidelo de TV no cartão do /tv (01/12/2026). Número + rótulo em texto
   (não só cor); branco sobre roxo forte = 8,6:1. */
.evc__score { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; min-width: 0; }
.evc__score-num { flex: none; display: grid; place-items: center; min-width: 38px; height: 30px; padding: 0 6px; border-radius: 8px; background: var(--ev-purple-strong); color: var(--ui-c-cinza-100); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.evc__score-txt { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.3; color: var(--ev-muted); }
.evc__score-txt b { color: var(--ev-ink); font-size: 12.5px; font-weight: 700; }
.evc__typical { margin: 0; font-size: 12.5px; color: var(--ev-muted); }

/* /tv (01/12/2026): filtros de tamanho e marca, outros tamanhos do modelo no
   cartão, e o contador da lista some quando está vazio. */
.catalog-count:empty { display: none; }
.tvf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 18px; }
.tvf__row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tvf__label { flex: none; min-width: 108px; width: auto; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ev-muted); }
.tvf__chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.tvf__chip { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ev-line-strong); background: var(--ui-c-cinza-100); color: var(--ev-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.tvf__chip:hover { border-color: var(--ev-purple); color: var(--ev-purple-strong); }
.tvf__chip:focus-visible { outline: 2px solid var(--ev-purple); outline-offset: 2px; }
.tvf__chip.is-active { background: var(--ev-purple-strong); border-color: var(--ev-purple-strong); color: var(--ui-c-cinza-100); }
.evc__sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 0; }
.evc__sizes-label { flex-basis: 100%; font-size: 12px; color: var(--ev-muted); }
.evc__size { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--ev-line-strong); color: var(--ev-ink); font-size: 13px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.evc__size:hover { border-color: var(--ev-purple); color: var(--ev-purple-strong); }
.evc__size:focus-visible { outline: 2px solid var(--ev-purple); outline-offset: 2px; }
@media (max-width: 767px) {
  .tvf__row { flex-direction: column; align-items: stretch; gap: 4px; }
  .tvf__label { width: auto; }
  .tvf__chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tvf__chips::-webkit-scrollbar { display: none; }
  .evc__sizes { gap: 6px; }
  .evc__size { min-width: 36px; }
}
@media (prefers-reduced-motion: reduce) { .tvf__chip { transition: none; } }

/* cartão-tv limpeza 01/12/2026 */
.evc__score ~ .evc__deal { display: none; }
.evc__score-hint { display: block; font-size: 12px; color: var(--ev-muted); margin-top: 2px; line-height: 1.3; }

/* Menu primário com 6 itens (Top 100) — nunca quebrar linha no desktop */
.evidelo-nav > a, .evidelo-nav .ev-dd__btn { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1360px) {
  .evidelo-nav { gap: 2px; }
  .evidelo-nav > a, .evidelo-nav .ev-dd__btn { padding: 8px 9px; font-size: 13.5px; }
}

/* Selo compartilhado de variação mensal (Home e Top 100) */
.mv-delta {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content;
  padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.3; margin-top: 2px;
}
.mv-delta--up { background: #dcfce7; color: #15803d; }
.mv-delta--down { background: #fee2e2; color: #b91c1c; }
.mv-delta--new { background: #ede9fe; color: #5b21b6; }
.mv-delta--same { background: #f1f5f9; color: #475569; }

/* Touca de Natal sazonal sobre a coroa do rei da logo Evidelo (dezembro) */
html .evidelo-logo,
html .eb-brand,
html .eb-footer-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  overflow: visible;
}
html .eb-brand img {
  height: auto;
}
html .evidelo-logo::after,
html .eb-brand::after,
html .eb-footer-brand::after {
  content: "";
  position: absolute;
  left: 41.4%;
  top: -21%;
  width: 17.5%;
  aspect-ratio: 64 / 50;
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.48));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0%25' y1='0%25' x2='100%25' y2='95%25'%3E%3Cstop offset='0%25' stop-color='%23ff3b47'/%3E%3Cstop offset='58%25' stop-color='%23d81222'/%3E%3Cstop offset='100%25' stop-color='%238c0713'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='100%25' stop-color='%23e5e7eb'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M55 37 C56 17 44 6 28 7 C18 8 11 16 11 25 C16 20 22 20 28 24 C30 29 31 33 32 37 Z' fill='url(%23r)'/%3E%3Cpath d='M49 34 C49 20 40 12 29 12' fill='none' stroke='%23ff7a82' stroke-width='2.2' stroke-linecap='round' opacity='.55'/%3E%3Cg transform='rotate(-8 44 39)'%3E%3Crect x='27' y='34' width='34' height='11' rx='5.5' fill='url(%23f)'/%3E%3Ccircle cx='31' cy='38.5' r='5.2' fill='%23ffffff'/%3E%3Ccircle cx='39' cy='37.5' r='5.5' fill='%23ffffff'/%3E%3Ccircle cx='47' cy='37.5' r='5.5' fill='%23ffffff'/%3E%3Ccircle cx='55' cy='38.5' r='5.2' fill='%23ffffff'/%3E%3C/g%3E%3Ccircle cx='11' cy='26' r='6.5' fill='url(%23f)'/%3E%3Ccircle cx='9.5' cy='24.5' r='2.5' fill='%23ffffff' opacity='.85'/%3E%3C/svg%3E");
}
