/* =====================================================
   HOME DO CLIENTE — VISUAL NOVO
   Carregado por último, só na home (body.hv).
   A cor da loja vem de --cor-primaria (cor.js).
===================================================== */

html body.hv {
  --hv-texto: #0f172a;
  --hv-texto-2: #334155;
  --hv-suave: #64748b;
  --hv-fraco: #94a3b8;
  --hv-borda: #eef0f3;
  --hv-cinza: #f3f4f6;
  --hv-fundo: #ffffff;
  --hv-cor: var(--cor-primaria, #ff5b00);
  --hv-cor-clara: color-mix(in srgb, var(--hv-cor) 10%, #fff);
  --hv-cor-borda: color-mix(in srgb, var(--hv-cor) 24%, #fff);
  --hv-verde: #16a34a;
  --hv-vermelho: #dc2626;

  background: var(--hv-fundo);
  color: var(--hv-texto);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

html body.hv button,
html body.hv input {
  font-family: inherit;
}

/* ── Contadores ───────────────────────────────────── */

html body.hv .badge {
  top: -5px;
  right: -5px;
  width: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--hv-cor);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

html body.hv .menu-item .badge-menu,
html body.hv .menu-item span.badge-menu {
  top: -6px !important;
  right: -11px !important;
  min-width: 18px;
  height: 18px;
  border: 2px solid #fff;
  background: var(--hv-cor) !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
}

html body.hv .badge.is-zero,
html body.hv .badge-menu.is-zero {
  display: none !important;
}

/* ── Botões redondos do topo ──────────────────────── */

html body.hv .btn-instagram,
html body.hv .carrinho-area {
  position: relative;
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.25) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--hv-texto);
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease;
}

html body.hv .btn-instagram.instagram-oculto {
  display: none !important;
}

html body.hv .btn-instagram:active,
html body.hv .carrinho-area:active {
  transform: scale(.94);
}

html body.hv #iconeInstagram {
  font-size: 26px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html body.hv #iconeCarrinho {
  font-size: 22px;
  color: var(--hv-texto);
}

/* ── Status da loja ───────────────────────────────── */

html body.hv #statusLoja.status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 7px 14px 7px 12px !important;
  border: 1px solid var(--hv-borda) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.3) !important;
}

html body.hv #statusLoja .status-textos {
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}

html body.hv #statusLoja .status-textos p {
  margin: 0;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
}

html body.hv #statusLoja .status-textos small {
  margin: 0 !important;
  color: var(--hv-suave) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

html body.hv #statusLoja .status-textos small::before {
  content: "·";
  margin-right: 8px;
  color: var(--hv-fraco);
}

html body.hv #statusLoja.aberto p { color: var(--hv-verde) !important; }
html body.hv #statusLoja.fechado p { color: var(--hv-vermelho) !important; }

html body.hv #statusLoja p span {
  width: 8px !important;
  height: 8px !important;
  margin-right: 7px !important;
  border-radius: 50%;
}

html body.hv #statusLoja.aberto p span {
  background: var(--hv-verde) !important;
  animation: hv-pulsar 1.8s ease-out infinite;
}

html body.hv #statusLoja.fechado p span {
  background: var(--hv-vermelho) !important;
}

@keyframes hv-pulsar {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); }
  100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}

/* ── Busca ────────────────────────────────────────── */

html body.hv .busca-cardapio-wrap {
  z-index: 40;
  padding: 10px 16px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

html body.hv .busca-cardapio {
  height: 46px;
  padding: 0 8px 0 14px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: var(--hv-cinza);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

html body.hv .busca-cardapio:focus-within {
  border-color: var(--hv-cor);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hv-cor) 14%, transparent);
}

html body.hv .busca-cardapio > i { color: var(--hv-fraco); font-size: 15px; }

html body.hv .busca-cardapio input {
  padding: 0;
  height: 100%;
  color: var(--hv-texto);
  font-size: 15px;
  font-weight: 500;
}

html body.hv .busca-cardapio input::placeholder { color: var(--hv-fraco); }

html body.hv .busca-cardapio-limpar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  color: var(--hv-texto-2);
  font-size: 13px;
  padding: 0;
}

html body.hv .busca-cardapio-vazio {
  margin: 14px 0 2px;
  color: var(--hv-suave);
  font-size: 14px;
}

/* ── Aviso de loja fechada (logo abaixo da busca) ─── */

html body.hv .aviso-loja-fechada {
  gap: 12px;
  margin: 4px 16px 6px;
  padding: 12px 14px;
  border: 1px solid var(--hv-cor-borda);
  border-radius: 16px;
  background: var(--hv-cor-clara);
}

html body.hv .aviso-loja-fechada[hidden] { display: none !important; }

html body.hv .aviso-loja-fechada-icone {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--hv-cor);
  font-size: 15px;
}

html body.hv .aviso-loja-fechada-textos strong {
  color: var(--hv-texto);
  font-size: 14px;
  font-weight: 700;
}

html body.hv .aviso-loja-fechada-textos small {
  color: var(--hv-texto-2);
  font-size: 12.5px;
  line-height: 1.4;
}

/* ── Seções ───────────────────────────────────────── */

html body.hv .secao-produtos {
  margin: 0;
  padding: 6px 16px 4px;
}

html body.hv .secao-produtos + .secao-produtos,
html body.hv .aviso-loja-fechada + .secao-produtos {
  margin-top: 8px;
}

html body.hv .secao-produtos + .secao-produtos {
  border-top: 8px solid #f5f6f8;
}

html body.hv .secao-titulo,
html body.hv .secao-produtos:first-child .secao-titulo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 18px 0 4px;
  border: none;
  color: var(--hv-texto);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

html body.hv .secao-titulo-icone {
  margin-right: 7px;
  color: var(--hv-cor);
}

html body.hv .secao-contador {
  flex-shrink: 0;
  color: var(--hv-fraco);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
}

/* ── Cartão de produto ────────────────────────────── */

html body.hv .lista-produtos {
  background: var(--hv-fundo) !important;
  padding-bottom: 24px !important;
}

html body.hv .card-produto {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  grid-template-areas:
    "info foto"
    "preco foto";
  grid-template-rows: 1fr auto;
  column-gap: 14px;
  row-gap: 8px;
  margin: 0 !important;
  padding: 16px 0 !important;
  border: none !important;
  border-bottom: 1px solid var(--hv-borda) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  cursor: pointer;
  transition: background .15s ease;
}

html body.hv .secao-cards > .card-produto:last-child {
  border-bottom: none !important;
}

html body.hv .card-produto:focus-visible {
  outline: 2px solid var(--hv-cor);
  outline-offset: 2px;
  border-radius: 12px !important;
}

html body.hv .info-produto {
  grid-area: info;
  padding: 0;
  min-width: 0;
}

html body.hv .info-produto h3 {
  margin: 0 0 5px;
  color: var(--hv-texto) !important;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

html body.hv .info-produto p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--hv-suave);
  font-size: 13.5px;
  line-height: 1.45;
}

html body.hv .rodape-produto {
  grid-area: preco;
  grid-column: auto;
  align-self: end;
  margin: 0;
  padding: 0;
  border: none;
}

html body.hv .preco-area {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
}

html body.hv .card-produto .preco {
  color: var(--hv-texto) !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

html body.hv .card-produto .preco.preco-por {
  color: var(--hv-verde) !important;
}

html body.hv .card-produto .preco-de {
  order: 2;
  color: var(--hv-fraco);
  font-size: 12.5px;
}

/* foto + botão de adicionar */
html body.hv .card-produto-img-wrap,
html body.hv .card-pizza-home .card-produto-img-wrap,
html body.hv .card-acai-home .card-produto-img-wrap {
  grid-area: foto;
  position: relative;
  width: 108px;
  height: 108px;
  overflow: visible;
  border-radius: 16px;
  align-self: start;
}

html body.hv .card-produto .card-produto-img-wrap img {
  display: block;
  width: 108px !important;
  height: 108px !important;
  border-radius: 16px !important;
  object-fit: cover;
  background: var(--hv-cinza);
}

html body.hv .card-add {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hv-borda);
  border-radius: 50%;
  background: #fff;
  color: var(--hv-cor);
  font-size: 14px;
  box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.35);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

html body.hv .card-produto:active .card-add {
  transform: scale(.9);
  background: var(--hv-cor);
  color: #fff;
}

/* selos sobre a foto */
html body.hv .badge-mais-pedido-img {
  top: 6px;
  left: 6px;
  margin: 0;
  padding: 3px 7px;
  font-size: 9px;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4);
}

html body.hv .badge-promo-card {
  top: auto;
  bottom: 6px;
  left: 6px;
  padding: 3px 7px;
  background: var(--hv-verde);
  font-size: 10px;
}

/* detalhes de pizza e açaí */
html body.hv .detalhes-pizza-home,
html body.hv .detalhes-acai-home {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

html body.hv .detalhes-pizza-home span,
html body.hv .detalhes-acai-home span {
  padding: 4px 9px;
  border: none;
  border-radius: 999px;
  background: var(--hv-cinza);
  color: var(--hv-texto-2);
  font-size: 11px;
  font-weight: 600;
}

html body.hv .detalhes-pizza-home i,
html body.hv .detalhes-acai-home i {
  color: var(--hv-cor);
}

/* estado vazio */
html body.hv .estado-vazio-produtos {
  margin: 30px 16px;
  padding: 26px 18px;
  border: 1px dashed #dfe3e8;
  border-radius: 18px;
  text-align: center;
  color: var(--hv-suave);
}

/* aviso rápido "estamos fechados" ao tocar num produto */
.toast-loja-fechada {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  border-radius: 16px !important;
}

.toast-loja-fechada .swal2-title { font-size: 15px !important; font-weight: 700 !important; }
.toast-loja-fechada .swal2-html-container { font-size: 13px !important; margin-top: 2px !important; }

/* ── Menu de baixo flutuante ─────────────────────── */

html body.hv .menu-bottom {
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: calc(100% - 24px);
  max-width: 406px;
  height: 64px;
  padding: 0 8px;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -12px rgba(15, 23, 42, 0.28);
}

html body.hv .menu-bottom .menu-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 0;
  border-radius: 16px;
  font-size: 11.5px;
  font-weight: 600;
  transition: background .15s ease;
}

html body.hv .menu-bottom .menu-item i {
  margin: 0 !important;
  color: var(--hv-fraco) !important;
  font-size: 20px;
}

html body.hv .menu-bottom .menu-item > span {
  color: var(--hv-suave) !important;
}

html body.hv .menu-bottom .menu-item.active {
  background: var(--hv-cor-clara);
}

html body.hv .menu-bottom .menu-item.active i,
html body.hv .menu-bottom .menu-item.active > span {
  color: var(--hv-cor) !important;
}

html body.hv .menu-bottom .menu-item.active > span {
  font-weight: 700;
}

html body.hv .menu-bottom .pedido-icon {
  width: 22px;
  height: 22px;
  margin: 0;
}

/* primeira seção mais perto da busca */
html body.hv .busca-cardapio-wrap + .secao-produtos .secao-titulo,
html body.hv .aviso-loja-fechada + .secao-produtos .secao-titulo {
  padding-top: 8px;
}

/* ── Bolinhas de categoria (foto do produto) ──────── */

html body.hv .cat-titulo { display: none; }

html body.hv .cat-foto {
  position: relative;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--hv-cinza);
  box-shadow: none;
  filter: none !important;
  transition: box-shadow .15s ease, transform .15s ease;
}

html body.hv .cat-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html body.hv .cat-foto-icone,
html body.hv .cat-foto-icone i,
html body.hv .cat-foto-icone span {
  filter: none !important;
  color: var(--hv-cor) !important;
  font-size: 22px;
  opacity: 1 !important;
}

/* categoria ativa: sem borda na foto, só o nome em destaque */
html body.hv .cat-item.active .cat-foto {
  box-shadow: none;
}

html body.hv .cat-item:active .cat-foto { transform: scale(.95); }

html body.hv .cat-nome {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  color: var(--hv-texto-2) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  filter: none !important;
  opacity: 1 !important;
}

html body.hv .cat-item.active .cat-nome {
  color: var(--hv-texto) !important;
  font-weight: 800;
}

/* barra compacta que aparece presa no topo ao rolar (celular) */
html body.hv .categorias-fixas {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 120;
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 430px;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--hv-borda);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -105%);
  transition: transform .2s ease;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
}

html body.hv .categorias-fixas::-webkit-scrollbar { display: none; }
html body.hv .categorias-fixas.visivel { transform: translate(-50%, 0); }

html body.hv .categorias-fixas button {
  flex-shrink: 0;
  height: 36px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  background: var(--hv-cinza);
  color: var(--hv-texto-2);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

html body.hv .categorias-fixas button.active {
  background: var(--hv-texto);
  color: #fff;
}


/* =====================================================
   CELULAR E TABLET (até 899px)
===================================================== */

@media (max-width: 899px) {

  html body.hv .app {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    background: var(--hv-fundo);
  }

  /* topo branco, rola junto com a página */
  html body.hv .topo {
    position: relative !important;
    top: auto !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 18px !important;
    background: #fff !important;
    overflow: visible !important;
  }

  html body.hv .top-icons {
    width: 100%;
    padding: 0 !important;
  }

  html body.hv #logoCliente.logo:not(.logo-oculta) {
    width: 220px !important;
    height: 110px !important;
    max-width: 70% !important;
    margin: -4px auto 10px !important;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.14));
  }

  html body.hv #logoCliente.logo-oculta + #statusLoja {
    margin-top: 10px !important;
  }

  /* categorias em bolinhas com foto (rolam junto com a página) */
  html body.hv #categorias.categorias {
    position: relative !important;
    top: auto !important;
    z-index: 2 !important;
    transform: none !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 4px 16px 14px !important;
    border: none !important;
    background: #fff !important;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  }

  html body.hv .cat-titulo {
    display: block;
    margin: 0;
    padding: 16px 16px 10px;
    border-top: 1px solid var(--hv-borda);
    color: var(--hv-texto);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  html body.hv #categorias.categorias button.cat-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    width: 84px;
    height: auto;
    min-height: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--hv-texto-2) !important;
    white-space: normal !important;
  }

  html body.hv #categorias.categorias button.cat-item.active {
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.hv #listaProdutos.lista-produtos {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 24px !important;
  }

  /* menu de baixo flutuante */
}

/* tablet: duas colunas de produtos */
@media (min-width: 640px) and (max-width: 899px) {
  html body.hv .secao-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  html body.hv .secao-cards > .card-produto:nth-last-child(2):nth-child(odd) {
    border-bottom: none !important;
  }
}

/* =====================================================
   COMPUTADOR (900px ou mais)
===================================================== */

@media (min-width: 900px) {

  html body.hv {
    background: #f6f7f9;
  }

  html body.hv .app {
    padding-bottom: 96px !important;
    max-width: 1320px !important;
    background: #fff;
    box-shadow: 0 0 0 1px var(--hv-borda), 0 30px 60px -40px rgba(15, 23, 42, 0.25) !important;
  }

  html body.hv .topo {
    min-height: 72px !important;
    padding: 0 28px !important;
    border-bottom: 1px solid var(--hv-borda) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  html body.hv .topo #statusLoja.status {
    flex: 0 0 auto !important;
    margin: 0 auto !important;
    padding: 7px 14px 7px 12px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  html body.hv .topo-nav-link {
    padding: 9px 16px !important;
    border-radius: 999px !important;
    color: var(--hv-texto-2) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  html body.hv .topo-nav-link.active {
    background: var(--hv-cor-clara) !important;
    color: var(--hv-cor) !important;
  }

  html body.hv .top-icons {
    padding: 0 !important;
  }

  /* categorias na lateral */
  html body.hv #categorias.categorias {
    width: 236px !important;
    top: 72px !important;
    max-height: calc(100vh - 72px) !important;
    gap: 2px !important;
    padding: 20px 12px 32px !important;
    border-right: 1px solid var(--hv-borda) !important;
  }

  html body.hv #categorias.categorias::before {
    content: "Cardápio";
    display: block;
    padding: 0 12px 10px;
    color: var(--hv-fraco);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  html body.hv #categorias.categorias button {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 42px !important;
    padding: 6px 10px !important;
    border: none !important;
    border-radius: 12px !important;
    color: var(--hv-texto-2) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  html body.hv #categorias.categorias button.active {
    background: var(--hv-cor-clara) !important;
    color: var(--hv-cor) !important;
  }

  html body.hv #categorias.categorias .cat-foto {
    width: 34px;
    height: 34px;
    box-shadow: none;
  }

  html body.hv #categorias.categorias .cat-foto-icone,
  html body.hv #categorias.categorias .cat-foto-icone i {
    font-size: 14px;
  }

  html body.hv #categorias.categorias button.active .cat-foto {
    box-shadow: none;
  }

  html body.hv #categorias.categorias .cat-nome {
    color: inherit !important;
    font-size: 14px;
    text-align: left;
  }

  html body.hv #categorias.categorias button.active .cat-nome {
    color: var(--hv-cor) !important;
    font-weight: 700;
  }

  html body.hv .categorias-fixas {
    display: none;
  }

  /* lista */
  html body.hv #listaProdutos.lista-produtos {
    display: block !important;
    padding: 0 32px 48px !important;
    background: #fff !important;
  }

  html body.hv .busca-cardapio-wrap {
    margin: 0 -32px !important;
    padding: 18px 32px 12px !important;
  }

  html body.hv .busca-cardapio {
    max-width: 560px;
  }

  html body.hv .aviso-loja-fechada {
    max-width: 560px;
    margin: 6px 0 4px;
  }

  html body.hv .secao-produtos {
    padding: 8px 0 12px;
  }

  html body.hv .secao-produtos + .secao-produtos {
    border-top: none;
  }

  html body.hv .secao-titulo {
    justify-content: flex-start;
    padding: 22px 0 12px !important;
    font-size: 22px;
  }

  html body.hv .secao-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  html body.hv .card-produto {
    grid-template-columns: minmax(0, 1fr) 120px;
    padding: 16px !important;
    border: 1px solid var(--hv-borda) !important;
    border-radius: 18px !important;
    background: #fff !important;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease !important;
  }

  html body.hv .secao-cards > .card-produto:last-child {
    border-bottom: 1px solid var(--hv-borda) !important;
  }

  html body.hv .card-produto:hover {
    transform: translateY(-2px) !important;
    border-color: transparent !important;
    box-shadow: 0 16px 34px -18px rgba(15, 23, 42, 0.35) !important;
  }

  html body.hv .card-produto:hover .card-add {
    background: var(--hv-cor);
    color: #fff;
    border-color: transparent;
  }

  html body.hv .card-produto-img-wrap,
  html body.hv .card-pizza-home .card-produto-img-wrap,
  html body.hv .card-acai-home .card-produto-img-wrap,
  html body.hv .card-produto .card-produto-img-wrap img {
    width: 120px !important;
    height: 120px !important;
  }

  html body.hv .card-add {
    right: 8px;
    bottom: 8px;
  }
}

@media (min-width: 1280px) {
  html body.hv .secao-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.hv #statusLoja.aberto p span { animation: none; }
  html body.hv .card-produto,
  html body.hv .card-add { transition: none !important; }
}

/* =====================================================
   BUSCA PELA LUPA
   A barra de busca não fica mais na lista: abre por cima da tela
===================================================== */

html body.hv .btn-busca-topo {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.25);
  color: var(--hv-texto);
  font-size: 20px;
  cursor: pointer;
  transition: transform .15s ease;
}

html body.hv .btn-busca-topo:active { transform: scale(.94); }

html body.hv .top-direita { gap: 10px !important; }

html body.hv .categorias-fixas-lupa {
  flex-shrink: 0;
  width: 36px;
  padding: 0 !important;
  display: grid;
  place-items: center;
  background: var(--hv-cor-clara) !important;
  color: var(--hv-cor) !important;
  font-size: 14px !important;
}

html body.hv #buscaCardapio.busca-cardapio-wrap {
  position: sticky !important;
  top: var(--busca-top, 0px) !important;
  z-index: 70 !important;
  display: none;
  margin: 0 !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid var(--hv-borda);
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.4);
}

html body.hv #buscaCardapio.busca-cardapio-wrap.aberta {
  display: block;
  animation: hv-busca-entra .18s ease;
}

@keyframes hv-busca-entra {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

html body.hv .busca-flutuante-linha {
  display: flex;
  align-items: center;
  gap: 10px;
}

html body.hv .busca-flutuante-linha .busca-cardapio {
  flex: 1;
  min-width: 0;
  max-width: none !important;
}

html body.hv .busca-flutuante-fechar {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--hv-cor);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 2px;
}

/* com a busca aberta, a barrinha de categorias fica escondida atrás */
html body.hv.busca-aberta .categorias-fixas { visibility: hidden; }

@media (min-width: 900px) {
  html body.hv #buscaCardapio.busca-cardapio-wrap {
    margin: 0 -32px !important;
    padding: 14px 32px !important;
  }

  html body.hv #buscaCardapio .busca-flutuante-linha { max-width: 640px; }
}
